<PackageReference Include="Microsoft.Packaging.Tools" Version="1.0.0-preview1-25301-01" />

System.Reflection.PortableExecutable.PEBuilder

abstract class PEBuilder
protected struct Section

public PEHeaderBuilder Header { get; }

public bool IsDeterministic { get; }

protected PEBuilder(PEHeaderBuilder header, Func<IEnumerable<Blob>, BlobContentId> deterministicIdProvider)

protected abstract ImmutableArray<Section> CreateSections()

public void Serialize(BlobBuilder builder, out BlobContentId contentId)

protected abstract BlobBuilder SerializeSection(string name, SectionLocation location)