<PackageReference Include="System.Reflection.Metadata" Version="11.0.0-preview.2.26159.112" />

System.Reflection.PortableExecutable.DebugDirectoryEntry

public struct DebugDirectoryEntry
Identifies the location, size and format of a block of debug information.
public int DataPointer { get; }

Gets the file pointer to the debug data.

public int DataRelativeVirtualAddress { get; }

Gets the address of the debug data when loaded, relative to the image base.

public int DataSize { get; }

Gets the size of the debug data (not including the debug directory itself).

public bool IsPortableCodeView { get; }

Gets a value that indicates if the entry is a CodeView entry that points to a Portable PDB.

public ushort MajorVersion { get; }

Gets the major version number of the debug data format.

public ushort MinorVersion { get; }

Gets the minor version number of the debug data format.

public uint Stamp { get; }

Get the time and date that the debug data was created if the PE/COFF file is not deterministic; otherwise, gets a value based on the hash of the content.

public DebugDirectoryEntryType Type { get; }

Gets the format of the debugging information.

public DebugDirectoryEntry(uint stamp, ushort majorVersion, ushort minorVersion, DebugDirectoryEntryType type, int dataSize, int dataRelativeVirtualAddress, int dataPointer)

Initializes a new instance of the DebugDirectoryEntry structure.