83 references to ParallelLoopResult
Microsoft.CodeAnalysis (1)
InternalUtilities\RoslynParallel.cs (1)
17public static ParallelLoopResult For(int fromInclusive, int toExclusive, Action<int> body, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (2)
4538var result = Parallel.For(0, 100, i => 4574var result = Parallel.For(0, 100, i =>
Symbols\IndexerTests.cs (2)
2166var loopResult = Parallel.ForEach(compilation.GlobalNamespace.GetTypeMembers(), type => 2197var loopResult = Parallel.ForEach(compilation.GlobalNamespace.GetTypeMembers(), type =>
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\RoslynParallel.cs (1)
17public static ParallelLoopResult For(int fromInclusive, int toExclusive, Action<int> body, CancellationToken cancellationToken)
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
1157[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.ParallelLoopResult))]
netstandard (1)
netstandard.cs (1)
2109[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.ParallelLoopResult))]
System.Threading.Tasks.Parallel (75)
System\Threading\Tasks\Parallel.cs (75)
382/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 388public static ParallelLoopResult For(int fromInclusive, int toExclusive, Action<int> body) 408/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 414public static ParallelLoopResult For(long fromInclusive, long toExclusive, Action<long> body) 444/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 450public static ParallelLoopResult For(int fromInclusive, int toExclusive, ParallelOptions parallelOptions, Action<int> body) 481/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 487public static ParallelLoopResult For(long fromInclusive, long toExclusive, ParallelOptions parallelOptions, Action<long> body) 507/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 537public static ParallelLoopResult For(int fromInclusive, int toExclusive, Action<int, ParallelLoopState> body) 556/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 564public static ParallelLoopResult For(long fromInclusive, long toExclusive, Action<long, ParallelLoopState> body) 594/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 602public static ParallelLoopResult For(int fromInclusive, int toExclusive, ParallelOptions parallelOptions, Action<int, ParallelLoopState> body) 633/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 641public static ParallelLoopResult For(long fromInclusive, long toExclusive, ParallelOptions parallelOptions, 671/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 690public static ParallelLoopResult For<TLocal>( 724/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 743public static ParallelLoopResult For<TLocal>( 788/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 807public static ParallelLoopResult For<TLocal>( 853/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 872public static ParallelLoopResult For<TLocal>( 913/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult"/> structure.</returns> 914private static ParallelLoopResult ForWorker<TLocal, TInt>( 930ParallelLoopResult result = default; 1176/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 1182public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, Action<TSource> body) 1215/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 1221public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource> body) 1244/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 1252public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, Action<TSource, ParallelLoopState> body) 1285/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 1293public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource, ParallelLoopState> body) 1316/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 1324public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, Action<TSource, ParallelLoopState, long> body) 1357/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 1365public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource, ParallelLoopState, long> body) 1397/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 1416public static ParallelLoopResult ForEach<TSource, TLocal>(IEnumerable<TSource> source, Func<TLocal> localInit, 1461/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 1480public static ParallelLoopResult ForEach<TSource, TLocal>(IEnumerable<TSource> source, 1516/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 1535public static ParallelLoopResult ForEach<TSource, TLocal>(IEnumerable<TSource> source, Func<TLocal> localInit, 1580/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 1599public static ParallelLoopResult ForEach<TSource, TLocal>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Func<TLocal> localInit, 1634/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult"/> structure.</returns> 1635private static ParallelLoopResult ForEachWorker<TSource, TLocal>( 1692/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult"/> structure.</returns> 1693private static ParallelLoopResult ForEachWorker<TSource, TLocal>( 1751/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult"/> structure.</returns> 1752private static ParallelLoopResult ForEachWorker<TSource, TLocal>( 1821/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 1835public static ParallelLoopResult ForEach<TSource>( 1872/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 1888public static ParallelLoopResult ForEach<TSource>( 1928/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 1944public static ParallelLoopResult ForEach<TSource>( 1995/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 2020public static ParallelLoopResult ForEach<TSource, TLocal>( 2073/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 2098public static ParallelLoopResult ForEach<TSource, TLocal>( 2155/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 2169public static ParallelLoopResult ForEach<TSource>( 2219/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 2235public static ParallelLoopResult ForEach<TSource>( 2288/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 2304public static ParallelLoopResult ForEach<TSource>( 2368/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 2393public static ParallelLoopResult ForEach<TSource, TLocal>( 2459/// <returns>A <see cref="System.Threading.Tasks.ParallelLoopResult">ParallelLoopResult</see> structure 2484public static ParallelLoopResult ForEach<TSource, TLocal>( 2506private static ParallelLoopResult PartitionerForEachWorker<TSource, TLocal>( 2551ParallelLoopResult result = default;