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

◆ Compare() [5/5]

int System.Diagnostics.Tracing.NameInfo.Compare ( string otherName,
EventTags otherTags )
inlineprivate

Definition at line 53 of file NameInfo.cs.

54 {
55 int num = StringComparer.Ordinal.Compare(name, otherName);
56 if (num == 0 && tags != otherTags)
57 {
58 num = ((tags >= otherTags) ? 1 : (-1));
59 }
60 return num;
61 }

References System.Diagnostics.Tracing.NameInfo.name, System.StringComparer.Ordinal, and System.Diagnostics.Tracing.NameInfo.tags.