67 references to PEReader
BuildBoss (1)
CompilerNuGetCheckerUtil.cs (1)
387using var peReader = new PEReader(part.GetStream(FileMode.Open, FileAccess.Read));
BuildValidator (2)
Program.cs (1)
314using var originalPeReader = new PEReader(File.OpenRead(assemblyInfo.FilePath));
Util.cs (1)
19var peReader = new PEReader(stream);
Crossgen2Tasks (2)
PrepareForReadyToRunCompilation.cs (2)
160PEReader pereader = new PEReader(fs); 368using (var pereader = new PEReader(fs))
installer.tasks (1)
GenerateTestSharedFrameworkDepsFile.cs (1)
98using (var peReader = new PEReader(File.OpenRead(file)))
Microsoft.Cci.Extensions (1)
SRMetadataPEReaderCache.cs (1)
36PEReader peReader = new PEReader(stream);
Microsoft.CodeAnalysis (6)
AssemblyUtilities.cs (3)
68using (var reader = new PEReader(FileUtilities.OpenRead(potentialDependency))) 78using (var reader = new PEReader(FileUtilities.OpenRead(assemblyPath))) 102using (var reader = new PEReader(FileUtilities.OpenRead(assemblyPath)))
AssemblyUtilitiesCore.cs (1)
31using (var reader = new PEReader(FileUtilities.OpenRead(filePath)))
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
170using var reader = new PEReader(FileUtilities.OpenRead(FullPath));
MetadataReference\AssemblyIdentityUtils.cs (1)
21using var peReader = new PEReader(stream);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\MetadataReference\AssemblyIdentityUtils.cs (1)
21using var peReader = new PEReader(stream);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (5)
CommandLineTests.cs (5)
2256using (var peReader = new PEReader(peStream)) 2478using (var peReader = new PEReader(File.OpenRead(Path.Combine(dir.Path, "embed.exe")))) 8881var peDll = new PEReader(fsDll); 8882var pePdb = new PEReader(fsPdb); 12304using (var peReader = new PEReader(peStream))
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
Emit\CompilationEmitTests.cs (2)
656using (var peReader = new PEReader(peStream)) 674using (var reader = new PEReader(stream))
Emit\EmitMetadataTests.cs (1)
2238var peReader = new PEReader(peStream);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\InternalsVisibleToAndStrongNameTests.cs (1)
594using (var reader = new PEReader(outStream))
Microsoft.CodeAnalysis.Features (3)
Emit\CompilationOutputFilesWithImplicitPdbPath.cs (1)
54using (var peReader = new PEReader(assemblyStream))
Emit\CompilationOutputs.cs (1)
109using var peReader = new PEReader(peStream);
PdbSourceDocument\ImplementationAssemblyLookupService.cs (1)
89using var reader = new PEReader(fileStream);
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
226using var peReader = new PEReader(stream);
Microsoft.CodeAnalysis.Features.UnitTests (1)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (1)
487using var peReader = new PEReader(stream);
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
RoundTripUtil.cs (1)
38using var peReader = new PEReader(peStream);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\AssemblyLoader\InteractiveAssemblyLoader.cs (1)
366using (var peReader = new PEReader(stream))
Microsoft.CodeAnalysis.Test.Utilities (4)
Metadata\MetadataReaderUtils.cs (1)
466using (var refPeReader = new PEReader(peStream))
Metadata\MetadataValidation.cs (2)
168var peReader1 = new PEReader(peStream1); 169var peReader2 = new PEReader(peStream2);
PDB\TestMetadataReferenceInfo.cs (1)
35_peReader = new PEReader(emitStream);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
3198Using peReader = New PEReader(peStream) 3399Using peReader As New PEReader(File.OpenRead(Path.Combine(dir.Path, "embed.exe"))) 9716Using peReader = New PEReader(peStream)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\InternalsVisibleToAndStrongNameTests.vb (1)
1968Using reader As New PEReader(stream)
Microsoft.CodeAnalysis.Workspaces (2)
src\Compilers\Core\Portable\AssemblyUtilitiesCore.cs (1)
31using (var reader = new PEReader(FileUtilities.OpenRead(filePath)))
src\Compilers\Core\Portable\MetadataReference\AssemblyIdentityUtils.cs (1)
21using var peReader = new PEReader(stream);
Microsoft.DotNet.Arcade.Sdk (3)
src\ExtractNgenMethodList.cs (1)
99var peReader = new PEReader(stream);
src\SetCorFlags.cs (1)
81using (var reader = new PEReader(stream))
src\Unsign.cs (1)
48using (var peReader = new PEReader(stream))
Microsoft.DotNet.Build.Tasks.Packaging (1)
GetAssemblyReferences.cs (1)
56using (PEReader peReader = new PEReader(new FileStream(assemblyItem.ItemSpec, FileMode.Open, FileAccess.Read, FileShare.Delete | FileShare.Read)))
Microsoft.DotNet.GenFacades (2)
ClearAssemblyReferenceVersions.cs (1)
31using (PEReader peReader = new PEReader(stream))
GenPartialFacadeSourceGenerator.cs (1)
98using (var peReader = new PEReader(new FileStream(assembly, FileMode.Open, FileAccess.Read, FileShare.Delete | FileShare.Read)))
Microsoft.DotNet.PackageTesting (2)
VerifyClosure.cs (1)
431using (PEReader peReader = new PEReader(new FileStream(path, FileMode.Open, FileAccess.Read)))
VerifyTypes.cs (1)
152using (PEReader peReader = new PEReader(new FileStream(path, FileMode.Open, FileAccess.Read)))
Microsoft.DotNet.SharedFramework.Sdk (3)
src\FileUtilities.cs (1)
42using (var peReader = new PEReader(stream))
src\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (1)
431using (PEReader peReader = new PEReader(new FileStream(path, FileMode.Open, FileAccess.Read)))
src\Microsoft.DotNet.PackageTesting\VerifyTypes.cs (1)
152using (PEReader peReader = new PEReader(new FileStream(path, FileMode.Open, FileAccess.Read)))
Microsoft.DotNet.SignTool (5)
src\Configuration.cs (1)
596using (var pereader = new PEReader(stream))
src\ContentUtil.cs (3)
86using (var peReader = new PEReader(stream)) 102using (var peReader = new PEReader(stream)) 110using (var peReader = new PEReader(assemblyStream))
src\RealSignTool.cs (1)
85using (var peReader = new PEReader(stream))
PrepareTests (1)
MinimizeUtil.cs (1)
322var reader = new PEReader(stream);
Roslyn.Test.PdbUtilities (3)
Reader\PdbValidation.cs (1)
567var peReader = new PEReader(peStream);
Reader\SymReaderFactory.cs (2)
70return CreateReader(new MemoryStream(pdbImage), (peImageOpt != null) ? new PEReader(new MemoryStream(peImageOpt)) : null); 80return CreateReader(pdbStream, (peStreamOpt != null) ? new PEReader(peStreamOpt) : null);
RunTests (1)
AssemblyScheduler.cs (1)
347using (var peReader = new PEReader(stream))
SemanticSearch.BuildTask (1)
GenerateFilteredReferenceAssembliesTask.cs (1)
292using var peReader = new PEReader(writableStream);
System.Diagnostics.FileVersionInfo (1)
System\Diagnostics\FileVersionInfo.Unix.cs (1)
50using (PEReader peReader = new PEReader(assemblyStream))
System.Diagnostics.StackTrace (1)
System\Diagnostics\StackTraceSymbols.cs (1)
179return new PEReader(peStream);
System.Reflection.MetadataLoadContext (2)
System\Reflection\MetadataLoadContext.Loading.cs (1)
22PEReader peReader = new PEReader(peStream);
System\Reflection\TypeLoading\Assemblies\Ecma\EcmaAssembly.Modules.cs (1)
66PEReader peReader = new PEReader(peStream);
System.Windows.Forms.Design.Tests (1)
SystemDesignMetadataReader.cs (1)
23using PEReader peReader = new(fs);