7 instantiations of IntermediateType
Microsoft.CodeAnalysis.Workspaces.UnitTests (7)
UtilityTest\SpecializedTasksTests.cs (7)
75Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => new(new IntermediateType()); 89Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => new(new IntermediateType()); 108Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => new(new IntermediateType()); 131return new IntermediateType(); 158return new IntermediateType(); 523Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => new(new IntermediateType()); 543return new IntermediateType();
44 references to IntermediateType
Microsoft.CodeAnalysis.Workspaces.UnitTests (44)
UtilityTest\SpecializedTasksTests.cs (44)
75Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => new(new IntermediateType()); 76Func<IntermediateType, StateType, ResultType> transform = (_, _) => new(); 82Assert.Throws<ArgumentNullException>("transform", () => SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync<StateType, IntermediateType, ResultType>(func, null!, arg, cancellationToken)); 89Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => new(new IntermediateType()); 90Func<IntermediateType, StateType, ResultType> transform = (_, _) => new(); 108Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => new(new IntermediateType()); 109Func<IntermediateType, StateType, ResultType> transform = (_, _) => 127Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = async (_, _) => 133Func<IntermediateType, StateType, ResultType> transform = (_, _) => new(); 154Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = async (_, _) => 160Func<IntermediateType, StateType, ResultType> transform = (_, _) => 185Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => new(Task.FromCanceled<IntermediateType>(cancellationToken)); 186Func<IntermediateType, StateType, ResultType> transform = (_, _) => 210Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = async (_, _) => 217Func<IntermediateType, StateType, ResultType> transform = (_, _) => 242Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => new(Task.FromCanceled<IntermediateType>(unexpectedCts.Token)); 243Func<IntermediateType, StateType, ResultType> transform = (_, _) => 270Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = async (_, _) => 277Func<IntermediateType, StateType, ResultType> transform = (_, _) => 309Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => new(Task.FromCanceled<IntermediateType>(unexpectedCts.Token)); 310Func<IntermediateType, StateType, ResultType> transform = (_, _) => 337Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = async (_, _) => 344Func<IntermediateType, StateType, ResultType> transform = (_, _) => 368Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => throw fault; 369Func<IntermediateType, StateType, ResultType> transform = (_, _) => 390Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => new(Task.FromException<IntermediateType>(fault)); 391Func<IntermediateType, StateType, ResultType> transform = (_, _) => 413Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = async (_, _) => 419Func<IntermediateType, StateType, ResultType> transform = (_, _) => 445Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => throw fault; 446Func<IntermediateType, StateType, ResultType> transform = (_, _) => 470Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => new(Task.FromException<IntermediateType>(fault)); 471Func<IntermediateType, StateType, ResultType> transform = (_, _) => 496Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = async (_, _) => 502Func<IntermediateType, StateType, ResultType> transform = (_, _) => 523Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = (_, _) => new(new IntermediateType()); 524Func<IntermediateType, StateType, ResultType> transform = (_, _) => throw fault; 539Func<StateType, CancellationToken, ValueTask<IntermediateType>> func = async (_, _) => 545Func<IntermediateType, StateType, ResultType> transform = (_, _) => throw fault;