Click or drag to resize

TypeRefCreate Method (TypeReference, Expression)

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,
	params Expression[] typeArguments
)

Parameters

typeReference
Type: Mono.CecilTypeReference
typeArguments
Type: Nova.CodeDOMExpression

Return Value

Type: TypeRefBase
See Also