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
* remove unused local
issue #30457
remove unused local variable fullPath at line 415
* Update src/libraries/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/X509Certificate2.cs
Co-authored-by: Kevin Gosse <[email protected]>
Co-authored-by: Kevin Gosse <[email protected]>
Copy file name to clipboardExpand all lines: src/libraries/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/X509Certificate2.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -412,7 +412,7 @@ public static X509ContentType GetCertContentType(string fileName)
412
412
413
413
// .NET Framework compat: The .NET Framework expands the filename to a full path for the purpose of performing a CAS permission check. While CAS is not present here,
414
414
// we still need to call GetFullPath() so we get the same exception behavior if the fileName is bad.
0 commit comments