Class LineNumberNode
A line label directive that represents a line number, which is procedure metadata that defines a named symbol for various jump targets.
public record LineNumberNode : LineLabelNode, IEquatable<SyntaxNode>, IEquatable<DirectiveNode>, IEquatable<LineLabelNode>, IEquatable<LineNumberNode>
- Inheritance
-
LineNumberNode
- Implements
- Inherited Members
Remarks
The string representation of the number is the label name.
Constructors
LineNumberNode(SyntaxNodeId, SourceLocation, int)
A line label directive that represents a line number, which is procedure metadata that defines a named symbol for various jump targets.
public LineNumberNode(SyntaxNodeId Identity, SourceLocation SourceLocation, int Number)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.NumberintThe label name.
Remarks
The string representation of the number is the label name.
Properties
Number
The label name.
public int Number { get; init; }