Click or drag to resize

TypeRef Constructor (TypeDefinition, Boolean, ChildListExpression, ListInt32, Int32)

Create a TypeRef from a TypeDefinition. To create a TypeRef from a GenericParameter, use one of the TypeRef.Create() factory methods, so it can create the appropriate OpenTypeParameterRef, or use a constructor of OpenTypeParameterRef.

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

Parameters

typeDefinition
Type: Mono.CecilTypeDefinition
isFirstOnLine (Optional)
Type: SystemBoolean
typeArguments (Optional)
Type: Nova.CodeDOMChildListExpression
arrayRanks (Optional)
Type: System.Collections.GenericListInt32
pointerCount (Optional)
Type: SystemInt32
See Also