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.
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?) |