Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Compare()
[1/2]
int System.Collections.StructuralComparer.Compare
(
object
x
,
object
y
)
inline
Definition at line
7
of file
StructuralComparer.cs
.
8
{
9
if
(x ==
null
)
10
{
11
if
(y !=
null
)
12
{
13
return
-1;
14
}
15
return
0;
16
}
17
if
(y ==
null
)
18
{
19
return
1;
20
}
21
if
(x
is
IStructuralComparable
structuralComparable
)
22
{
23
return
structuralComparable
.CompareTo(y,
this
);
24
}
25
return
Comparer<object>
.Default.Compare(x, y);
26
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System
Collections
StructuralComparer
Generated by
1.10.0