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