5 references to TryGetDirectoryOffset
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Emit\EmitMetadataTests.cs (2)
2303
Assert.True(peHeaders.
TryGetDirectoryOffset
(peHeader.ImportAddressTableDirectory, out importAddressTableDirectoryOffset));
2316
Assert.True(peHeaders.
TryGetDirectoryOffset
(peHeader.ImportTableDirectory, out importTableDirectoryOffset));
Microsoft.CodeAnalysis.Rebuild (1)
CompilationOptionsReader.cs (1)
263
|| !PeReader.PEHeaders.
TryGetDirectoryOffset
(corHeader.ResourcesDirectory, out var resourcesOffset))
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\DynamicAnalysisDataReader.cs (1)
170
if (!peReader.PEHeaders.
TryGetDirectoryOffset
(resourcesDir, out var start))
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\PEReader.cs (1)
548
if (!PEHeaders.
TryGetDirectoryOffset
(debugDirectory, out position))