WasmLocalInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
A run-length encoded local declaration inside a WebAssembly function body.
public sealed record WasmLocalInfo : IEquatable<WasmLocalInfo>Inheritance
Section titled “Inheritance”Object → WasmLocalInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”WasmLocalInfo(uint, byte, string)
Section titled “WasmLocalInfo(uint, byte, string)”A run-length encoded local declaration inside a WebAssembly function body.
Parameters:
Count(UInt32): The number of locals in this run.ValueType(Byte): The raw Wasm value type byte.DisplayType(String): The display name of the value type.
public WasmLocalInfo(uint Count, byte ValueType, string DisplayType)Properties
Section titled “Properties”The number of locals in this run.
Returns: UInt32
public uint Count { get; init; }DisplayType
Section titled “DisplayType”The display name of the value type.
Returns: String
public string DisplayType { get; init; }ValueType
Section titled “ValueType”The raw Wasm value type byte.
Returns: Byte
public byte ValueType { get; init; }Methods
Section titled “Methods”Deconstruct(out uint, out byte, out string)
Section titled “Deconstruct(out uint, out byte, out string)”Parameters:
public void Deconstruct(out uint Count, out byte ValueType, out string DisplayType)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(WasmLocalInfo?)
Section titled “Equals(WasmLocalInfo?)”Parameters:
other(WasmLocalInfo)
Returns: Boolean
public bool Equals(WasmLocalInfo? 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 !=(WasmLocalInfo?, WasmLocalInfo?)
Section titled “operator !=(WasmLocalInfo?, WasmLocalInfo?)”Parameters:
left(WasmLocalInfo)right(WasmLocalInfo)
Returns: Boolean
public static bool operator !=(WasmLocalInfo? left, WasmLocalInfo? right)operator ==(WasmLocalInfo?, WasmLocalInfo?)
Section titled “operator ==(WasmLocalInfo?, WasmLocalInfo?)”Parameters:
left(WasmLocalInfo)right(WasmLocalInfo)
Returns: Boolean
public static bool operator ==(WasmLocalInfo? left, WasmLocalInfo? right)