Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-294494: error CS4027: 'I' does not implement 'System.Runtime.CompilerServices.INotifyCompletion'

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Apr 14, 2012 6:33:00 AM
Updated Apr 14, 2012 6:33:00 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;

interface I
{
    bool IsCompleted { get; }
    void GetResult();
    void OnCompleted(Action continuation);
}

class C
{
    I GetAwaiter()
    {
        return null;
    }

    async void Foo()
    {
        await this;
    }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>