System.ArgumentNullException in SyntaxNodeExtensions.RemoveNode #4412
Labels
Area-Compilers
Bug
Concept-Diagnostic Clarity
The issues deals with the ease of understanding of errors and warnings.
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
The following Code causes an exception:
My assumption is that an AST with an ExpressionStatementSyntax that has no ExpressionSyntax is invalid, and thus an error occurs. The error message could be a lot more descriptive about that, though...
Exception:
The text was updated successfully, but these errors were encountered: