DotNetAnalyzers / AsyncUsageAnalyzers

Now superseded by Microsoft/vs-threading
https://github.com/Microsoft/vs-threading
Other
121 stars 18 forks source link

The non-async method for subclass return a ValueTask report AvoidAsyncSuffix #75

Open watsonsong opened 6 years ago

watsonsong commented 6 years ago

I have a method need implement from the interface, and this implement is not async. So I write the following signature: public ValueTask<SongInfo> FindAsync() But it report AvoidAsyncSuffix. It work fine with: public Task<SongInfo> FindAsync()

I think the ValueTask should be support.

Addition: I see the recent update, but the package in nuget is really out of date. Could you update the nuget package?