Skip to content

WasmElementSegmentInfo

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

One WebAssembly element segment declaration.

public sealed record WasmElementSegmentInfo : IEquatable<WasmElementSegmentInfo>

ObjectWasmElementSegmentInfo

WasmElementSegmentInfo(int, string, int?, string, int)

Section titled “WasmElementSegmentInfo(int, string, int?, string, int)”

One WebAssembly element segment declaration.

Parameters:

  • Index (Int32): The zero-based element segment index.
  • Mode (String): The decoded element segment mode.
  • TableIndex (Nullable<Int32>): The table index when the mode records one.
  • ElementType (String): The reference type or element kind.
  • ElementCount (Int32): The number of recorded element expressions or indices.
public WasmElementSegmentInfo(int Index, string Mode, int? TableIndex, string ElementType, int ElementCount)

The number of recorded element expressions or indices.

Returns: Int32

public int ElementCount { get; init; }

The reference type or element kind.

Returns: String

public string ElementType { get; init; }

The zero-based element segment index.

Returns: Int32

public int Index { get; init; }

The decoded element segment mode.

Returns: String

public string Mode { get; init; }

The table index when the mode records one.

Returns: Nullable<Int32>

public int? TableIndex { get; init; }

Deconstruct(out int, out string, out int?, out string, out int)

Section titled “Deconstruct(out int, out string, out int?, out string, out int)”

Parameters:

public void Deconstruct(out int Index, out string Mode, out int? TableIndex, out string ElementType, out int ElementCount)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Parameters:

Returns: Boolean

public bool Equals(WasmElementSegmentInfo? other)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(WasmElementSegmentInfo?, WasmElementSegmentInfo?)

Section titled “operator !=(WasmElementSegmentInfo?, WasmElementSegmentInfo?)”

Parameters:

Returns: Boolean

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

operator ==(WasmElementSegmentInfo?, WasmElementSegmentInfo?)

Section titled “operator ==(WasmElementSegmentInfo?, WasmElementSegmentInfo?)”

Parameters:

Returns: Boolean

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