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

◆ GetTypeArray()

static Type[] System.Type.GetTypeArray ( object[] args)
inlinestaticinherited

Definition at line 901 of file Type.cs.

902 {
903 if (args == null)
904 {
905 throw new ArgumentNullException("args");
906 }
907 Type[] array = new Type[args.Length];
908 for (int i = 0; i < array.Length; i++)
909 {
910 if (args[i] == null)
911 {
912 throw new ArgumentException(SR.ArgumentNull_ArrayValue, "args");
913 }
914 array[i] = args[i].GetType();
915 }
916 return array;
917 }

References System.SR.ArgumentNull_ArrayValue, and System.array.