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

◆ GetResultsAsArray()

Implements System.Linq.Parallel.IMergeHelper< TInputOutput >.

Definition at line 73 of file DefaultMergeHelper.cs.

74 {
75 if (_syncChannels != null)
76 {
77 int num = 0;
78 for (int i = 0; i < _syncChannels.Length; i++)
79 {
80 num += _syncChannels[i].Count;
81 }
82 TInputOutput[] array = new TInputOutput[num];
83 int num2 = 0;
84 for (int j = 0; j < _syncChannels.Length; j++)
85 {
88 }
89 return array;
90 }
93 {
94 list.Add(item);
95 }
96 return list.ToArray();
97 }
readonly SynchronousChannel< TInputOutput >[] _syncChannels
void CopyTo(T[] array, int arrayIndex)

References System.Linq.Parallel.DefaultMergeHelper< TInputOutput, TIgnoreKey >._syncChannels, System.array, System.Linq.Parallel.SynchronousChannel< T >.CopyTo(), System.Linq.Parallel.SynchronousChannel< T >.Count, System.item, and System.list.