Fix test failure for aspnet signalr #4400
Annotations
30 warnings
build_osx (6.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/Infrastructure/MockServiceHubDispatcher.cs#L48
Parameter 'IServiceProvider serviceProvider' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
|
build_osx (6.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideClientConnection.cs#L33
Member '_invId' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (6.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L33
Member 's_clientConnNum' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (6.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L35
Member 's_index' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (6.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L39
Member '_stopped' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (6.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L42
Member '_processIncomingException' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (6.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/ConnectionTrackingMockService.cs#L36
Member 'RemoveUnregisteredConnections' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (6.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L77
Avoid unnecessary zero-length array allocations. Use Array.Empty<Claim>() instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825)
|
build_osx (6.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/ConnectionTrackingMockService.cs#L71
Use 'StartsWith' instead of comparing the result of 'IndexOf' to 0 (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1858)
|
build_osx (6.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/ConnectionTrackingMockService.cs#L170
Avoid unnecessary zero-length array allocations. Use Array.Empty<Type>() instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825)
|
build_osx (8.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/Infrastructure/MockServiceHubDispatcher.cs#L48
Parameter 'IServiceProvider serviceProvider' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
|
build_osx (8.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/ConnectionTrackingMockService.cs#L36
Member 'RemoveUnregisteredConnections' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (8.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideClientConnection.cs#L33
Member '_invId' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (8.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L33
Member 's_clientConnNum' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (8.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L39
Member '_stopped' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (8.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L42
Member '_processIncomingException' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (8.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L35
Member 's_index' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (8.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L77
Avoid unnecessary zero-length array allocations. Use Array.Empty<Claim>() instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825)
|
build_osx (8.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/ConnectionTrackingMockService.cs#L170
Avoid unnecessary zero-length array allocations. Use Array.Empty<Type>() instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825)
|
build_osx (8.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/ConnectionTrackingMockService.cs#L71
Use 'StartsWith' instead of comparing the result of 'IndexOf' to 0 (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1858)
|
build_osx (9.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/Infrastructure/MockServiceHubDispatcher.cs#L48
Parameter 'IServiceProvider serviceProvider' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
|
build_osx (9.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/ConnectionTrackingMockService.cs#L36
Member 'RemoveUnregisteredConnections' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (9.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideClientConnection.cs#L33
Member '_invId' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (9.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L33
Member 's_clientConnNum' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (9.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L35
Member 's_index' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (9.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L39
Member '_stopped' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (9.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L42
Member '_processIncomingException' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build_osx (9.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/Infrastructure/MessageOrderTests/HotReloadMessageOrderTestParams.cs#L27
Avoid unnecessary zero-length array allocations. Use Array.Empty<ServiceEndpoint>() instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825)
|
build_osx (9.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideClientConnection.cs#L37
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'MockServiceSideClientConnection.SendMessage(string, object[])' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
build_osx (9.0.x):
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/ConnectionTrackingMockService.cs#L71
Use 'StartsWith' instead of comparing the result of 'IndexOf' to 0 (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1858)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
dotnet-results-6.0.x
|
274 KB |
|
dotnet-results-8.0.x
|
274 KB |
|
dotnet-results-9.0.x
|
274 KB |
|