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

◆ MoveNextCore() [2/2]

Definition at line 18 of file NullableDecimalAverageAggregationOperator.cs.

19 {
20 decimal first = 0.0m;
21 long num = 0L;
23 decimal? currentElement2 = null;
24 TKey currentKey = default(TKey);
25 int num2 = 0;
26 while (source.MoveNext(ref currentElement2, ref currentKey))
27 {
28 if ((num2++ & 0x3F) == 0)
29 {
31 }
32 if (currentElement2.HasValue)
33 {
34 first += currentElement2.GetValueOrDefault();
35 num = checked(num + 1);
36 }
37 }
39 return num > 0;
40 }

References System.Linq.Parallel.InlinedAggregationOperatorEnumerator< Pair< decimal, long > >._cancellationToken, System.Linq.Parallel.NullableDecimalAverageAggregationOperator.NullableDecimalAverageAggregationOperatorEnumerator< TKey >._source, System.Linq.first, System.L, System.Linq.source, and System.Threading.CancellationToken.ThrowIfCancellationRequested().