Click or drag to resize

TypeRefCreate Method

Overload List
  NameDescription
Public methodStatic memberCreate(Type, Expression)
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.
Public methodStatic memberCreate(Type, 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.
Public methodStatic memberCreate(GenericParameter, Int32)
Construct a TypeRef from a GenericParameter (will return a derived OpenTypeParameterRef).
Public methodStatic memberCreate(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.
Public methodStatic memberCreate(TypeReference, 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.
Public methodStatic memberCreate(Type, Boolean, Expression)
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.
Public methodStatic memberCreate(Type, Boolean, 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.
Public methodStatic memberCreate(GenericParameter, Boolean, Int32)
Construct a TypeRef from a GenericParameter (will return a derived OpenTypeParameterRef).
Public methodStatic memberCreate(GenericParameter, ListInt32, Int32)
Construct a TypeRef from a GenericParameter (will return a derived OpenTypeParameterRef).
Public methodStatic memberCreate(TypeReference, Boolean, 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.
Public methodStatic memberCreate(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.
Public methodStatic memberCreate(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.
Public methodStatic memberCreate(GenericParameter, Boolean, ListInt32, Int32)
Construct a TypeRef from a GenericParameter (will return a derived OpenTypeParameterRef).
Public methodStatic memberCreate(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.
Public methodStatic memberCreate(Type, Boolean, ChildListExpression, ListInt32, Int32, Boolean)
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.
Public methodStatic memberCreate(TypeReference, Boolean, ChildListExpression, ListInt32, Int32, Boolean)
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.
Top
See Also