Skip to content

Commit

Permalink
Adding TODO comment with bug number
Browse files Browse the repository at this point in the history
  • Loading branch information
aortiz-msft committed Sep 27, 2022
1 parent f3d9c1d commit 80f321c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public class HttpSourceAuthenticationHandler : DelegatingHandler
private readonly ICredentialService _credentialService;

#pragma warning disable CA2213
// TODO: https://github.com/NuGet/Home/issues/12116
private readonly SemaphoreSlim _httpClientLock = new SemaphoreSlim(1, 1);
#pragma warning restore CA2213
private Dictionary<string, AmbientAuthenticationState> _authStates = new Dictionary<string, AmbientAuthenticationState>();
Expand Down
1 change: 1 addition & 0 deletions test/TestUtilities/Test.Utility/Protocol/TestContent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ namespace Test.Utility
public class TestContent : HttpContent
{
#pragma warning disable CA2213
// TODO: https://github.com/NuGet/Home/issues/12116
private MemoryStream _stream;
#pragma warning restore CA2213
public TestContent(string s)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace Test.Utility
public class ReadTimeoutHonoringSlowStream : SlowStream
{
#pragma warning disable CA2213
// TODO: https://github.com/NuGet/Home/issues/12116
private readonly Stream _innerStream;
#pragma warning restore CA2213
private readonly CancellationToken _cancellationToken;
Expand Down
1 change: 1 addition & 0 deletions test/TestUtilities/Test.Utility/SlowStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace Test.Utility
public class SlowStream : Stream
{
#pragma warning disable CA2213
// TODO: https://github.com/NuGet/Home/issues/12116
private readonly Stream _innerStream;
#pragma warning restore CA2213
private readonly CancellationToken _cancellationToken;
Expand Down

0 comments on commit 80f321c

Please sign in to comment.