Open sandboxFocus

Class SafeSyntaxVisitor<T>

A derivation of CSharpSyntaxVisitor<TResult> that throws a SyntaxProcessingException when an unhandled exception is detected while processing a node.

Inheritance
SafeSyntaxVisitor<T>
Namespace: Metalama.Framework.Engine.Utilities.Roslyn
Assembly: Metalama.Framework.Sdk.dll
Syntax
public abstract class SafeSyntaxVisitor<T> : CSharpSyntaxVisitor<T>
Type Parameters
Name Description
T

Constructors

Name Description
SafeSyntaxVisitor()

Methods

Name Description
Visit(SyntaxNode?)
VisitCore(SyntaxNode?)

Extension Methods