Class VBEmptyValue
Represents an Empty value.
public sealed record VBEmptyValue : VBTypedValue, IEquatable<VBRuntimeEntity>, IEquatable<VBTypedValue>, IVBTypedValue<VBEmptyValue, int>, IEquatable<IVBTypedValue<VBEmptyValue, int>>, 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
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 int Value { get; }
Property Value
Methods
Equals(IVBTypedValue<VBEmptyValue, int>?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(IVBTypedValue<VBEmptyValue, int>? other)
Parameters
otherIVBTypedValue<VBEmptyValue, 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.