Click or drag to resize

TypeRefCreate Method (Type, ChildListExpression, ListInt32, Int32)

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,
	ChildList<Expression> typeArguments,
	List<int> arrayRanks = null,
	int pointerCount = 0
)

Parameters

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

Return Value

Type: TypeRef
See Also