Table of Contents

Class OnErrorResumeStatementNode

Namespace
RDCore.SDK.Model.AST.Statements
Assembly
RDCore.SDK.dll

Represents a statement that disables error handling (On Error Resume Next, MS-VBAL §5.4.4.1).

public record OnErrorResumeStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<OnErrorResumeStatementNode>
Inheritance
OnErrorResumeStatementNode
Implements
Inherited Members
Extension Methods

Constructors

OnErrorResumeStatementNode(SyntaxNodeId, SourceLocation, bool)

Represents a statement that disables error handling (On Error Resume Next, MS-VBAL §5.4.4.1).

public OnErrorResumeStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, bool IsLocal = false)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

The document location (Uri+Range) of the bound expression.

IsLocal bool

true when the statement is written On Local Error Resume Next, the archaic form (MS-VBAL §5.4.4.1): every error is local to the procedure it is handled in, so the keyword says nothing, and the two statements are the same.

Properties

IsLocal

true when the statement is written On Local Error Resume Next, the archaic form (MS-VBAL §5.4.4.1): every error is local to the procedure it is handled in, so the keyword says nothing, and the two statements are the same.

public bool IsLocal { get; init; }

Property Value

bool