WasmGlobalInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One WebAssembly global declaration.
public sealed record WasmGlobalInfo : IEquatable<WasmGlobalInfo>Inheritance
Section titled “Inheritance”Object → WasmGlobalInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”WasmGlobalInfo(int, byte, string, bool)
Section titled “WasmGlobalInfo(int, byte, string, bool)”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)Properties
Section titled “Properties”The zero-based global index.
Returns: Int32
public int Index { get; init; }IsMutable
Section titled “IsMutable”Whether the global is mutable.
Returns: Boolean
public bool IsMutable { get; init; }ValueType
Section titled “ValueType”The raw WebAssembly value-type byte.
Returns: Byte
public byte ValueType { get; init; }ValueTypeName
Section titled “ValueTypeName”The display name for the value type.
Returns: String
public string ValueTypeName { get; init; }Methods
Section titled “Methods”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)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(WasmGlobalInfo?)
Section titled “Equals(WasmGlobalInfo?)”Parameters:
other(WasmGlobalInfo)
Returns: Boolean
public bool Equals(WasmGlobalInfo? 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 !=(WasmGlobalInfo?, WasmGlobalInfo?)
Section titled “operator !=(WasmGlobalInfo?, WasmGlobalInfo?)”Parameters:
left(WasmGlobalInfo)right(WasmGlobalInfo)
Returns: Boolean
public static bool operator !=(WasmGlobalInfo? left, WasmGlobalInfo? right)operator ==(WasmGlobalInfo?, WasmGlobalInfo?)
Section titled “operator ==(WasmGlobalInfo?, WasmGlobalInfo?)”Parameters:
left(WasmGlobalInfo)right(WasmGlobalInfo)
Returns: Boolean
public static bool operator ==(WasmGlobalInfo? left, WasmGlobalInfo? right)