1 write to FileAlignment
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\PEHeader.cs (1)
322FileAlignment = reader.ReadInt32();
20 references to FileAlignment
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (8)
Emit\CompilationEmitTests.cs (6)
3537Assert.Equal(0x200, peHeaders.PEHeader.FileAlignment); 3572Assert.Equal(0x00000200, peHeaders.PEHeader.FileAlignment); //doesn't change based on architecture. 3622Assert.Equal(0x200, peHeaders.PEHeader.FileAlignment); 3661Assert.Equal(0x00000200, peHeaders.PEHeader.FileAlignment); 3701Assert.Equal(0x200, peHeaders.PEHeader.FileAlignment); //doesn't change based on architecture 3812Assert.Equal(1024, peHeaders.PEHeader.FileAlignment);
Emit\EmitMetadataTests.cs (2)
2261Assert.Equal(0x2000, peHeader.FileAlignment); 2448Assert.Equal(0x200, peHeader.FileAlignment);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (8)
Emit\CompilationEmitTests.vb (8)
2130Assert.Equal(&H200, peHeaders.PEHeader.FileAlignment) 2153Assert.Equal(&H200, peHeaders.PEHeader.FileAlignment) 2191Assert.Equal(&H200, peHeaders.PEHeader.FileAlignment) 2214Assert.Equal(&H200, peHeaders.PEHeader.FileAlignment) 2252Assert.Equal(&H200, peHeaders.PEHeader.FileAlignment) 'doesn't change based on architecture 2270Assert.Equal(&H200, peHeaders.PEHeader.FileAlignment) 2372Assert.Equal(1024, peHeaders.PEHeader.FileAlignment) 2376Assert.Equal(4096, peHeaders.PEHeader.FileAlignment)
System.Reflection.Metadata (4)
System\Reflection\PortableExecutable\PEHeader.cs (2)
71/// The alignment (in bytes) of sections when they are loaded into memory. It must be greater than or equal to <see cref="FileAlignment"/>. 80/// then <see cref="FileAlignment"/> must match <see cref="SectionAlignment"/>.
System\Reflection\PortableExecutable\SectionHeader.cs (2)
30/// For PE images, this must be a multiple of <see cref="PEHeader.FileAlignment"/>. 40/// For PE images, this must be a multiple of <see cref="PEHeader.FileAlignment"/>.