3 instantiations of TypeSpecificationHandle
System.Reflection.Metadata (3)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (3)
783return new TypeSpecificationHandle(rowId); 803return new TypeSpecificationHandle(handle.RowId); 813return new TypeSpecificationHandle(handle.RowId);
72 references to TypeSpecificationHandle
Microsoft.CodeAnalysis (10)
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
469protected override TypeSpecificationHandle GetOrAddTypeSpecificationHandle(ITypeReference reference)
MetadataReader\MetadataDecoder.cs (5)
155type = GetTypeOfTypeSpec((TypeSpecificationHandle)token); 172private TypeSymbol GetTypeOfTypeSpec(TypeSpecificationHandle typeSpec) 460typeSymbol = GetTypeOfTypeSpec((TypeSpecificationHandle)handle); 799BlobReader memoryReader = this.Module.GetTypeSpecificationSignatureReaderOrThrow((TypeSpecificationHandle)token); 915var memoryReader = this.Module.GetTypeSpecificationSignatureReaderOrThrow((TypeSpecificationHandle)token);
MetadataReader\PEModule.cs (1)
3256internal BlobReader GetTypeSpecificationSignatureReaderOrThrow(TypeSpecificationHandle typeSpec)
PEWriter\FullMetadataWriter.cs (1)
295protected override TypeSpecificationHandle GetOrAddTypeSpecificationHandle(ITypeReference reference)
PEWriter\MetadataWriter.cs (2)
371protected abstract TypeSpecificationHandle GetOrAddTypeSpecificationHandle(ITypeReference reference); 1618private TypeSpecificationHandle GetTypeSpecificationHandle(ITypeReference typeReference)
Microsoft.CodeAnalysis.Test.Utilities (2)
Metadata\MetadataReaderUtils.cs (2)
383var typeSpec = reader.GetTypeSpecification((TypeSpecificationHandle)handle); 456public string GetTypeFromSpecification(MetadataReader reader, object genericContext, TypeSpecificationHandle handle, byte rawTypeKind)
Microsoft.CodeAnalysis.Workspaces (4)
FindSymbols\SymbolTree\SymbolTreeInfo.FirstEntityHandleProvider.cs (2)
25public EntityHandle GetTypeFromSpecification(MetadataReader reader, TypeSpecificationHandle handle) 34public EntityHandle GetTypeFromSpecification(MetadataReader reader, object? genericContext, TypeSpecificationHandle handle, byte rawTypeKind)
FindSymbols\SymbolTree\SymbolTreeInfo.Node.cs (1)
144public ParameterTypeInfo GetTypeFromSpecification(MetadataReader reader, object? genericContext, TypeSpecificationHandle handle, byte rawTypeKind)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
693metadataReader, (TypeSpecificationHandle)baseTypeOrInterfaceHandle);
System.Reflection.Emit (1)
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
718private TypeSpecificationHandle AddTypeSpecification(Type type) =>
System.Reflection.Metadata (45)
System\Reflection\Metadata\Decoding\ISignatureTypeProvider.cs (1)
52TType GetTypeFromSpecification(MetadataReader reader, TGenericContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind);
System\Reflection\Metadata\Ecma335\CodedIndex.cs (4)
25/// <see cref="TypeSpecificationHandle"/>, 95/// <see cref="TypeSpecificationHandle"/>. 124/// <param name="handle"><see cref="TypeDefinitionHandle"/>, <see cref="TypeReferenceHandle"/> or <see cref="TypeSpecificationHandle"/></param> 152/// <see cref="TypeSpecificationHandle"/>,
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (1)
40TypeSpecification genericOwner = _reader.GetTypeSpecification((TypeSpecificationHandle)reference.Parent);
System\Reflection\Metadata\Ecma335\Encoding\BlobEncoders.cs (1)
1221/// <param name="type"><see cref="TypeDefinitionHandle"/>, <see cref="TypeReferenceHandle"/> or <see cref="TypeSpecificationHandle"/>.</param>
System\Reflection\Metadata\Ecma335\Encoding\ControlFlowBuilder.cs (1)
202/// <param name="catchType">The type of exception to be caught: <see cref="TypeDefinitionHandle"/>, <see cref="TypeReferenceHandle"/> or <see cref="TypeSpecificationHandle"/>.</param>
System\Reflection\Metadata\Ecma335\Encoding\ExceptionRegionEncoder.cs (2)
150/// <see cref="TypeDefinitionHandle"/>, <see cref="TypeReferenceHandle"/> or <see cref="TypeSpecificationHandle"/>. 190/// <see cref="TypeDefinitionHandle"/>, <see cref="TypeReferenceHandle"/> or <see cref="TypeSpecificationHandle"/>,
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (9)
450/// <param name="baseType"><see cref="TypeDefinitionHandle"/>, <see cref="TypeReferenceHandle"/>, <see cref="TypeSpecificationHandle"/> or nil.</param> 517/// <see cref="TypeDefinitionHandle"/>, <see cref="TypeReferenceHandle"/> or <see cref="TypeSpecificationHandle"/>. 581public TypeSpecificationHandle AddTypeSpecification(BlobHandle signature) 588return TypeSpecificationHandle.FromRowId(_typeSpecTable.Count); 633/// <param name="type">Type of the event: <see cref="TypeDefinitionHandle"/>, <see cref="TypeReferenceHandle"/>, or <see cref="TypeSpecificationHandle"/></param> 727/// <see cref="TypeSpecificationHandle"/>, 855/// <param name="constraint">Type constraint: <see cref="TypeDefinitionHandle"/>, <see cref="TypeReferenceHandle"/> or <see cref="TypeSpecificationHandle"/></param> 1069/// <see cref="TypeSpecificationHandle"/>. 1384/// <see cref="TypeSpecificationHandle"/>,
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (2)
375public static TypeSpecificationHandle TypeSpecificationHandle(int rowNumber) 377return Metadata.TypeSpecificationHandle.FromRowId(ToRowId(rowNumber));
System\Reflection\Metadata\Ecma335\SignatureDecoder.cs (2)
48/// <param name="allowTypeSpecifications">Allow a <see cref="TypeSpecificationHandle"/> to follow a (CLASS | VALUETYPE) in the signature. 319return _provider.GetTypeFromSpecification(_metadataReaderOpt, _genericContext, (TypeSpecificationHandle)handle, rawTypeKind);
System\Reflection\Metadata\Internal\Tables.cs (1)
1660internal BlobHandle GetSignature(TypeSpecificationHandle handle)
System\Reflection\Metadata\MetadataReader.cs (1)
1308public TypeSpecification GetTypeSpecification(TypeSpecificationHandle handle)
System\Reflection\Metadata\MetadataReader.WinMD.cs (1)
618BlobHandle blob = TypeSpecTable.GetSignature((TypeSpecificationHandle)parent);
System\Reflection\Metadata\TypeSystem\GenericParameterConstraint.cs (1)
41/// Handle (<see cref="TypeDefinitionHandle"/>, <see cref="TypeReferenceHandle"/>, or <see cref="TypeSpecificationHandle"/>)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (13)
769public readonly struct TypeSpecificationHandle : IEquatable<TypeSpecificationHandle> 781internal static TypeSpecificationHandle FromRowId(int rowId) 786public static implicit operator Handle(TypeSpecificationHandle handle) 791public static implicit operator EntityHandle(TypeSpecificationHandle handle) 796public static explicit operator TypeSpecificationHandle(Handle handle) 806public static explicit operator TypeSpecificationHandle(EntityHandle handle) 826public static bool operator ==(TypeSpecificationHandle left, TypeSpecificationHandle right) 833return obj is TypeSpecificationHandle && ((TypeSpecificationHandle)obj)._rowId == _rowId; 836public bool Equals(TypeSpecificationHandle other) 846public static bool operator !=(TypeSpecificationHandle left, TypeSpecificationHandle right)
System\Reflection\Metadata\TypeSystem\InterfaceImplementation.cs (1)
32/// <see cref="TypeDefinitionHandle"/>, <see cref="TypeReferenceHandle"/>, or <see cref="TypeSpecificationHandle"/>
System\Reflection\Metadata\TypeSystem\TypeDefinition.cs (1)
109/// <see cref="TypeSpecificationHandle"/>, <see cref="TypeReferenceHandle"/> or <see cref="TypeDefinitionHandle"/>.
System\Reflection\Metadata\TypeSystem\TypeSpecification.cs (3)
16internal TypeSpecification(MetadataReader reader, TypeSpecificationHandle handle) 25private TypeSpecificationHandle Handle 27get { return TypeSpecificationHandle.FromRowId(_rowId); }
System.Reflection.MetadataLoadContext (10)
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (2)
23HandleKind.TypeSpecification => ((TypeSpecificationHandle)handle).ResolveTypeSpec(module, typeContext), 118public static RoType ResolveTypeSpec(this TypeSpecificationHandle handle, EcmaModule module, in TypeContext typeContext)
System\Reflection\TypeLoading\General\Ecma\EcmaSignatureTypeProviderForToString.cs (1)
29public string GetTypeFromSpecification(MetadataReader reader, TypeContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind) => handle.ToTypeString(reader, genericContext);
System\Reflection\TypeLoading\General\Ecma\EcmaToStringHelpers.cs (2)
34return ((TypeSpecificationHandle)handle).ToTypeString(reader, typeContext); 68public static string ToTypeString(this TypeSpecificationHandle handle, MetadataReader reader, in TypeContext typeContext)
System\Reflection\TypeLoading\General\Ecma\EcmaWrappedTypeProvider.cs (1)
35public RoType GetTypeFromSpecification(MetadataReader reader, TypeContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind) => _typeProvider.GetTypeFromSpecification(reader, genericContext, handle, rawTypeKind);
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (3)
56public static TypeSpecification GetTypeSpecification(this TypeSpecificationHandle handle, MetadataReader reader) => reader.GetTypeSpecification(handle); 63public static int GetToken(this TypeSpecificationHandle handle) => MetadataTokens.GetToken(handle); 94public static TypeSpecificationHandle ToTypeSpecificationHandle(this int token) => MetadataTokens.TypeSpecificationHandle(token);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.TypeProvider.cs (1)
21public RoType GetTypeFromSpecification(MetadataReader reader, TypeContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind) => handle.ResolveTypeSpec(this, genericContext);