Table of Contents

Class VBMemberDesc

Namespace
RDCore.SDK.Model.Types.Meta
Assembly
RDCore.SDK.dll

An abstract meta-type representing any VBTypeMemberSymbol

public abstract record VBMemberDesc : VBType, IEquatable<VBType>, IEquatable<VBMemberDesc>
Inheritance
VBMemberDesc
Implements
Derived
Inherited Members

Constructors

VBMemberDesc(string, ImmutableArray<VBParameterSymbol>)

An abstract meta-type representing any VBTypeMemberSymbol

protected VBMemberDesc(string Name, ImmutableArray<VBParameterSymbol> Parameters)

Parameters

Name string

The identifier name of the member.

Parameters ImmutableArray<VBParameterSymbol>

Properties

DefaultValue

Gets the default value for this data type.

public override VBTypedValue DefaultValue { get; }

Property Value

VBTypedValue

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.

Parameters

public ImmutableArray<VBParameterSymbol> Parameters { get; init; }

Property Value

ImmutableArray<VBParameterSymbol>

Size

The size (in bytes) of a value of this type.

public override int Size { get; }

Property Value

int

Remarks

Determines the length of the allocated memory space for a value of this type.