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

◆ MoveNextCore() [2/2]

Definition at line 21 of file NullableDecimalMinMaxAggregationOperator.cs.

22 {
24 TKey currentKey = default(TKey);
25 if (source.MoveNext(ref currentElement, ref currentKey))
26 {
27 int num = 0;
28 if (_sign == -1)
29 {
30 decimal? currentElement2 = null;
31 while (source.MoveNext(ref currentElement2, ref currentKey))
32 {
33 if ((num++ & 0x3F) == 0)
34 {
36 }
38 {
40 }
41 }
42 }
43 else
44 {
45 decimal? currentElement3 = null;
46 while (source.MoveNext(ref currentElement3, ref currentKey))
47 {
48 if ((num++ & 0x3F) == 0)
49 {
51 }
53 {
55 }
56 }
57 }
58 return true;
59 }
60 return false;
61 }

References System.Linq.Parallel.InlinedAggregationOperatorEnumerator< decimal?>._cancellationToken, System.Linq.Parallel.NullableDecimalMinMaxAggregationOperator.NullableDecimalMinMaxAggregationOperatorEnumerator< TKey >._sign, System.Linq.Parallel.NullableDecimalMinMaxAggregationOperator.NullableDecimalMinMaxAggregationOperatorEnumerator< TKey >._source, System.Linq.source, and System.Threading.CancellationToken.ThrowIfCancellationRequested().