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

◆ BitArray() [5/6]

System.Collections.BitArray.BitArray ( int[] values)
inline

Definition at line 286 of file BitArray.cs.

287 {
288 if (values == null)
289 {
290 throw new ArgumentNullException("values");
291 }
292 if (values.Length > 67108863)
293 {
295 }
296 m_array = new int[values.Length];
297 Array.Copy(values, m_array, values.Length);
298 m_length = values.Length * 32;
299 _version = 0;
300 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string Argument_ArrayTooLarge
Definition SR.cs:52
Definition SR.cs:7

References System.Collections.BitArray._version, System.SR.Argument_ArrayTooLarge, System.Array.Copy(), System.SR.Format(), System.Collections.BitArray.m_array, System.Collections.BitArray.m_length, and System.values.