3 references to IVoidMethodClient
Microsoft.AspNetCore.SignalR.Tests (3)
Internal\TypedClientBuilderTests.cs (3)
159
var ex = Assert.Throws<InvalidOperationException>(() => TypedClientBuilder<
IVoidMethodClient
>.Build(clientProxy));
160
Assert.Equal($"Cannot generate proxy implementation for '{typeof(
IVoidMethodClient
).FullName}.{nameof(
IVoidMethodClient
.Method)}'. All client proxy methods must return '{typeof(Task).FullName}' or '{typeof(Task).FullName}<T>'.", ex.Message);