Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Automatically fix the casing of identifiers where possible #276
VB allows calling methods using any casing/capitalization, where C# does not. Attempt to fix the casing where possible.
Wow, that certainly is an unexpected effect based on what you changed.
The code to clean up usings happens in a second pass and only removes them if it finds no compilation errors missing types (in case it's actually a missing reference that the using statement would have correctly pointed to). I don't know how your changes could affect any of that since the rest of the code is identical though. Let me know if you're still struggling after sticking a breakpoing on the "using" conversion and on the "using" tidyup.
OK, this is super weird - it seems like a Roslyn bug...
Gives one of these: https://docs.microsoft.com/en-us/dotnet/visual-basic/misc/bc30980
I'll fix up the test case.
Apr 8, 2019
Ah yes, I hadn't realized the line endings were changed by your previous PRs. I've changed them back to CRLF in master. If you set
Thanks for the PR!