Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
this[int index]
char System.String.this[int
index
]
get
Definition at line
38
of file
String.cs
.
39
{
40
[
Intrinsic
]
41
get
42
{
43
if
((uint)
index
>= (uint)
_stringLength
)
44
{
45
ThrowHelper.ThrowIndexOutOfRangeException();
46
}
47
return
Unsafe
.Add(
ref
_firstChar
, (nint)(uint)
index
);
48
}
49
}
Internal.Runtime.CompilerServices.Unsafe
Definition
Unsafe.cs:10
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.String._stringLength
readonly int _stringLength
Definition
String.cs:32
System.String._firstChar
char _firstChar
Definition
String.cs:35
System.ExceptionArgument.index
@ index
System
String
Generated by
1.10.0