Skip to content

#3175 Moving usings to GlobalUsing.cs #8182

#3175 Moving usings to GlobalUsing.cs

#3175 Moving usings to GlobalUsing.cs #8182

Triggered via pull request October 11, 2024 17:00
Status Failure
Total duration 2m 9s
Artifacts

codeql.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
Analyze Csharp: src/IoTHub.Portal.Shared/GlobalUsings.cs#L8
Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
Analyze Csharp: src/IoTHub.Portal.Shared/GlobalUsings.cs#L8
Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
Analyze Csharp
Process completed with exit code 1.
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/IDeviceDetails.cs#L61
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/Filters/DeviceListFilter.cs#L20
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/LayerDto.cs#L25
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/DeviceDetails.cs#L74
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/DeviceListItem.cs#L64
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze Csharp: src/IoTHub.Portal.Shared/Models/v1.0/LoRaWAN/LoRaDeviceDetails.cs#L142
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
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/IdeaRequest.cs#L4
Remove the underscores from namespace name 'IoTHub.Portal.Shared.Models.v1._0' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
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)