19 references to TypeDefOrRefOrSpec
ILAssembler (2)
BlobBuilderExtensions.cs (2)
90builder.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(fakeEntity.TypeSignatureHandle)); 94builder.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(entity.Handle));
ILCompiler.Compiler (2)
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (2)
613signatureBuilder.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(handle)); 621signatureBuilder.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(handle));
ILCompiler.ReadyToRun (3)
Compiler\ReadyToRunStandaloneMethodMetadata.cs (1)
86int encodedToken = CodedIndex.TypeDefOrRefOrSpec(MetadataTokens.EntityHandle(alternateToken));
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (2)
613signatureBuilder.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(handle)); 621signatureBuilder.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(handle));
ILCompiler.TypeSystem (1)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaSignatureTranslator.cs (1)
116int newEncodedHandle = CodedIndex.TypeDefOrRefOrSpec(MetadataTokens.EntityHandle(newToken));
Microsoft.CodeAnalysis (5)
PEWriter\MetadataWriter.PortablePdb.cs (5)
189builder.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(GetTypeHandle(type))); 196builder.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(GetTypeHandle(type))); 223builder.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(GetTypeHandle(type))); 233builder.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(GetTypeHandle(type))); 362writer.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(GetTypeHandle(import.TargetTypeOpt))); // TODO: index in release build
System.Reflection.Metadata (6)
System\Reflection\Metadata\Ecma335\Encoding\BlobEncoders.cs (1)
1245Builder.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(type));
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (5)
473Extends = 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"/>). 531Interface = CodedIndex.TypeDefOrRefOrSpec(implementedInterface) 641EventType = CodedIndex.TypeDefOrRefOrSpec(type) 867Constraint = CodedIndex.TypeDefOrRefOrSpec(constraint),