MetalamaAPI documentationAdvanced APIMetalama.​Framework.​Engine.​Utilities.​Roslyn
Open sandboxFocus

Metalama.Framework.Engine.Utilities.Roslyn Namespace

Classes

SafeSyntaxRewriter

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.

SafeSyntaxVisitor

A derivation of CSharpSyntaxVisitor that throws a Metalama.Framework.Engine.Utilities.Roslyn.SyntaxProcessingException when an unhandled exception is detected while processing a node.

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.

SafeSyntaxWalker

A derivation of CSharpSyntaxWalker that throws a Metalama.Framework.Engine.Utilities.Roslyn.SyntaxProcessingException when an unhandled exception is detected while processing a node. Also prevents InsufficientExecutionStackException for deeply nested trees.