Open sandboxFocus

Namespace Metalama.Framework.Engine.Utilities.Roslyn

Classes

SafeSyntaxRewriter

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

SafeSyntaxVisitor

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

SafeSyntaxVisitor<T>

A derivation of CSharpSyntaxVisitor<TResult> that throws a SyntaxProcessingException when an unhandled exception is detected while processing a node.

SafeSyntaxWalker

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

SymbolExtensions