Faulty compiler error message CS0165 #2267
Replies: 6 comments
-
@gafter : you can use GitHub's issue transferal tool for that ^^. |
Beta Was this translation helpful? Give feedback.
-
I already told him in #2260. |
Beta Was this translation helpful? Give feedback.
-
Duplicate of #1195? |
Beta Was this translation helpful? Give feedback.
-
No I cannot because I am not an admin for this repository. |
Beta Was this translation helpful? Give feedback.
-
Oh my bad, I thought that |
Beta Was this translation helpful? Give feedback.
-
@Unknown6656 Please send feedback to GitHub about this. I haven't been able to use the issue transfer feature yet at NUnit either for the same reason, and it would be really useful there as well. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@vsfeedback commented on Mon Feb 25 2019
A compiler error message CS0165 appears even though the code is correct.
private static void MicrosoftFehler()
{
MsFehler msf = new MsFehler();
---> Console.WriteLine(m); <----------------------------------------------------------------------------
}
This issue has been moved from https://developercommunity.visualstudio.com/content/problem/47334/faulty-compiler-error-message-cs0165.html
VSTS ticketId: 421730
These are the original issue comments:
(no comments)
These are the original issue solutions:
(no solutions)
@gafter commented on Tue Feb 26 2019
Although I have sympathy, the current language specification does not have separate "assigned when true" and "assigned when false" states for
operator==
. Therefore this is a language feature request and I am moving it to csharplang.Beta Was this translation helpful? Give feedback.
All reactions