Class VBParameterDesc
A meta-type that describes a VBParameterSymbol.
public record VBParameterDesc : VBType, IEquatable<VBType>, IEquatable<VBParameterDesc>
- Inheritance
-
VBParameterDesc
- Implements
- Derived
- Inherited Members
Constructors
VBParameterDesc(string, bool)
A meta-type that describes a VBParameterSymbol.
public VBParameterDesc(string Name, bool IsByRef)
Parameters
NamestringThe identifier name of the parameter.
IsByRefbooltrueif the parameter is (or must be) passed by reference.
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.
IsByRef
true if the parameter is (or must be) passed by reference.
public bool IsByRef { get; init; }
Property Value
Size
The size (in bytes) of a value of this type.
public override int Size { get; }
Property Value
Remarks
Determines the length of the allocated memory space for a value of this type.