19 references to TypeDefOrRefOrSpec
ILAssembler (2)
BlobBuilderExtensions.cs (2)
90
builder.WriteCompressedInteger(CodedIndex.
TypeDefOrRefOrSpec
(fakeEntity.TypeSignatureHandle));
94
builder.WriteCompressedInteger(CodedIndex.
TypeDefOrRefOrSpec
(entity.Handle));
ILCompiler.Compiler (2)
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (2)
613
signatureBuilder.WriteCompressedInteger(CodedIndex.
TypeDefOrRefOrSpec
(handle));
621
signatureBuilder.WriteCompressedInteger(CodedIndex.
TypeDefOrRefOrSpec
(handle));
ILCompiler.ReadyToRun (3)
Compiler\ReadyToRunStandaloneMethodMetadata.cs (1)
86
int encodedToken = CodedIndex.
TypeDefOrRefOrSpec
(MetadataTokens.EntityHandle(alternateToken));
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (2)
613
signatureBuilder.WriteCompressedInteger(CodedIndex.
TypeDefOrRefOrSpec
(handle));
621
signatureBuilder.WriteCompressedInteger(CodedIndex.
TypeDefOrRefOrSpec
(handle));
ILCompiler.TypeSystem (1)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaSignatureTranslator.cs (1)
116
int newEncodedHandle = CodedIndex.
TypeDefOrRefOrSpec
(MetadataTokens.EntityHandle(newToken));
Microsoft.CodeAnalysis (5)
PEWriter\MetadataWriter.PortablePdb.cs (5)
189
builder.WriteCompressedInteger(CodedIndex.
TypeDefOrRefOrSpec
(GetTypeHandle(type)));
196
builder.WriteCompressedInteger(CodedIndex.
TypeDefOrRefOrSpec
(GetTypeHandle(type)));
223
builder.WriteCompressedInteger(CodedIndex.
TypeDefOrRefOrSpec
(GetTypeHandle(type)));
233
builder.WriteCompressedInteger(CodedIndex.
TypeDefOrRefOrSpec
(GetTypeHandle(type)));
362
writer.WriteCompressedInteger(CodedIndex.
TypeDefOrRefOrSpec
(GetTypeHandle(import.TargetTypeOpt))); // TODO: index in release build
System.Reflection.Metadata (6)
System\Reflection\Metadata\Ecma335\Encoding\BlobEncoders.cs (1)
1245
Builder.WriteCompressedInteger(CodedIndex.
TypeDefOrRefOrSpec
(type));
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (5)
473
Extends = baseType.IsNil ? 0 : CodedIndex.
TypeDefOrRefOrSpec
(baseType),
521
/// If a type implements multiple interfaces the corresponding entries must be added in the order determined by their coded indices (<see cref="CodedIndex.
TypeDefOrRefOrSpec
"/>).
531
Interface = CodedIndex.
TypeDefOrRefOrSpec
(implementedInterface)
641
EventType = CodedIndex.
TypeDefOrRefOrSpec
(type)
867
Constraint = CodedIndex.
TypeDefOrRefOrSpec
(constraint),