Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
TrimStart()
[5/6]
static
ReadOnlySpan
< char > System.MemoryExtensions.TrimStart
(
this
ReadOnlySpan
< char >
span
,
ReadOnlySpan
< char >
trimChars
)
inline
static
Definition at line
2041
of file
MemoryExtensions.cs
.
2042
{
2043
if
(
trimChars
.IsEmpty)
2044
{
2045
return
span
.TrimStart();
2046
}
2047
int
i
;
2048
for
(i = 0;
i
<
span
.Length;
i
++)
2049
{
2050
int
num = 0;
2051
while
(num <
trimChars
.Length)
2052
{
2053
if
(
span
[i] !=
trimChars
[num])
2054
{
2055
num++;
2056
continue
;
2057
}
2058
goto
IL_003c
;
2059
}
2060
break
;
2061
IL_003c
:;
2062
}
2063
return
span
.Slice(i);
2064
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Text.RegularExpressions.ExceptionArgument.i
@ i
System
MemoryExtensions
Generated by
1.10.0