24 references to TransformWithoutIntermediateCancellationExceptionAsync
Microsoft.CodeAnalysis.Workspaces (4)
Serialization\SerializableSourceText.cs (1)
137
return SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(
Workspace\Solution\ProjectState_Checksum.cs (1)
26
return SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(
Workspace\Solution\TextDocumentState.cs (1)
107
return SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(
Workspace\Solution\TextDocumentState_Checksum.cs (1)
26
return SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(
Microsoft.CodeAnalysis.Workspaces.UnitTests (20)
UtilityTest\SpecializedTasksTests.cs (20)
82
Assert.Throws<ArgumentNullException>("func", () => SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(null!, transform, arg, cancellationToken));
83
Assert.Throws<ArgumentNullException>("transform", () => SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
<StateType, IntermediateType, ResultType>(func, null!, arg, cancellationToken));
95
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
117
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
138
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
168
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
194
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
225
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
251
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
285
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
318
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
352
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
378
var exception = Assert.Throws<InvalidOperationException>(() => SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken));
399
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
427
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
455
var exception = Assert.Throws<InvalidOperationException>(() => SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken));
479
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
510
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();
530
var exception = Assert.Throws<InvalidOperationException>(() => SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken));
550
var task = SpecializedTasks.
TransformWithoutIntermediateCancellationExceptionAsync
(func, transform, arg, cancellationToken).Preserve();