private static async Task GetFeedAsync()

in JetBrains.Profiler.SelfApi/src/Impl/NuGet.cs [198:214]


      private static async Task<Feed> GetFeedAsync(
        HttpClient http,
        Uri url,
        CancellationToken cancellationToken)
      {
        Trace.Info("NuGet.V2.GetFeed: {0}", url);
        using (var response = await http
          .GetAsync(url, HttpCompletionOption.ResponseHeadersRead, cancellationToken)
          .ConfigureAwait(false))
        {
          response.EnsureSuccessStatusCode();
          using (var xml = await response.Content.ReadAsStreamAsync().ConfigureAwait(false))
          {
            return Feed.FromStream(xml);
          }
        }
      }