Table of Contents

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

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

The document location (Uri+Range) of the statement.

Condition ExpressionNode

The expression that must be True for execution to continue.

Properties

Condition

The expression that must be True for execution to continue.

public ExpressionNode Condition { get; init; }

Property Value

ExpressionNode