1 write to StartedMethod
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTestUtils\Hubs.cs (1)
1221StartedMethod = new TaskCompletionSource<object>(TaskCreationOptions.RunContinuationsAsynchronously);
48 references to StartedMethod
Microsoft.AspNetCore.SignalR.Tests (48)
HubConnectionHandlerTests.ClientResult.cs (1)
299tcsService.StartedMethod.SetResult(null);
HubConnectionHandlerTests.cs (14)
3032await tcsService.StartedMethod.Task.DefaultTimeout(); 3088await tcsService.StartedMethod.Task.DefaultTimeout(); 3340await tcsService.StartedMethod.Task.DefaultTimeout(); 3395await tcsService.StartedMethod.Task.DefaultTimeout(); 3451await tcsService.StartedMethod.Task.DefaultTimeout(); 3459await tcsService.StartedMethod.Task.DefaultTimeout(); 3522await tcsService.StartedMethod.Task.DefaultTimeout(); 3714_tcsService.StartedMethod.SetResult(null); 3742await tcsService.StartedMethod.Task.DefaultTimeout(); 3778await tcsService.StartedMethod.Task.DefaultTimeout(); 4222await tcsService.StartedMethod.Task.DefaultTimeout(); 4308await tcsService.StartedMethod.Task.DefaultTimeout(); 4339var firstArgument = await tcsService.StartedMethod.Task.DefaultTimeout(); 4366var firstArgument = await tcsService.StartedMethod.Task.DefaultTimeout();
HubConnectionHandlerTestUtils\Hubs.cs (13)
351await tcsService.StartedMethod.Task; 1020_tcsService.StartedMethod.TrySetResult(null); 1027_tcsService.StartedMethod.TrySetResult(null); 1039_tcsService.StartedMethod.SetResult(null); 1054_tcsService.StartedMethod.SetResult(null); 1069_tcsService.StartedMethod.SetResult(x); 1084_tcsService.StartedMethod.SetResult(x); 1099_tcsService.StartedMethod.SetResult(null); 1110_tcsService.StartedMethod.SetResult(null); 1123_tcsService.StartedMethod.SetResult(null); 1140_tcsService.StartedMethod.SetResult(null); 1161_tcsService.StartedMethod.SetResult(null); 1200_tcsService.StartedMethod.SetResult(null);
HubFilterTests.cs (15)
120await tcsService.StartedMethod.Task.DefaultTimeout(); 194await tcsService1.StartedMethod.Task.DefaultTimeout(); 195await tcsService2.StartedMethod.Task.DefaultTimeout(); 244await tcsService1.StartedMethod.Task.DefaultTimeout(); 245await tcsService2.StartedMethod.Task.DefaultTimeout(); 295await tcsService1.StartedMethod.Task.DefaultTimeout(); 296await tcsService2.StartedMethod.Task.DefaultTimeout(); 736await tcsService.StartedMethod.Task.DefaultTimeout(); 741await tcsService.StartedMethod.Task.DefaultTimeout(); 747await tcsService.StartedMethod.Task.DefaultTimeout(); 783Assert.False(tcsService.StartedMethod.Task.IsCompleted); 812await tcsService.StartedMethod.Task.DefaultTimeout(); 817await tcsService.StartedMethod.Task.DefaultTimeout(); 823await tcsService.StartedMethod.Task.DefaultTimeout(); 859Assert.False(tcsService.StartedMethod.Task.IsCompleted);
TestFilters.cs (5)
21_service.StartedMethod.TrySetResult(null); 28_service.StartedMethod.TrySetResult(null); 37_service.StartedMethod.TrySetResult(null); 197_tcsService.StartedMethod.SetResult(null); 217_tcsService.StartedMethod.SetResult(null);