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

System.Reflection.PortableExecutable.DebugDirectoryBuilder

public sealed class DebugDirectoryBuilder

Initializes a new instance of the DebugDirectoryBuilder class.

public void AddCodeViewEntry(string pdbPath, BlobContentId pdbContentId, ushort portablePdbVersion)

Adds a CodeView entry.

public void AddCodeViewEntry(string pdbPath, BlobContentId pdbContentId, ushort portablePdbVersion, int age)

Adds a CodeView entry.

public void AddEmbeddedPortablePdbEntry(BlobBuilder debugMetadata, ushort portablePdbVersion)

Adds an Embedded Portable PDB entry.

public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp)

Adds an entry of the specified type.

public void AddEntry<TData>(DebugDirectoryEntryType type, uint version, uint stamp, TData data, Action<BlobBuilder, TData> dataSerializer)

Adds an entry of the specified type and serializes its data.

public void AddPdbChecksumEntry(string algorithmName, ImmutableArray<byte> checksum)

Adds PDB checksum entry.

public void AddReproducibleEntry()

Adds a reproducible entry.