Skip to content

WasmGlobalInfo

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

One WebAssembly global declaration.

public sealed record WasmGlobalInfo : IEquatable<WasmGlobalInfo>

ObjectWasmGlobalInfo

One WebAssembly global declaration.

Parameters:

  • Index (Int32): The zero-based global index.
  • ValueType (Byte): The raw WebAssembly value-type byte.
  • ValueTypeName (String): The display name for the value type.
  • IsMutable (Boolean): Whether the global is mutable.
public WasmGlobalInfo(int Index, byte ValueType, string ValueTypeName, bool IsMutable)

The zero-based global index.

Returns: Int32

public int Index { get; init; }

Whether the global is mutable.

Returns: Boolean

public bool IsMutable { get; init; }

The raw WebAssembly value-type byte.

Returns: Byte

public byte ValueType { get; init; }

The display name for the value type.

Returns: String

public string ValueTypeName { get; init; }

Deconstruct(out int, out byte, out string, out bool)

Section titled “Deconstruct(out int, out byte, out string, out bool)”

Parameters:

public void Deconstruct(out int Index, out byte ValueType, out string ValueTypeName, out bool IsMutable)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Parameters:

Returns: Boolean

public bool Equals(WasmGlobalInfo? other)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(WasmGlobalInfo?, WasmGlobalInfo?)

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

Parameters:

Returns: Boolean

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

operator ==(WasmGlobalInfo?, WasmGlobalInfo?)

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

Parameters:

Returns: Boolean

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