Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
CompareOrdinal()
[3/3]
static int System.String.CompareOrdinal
(
string
?
strA
,
string
?
strB
)
inline
static
Definition at line
366
of file
String.cs
.
367
{
368
if
((
object
)
strA
==
strB
)
369
{
370
return
0;
371
}
372
if
((
object
)
strA
==
null
)
373
{
374
return
-1;
375
}
376
if
((
object
)
strB
==
null
)
377
{
378
return
1;
379
}
380
if
(
strA
._firstChar !=
strB
._firstChar)
381
{
382
return
strA._firstChar -
strB
._firstChar;
383
}
384
return
CompareOrdinalHelper
(
strA
,
strB
);
385
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.String.CompareOrdinalHelper
static int CompareOrdinalHelper(string strA, int indexA, int countA, string strB, int indexB, int countB)
Definition
String.cs:116
References
System.String.CompareOrdinalHelper()
.
System
String
Generated by
1.10.0