Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetElement< T >()

static T System.Runtime.Intrinsics.Vector64< T >.GetElement< T > ( this Vector64< T > vector,
int index )
inlinestatic
Type Constraints
T :struct 

Definition at line 527 of file Vector64.cs.

527 : struct
528 {
529 ThrowHelper.ThrowForUnsupportedIntrinsicsVectorBaseType<T>();
530 if ((uint)index >= (uint)Vector64<T>.Count)
531 {
532 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
533 }
534 return Unsafe.Add(ref Unsafe.As<Vector64<T>, T>(ref vector), index);
535 }

References System.Runtime.Intrinsics.Vector64< T >.Count, System.index, and System.ThrowHelper.ThrowArgumentOutOfRangeException().