Update VSTHRD112.md
Shouldn't this call `DisposeAsync` or is there some compiler magic happening?
This commit is contained in:
Родитель
a2c873656d
Коммит
c57a45b854
|
@ -49,7 +49,7 @@ class SomeClass : System.IAsyncDisposable, Microsoft.VisualStudio.Threading.IAsy
|
|||
{
|
||||
// Simply forward the call to the other DisposeAsync overload.
|
||||
System.IAsyncDisposable self = this;
|
||||
return self.Dispose().AsTask();
|
||||
return self.DisposeAsync().AsTask();
|
||||
}
|
||||
|
||||
ValueTask System.IAsyncDisposable.DisposeAsync()
|
||||
|
|
Загрузка…
Ссылка в новой задаче