28 references to CoffHeader
Microsoft.CodeAnalysis (7)
CvtRes.cs (5)
247stream.Position = peHeaders.CoffHeader.PointerToSymbolTable; 252var lastSymAddress = checked(peHeaders.CoffHeader.PointerToSymbolTable + peHeaders.CoffHeader.NumberOfSymbols * ImageSizeOfSymbol); 267if (relocationSymbolIndices[i] > peHeaders.CoffHeader.NumberOfSymbols) 270var offsetOfSymbol = peHeaders.CoffHeader.PointerToSymbolTable + relocationSymbolIndices[i] * ImageSizeOfSymbol;
MetadataReader\PEModule.cs (1)
321return _peReaderOpt.PEHeaders.CoffHeader.Machine;
PEWriter\MetadataWriter.PortablePdb.cs (1)
1001builder.WriteInt32(peReader.PEHeaders.CoffHeader.TimeDateStamp);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (13)
Emit\CompilationEmitTests.cs (7)
3531Assert.False(peHeaders.CoffHeader.Characteristics.HasFlag(Characteristics.LargeAddressAware)); 3565Assert.True(peHeaders.CoffHeader.Characteristics.HasFlag(Characteristics.LargeAddressAware)); 3579Assert.Equal(0x8664, (ushort)peHeaders.CoffHeader.Machine); //AMD64 (K8) 3615Assert.True(peHeaders.CoffHeader.Characteristics.HasFlag(Characteristics.LargeAddressAware)); 3624Assert.Equal(0x01c4, (ushort)peHeaders.CoffHeader.Machine); 3655Assert.True(peHeaders.CoffHeader.Characteristics.HasFlag(Characteristics.LargeAddressAware)); 3695Assert.True(peHeaders.CoffHeader.Characteristics.HasFlag(Characteristics.LargeAddressAware));
Emit\DeterministicTests.cs (4)
159Assert.Equal(Machine.Amd64, peReader1.PEHeaders.CoffHeader.Machine); 160Assert.Equal(Machine.Arm64, peReader2.PEHeaders.CoffHeader.Machine); 161Assert.NotEqual(peReader1.PEHeaders.CoffHeader.TimeDateStamp, peReader2.PEHeaders.CoffHeader.TimeDateStamp);
Emit\EmitMetadataTests.cs (2)
2242var coffHeader = peHeaders.CoffHeader; 2430var coffHeader = peHeaders.CoffHeader;
Microsoft.CodeAnalysis.Test.Utilities (4)
Metadata\MetadataReaderUtils.cs (3)
77return headers.CoffHeader.Machine == Machine.Amd64; 83|| headers.CoffHeader.Machine == Machine.Amd64 84|| headers.CoffHeader.Machine == Machine.IA64;
PDB\TestMetadataReferenceInfo.cs (1)
43_peReader.PEHeaders.CoffHeader.TimeDateStamp,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
Emit\CompilationEmitTests.vb (3)
2121Assert.True(peHeaders.CoffHeader.Characteristics.HasFlag(Characteristics.LargeAddressAware)) 2182Assert.True(peHeaders.CoffHeader.Characteristics.HasFlag(Characteristics.LargeAddressAware)) 2243Assert.True(peHeaders.CoffHeader.Characteristics.HasFlag(Characteristics.LargeAddressAware))
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.cs (1)
91Machine coffMachine = peHeaders.CoffHeader.Machine;