Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Equals() [1/3]

bool System.Net.CredentialKey.Equals ( [NotNullWhen(true)] CredentialKey other)
inline

Definition at line 58 of file CredentialKey.cs.

59 {
60 if (other == null)
61 {
62 return false;
63 }
64 bool flag = string.Equals(AuthenticationType, other.AuthenticationType, StringComparison.OrdinalIgnoreCase) && UriPrefix.Equals(other.UriPrefix);
65 if (NetEventSource.Log.IsEnabled())
66 {
67 NetEventSource.Info(this, $"Equals({this},{other}) returns {flag}", "Equals");
68 }
69 return flag;
70 }
readonly string AuthenticationType
override bool Equals([NotNullWhen(true)] object? comparand)
Definition Uri.cs:1166

References System.Net.CredentialKey.AuthenticationType, System.Uri.Equals(), System.Net.NetEventSource.Info(), System.Net.NetEventSource.Log, System.other, and System.Net.CredentialKey.UriPrefix.