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 Microsoft.CodeAnalysis.CSharp.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 Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1 that throws a Metalama.Framework.Engine.Utilities.Roslyn.SyntaxProcessingException when an unhandled exception is detected while processing a node.

SafeSyntaxWalker

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