Skip to content

Bump bunit, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.Extensions.Configuration.Binder, Microsoft.Extensions.Configuration.Json, Microsoft.Extensions.Configuration and Microsoft.AspNetCore.Components.WebAssembly.Authentication in /src #7263

Bump bunit, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.Extensions.Configuration.Binder, Microsoft.Extensions.Configuration.Json, Microsoft.Extensions.Configuration and Microsoft.AspNetCore.Components.WebAssembly.Authentication in /src

Bump bunit, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.Extensions.Configuration.Binder, Microsoft.Extensions.Configuration.Json, Microsoft.Extensions.Configuration and Microsoft.AspNetCore.Components.WebAssembly.Authentication in /src #7263

Triggered via pull request April 16, 2024 12:36
Status Failure
Total duration 6m 37s
Artifacts

codeql.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassPublicComponentsDialogTests.cs#L54
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Pages/Shared/ProblemDetailsDialogTests.cs#L63
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassPublicComponentsDialogTests.cs#L80
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassPublicComponentsDialogTests.cs#L113
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassPublicComponentsDialogTests.cs#L146
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassComponentDialogTests.cs#L43
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassComponentDialogTests.cs#L79
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassComponentDialogTests.cs#L131
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Pages/Devices/LoRaDeviceTelemetryDialogTests.cs#L58
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Pages/Devices/LoRaDeviceTelemetryDialogTests.cs#L87
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Shared/Constants/CloudProviders.cs#L4
Rename namespace IoTHub.Portal.Shared.Constants so that it no longer conflicts with the reserved language keyword 'Shared'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
Analyze Csharp: src/IoTHub.Portal.Shared/Constants/CloudToDeviceMethods.cs#L6
Type 'CloudToDeviceMethods' is a static holder type but is neither static nor NotInheritable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1052)
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/ConfigurationMetrics.cs#L4
Rename namespace IoTHub.Portal.Shared.Models.v10 so that it no longer conflicts with the reserved language keyword 'Shared'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/EdgeModelSystemModule.cs#L12
Change the type of property 'EdgeModelSystemModule.ImageUri' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056)
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/EdgeModelSystemModule.cs#L16
Change 'EnvironmentVariables' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/EdgeModelSystemModule.cs#L16
Change 'List<IoTEdgeModuleEnvironmentVariable>' in 'EdgeModelSystemModule.EnvironmentVariables' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/DeviceConfig.cs#L27
Change 'Tags' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/DeviceConfig.cs#L32
Change 'Properties' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/Filters/ConcentratorFilter.cs#L4
Rename namespace IoTHub.Portal.Shared.Models.v10.Filters so that it no longer conflicts with the reserved language keyword 'Shared'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/Filters/DeviceListFilter.cs#L16
Change 'Tags' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)