Class DirectiveNode
A SyntaxNode representing a module directive, which is module metadata that is neither typed, nor executable.
public abstract record DirectiveNode : SyntaxNode, IEquatable<SyntaxNode>, IEquatable<DirectiveNode>
- Inheritance
-
DirectiveNode
- Implements
- Derived
- Inherited Members
Constructors
DirectiveNode(SyntaxNodeId, SourceLocation, ImmutableArray<SyntaxNode>)
A SyntaxNode representing a module directive, which is module metadata that is neither typed, nor executable.
protected DirectiveNode(SyntaxNodeId Identity, SourceLocation SourceLocation, ImmutableArray<SyntaxNode> Children)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.ChildrenImmutableArray<SyntaxNode>