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

◆ ReorderParams()

static void System.DefaultBinder.ReorderParams ( int[] paramOrder,
object[] vars )
inlinestaticprivateinherited

Definition at line 971 of file DefaultBinder.cs.

972 {
973 object[] array = new object[vars.Length];
974 for (int i = 0; i < vars.Length; i++)
975 {
976 array[i] = vars[i];
977 }
978 for (int j = 0; j < vars.Length; j++)
979 {
980 vars[j] = array[paramOrder[j]];
981 }
982 }

References System.array.

Referenced by System.DefaultBinder.BindToMethod(), and System.DefaultBinder.ReorderArgumentArray().