WasmElementSegmentInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One WebAssembly element segment declaration.
public sealed record WasmElementSegmentInfo : IEquatable<WasmElementSegmentInfo>Inheritance
Section titled “Inheritance”Object → WasmElementSegmentInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”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)Properties
Section titled “Properties”ElementCount
Section titled “ElementCount”The number of recorded element expressions or indices.
Returns: Int32
public int ElementCount { get; init; }ElementType
Section titled “ElementType”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; }TableIndex
Section titled “TableIndex”The table index when the mode records one.
Returns: Nullable<Int32>
public int? TableIndex { get; init; }Methods
Section titled “Methods”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:
Index(Int32)Mode(String)TableIndex(Nullable<Int32>)ElementType(String)ElementCount(Int32)
public void Deconstruct(out int Index, out string Mode, out int? TableIndex, out string ElementType, out int ElementCount)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(WasmElementSegmentInfo?)
Section titled “Equals(WasmElementSegmentInfo?)”Parameters:
other(WasmElementSegmentInfo)
Returns: Boolean
public bool Equals(WasmElementSegmentInfo? other)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(WasmElementSegmentInfo?, WasmElementSegmentInfo?)
Section titled “operator !=(WasmElementSegmentInfo?, WasmElementSegmentInfo?)”Parameters:
left(WasmElementSegmentInfo)right(WasmElementSegmentInfo)
Returns: Boolean
public static bool operator !=(WasmElementSegmentInfo? left, WasmElementSegmentInfo? right)operator ==(WasmElementSegmentInfo?, WasmElementSegmentInfo?)
Section titled “operator ==(WasmElementSegmentInfo?, WasmElementSegmentInfo?)”Parameters:
left(WasmElementSegmentInfo)right(WasmElementSegmentInfo)
Returns: Boolean
public static bool operator ==(WasmElementSegmentInfo? left, WasmElementSegmentInfo? right)