Click or drag to resize

TypeRefCreate Method (TypeReference, ChildListExpression, ListInt32, Int32)

Construct a TypeRef from a TypeReference. This factory method handles TypeDefinitions, GenericParameters (returning an OpenTypeParameterRef), expression trees (returning an ExpressionTreeRef), TypeReferences (resolving them to a TypeDefinition), or arrays of any of those. For a known TypeDefinition, 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 TypeRefBase Create(
	TypeReference typeReference,
	ChildList<Expression> typeArguments,
	List<int> arrayRanks = null,
	int pointerCount = 0
)

Parameters

typeReference
Type: Mono.CecilTypeReference
typeArguments
Type: Nova.CodeDOMChildListExpression
arrayRanks (Optional)
Type: System.Collections.GenericListInt32
pointerCount (Optional)
Type: SystemInt32

Return Value

Type: TypeRefBase
See Also