Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Compare()
[2/3]
static int System.Formats.Asn1.SetOfValueComparer.Compare
(
ReadOnlySpan
< byte >
x
,
ReadOnlySpan
< byte >
y
)
inline
static
package
Definition at line
15
of file
SetOfValueComparer.cs
.
16
{
17
int
num = Math.Min(x.
Length
, y.
Length
);
18
for
(
int
i = 0;
i
< num;
i
++)
19
{
20
int
num2
= x[
i
];
21
byte
b
= y[
i
];
22
int
num3
=
num2
-
b
;
23
if
(
num3
!= 0)
24
{
25
return
num3
;
26
}
27
}
28
return
x.Length - y.
Length
;
29
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Text.RegularExpressions.ExceptionArgument.i
@ i
System.ReadOnlySpan.Length
int Length
Definition
ReadOnlySpan.cs:70
References
System.Math.Min()
.
System
Formats
Asn1
SetOfValueComparer
Generated by
1.10.0