Metalama//API Documentation/Advanced API/Metalama.​Framework.​Engine.​Utilities.​Roslyn/Safe­Syntax­Visitor<T>
Open sandboxFocus

Class SafeSyntaxVisitor<T>

A derivation of CSharpSyntaxVisitor<TResult> that throws a Metalama.Framework.Engine.Utilities.Roslyn.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)