Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Compare()
override
int
System.Collections.Generic.NullableComparer
<
T
>.Compare
(
T
?
x
,
T
?
y
)
inline
Definition at line
10
of file
NullableComparer.cs
.
11
{
12
if
(x.HasValue)
13
{
14
if
(y.HasValue)
15
{
16
return
x.value.CompareTo(y.value);
17
}
18
return
1;
19
}
20
if
(y.HasValue)
21
{
22
return
-1;
23
}
24
return
0;
25
}
System
Collections
Generic
NullableComparer
Generated by
1.10.0