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

◆ Equals() [3/5]

override bool System.CultureAwareComparer.Equals ( string? x,
string? y )
inline

Definition at line 64 of file CultureAwareComparer.cs.

65 {
66 if ((object)x == y)
67 {
68 return true;
69 }
70 if (x == null || y == null)
71 {
72 return false;
73 }
74 return _compareInfo.Compare(x, y, _options) == 0;
75 }
readonly CompareOptions _options
readonly CompareInfo _compareInfo
int Compare(string? string1, string? string2)

References System.CultureAwareComparer._compareInfo, System.CultureAwareComparer._options, and System.Globalization.CompareInfo.Compare().