Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Apr 14, 2012 6:09:47 AM |
Updated | Apr 14, 2012 6:09:47 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.Runtime.CompilerServices; using System.Threading.Tasks; class B { protected YieldAwaitable.YieldAwaiter GetAwaiter() { return Task.Yield().GetAwaiter(); } } class C : B { async static void Foo() { await new B(); } }