31 references to GetTypeReference
BuildValidator (1)
Util.cs (1)
76var typeRef = reader.GetTypeReference((TypeReferenceHandle)memberRef.Parent);
Crossgen2Tasks (1)
PrepareForReadyToRunCompilation.cs (1)
452TypeReference attributeTypeRef = mdReader.GetTypeReference((TypeReferenceHandle)attributeMemberParent);
Microsoft.AspNetCore.App.UnitTests (1)
TargetingPackTests.cs (1)
208var attributeType = reader.GetTypeReference((TypeReferenceHandle)attributeConstructor.Parent);
Microsoft.Build.Tasks.Core (2)
AssemblyDependency\AssemblyInformation.cs (1)
505var name = metadataReader.GetTypeReference((TypeReferenceHandle)container).Name;
ManifestUtil\MetadataReader.cs (1)
130TypeReference reference = _reader.GetTypeReference(handle);
Microsoft.Cci.Extensions (1)
Extensions\CSharp\CSharpCciExtensions.cs (1)
931TypeReference tr = reader.GetTypeReference((TypeReferenceHandle)handle);
Microsoft.CodeAnalysis (5)
MetadataReader\PEModule.cs (5)
418TypeReference typeRef = MetadataReader.GetTypeReference(handle); 2831var typeRef = MetadataReader.GetTypeReference(handle); 2866TypeReference typeRef = MetadataReader.GetTypeReference(handle); 2973TypeReference typeRef = metadataReader.GetTypeReference((TypeReferenceHandle)token); 3123TypeReference typeRefRow = metadataReader.GetTypeReference((TypeReferenceHandle)typeDefOrRef);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\DestructorTests.cs (1)
787Select(handle => new { handle = handle, row = peFileReader.GetTypeReference(handle) }).
Emit\CompilationEmitTests.cs (1)
4218EntityHandle scope = reader.GetTypeReference(typeRef).ResolutionScope;
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\EditAndContinue\EditAndContinueTests.cs (1)
35var typeRef = currentGenerationReader.GetTypeReference(typeRefHandle);
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
MetadataDecoder.cs (1)
230var typeRef = _reader.GetTypeReference(handle);
Microsoft.CodeAnalysis.Test.Utilities (7)
Metadata\MetadataReaderUtils.cs (6)
133return reader.TypeReferences.Select(handle => reader.GetTypeReference(handle).Name).ToArray(); 171return reader.GetTypeReference((TypeReferenceHandle)token).Name; 318.Select(t => reader.GetTypeReference(t)) 367TypeReference type = reader.GetTypeReference((TypeReferenceHandle)handle); 451var typeRef = reader.GetTypeReference(handle); 476.Select(p => metadataReader.GetTypeReference((TypeReferenceHandle)p).Name)
Metadata\MetadataValidation.cs (1)
33var name = metadataReader.GetTypeReference((TypeReferenceHandle)container).Name;
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\EditAndContinue\EditAndContinueTests.vb (1)
4914Dim typeRef = reader.GetTypeReference(typeRefHandle)
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\SymbolTree\SymbolTreeInfo.Node.cs (1)
139var type = reader.GetTypeReference(handle);
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
677var typeReference = metadataReader.GetTypeReference(handle);
Microsoft.DotNet.SignTool (1)
src\Configuration.cs (1)
638var containerRef = reader.GetTypeReference((TypeReferenceHandle)container);
Roslyn.Test.PdbUtilities (1)
Shared\DummyMetadataImport.cs (1)
129var typeRef = _metadataReaderOpt.GetTypeReference(handle);
RunTests (1)
AssemblyScheduler.cs (1)
359var typeNameHandle = metadataReader.GetTypeReference((TypeReferenceHandle)ctor.Parent).Name;
System.Diagnostics.FileVersionInfo (1)
System\Diagnostics\FileVersionInfo.Unix.cs (1)
263TypeReference tr = reader.GetTypeReference((TypeReferenceHandle)container);
System.Reflection.Metadata (1)
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (1)
411var treatment = reader.GetTypeReference((TypeReferenceHandle)typeHandle).SignatureTreatment;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
55public static TypeReference GetTypeReference(this TypeReferenceHandle handle, MetadataReader reader) => reader.GetTypeReference(handle);