Click or drag to resize

TypeRefCreate Method (Type, Boolean, ChildListExpression, ListInt32, Int32, Boolean)

Construct a TypeRef from a Type. Use this factory method if the Type might be a generic parameter (requiring an OpenTypeParameterRef/TypeParameterRef) or expression tree (requiring an ExpressionTreeRef) or an array of one of those, otherwise you may use a 'new TypeRef()' constructor for efficiency.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static TypeRef Create(
	Type type,
	bool isFirstOnLine = false,
	ChildList<Expression> typeArguments = null,
	List<int> arrayRanks = null,
	int pointerCount = 0,
	bool dontUseKeyword = false
)

Parameters

type
Type: SystemType
isFirstOnLine (Optional)
Type: SystemBoolean
typeArguments (Optional)
Type: Nova.CodeDOMChildListExpression
arrayRanks (Optional)
Type: System.Collections.GenericListInt32
pointerCount (Optional)
Type: SystemInt32
dontUseKeyword (Optional)
Type: SystemBoolean

Return Value

Type: TypeRef
See Also