Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Apr 14, 2012 3:38:07 AM |
Updated | Apr 14, 2012 3:38:07 AM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
class A { async void Foo() // Rename Foo to await { Foo(); } }
Result:
class A { async void await() { await(); // error CS4003: 'await' cannot be used as an identifier within an async method or lambda expression } }
Expected:
class A { async void await() { @await(); // OK } }