18 references to VoidResult
Microsoft.CodeAnalysis.Workspaces (18)
Shared\Utilities\AsyncBatchingWorkQueue`0.cs (4)
19
CancellationToken cancellationToken) : AsyncBatchingWorkQueue<
VoidResult
>(delay, Convert(processBatchAsync), EqualityComparer<
VoidResult
>.Default, asyncListener, cancellationToken)
21
private static Func<ImmutableSegmentedList<
VoidResult
>, CancellationToken, ValueTask> Convert(Func<CancellationToken, ValueTask> processBatchAsync)
25
=> base.AddWork(default(
VoidResult
), cancelExistingWork);
Shared\Utilities\AsyncBatchingWorkQueue`1.cs (2)
20
CancellationToken cancellationToken) : AsyncBatchingWorkQueue<TItem,
VoidResult
>(delay, Convert(processBatchAsync), equalityComparer, asyncListener, cancellationToken)
35
private static Func<ImmutableSegmentedList<TItem>, CancellationToken, ValueTask<
VoidResult
>> Convert(Func<ImmutableSegmentedList<TItem>, CancellationToken, ValueTask> processBatchAsync)
src\Compilers\Core\Portable\InternalUtilities\VoidResult.cs (3)
12
internal readonly struct VoidResult : IEquatable<
VoidResult
>
15
=> obj is
VoidResult
;
20
public bool Equals(
VoidResult
other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (2)
29
=> AsyncLazyImpl<
VoidResult
>.CreateImpl(value);
122
=> new AsyncLazyImpl<
VoidResult
>(value);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ProducerConsumer.cs (3)
40
private static async Task<
VoidResult
> BatchReaderIntoArraysAsync<TArgs>(
95
return default(
VoidResult
);
132
return default(
VoidResult
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (2)
384
private abstract class ForEachAsyncState<TSource> : TaskCompletionSource<
VoidResult
>
547
taskSet = TrySetResult(default(
VoidResult
));
Workspace\Solution\SolutionCompilationState.cs (1)
340
modifyNewTrackerInfo: static (_, _) => { }, argModifyNewTrackerInfo: default(
VoidResult
),
Workspace\Solution\SolutionCompilationState.TranslationAction_Actions.cs (1)
185
args: default(
VoidResult
),