Table of Contents

Enum DefinitionState

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

The conditional-compilation state of a single SymbolDefinition — whether the #If branch the declaration site sits in is the one that compiles.

public enum DefinitionState

Fields

Dead = 2

The branch does not compile: this declaration site is dead code, but it is still tracked so a rename or move affects it alongside the live site.

Live = 1

The branch compiles: this is a live declaration site.

Unknown = 0

The branch has not been evaluated. A later precompiler-evaluation pass resolves it to Live or Dead; until then every site of a multi-branch symbol is Unknown.