Class VBEmptyValue
Represents an Empty value.
public sealed record VBEmptyValue : VBTypedValue, IEquatable<VBRuntimeEntity>, IEquatable<VBTypedValue>, IVBTypedValue<VBEmptyValue, nint>, IEquatable<IVBTypedValue<VBEmptyValue, nint>>, IEquatable<VBEmptyValue>
- Inheritance
-
VBEmptyValue
- Implements
- Inherited Members
Constructors
VBEmptyValue(Symbol)
Represents an Empty value.
public VBEmptyValue(Symbol Symbol)
Parameters
SymbolSymbolThe symbol associated with this value.
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.
Empty
public static VBEmptyValue Empty { get; }
Property Value
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
Gets the underlying managed value corresponding to this typed value.
public nint Value { get; }
Property Value
Methods
Equals(IVBTypedValue<VBEmptyValue, nint>?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(IVBTypedValue<VBEmptyValue, nint>? other)
Parameters
otherIVBTypedValue<VBEmptyValue, nint>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.