Class VBUnknownType
A semantic data type representing an unknown (unresolved) but presumably valid data type.
public sealed record VBUnknownType : VBType, IEquatable<VBType>, IEquatable<VBUnknownType>
- Inheritance
-
VBUnknownType
- Implements
- Inherited Members
Constructors
VBUnknownType()
A semantic data type representing an unknown (unresolved) but presumably valid data type.
public VBUnknownType()
Properties
DefaultValue
Gets the default value for this data type.
public override VBTypedValue DefaultValue { get; }
Property Value
Remarks
⚠️ Derived types must back the implementation of this property with a thread-safe private static readonly Lazy<T>.
Failure to do so would lock up the static context initialization of the StaticSymbol symbols.
TypeInfo
The Unknown (unresolved) data type.
public static VBType TypeInfo { get; }
Property Value
Methods
CreateValue(IBindingHandle)
Creates a value of this type bound to handle.
public override VBTypedValue CreateValue(IBindingHandle handle)
Parameters
handleIBindingHandle
Returns
Remarks
The base implementation throws: only types that can hold a runtime value override this
(matches the intent of the removed VBTypedValueFactory.CreateValue(VBType) switch,
which returned null for the rest).