Skip to content
This repository was archived by the owner on Nov 8, 2018. It is now read-only.

Await inside usings.Β #54

@JohanLarsson

Description

@JohanLarsson
using (var webClient = new WebClient())
{
    return webClient.DownloadStringTaskAsync(address);
}

We talked about this in chat, this can lead to situations where it is undefined if the IDisposable is disposed or not.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions