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

◆ ThrowForUnsupportedNumericsVectorBaseType< T >()

static void System.ThrowHelper.ThrowForUnsupportedNumericsVectorBaseType< T > ( )
inlinestaticpackage
Type Constraints
T :struct 

Definition at line 497 of file ThrowHelper.cs.

497 : struct
498 {
499 if (typeof(T) != typeof(byte) && typeof(T) != typeof(sbyte) && typeof(T) != typeof(short) && typeof(T) != typeof(ushort) && typeof(T) != typeof(int) && typeof(T) != typeof(uint) && typeof(T) != typeof(long) && typeof(T) != typeof(ulong) && typeof(T) != typeof(float) && typeof(T) != typeof(double) && typeof(T) != typeof(IntPtr) && typeof(T) != typeof(UIntPtr))
500 {
501 ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported);
502 }
503 }
static void ThrowNotSupportedException()

References System.Runtime.Serialization.Dictionary, and System.ThrowHelper.ThrowNotSupportedException().