Click or drag to resize

TypeRefCreate Method (TypeReference, Boolean, 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,
	bool isFirstOnLine,
	params int[] arrayRanks
)

Parameters

typeReference
Type: Mono.CecilTypeReference
isFirstOnLine
Type: SystemBoolean
arrayRanks
Type: SystemInt32

Return Value

Type: TypeRefBase
See Also