52 references to GetMetadataReader
BuildValidator (2)
CompilationDiff.cs (1)
185return MetadataReaderProvider.FromPortablePdbStream(rebuildPdbStream).GetMetadataReader();
Program.cs (1)
331var pdbReader = pdbReaderProvider.GetMetadataReader();
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
2261var blob = mdProvider.GetMetadataReader().GetSourceLinkBlob(); 2290var blob = mdProvider.GetMetadataReader().GetSourceLinkBlob(); 2487var mdReader = mdProvider.GetMetadataReader();
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (13)
Emit\EditAndContinue\EditAndContinuePdbTests.cs (2)
177CheckEncMap(pdbProvider.GetMetadataReader(), 306CheckEncMap(pdbProvider.GetMetadataReader(),
Emit\EditAndContinue\EditAndContinueTests.cs (1)
12458var pdbReader = provider.GetMetadataReader();
PDB\CSharpDeterministicBuildCompilationTests.cs (1)
83var pdbReader = embeddedPdb.GetMetadataReader();
PDB\PDBAsyncTests.cs (1)
2046var mdReader = provider.GetMetadataReader();
PDB\PDBEmbeddedSourceTests.cs (1)
118var pdbReader = embeddedMetadataProvider.GetMetadataReader();
PDB\PDBIteratorTests.cs (1)
1639var mdReader = provider.GetMetadataReader();
PDB\PDBSourceLinkTests.cs (1)
91var pdbReader = embeddedMetadataProvider.GetMetadataReader();
PDB\PortablePdbTests.cs (4)
191var mdReader = embeddedMetadataProvider.GetMetadataReader(); 252var mdReader = embeddedMetadataProvider.GetMetadataReader(); 309var pdbReader = provider.GetMetadataReader(); 352var pdbReader = embeddedMetadataProvider.GetMetadataReader();
PDB\TypeDefinitionDocumentTests.cs (1)
474var pdbReader = provider.GetMetadataReader();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Emit\CompilationOutputFilesTests.cs (1)
52var mdReader = metadata.GetMetadataReader();
Microsoft.CodeAnalysis.Features (5)
Debugging\DebugInformationReaderProvider.cs (2)
47=> EditAndContinueMethodDebugInfoReader.Create(_pdbReaderProvider.GetMetadataReader()); 51var reader = _pdbReaderProvider.GetMetadataReader();
EditAndContinue\DebuggingSession.cs (1)
398var metadataReader = metadataReaderProvider.GetMetadataReader();
Emit\CompilationOutputs.cs (1)
78var metadataReader = metadataProvider.GetMetadataReader();
PdbSourceDocument\DocumentDebugInfoReader.cs (1)
33_pdbReader = _pdbReaderProvider.GetMetadataReader();
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
355md.GetMetadataReader();
Microsoft.CodeAnalysis.Rebuild (1)
Extensions.cs (1)
33return provider.GetMetadataReader();
Microsoft.CodeAnalysis.Rebuild.UnitTests (3)
RoundTripUtil.cs (3)
40var portablePdbReader = pdbStream is not null ? MetadataReaderProvider.FromPortablePdbStream(pdbStream).GetMetadataReader() : null; 124rebuildPdbReader = MetadataReaderProvider.FromPortablePdbImage(rebuildPdbBytes).GetMetadataReader(); 155var originalPdbReader = MetadataReaderProvider.FromPortablePdbImage(pdbBytes).GetMetadataReader();
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\IRuntimeEnvironment.cs (1)
62var mdReader = embeddedMetadataProvider.GetMetadataReader();
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
3203Dim blob = mdProvider.GetMetadataReader().GetSourceLinkBlob() 3232Dim blob = mdProvider.GetMetadataReader().GetSourceLinkBlob() 3409Dim mdReader = mdProvider.GetMetadataReader()
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (11)
Emit\EditAndContinue\EditAndContinuePdbTests.vb (2)
178CheckEncMap(pdbProvider.GetMetadataReader(), 287CheckEncMap(pdbProvider.GetMetadataReader(),
PDB\PDBAsyncTests.vb (1)
896Dim mdReader = provider.GetMetadataReader()
PDB\PDBEmbeddedSourceTests.vb (1)
98Dim pdbReader = embeddedMetadataProvider.GetMetadataReader()
PDB\PDBIteratorTests.vb (1)
557Dim mdReader = provider.GetMetadataReader()
PDB\PortablePdbTests.vb (4)
99Dim mdReader = embeddedMetadataProvider.GetMetadataReader() 153Dim mdReader = embeddedMetadataProvider.GetMetadataReader() 204Dim pdbReader = provider.GetMetadataReader() 240Dim pdbReader = embeddedMetadataProvider.GetMetadataReader()
PDB\TypeDefinitionDocumentTests.vb (1)
356Dim pdbReader = provider.GetMetadataReader()
PDB\VisualBasicDeterministicBuildCompilationTests.vb (1)
61Dim pdbReader = embeddedPdb.GetMetadataReader()
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
ProjectSystemShim\VisualStudioCompilationOutputFilesTests.cs (2)
62var mdReader = metadata.GetMetadataReader(); 101var mdReader = metadata.GetMetadataReader();
Roslyn.Test.PdbUtilities (2)
Reader\PdbValidation.cs (2)
602var pdbReader = provider.GetMetadataReader(); 634ValidatePortablePdbId(provider.GetMetadataReader(), codeViewEntry.Stamp, codeViewData.Guid);
System.Diagnostics.StackTrace (2)
System\Diagnostics\StackTraceSymbols.cs (2)
140return provider?.GetMetadataReader(); 159provider.GetMetadataReader();
System.Reflection.Metadata (2)
System\Reflection\PortableExecutable\PEReader.cs (1)
837if (new BlobContentId(candidate.GetMetadataReader().DebugMetadataHeader!.Id) != id)
System\Reflection\PortableExecutable\PEReader.EmbeddedPortablePdb.cs (1)
152candidate.GetMetadataReader();