Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that the hub client proxy generator correctly processes both explicit and inferred generic type arguments #55862

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Merge branch 'dotnet:main' into ensure-that-the-HubClientProxyGenerat…

3d035a8
Select commit
Loading
Failed to load commit list.
Open

Ensure that the hub client proxy generator correctly processes both explicit and inferred generic type arguments #55862

Merge branch 'dotnet:main' into ensure-that-the-HubClientProxyGenerat…
3d035a8
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Aug 1, 2024 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Build Failures

aspnetcore-ci / Build / Test: Windows Server x64 / Run build.cmd

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌D:\a\_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: Cannot convert type 'T' to 'Microsoft.AspNetCore.SignalR.Client.Tests.HubClientProxyGeneratorTests.MyClient'
    ❌D:\a\_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: Cannot implicitly convert type 'Microsoft.AspNetCore.SignalR.Client.Tests.HubClientProxyGeneratorTests.MyClient' to 'System.Index'
    ❌D:\a\_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: The name 'ctor' does not exist in the current context

aspnetcore-ci / Build / Test: macOS / Run build.sh

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌/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: Cannot convert type 'T' to 'Microsoft.AspNetCore.SignalR.Client.Tests.HubClientProxyGeneratorTests.MyClient'
    ❌/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: Cannot implicitly convert type 'Microsoft.AspNetCore.SignalR.Client.Tests.HubClientProxyGeneratorTests.MyClient' to 'System.Index'
    ❌/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: The name 'ctor' does not exist in the current context

aspnetcore-ci / Build / Test: Ubuntu x64 / Run build.sh

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌/mnt/vss/_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: Cannot convert type 'T' to 'Microsoft.AspNetCore.SignalR.Client.Tests.HubClientProxyGeneratorTests.MyClient'
    ❌/mnt/vss/_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: Cannot implicitly convert type 'Microsoft.AspNetCore.SignalR.Client.Tests.HubClientProxyGeneratorTests.MyClient' to 'System.Index'
    ❌/mnt/vss/_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: The name 'ctor' does not exist in the current context

5 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [aspnetcore-ci] [aspnetcore-quarantined-pr]

Was this helpful? Yes No