Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
GetNonNullPinnableReference< T >()
[1/2]
static unsafe
ref
T
System.Runtime.InteropServices.MemoryMarshal.GetNonNullPinnableReference<
T
>
(
ReadOnlySpan
<
T
>
span
)
inline
static
package
Definition at line
72
of file
MemoryMarshal.cs
.
73
{
74
if
(
span
.Length == 0)
75
{
76
return
ref
Unsafe
.AsRef<T>((
void
*)1);
77
}
78
return
ref
span
._pointer.Value;
79
}
Internal.Runtime.CompilerServices.Unsafe
Definition
Unsafe.cs:10
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System
Runtime
InteropServices
MemoryMarshal
Generated by
1.10.0