ISignatureTypeProvider<TType,TGenericContext>.GetTypeFromSpecification Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the type symbol for a type specification.
public:
TType GetTypeFromSpecification(System::Reflection::Metadata::MetadataReader ^ reader, TGenericContext genericContext, System::Reflection::Metadata::TypeSpecificationHandle handle, System::Byte rawTypeKind);
public TType GetTypeFromSpecification (System.Reflection.Metadata.MetadataReader reader, TGenericContext genericContext, System.Reflection.Metadata.TypeSpecificationHandle handle, byte rawTypeKind);
abstract member GetTypeFromSpecification : System.Reflection.Metadata.MetadataReader * 'GenericContext * System.Reflection.Metadata.TypeSpecificationHandle * byte -> 'ype
Public Function GetTypeFromSpecification (reader As MetadataReader, genericContext As TGenericContext, handle As TypeSpecificationHandle, rawTypeKind As Byte) As TType
Parameters
- reader
- MetadataReader
The metadata reader that was passed to the signature decoder. It may be null
.
- genericContext
- TGenericContext
The context that was passed to the signature decoder.
- handle
- TypeSpecificationHandle
The type specification handle.
- rawTypeKind
- Byte
The kind of the type, as specified in the signature. To interpret this value, use ResolveSignatureTypeKind(MetadataReader, EntityHandle, Byte).
Returns
The type symbol for the type specification.
Remarks
When the signature comes from a WinMD file, additional processing is needed to determine whether the target type is a value type or a reference type.