Table of Contents

Class PrecompilerConstantSymbol

Namespace
RDCore.SDK.Model.Symbols
Assembly
RDCore.SDK.dll

A project-level conditional-compilation constant (MS-VBAL §3.4.1) — supplied by the .rdproj or a --define argument, and shadowed by a module's own #Const.

public sealed record PrecompilerConstantSymbol : UnboundTypedSymbol, IEquatable<Symbol>, IEquatable<UnboundSymbol>, ITypedSymbol, IEquatable<UnboundTypedSymbol>, IEquatable<PrecompilerConstantSymbol>
Inheritance
PrecompilerConstantSymbol
Implements
Inherited Members

Remarks

The declared type of the binding is Variant; Value is the concrete data value of the constant expression.

Constructors

PrecompilerConstantSymbol(string, VBTypedValue)

A project-level conditional-compilation constant (MS-VBAL §3.4.1) — supplied by the .rdproj or a --define argument, and shadowed by a module's own #Const.

public PrecompilerConstantSymbol(string Name, VBTypedValue Value)

Parameters

Name string

The constant's name.

Value VBTypedValue

The constant's data value.

Remarks

The declared type of the binding is Variant; Value is the concrete data value of the constant expression.

Properties

Value

The constant's data value.

public VBTypedValue Value { get; init; }

Property Value

VBTypedValue