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

SafeSyntaxWalker Class

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.

Inheritance
SafeSyntaxWalker
Namespace: Metalama.Framework.Engine.Utilities.Roslyn
Assembly: Metalama.Framework.Sdk.dll
Syntax
public abstract class SafeSyntaxWalker : CSharpSyntaxWalker

Constructors

Name Description
SafeSyntaxWalker(SyntaxWalkerDepth)

Methods

Name Description
Visit(SyntaxNode)
VisitCore(SyntaxNode)