Ensure that the hub client proxy generator correctly processes both explicit and inferred generic type arguments #55862
Build Test: macOS failed
Annotations
azure-pipelines / aspnetcore-ci (Build Test: macOS)
/Users/runner/work/1/s/artifacts/obj/Microsoft.AspNetCore.SignalR.Client.Tests/Release/net9.0/Microsoft.AspNetCore.SignalR.Client.SourceGenerator/Microsoft.AspNetCore.SignalR.Client.SourceGenerator.HubClientProxyGenerator/HubClientProxy.g.cs#L26
/Users/runner/work/1/s/artifacts/obj/Microsoft.AspNetCore.SignalR.Client.Tests/Release/net9.0/Microsoft.AspNetCore.SignalR.Client.SourceGenerator/Microsoft.AspNetCore.SignalR.Client.SourceGenerator.HubClientProxyGenerator/HubClientProxy.g.cs(26,166): error CS0030: (NETCORE_ENGINEERING_TELEMETRY=Build) Cannot convert type 'T' to 'Microsoft.AspNetCore.SignalR.Client.Tests.HubClientProxyGeneratorTests.MyClient'
azure-pipelines / aspnetcore-ci (Build Test: macOS)
/Users/runner/work/1/s/artifacts/obj/Microsoft.AspNetCore.SignalR.Client.Tests/Release/net9.0/Microsoft.AspNetCore.SignalR.Client.SourceGenerator/Microsoft.AspNetCore.SignalR.Client.SourceGenerator.HubClientProxyGenerator/HubClientProxy.MyClient.g.cs#L23
/Users/runner/work/1/s/artifacts/obj/Microsoft.AspNetCore.SignalR.Client.Tests/Release/net9.0/Microsoft.AspNetCore.SignalR.Client.SourceGenerator/Microsoft.AspNetCore.SignalR.Client.SourceGenerator.HubClientProxyGenerator/HubClientProxy.MyClient.g.cs(23,61): error CS0029: (NETCORE_ENGINEERING_TELEMETRY=Build) Cannot implicitly convert type 'Microsoft.AspNetCore.SignalR.Client.Tests.HubClientProxyGeneratorTests.MyClient' to 'System.Index'
azure-pipelines / aspnetcore-ci (Build Test: macOS)
/Users/runner/work/1/s/artifacts/obj/Microsoft.AspNetCore.SignalR.Client.Tests/Release/net9.0/Microsoft.AspNetCore.SignalR.Client.SourceGenerator/Microsoft.AspNetCore.SignalR.Client.SourceGenerator.HubClientProxyGenerator/HubClientProxy.MyClient.g.cs#L23
/Users/runner/work/1/s/artifacts/obj/Microsoft.AspNetCore.SignalR.Client.Tests/Release/net9.0/Microsoft.AspNetCore.SignalR.Client.SourceGenerator/Microsoft.AspNetCore.SignalR.Client.SourceGenerator.HubClientProxyGenerator/HubClientProxy.MyClient.g.cs(23,71): error CS0103: (NETCORE_ENGINEERING_TELEMETRY=Build) The name 'ctor' does not exist in the current context