Class VBErrorValue
Represents an Error value.
public sealed record VBErrorValue : VBTypedValue, IEquatable<VBRuntimeEntity>, IEquatable<VBTypedValue>, IVBTypedValue<VBErrorValue, int>, IEquatable<IVBTypedValue<VBErrorValue, int>>, IEquatable<VBErrorValue>
- Inheritance
-
VBErrorValue
- Implements
- Inherited Members
Constructors
VBErrorValue(Symbol, int)
Represents an Error value.
public VBErrorValue(Symbol Symbol, int Value = 0)
Parameters
Properties
BoxedValue
Gets the boxed (object) underlying managed value.
public override object BoxedValue { get; }
Property Value
Remarks
👉 This member is provided as a non-generic convenience for contexts where the type is unknown.
Use the generic ITypedValue<T> whenever possible instead.
Size
The allocated size (in bytes) of this value.
public override int Size { get; }
Property Value
Symbol
The symbol associated with this value.
public Symbol Symbol { get; init; }
Property Value
Value
The numeric underlying value.
public int Value { get; init; }
Property Value
Methods
Equals(IVBTypedValue<VBErrorValue, int>?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(IVBTypedValue<VBErrorValue, int>? other)
Parameters
otherIVBTypedValue<VBErrorValue, int>An object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.