MetalamaAPI documentationAdvanced APIMetalama.​Framework.​Engine.​Utilities.​RoslynSafe­Syntax­Visitor<T>
Open sandboxFocus

SafeSyntaxVisitor<T> Class

A derivation of Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1 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)