You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/core/Azure.Core/src/Pipeline/HttpPipelineTransportOptions.cs
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,10 @@ public class HttpPipelineTransportOptions
17
17
/// </summary>
18
18
publicHttpPipelineTransportOptions()
19
19
{
20
+
// suppress false postive of NetAnalyzers: error CA1416: This call site is reachable on all platforms. 'X509Certificate2' is unsupported on: 'browser'.
21
+
#pragma warning disable CA1416
20
22
ClientCertificates=newList<X509Certificate2>();
23
+
#pragma warning restore CA1416
21
24
}
22
25
23
26
/// <summary>
@@ -29,6 +32,6 @@ public HttpPipelineTransportOptions()
29
32
/// The client certificate collection that will be configured for the transport.
0 commit comments