Skip to content

C# Parser can stack overflow when GetDirectives is called on a SyntaxNodeOrToken #36346

@agocke

Description

@agocke

See https://developercommunity.visualstudio.com/content/problem/565382/compiling-causes-a-stack-overflow-error.html

While the compiler as a whole may not handle extremely deep trees, it seems reasonable to harden the public surface area of the parser.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions