Skip to content

WebcilInfo

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

Parsed provenance for a Webcil managed assembly, including whether it was wrapped inside a WebAssembly module. Webcil is a .NET metadata container used by browser-wasm publishes, so dotsider routes it through the managed metadata and IL experience.

public sealed record WebcilInfo : IEquatable<WebcilInfo>

ObjectWebcilInfo

WebcilInfo(int, int, bool, long, int, int, int)

Section titled “WebcilInfo(int, int, bool, long, int, int, int)”

Parsed provenance for a Webcil managed assembly, including whether it was wrapped inside a WebAssembly module. Webcil is a .NET metadata container used by browser-wasm publishes, so dotsider routes it through the managed metadata and IL experience.

Parameters:

  • VersionMajor (Int32): The Webcil major format version.
  • VersionMinor (Int32): The Webcil minor format version.
  • IsWasmWrapped (Boolean): True when the Webcil payload was found inside a Wasm wrapper module.
  • PayloadOffset (Int64): The file offset of the Webcil payload in the opened file.
  • SectionCount (Int32): The number of Webcil section records.
  • MetadataSize (Int32): The size of the ECMA-335 metadata blob.
  • DebugDirectorySize (Int32): The size of the Webcil debug directory, when present.
public WebcilInfo(int VersionMajor, int VersionMinor, bool IsWasmWrapped, long PayloadOffset, int SectionCount, int MetadataSize, int DebugDirectorySize)

The size of the Webcil debug directory, when present.

Returns: Int32

public int DebugDirectorySize { get; init; }

True when the Webcil payload was found inside a Wasm wrapper module.

Returns: Boolean

public bool IsWasmWrapped { get; init; }

The size of the ECMA-335 metadata blob.

Returns: Int32

public int MetadataSize { get; init; }

The file offset of the Webcil payload in the opened file.

Returns: Int64

public long PayloadOffset { get; init; }

The number of Webcil section records.

Returns: Int32

public int SectionCount { get; init; }

The Webcil major format version.

Returns: Int32

public int VersionMajor { get; init; }

The Webcil minor format version.

Returns: Int32

public int VersionMinor { get; init; }

Deconstruct(out int, out int, out bool, out long, out int, out int, out int)

Section titled “Deconstruct(out int, out int, out bool, out long, out int, out int, out int)”

Parameters:

public void Deconstruct(out int VersionMajor, out int VersionMinor, out bool IsWasmWrapped, out long PayloadOffset, out int SectionCount, out int MetadataSize, out int DebugDirectorySize)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Parameters:

Returns: Boolean

public bool Equals(WebcilInfo? other)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

Parameters:

Returns: Boolean

public static bool operator !=(WebcilInfo? left, WebcilInfo? right)

Parameters:

Returns: Boolean

public static bool operator ==(WebcilInfo? left, WebcilInfo? right)