7 references to Equals
aspire (1)
Certificates\CertificateGeneration\CertificateManager.cs (1)
1047
/// <see cref="X509Certificate.
Equals
(X509Certificate?)"/> is not adequate for security purposes.
dotnet-dev-certs (1)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (1)
1049
/// <see cref="X509Certificate.
Equals
(X509Certificate?)"/> is not adequate for security purposes.
Microsoft.AspNetCore.Server.Kestrel.Core (1)
CertificateLoader.cs (1)
118
if (!certificate.
Equals
(except))
Microsoft.AspNetCore.Testing (1)
FakeCertificateHttpClientHandler.cs (1)
16
if (serverCertificate is null || !serverCertificate.
Equals
(certificate))
System.Net.Security (2)
System\Net\Security\SslStream.Protocol.cs (2)
499
Debug.Assert((object?)clientCertificate == (object?)selectedCert || clientCertificate!.
Equals
(selectedCert), "'selectedCert' does not match 'clientCertificate'.");
716
Debug.Assert(localCertificate.
Equals
(selectedCert), "'selectedCert' does not match 'localCertificate'.");
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\X509Certificate.cs (1)
299
public override bool Equals([NotNullWhen(true)] object? obj) => obj is X509Certificate other &&
Equals
(other);