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

System.Reflection.Metadata.Ecma335.PortablePdbBuilder

public sealed class PortablePdbBuilder
Represents the builder of a Portable PDB image.
public ushort FormatVersion { get; }

public string MetadataVersion { get; }

public PortablePdbBuilder(MetadataBuilder tablesAndHeaps, ImmutableArray<int> typeSystemRowCounts, MethodDefinitionHandle entryPoint, Func<IEnumerable<Blob>, BlobContentId> idProvider = null)

Creates a builder of a Portable PDB image.

Serializes portable PDB content into the given BlobBuilder.