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

Find references and aliases for known values #196

Merged
merged 5 commits into from
Apr 2, 2024
Merged

Find references and aliases for known values #196

merged 5 commits into from
Apr 2, 2024

Conversation

mhutch
Copy link
Owner

@mhutch mhutch commented Apr 2, 2024

Known values now support aliases, and LangVersion has aliases without the minor version e.g. 10.0 and 10

image

C# warning codes also have aliases without the CS prefix, and Find References works for known values:
image

Fixes #170

mhutch added 5 commits April 2, 2024 02:14
Partial fix for #170 Shorthand values valid in MSBuild
are treated as errors in the editor
Remaining part of fix for #170

Plus the special "nullable" warning code - doesn't seem to
be documented, but is supported by the compiler
@mhutch mhutch merged commit 06af114 into main Apr 2, 2024
1 check passed
@mhutch mhutch deleted the aliased-values branch April 30, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shorthand values valid in MSBuild are treated as errors in the editor
1 participant