Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Compare< T >()
static int
System.Nullable
<
T
>.Compare<
T
>
(
T
?
n1
,
T
?
n2
)
inline
static
Type Constraints
T
:
struct
Definition at line
105
of file
Nullable.cs
.
105
:
struct
106
{
107
if
(
n1
.HasValue)
108
{
109
if
(
n2
.HasValue)
110
{
111
return
Comparer<T>
.Default.Compare(
n1
.value,
n2
.value);
112
}
113
return
1;
114
}
115
if
(
n2
.HasValue)
116
{
117
return
-1;
118
}
119
return
0;
120
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System
Nullable
Generated by
1.10.0