1 type derived from ParallelLoopState
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\ParallelLoopState.cs (1)
224internal sealed class ParallelLoopState<TInt> : ParallelLoopState where TInt : struct, IBinaryInteger<TInt>, IMinMaxValue<TInt>
77 references to ParallelLoopState
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
SchedulerBenchmark.cs (2)
30private Func<int, ParallelLoopState, PipeScheduler[], PipeScheduler[]> _parallelAction; 99private PipeScheduler[] ParallelBody(int i, ParallelLoopState state, PipeScheduler[] schedulers)
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
1158[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.ParallelLoopState))]
netstandard (1)
netstandard.cs (1)
2110[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.ParallelLoopState))]
System.Threading.Tasks.Parallel (73)
System\Threading\Tasks\Parallel.cs (69)
513/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 517/// Calling <see cref="System.Threading.Tasks.ParallelLoopState.Break()">ParallelLoopState.Break()</see> 526/// <see cref="System.Threading.Tasks.ParallelLoopState.Stop()">ParallelLoopState.Stop()</see> 533/// When a loop is ended prematurely, the <see cref="ParallelLoopState"/> that's returned will contain 537public static ParallelLoopResult For(int fromInclusive, int toExclusive, Action<int, ParallelLoopState> body) 561/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 564public static ParallelLoopResult For(long fromInclusive, long toExclusive, Action<long, ParallelLoopState> body) 599/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 602public static ParallelLoopResult For(int fromInclusive, int toExclusive, ParallelOptions parallelOptions, Action<int, ParallelLoopState> body) 638/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 642Action<long, ParallelLoopState> body) 677/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 693Func<int, ParallelLoopState, TLocal, TLocal> body, 730/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 746Func<long, ParallelLoopState, TLocal, TLocal> body, 794/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 810Func<int, ParallelLoopState, TLocal, TLocal> body, 859/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 875Func<long, ParallelLoopState, TLocal, TLocal> body, 918Action<TInt, ParallelLoopState>? bodyWithState, 919Func<TInt, ParallelLoopState, TLocal, TLocal>? bodyWithLocal, 1249/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1252public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, Action<TSource, ParallelLoopState> body) 1290/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1293public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource, ParallelLoopState> body) 1321/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1324public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, Action<TSource, ParallelLoopState, long> body) 1362/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1365public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource, ParallelLoopState, long> body) 1403/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1417Func<TSource, ParallelLoopState, TLocal, TLocal> body, Action<TLocal> localFinally) 1467/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1482Func<TSource, ParallelLoopState, TLocal, TLocal> body, Action<TLocal> localFinally) 1522/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1536Func<TSource, ParallelLoopState, long, TLocal, TLocal> body, Action<TLocal> localFinally) 1586/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1600Func<TSource, ParallelLoopState, long, TLocal, TLocal> body, Action<TLocal> localFinally) 1639Action<TSource, ParallelLoopState>? bodyWithState, 1640Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 1641Func<TSource, ParallelLoopState, TLocal, TLocal>? bodyWithStateAndLocal, 1642Func<TSource, ParallelLoopState, long, TLocal, TLocal>? bodyWithEverything, 1697Action<TSource, ParallelLoopState>? bodyWithState, 1698Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 1699Func<TSource, ParallelLoopState, TLocal, TLocal>? bodyWithStateAndLocal, 1700Func<TSource, ParallelLoopState, long, TLocal, TLocal>? bodyWithEverything, 1756Action<TSource, ParallelLoopState>? bodyWithState, 1757Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 1758Func<TSource, ParallelLoopState, TLocal, TLocal>? bodyWithStateAndLocal, 1759Func<TSource, ParallelLoopState, long, TLocal, TLocal>? bodyWithEverything, 1884/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1890Action<TSource, ParallelLoopState> body) 1940/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1946Action<TSource, ParallelLoopState, long> body) 2007/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2023Func<TSource, ParallelLoopState, TLocal, TLocal> body, 2085/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2101Func<TSource, ParallelLoopState, long, TLocal, TLocal> body, 2231/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2238Action<TSource, ParallelLoopState> body) 2300/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2307Action<TSource, ParallelLoopState, long> body) 2380/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2397Func<TSource, ParallelLoopState, TLocal, TLocal> body, 2471/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2488Func<TSource, ParallelLoopState, long, TLocal, TLocal> body, 2510Action<TSource, ParallelLoopState>? bodyWithState, 2511Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 2512Func<TSource, ParallelLoopState, TLocal, TLocal>? bodyWithStateAndLocal, 2513Func<TSource, ParallelLoopState, long, TLocal, TLocal>? bodyWithEverything,
System\Threading\Tasks\ParallelLoopState.cs (4)
419/// cref="System.Threading.Tasks.ParallelLoopState.Stop"/> was used to end the loop prematurely. If <see 421/// value, <see cref="System.Threading.Tasks.ParallelLoopState.Break()"/> was used to end the loop prematurely. 436/// cref="System.Threading.Tasks.ParallelLoopState.Break()"/> 440/// If <see cref="System.Threading.Tasks.ParallelLoopState.Break()"/> was not employed, this property will