Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Apr 14, 2012 6:35:35 AM |
Updated | Apr 14, 2012 6:35:35 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 { bool IsCompleted { get; } void GetResult(); void OnCompleted(Action continuation); } class C<T> where T : I, INotifyCompletion { T GetAwaiter() { return default(T); } async void Foo() { await this; } }