19 references to FromPortablePdbStream
BuildValidator (1)
CompilationDiff.cs (1)
185return MetadataReaderProvider.FromPortablePdbStream(rebuildPdbStream).GetMetadataReader();
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
2288using (var mdProvider = MetadataReaderProvider.FromPortablePdbStream(pdbStream)) 2485MetadataReaderProvider.FromPortablePdbStream(File.OpenRead(Path.Combine(dir.Path, "embed.pdb"))))
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (5)
Emit\EditAndContinue\EditAndContinueTests.cs (1)
12457using var provider = MetadataReaderProvider.FromPortablePdbStream(new MemoryStream(diff1.PdbDelta.ToArray()));
PDB\PDBAsyncTests.cs (1)
2045using var provider = MetadataReaderProvider.FromPortablePdbStream(pdbStream);
PDB\PDBIteratorTests.cs (1)
1638using var provider = MetadataReaderProvider.FromPortablePdbStream(pdbStream);
PDB\PortablePdbTests.cs (1)
307using (var provider = MetadataReaderProvider.FromPortablePdbStream(pdbStream))
PDB\TypeDefinitionDocumentTests.cs (1)
473using var provider = MetadataReaderProvider.FromPortablePdbStream(pdbStream);
Microsoft.CodeAnalysis.Features (2)
Debugging\DebugInformationReaderProvider.cs (1)
141return new Portable(MetadataReaderProvider.FromPortablePdbStream(stream));
PdbSourceDocument\PdbFileLocatorService.cs (1)
83var readerProvider = MetadataReaderProvider.FromPortablePdbStream(pdbStream);
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
RoundTripUtil.cs (1)
40var portablePdbReader = pdbStream is not null ? MetadataReaderProvider.FromPortablePdbStream(pdbStream).GetMetadataReader() : null;
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (2)
CommandLineTests.vb (2)
3231Using mdProvider = MetadataReaderProvider.FromPortablePdbStream(pdbStream) 3407MetadataReaderProvider.FromPortablePdbStream(File.OpenRead(Path.Combine(dir.Path, "embed.pdb"))))
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (4)
PDB\PDBAsyncTests.vb (1)
895Using provider = MetadataReaderProvider.FromPortablePdbStream(pdbStream)
PDB\PDBIteratorTests.vb (1)
556Using provider = MetadataReaderProvider.FromPortablePdbStream(pdbStream)
PDB\PortablePdbTests.vb (1)
203Using provider = MetadataReaderProvider.FromPortablePdbStream(pdbStream)
PDB\TypeDefinitionDocumentTests.vb (1)
355Using provider = MetadataReaderProvider.FromPortablePdbStream(pdbStream)
Roslyn.Test.PdbUtilities (1)
Reader\PdbValidation.cs (1)
600using (var provider = MetadataReaderProvider.FromPortablePdbStream(portablePdbStreamOpt, MetadataStreamOptions.LeaveOpen))
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\PEReader.cs (1)
834candidate = MetadataReaderProvider.FromPortablePdbStream(pdbStream);