See the logs collected in https://github.com/microsoft/vscode/issues/239789 The C# language server sends overlapping folding line ranges for `else` clauses. Note that VS Code only supports folding lines, so `startCharacter` and `endCharacter` of folding ranges are ignored.