Metalama//API Documentation/Advanced API/Metalama.​Framework.​Engine.​Utilities.​Roslyn/Safe­Syntax­Rewriter
Open sandboxFocus

Class SafeSyntaxRewriter

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

Methods

Name Description
Visit(SyntaxNode)
VisitCore(SyntaxNode)