Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
this[int index]
ref readonly
T
System.ReadOnlySpan
<
T
>.this[int
index
]
get
Definition at line
54
of file
ReadOnlySpan.cs
.
55
{
56
[
MethodImpl
(
MethodImplOptions
.AggressiveInlining)]
57
[Intrinsic]
58
[NonVersionable]
59
get
60
{
61
if
((uint)
index
>= (uint)
_length
)
62
{
63
ThrowHelper.ThrowIndexOutOfRangeException();
64
}
65
return
ref
Unsafe
.Add(ref
_pointer
.Value, (nint)(uint)
index
);
66
}
67
}
Internal.Runtime.CompilerServices.Unsafe
Definition
Unsafe.cs:10
System.Reflection.Metadata.Ecma335.TableIndex.MethodImpl
@ MethodImpl
System.Runtime.CompilerServices.MethodImplOptions
MethodImplOptions
Definition
MethodImplOptions.cs:5
System.ExceptionArgument.index
@ index
System.ReadOnlySpan._length
readonly int _length
Definition
ReadOnlySpan.cs:52
System.ReadOnlySpan._pointer
readonly ByReference< T > _pointer
Definition
ReadOnlySpan.cs:50
System
ReadOnlySpan
Generated by
1.10.0