dotnet/roslyn
Suggestion: improve error message when missing a semicolon in immediate window variable creation
Ouverte
#46 736 ouverte le 12 août 2020
Area-InteractiveConcept-Continuous Improvementhelp wanted
Métriques du dépôt
- Stars
- (20 414 étoiles)
- Métriques de merge PR
- (Merge moyen 6j 17h) (256 PRs mergées en 30 j)
Description
I am creating this issue on behalf of @WebFreak001 from https://github.com/OmniSharp/omnisharp-vscode/issues/3940
Version Used: Visual Studio 16.8 preview 2 [30410.220.master]
Steps to Reproduce:
- Create a new hello world application
- Open the immediate window (or the debug console in VS Code)
- Evaluate
var x = 10(note the missing semicolon)
Expected Behavior: An error message that might lead one to understand that variable creation statements require a semicolon
Actual Behavior:
error CS0726: 'x' is not a valid format specifier