When I compile my project without opening the files, the assembly succeeds, as expected. Now, when I open a file containing any methods with the async keyword , the following messages appear in my error window:
Error 6 ; expected
Error 10 ; expected
Error 16 A namespace cannot directly contain members such as fields or methods
Error 2 Identifier expected
When I create a solution, it still executes.
I installed AsyncCTPv3 and ReSharper. I have currently disabled ReSharper, but still these errors are displayed. Someone tell me?
edit: the same errors seem to be next to the keywords waiting . I mean the wait, and the asynchronous move goes hand in hand, but itโs rather strange that these errors appear next to non-.NET-4.0 elements . And the compiler doesn't even care. I think that only Visual Studio has some difficulties in interpreting these keywords.
source
share