-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Cannot use local variable 'var' before it is declared #1628
Comments
I cannot find an undeclared variable in the source code. Could you please post the snippet showing the error? Thank you! |
wrong input, it's here https://www.sendspace.com/file/0iis4h please also pay attention that RemoveConsole() method has way too many goto's... |
In the assembly you provided there is no method called "RemoveConsole". Can you please clarify? Thank you! |
pardon again code snippet
see the "out installation" - it is used without declaration BTW, ILSpy does not show body of inside types!? |
The assembly looks like it only contains internal types. You will have to activate the "Show internal types and members" option. (The toolbar button next to "Reload assemblies"). |
Can you please provide all assemblies that are referenced by this one? I cannot reproduce this, because the method in question is defined in a referenced assembly.
From the code you posted:
Seems like the |
Thanks for tip about internal types! forget about it at all :)
|
As already mentioned in #1634 the problem is that @dgrunwald I think, |
I have added a simple fix for this particular problem. Note that this is not yet included in the just released preview4. I was too slow :) |
…ntTransform.VisitBinaryOperatorExpression.
ILSpy version 5.0.0.5057-preview4
ref to method
it is having issue wtih local var
It is declared nowhere..
VS error:
The text was updated successfully, but these errors were encountered: