3 instantiations of TypeSpecificationHandle
System.Reflection.Metadata (3)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (3)
784return new TypeSpecificationHandle(rowId); 804return new TypeSpecificationHandle(handle.RowId); 814return new TypeSpecificationHandle(handle.RowId);
88 references to TypeSpecificationHandle
ILAssembler (1)
EntityRegistry.cs (1)
933public BlobOrHandle GetTypeFromSpecification(MetadataReader reader, EmptyGenericContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind)
ILCompiler.ReadyToRun (7)
Compiler\DependencyAnalysis\ReadyToRun\AttributePresenceFilterNode.cs (3)
188public DummyType GetTypeFromSpecification(MetadataReader reader, DummyGenericContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind) 240TypeSpecificationHandle customAttributeConstructorTypeSpecificationHandle = (TypeSpecificationHandle)customAttributeConstructorReferenceParentHandle;
Compiler\DependencyAnalysis\ReadyToRun\ModuleTokenResolver.cs (2)
313TypeSpecification typeSpec = token.MetadataReader.GetTypeSpecification((TypeSpecificationHandle)token.Handle); 471public DummyTypeInfo GetTypeFromSpecification(MetadataReader reader, ModuleTokenResolver genericContext, TypeSpecificationHandle handle, byte rawTypeKind)
Compiler\ReadyToRunStandaloneMethodMetadata.cs (1)
152var sigBlob = metadataReader.GetBlobReader(metadataReader.GetTypeSpecification((TypeSpecificationHandle)handle).Signature);
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
532TypeSpecificationHandle handle = MetadataTokens.TypeSpecificationHandle(i);
ILCompiler.TypeSystem (3)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\CustomAttributeTypeProvider.cs (1)
48public TypeDesc GetTypeFromSpecification(MetadataReader reader, TypeSpecificationHandle handle, byte rawTypeKind)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaModule.cs (2)
133item = _module.ResolveTypeSpecification((TypeSpecificationHandle)handle); 570private object ResolveTypeSpecification(TypeSpecificationHandle handle)
Microsoft.CodeAnalysis (10)
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
490protected 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)
3293internal BlobReader GetTypeSpecificationSignatureReaderOrThrow(TypeSpecificationHandle typeSpec)
PEWriter\FullMetadataWriter.cs (1)
294protected override TypeSpecificationHandle GetOrAddTypeSpecificationHandle(ITypeReference reference)
PEWriter\MetadataWriter.cs (2)
370protected abstract TypeSpecificationHandle GetOrAddTypeSpecificationHandle(ITypeReference reference); 1624private TypeSpecificationHandle GetTypeSpecificationHandle(ITypeReference typeReference)
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1257var sigReader = decoder.Module.GetTypeSpecificationSignatureReaderOrThrow((TypeSpecificationHandle)baseTypeHandle);
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)
128public ParameterTypeInfo GetTypeFromSpecification(MetadataReader reader, object? genericContext, TypeSpecificationHandle handle, byte rawTypeKind)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
872metadataReader, (TypeSpecificationHandle)baseTypeOrInterfaceHandle);
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Contracts\CallingConvention\CallingConvention_1.cs (1)
550public TrackedType GetTypeFromSpecification(MetadataReader reader, MethodSigContext context, TypeSpecificationHandle handle, byte rawTypeKind)
Contracts\Signature\RuntimeSignatureDecoder.cs (1)
298return _provider.GetTypeFromSpecification(_metadataReader, _genericContext, (TypeSpecificationHandle)handle, rawTypeKind);
Contracts\Signature\SignatureTypeProvider.cs (1)
90public TypeHandle GetTypeFromSpecification(MetadataReader reader, T context, TypeSpecificationHandle handle, byte rawTypeKind)
Contracts\StackWalk\GC\GcSignatureTypeProvider.cs (1)
75public GcTypeKind GetTypeFromSpecification(MetadataReader reader, GcSignatureContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind)
Microsoft.Diagnostics.DataContractReader.Legacy (2)
ClrDataFrame.cs (1)
738public (uint Flags, int Size) GetTypeFromSpecification(MetadataReader reader, MethodDescHandle genericContext, TypeSpecificationHandle handle, byte rawTypeKind)
MetaDataImportImpl.cs (1)
1354TypeSpecificationHandle tsHandle = MetadataTokens.TypeSpecificationHandle(GetRID(typespec));
System.Reflection.Emit (1)
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
722private 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)
1225/// <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)
1706internal BlobHandle GetSignature(TypeSpecificationHandle handle)
System\Reflection\Metadata\MetadataReader.cs (1)
1307public TypeSpecification GetTypeSpecification(TypeSpecificationHandle handle)
System\Reflection\Metadata\MetadataReader.WinMD.cs (1)
618BlobHandle blob = TypeSpecTable.GetSignature((TypeSpecificationHandle)parent);
System\Reflection\Metadata\TypeSystem\GenericParameterConstraint.cs (1)
36/// Handle (<see cref="TypeDefinitionHandle"/>, <see cref="TypeReferenceHandle"/>, or <see cref="TypeSpecificationHandle"/>)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (13)
770public readonly struct TypeSpecificationHandle : IEquatable<TypeSpecificationHandle> 782internal static TypeSpecificationHandle FromRowId(int rowId) 787public static implicit operator Handle(TypeSpecificationHandle handle) 792public static implicit operator EntityHandle(TypeSpecificationHandle handle) 797public static explicit operator TypeSpecificationHandle(Handle handle) 807public static explicit operator TypeSpecificationHandle(EntityHandle handle) 827public static bool operator ==(TypeSpecificationHandle left, TypeSpecificationHandle right) 834return obj is TypeSpecificationHandle && ((TypeSpecificationHandle)obj)._rowId == _rowId; 837public bool Equals(TypeSpecificationHandle other) 847public static bool operator !=(TypeSpecificationHandle left, TypeSpecificationHandle right)
System\Reflection\Metadata\TypeSystem\InterfaceImplementation.cs (1)
27/// <see cref="TypeDefinitionHandle"/>, <see cref="TypeReferenceHandle"/>, or <see cref="TypeSpecificationHandle"/>
System\Reflection\Metadata\TypeSystem\TypeDefinition.cs (1)
105/// <see cref="TypeSpecificationHandle"/>, <see cref="TypeReferenceHandle"/> or <see cref="TypeDefinitionHandle"/>.
System\Reflection\Metadata\TypeSystem\TypeSpecification.cs (3)
15internal TypeSpecification(MetadataReader reader, TypeSpecificationHandle handle) 21private TypeSpecificationHandle Handle 23get { 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);