#error version #83765
#error version
#83765
Replies: 1 comment 15 replies
|
Yes. That's the entire point of it.
Correct. You used
Yes. That's where it reports the error diagnostic. |
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I added this to a small test project in VS 2026 insiders (up to date) to see what specific version of C# is being used, but it behaves pretty weird:
It does show me the version but it also seems to say that using
#erroris itself an error, as if using it is an error.It also underlines
versionas somehow being wrong:But it understands it fine because it dies report the C# version number in the error window!
All reactions