Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
GetNonNullPinnableReference< T >()
[2/2]
static unsafe
ref
T
System.Runtime.InteropServices.MemoryMarshal.GetNonNullPinnableReference<
T
>
(
Span
<
T
>
span
)
inline
static
package
Definition at line
62
of file
MemoryMarshal.cs
.
63
{
64
if
(
span
.Length == 0)
65
{
66
return
ref
Unsafe
.AsRef<T>((
void
*)1);
67
}
68
return
ref
span
._pointer.Value;
69
}
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