Class VBFunctionProcedureDesc
Describes a Function procedure.
public record VBFunctionProcedureDesc : VBReturningMemberDesc, IEquatable<VBType>, IEquatable<VBMemberDesc>, IEquatable<VBReturningMemberDesc>, IEquatable<VBFunctionProcedureDesc>
- Inheritance
-
VBFunctionProcedureDesc
- Implements
- Derived
- Inherited Members
Constructors
VBFunctionProcedureDesc(string, ImmutableArray<VBParameterSymbol>)
Describes a Function procedure.
public VBFunctionProcedureDesc(string Name, ImmutableArray<VBParameterSymbol> Parameters)
Parameters
NamestringThe name of the member.
ParametersImmutableArray<VBParameterSymbol>
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
Describes a specific Function procedure.
public static VBFunctionProcedureDesc TypeInfo { get; }