Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect intellisense message for non constant case in a switch #60876

Open
nicovv44 opened this issue Apr 21, 2022 · 0 comments
Open

Incorrect intellisense message for non constant case in a switch #60876

nicovv44 opened this issue Apr 21, 2022 · 0 comments
Labels
Area-Compilers Bug Concept-Diagnostic Clarity The issues deals with the ease of understanding of errors and warnings.
Milestone

Comments

@nicovv44
Copy link

nicovv44 commented Apr 21, 2022

Version Used:

  • Microsoft (R) Build Engine version 17.1.1+a02f73656 for .NET
  • .NET 3.1

Steps to Reproduce:
image

Expected Behavior:

  • Absence of message about type not existing.
  • Presence of message about ToString() not returning a constant.

Actual Behavior:

  • Presence of message about type not existing.
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 21, 2022
@nicovv44 nicovv44 changed the title Incorrect intellisense message for non constant case Incorrect intellisense message for non constant case in a switch Apr 21, 2022
@jcouv jcouv added Concept-Diagnostic Clarity The issues deals with the ease of understanding of errors and warnings. Bug and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 21, 2022
@jcouv jcouv added this to the Backlog milestone Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers Bug Concept-Diagnostic Clarity The issues deals with the ease of understanding of errors and warnings.
Projects
None yet
Development

No branches or pull requests

2 participants