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

◆ CopyRuntimeTypeHandles() [2/2]

static IntPtr[] System.RuntimeTypeHandle.CopyRuntimeTypeHandles ( Type[] inHandles,
out int length )
inlinestaticpackage

Definition at line 229 of file RuntimeTypeHandle.cs.

230 {
231 if (inHandles == null || inHandles.Length == 0)
232 {
233 length = 0;
234 return null;
235 }
236 IntPtr[] array = new IntPtr[inHandles.Length];
237 for (int i = 0; i < inHandles.Length; i++)
238 {
239 array[i] = inHandles[i].GetTypeHandleInternal().Value;
240 }
241 length = array.Length;
242 return array;
243 }

References System.array, System.Runtime.Serialization.Dictionary, and System.length.