dotnet/roslyn

Suggestion: improve error message when missing a semicolon in immediate window variable creation

オープン

#46,736 opened on 2020/08/12

 (0 件のコメント) (2 件のリアクション) (0 人の担当者)C# (4,257 件のフォーク)batch import
Area-InteractiveConcept-Continuous Improvementhelp wanted

Repository metrics

Stars
 (20,414 個のスター)
PR merge metrics
 (平均マージ 6d 17h) (30d で 256 merged PRs)

説明

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:

  1. Create a new hello world application
  2. Open the immediate window (or the debug console in VS Code)
  3. 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

コントリビューターガイド