Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Apr 14, 2012 6:23:34 AM |
Updated | Apr 14, 2012 6:23:34 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 |
using System; using System.Runtime.CompilerServices; interface I<T> : INotifyCompletion { T IsCompleted { get; } void GetResult(); new void OnCompleted(Action continuation); } class C { I<bool> GetAwaiter() { return null; } async void Foo() { await this; } }