MetalamaAPI documentationAdvanced APIMetalama.​Framework.​Engine.​Utilities.​RoslynSafe­Syntax­Rewriter
Open sandboxFocus

SafeSyntaxRewriter Class

A derivation of CSharpSyntaxRewriter that throws a SyntaxProcessingException when an unhandled exception is detected while processing a node.

Inheritance
SafeSyntaxRewriter
Namespace: Metalama.Framework.Engine.Utilities.Roslyn
Assembly: Metalama.Framework.Sdk.dll
Syntax
public abstract class SafeSyntaxRewriter : CSharpSyntaxRewriter

Constructors

Name Description
SafeSyntaxRewriter(bool)

Methods

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