42 references to PEHeaders
ILLink.Tasks (1)
Utils.cs (1)
16 PEHeaders headers = new PEHeaders (fileStream);
Microsoft.CodeAnalysis (2)
CvtRes.cs (1)
179var peHeaders = new PEHeaders(stream);
MetadataReference\ModuleMetadata.cs (1)
247new PEHeaders(peStream);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
7343var peHeaders = new PEHeaders(compilation.EmitToStream(options: new EmitOptions(subsystemVersion: SubsystemVersion.Create(5, 1))));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (24)
Emit\CompilationEmitTests.cs (23)
585int entryPoint = new PEHeaders(stream).CorHeader.EntryPointTokenOrRelativeVirtualAddress; 3486peHeaders = new PEHeaders(compilation.EmitToStream()); 3490peHeaders = new PEHeaders(compilation.EmitToStream()); 3494peHeaders = new PEHeaders(compilation.EmitToStream()); 3500peHeaders = new PEHeaders(compilation.EmitToStream()); 3506peHeaders = new PEHeaders(compilation.EmitToStream()); 3525var peHeaders = new PEHeaders(compilation.EmitToStream()); 3559var peHeaders = new PEHeaders(compilation.EmitToStream()); 3609var peHeaders = new PEHeaders(compilation.EmitToStream()); 3649var peHeaders = new PEHeaders(compilation.EmitToStream()); 3689var peHeaders = new PEHeaders(compilation.EmitToStream()); 3721var peHeaders = new PEHeaders(compilation.EmitToStream(options: new EmitOptions(highEntropyVirtualAddressSpace: true))); 3739var peHeaders = new PEHeaders(compilation.EmitToStream()); 3757var peHeaders = new PEHeaders(compilation.EmitToStream(options: new EmitOptions(baseAddress: 0x0000000010111111))); 3762peHeaders = new PEHeaders(compilation.EmitToStream(options: new EmitOptions(baseAddress: 0x8000))); 3767peHeaders = new PEHeaders(compilation.EmitToStream(options: new EmitOptions(baseAddress: 0x7fff))); 3772peHeaders = new PEHeaders(compilation.EmitToStream(options: EmitOptions.Default)); 3777peHeaders = new PEHeaders(compilation.EmitToStream(options: new EmitOptions(baseAddress: 0xffff7fff))); 3782peHeaders = new PEHeaders(compilation.EmitToStream(options: new EmitOptions(baseAddress: 0xffff8000))); 3786peHeaders = new PEHeaders(compilation.EmitToStream(options: EmitOptions.Default)); 3791peHeaders = new PEHeaders(compilation.EmitToStream(options: new EmitOptions(baseAddress: 0xffffffffffff7fff))); 3796peHeaders = new PEHeaders(compilation.EmitToStream(options: new EmitOptions(baseAddress: 0xffffffffffff8000))); 3811var peHeaders = new PEHeaders(compilation.EmitToStream(options: new EmitOptions(fileAlignment: 1024)));
Emit\EmitMetadataTests.cs (1)
2427var peHeaders = new PEHeaders(peStream);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\CompilationAPITests.cs (1)
2231PEHeaders h = new PEHeaders(new MemoryStream(netModule));
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\ILValidation.cs (1)
43var peHeaders = new PEHeaders(moduleContents);
Microsoft.CodeAnalysis.UnitTests (6)
MetadataReferences\ModuleMetadataTests.cs (6)
38PEHeaders h = new PEHeaders(new MemoryStream(assembly)); 51PEHeaders h = new PEHeaders(new MemoryStream(netModule)); 63PEHeaders h = new PEHeaders(new MemoryStream(assembly)); 77PEHeaders h = new PEHeaders(new MemoryStream(netModule)); 206PEHeaders h = new PEHeaders(new MemoryStream(assembly)); 264PEHeaders h = new PEHeaders(new MemoryStream(assembly));
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
CommandLineTests.vb (1)
6497Dim peHeaders = New PEHeaders(comp.EmitToStream(New EmitOptions(subsystemVersion:=SubsystemVersion.Create(5, 1))))
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (4)
Attributes\InternalsVisibleToAndStrongNameTests.vb (4)
59Dim headers = New PEHeaders(outStream) 1186Dim peHeaders = New PEHeaders(other.EmitToStream()) 1366Dim peHeaders = New PEHeaders(other.EmitToStream()) 1758Dim peHeaders = New PEHeaders(other.EmitToStream())
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Compilation\CompilationAPITests.vb (1)
2471Dim headers = New PEHeaders(New MemoryStream(moduleBytes))