Skip to content

Commit 2b5c4d9

Browse files
committed
remove pragmas
1 parent fad2041 commit 2b5c4d9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/BenchmarksApps/TLS/HttpSys/NetShWrapper.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,9 @@ private static void ExecuteNetShCommand(string command, bool alwaysLogOutput = f
8181
}
8282
}
8383

84-
#pragma warning disable SYSLIB0057 // Type or member is obsolete
8584
private static X509Certificate2 LoadCertificate()
8685
=> File.Exists("testCert.pfx")
8786
? X509CertificateLoader.LoadPkcs12FromFile("testCert.pfx", "testPassword", X509KeyStorageFlags.MachineKeySet | X509KeyStorageFlags.Exportable)
8887
: X509CertificateLoader.LoadPkcs12FromFile("../testCert.pfx", "testPassword", X509KeyStorageFlags.MachineKeySet | X509KeyStorageFlags.Exportable);
89-
#pragma warning restore SYSLIB0057 // Type or member is obsolete
9088
}
9189
}

0 commit comments

Comments
 (0)