24 references to TransformWithoutIntermediateCancellationExceptionAsync
Microsoft.CodeAnalysis.Workspaces (4)
Serialization\SerializableSourceText.cs (1)
110
return SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(
Workspace\Solution\ProjectState_Checksum.cs (1)
29
return SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(
Workspace\Solution\TextDocumentState.cs (1)
145
return SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(
Workspace\Solution\TextDocumentState_Checksum.cs (1)
26
return SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(
Microsoft.CodeAnalysis.Workspaces.UnitTests (20)
UtilityTest\SpecializedTasksTests.cs (20)
81
Assert.Throws<ArgumentNullException>("func", () => SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(null!, transform, arg, cancellationToken));
82
Assert.Throws<ArgumentNullException>("transform", () => SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
<StateType, IntermediateType, ResultType>(func, null!, arg, cancellationToken));
94
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
116
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
137
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
167
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
193
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
224
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
250
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
284
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
317
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
351
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
377
var exception = Assert.Throws<InvalidOperationException>(() => SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken));
398
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
426
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
454
var exception = Assert.Throws<InvalidOperationException>(() => SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken));
478
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
509
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
529
var exception = Assert.Throws<InvalidOperationException>(() => SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken));
549
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();