Class DebugAssertStatementNode
- Namespace
- RDCore.SDK.Model.AST.Statements
- Assembly
- RDCore.SDK.dll
Debug.Assert booleanExpression: suspends execution when its expression is False.
public sealed record DebugAssertStatementNode : DebugStatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<DebugStatementNode>, IEquatable<DebugAssertStatementNode>
- Inheritance
-
DebugAssertStatementNode
- Implements
- Inherited Members
Constructors
DebugAssertStatementNode(SyntaxNodeId, SourceLocation, ExpressionNode)
Debug.Assert booleanExpression: suspends execution when its expression is False.
public DebugAssertStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, ExpressionNode Condition)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the statement.ConditionExpressionNodeThe expression that must be
Truefor execution to continue.
Properties
Condition
The expression that must be True for execution to continue.
public ExpressionNode Condition { get; init; }