Skip to content

Commit

Permalink
chore: Ensure all using System.Net.Http; are conditionally compiled (
Browse files Browse the repository at this point in the history
…#2794)

chore: Ensure all `using System.Net.Http;` are conditionally compiled only for non-NETFRAMEWORK builds
  • Loading branch information
tippmar-nr authored Oct 2, 2024
1 parent 8105858 commit e6ef370
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

using System;
using System.Net;
#if !NETFRAMEWORK
using System.Net.Http;
using System.Threading.Tasks;
#endif
using NewRelic.Agent.Core.DataTransport.Client.Interfaces;
using NewRelic.Agent.Extensions.Logging;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright 2020 New Relic, Inc. All rights reserved.
// Copyright 2020 New Relic, Inc. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

#if !NETFRAMEWORK
using System;
using System.Net.Http;
using System.Threading.Tasks;
Expand All @@ -14,3 +15,4 @@ public interface IHttpClientWrapper : IDisposable
TimeSpan Timeout { get; set; }
}
}
#endif

0 comments on commit e6ef370

Please sign in to comment.