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

SafeSyntaxRewriter Class

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