Skip to content

chore: Use collection expression #33076

chore: Use collection expression

chore: Use collection expression #33076

Re-run triggered June 13, 2024 13:19
Status Failure
Total duration 3m 50s
Artifacts

build.yml

on: pull_request
Check secret access
0s
Check secret access
Matrix: test-dotnet
Build NuGet Packages
1m 17s
Build NuGet Packages
Build Visual Studio Extension
0s
Build Visual Studio Extension
Build Playground
1m 19s
Build Playground
Build Highlight Libraries
3m 28s
Build Highlight Libraries
Build Windows Setup
0s
Build Windows Setup
Matrix: test-cli-e2e
PR Comment: Preview Links
0s
PR Comment: Preview Links
Matrix: Test: VSCode Extension
Matrix: test-cli-live-linux-musl-x64
Matrix: test-cli-live
PR Comment: Dotnet Tests Summary
5s
PR Comment: Dotnet Tests Summary
Matrix: build-cli-nugets
Fit to window
Zoom out
Zoom in

Annotations

168 errors
Build CLI (linux-x64): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-x64): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-x64): src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-x64): src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-x64): src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (linux-x64): src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (linux-x64): src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-x64): src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-x64): src/Bicep.Core/LanguageConstants.cs#L197
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (linux-x64): src/Bicep.Core/LanguageConstants.cs#L215
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (osx-x64): src/Bicep.Core/LanguageConstants.cs#L197
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (osx-x64): src/Bicep.Core/LanguageConstants.cs#L215
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (osx-x64): src/Bicep.Core/LanguageConstants.cs#L216
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (osx-x64): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (osx-x64): src/Bicep.Core/Modules/LocalModuleReference.cs#L96
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Build CLI (osx-x64): src/Bicep.Core/Modules/LocalModuleReference.cs#L95
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Build CLI (osx-x64): src/Bicep.Core/Collections/Trees/IntervalTreeNode.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (osx-x64): src/Bicep.Core/Collections/Trees/IntervalTreeNode.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (osx-x64): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (osx-x64): src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (win-arm64): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (win-arm64): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (win-arm64): src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (win-arm64): src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (win-arm64): src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (win-arm64): src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (win-arm64): src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (win-arm64): src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (win-arm64): src/Bicep.Core/LanguageConstants.cs#L215
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (osx-arm64): src/Bicep.Core/LanguageConstants.cs#L197
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (win-arm64): src/Bicep.Core/LanguageConstants.cs#L197
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (osx-arm64): src/Bicep.Core/LanguageConstants.cs#L216
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (osx-arm64): src/Bicep.Core/LanguageConstants.cs#L215
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (osx-arm64): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (osx-arm64): src/Bicep.Core/Modules/LocalModuleReference.cs#L96
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Build CLI (osx-arm64): src/Bicep.Core/Modules/LocalModuleReference.cs#L95
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Build CLI (osx-arm64): src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (osx-arm64): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (osx-arm64): src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (osx-arm64): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (win-x64): src/Bicep.Core/LanguageConstants.cs#L197
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (win-x64): src/Bicep.Core/LanguageConstants.cs#L216
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (win-x64): src/Bicep.Core/LanguageConstants.cs#L215
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (win-x64): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (win-x64): src/Bicep.Core/Modules/LocalModuleReference.cs#L96
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Build CLI (win-x64): src/Bicep.Core/Modules/LocalModuleReference.cs#L95
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Build CLI (win-x64): src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (win-x64): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (win-x64): src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (win-x64): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build: VSCode Extension: src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build: VSCode Extension: src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build: VSCode Extension: src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build: VSCode Extension: src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build: VSCode Extension: src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build: VSCode Extension: src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build: VSCode Extension: src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build: VSCode Extension: src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build: VSCode Extension: src/Bicep.Core/Collections/Trees/IntervalTreeNode.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build: VSCode Extension: src/Bicep.Core/Collections/Trees/IntervalTreeNode.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (linux-arm64): src/Bicep.Core/LanguageConstants.cs#L197
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (linux-arm64): src/Bicep.Core/LanguageConstants.cs#L215
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (linux-arm64): src/Bicep.Core/LanguageConstants.cs#L216
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build CLI (linux-arm64): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-arm64): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-arm64): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-arm64): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-arm64): src/Bicep.Core/Modules/LocalModuleReference.cs#L95
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Build CLI (linux-arm64): src/Bicep.Core/Modules/LocalModuleReference.cs#L96
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Build CLI (linux-arm64): src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (ubuntu-latest) (Core)
No files were found with the provided path: ./TestResults/*.trx. No artifacts will be uploaded.
Test Dotnet (ubuntu-latest) (Core): src/Bicep.Core/LanguageConstants.cs#L197
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Test Dotnet (ubuntu-latest) (Core): src/Bicep.Core/LanguageConstants.cs#L216
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Test Dotnet (ubuntu-latest) (Core): src/Bicep.Core/LanguageConstants.cs#L215
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Test Dotnet (ubuntu-latest) (Core): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (ubuntu-latest) (Core): src/Bicep.Core/Modules/LocalModuleReference.cs#L96
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Test Dotnet (ubuntu-latest) (Core): src/Bicep.Core/Modules/LocalModuleReference.cs#L95
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Test Dotnet (ubuntu-latest) (Core): src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (ubuntu-latest) (Core): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (ubuntu-latest) (Core): src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (ubuntu-latest) (Core): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-musl-x64): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-musl-x64): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-musl-x64): src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-musl-x64): src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-musl-x64): src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (linux-musl-x64): src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (linux-musl-x64): src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-musl-x64): src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build CLI (linux-musl-x64): src/Bicep.Core/Collections/Trees/IntervalTreeNode.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build CLI (linux-musl-x64): src/Bicep.Core/Collections/Trees/IntervalTreeNode.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (ubuntu-latest) (Others)
No files were found with the provided path: ./TestResults/*.trx. No artifacts will be uploaded.
Test Dotnet (ubuntu-latest) (Others): src/Bicep.Core/LanguageConstants.cs#L197
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Test Dotnet (ubuntu-latest) (Others): src/Bicep.Core/LanguageConstants.cs#L215
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Test Dotnet (ubuntu-latest) (Others): src/Bicep.Core/LanguageConstants.cs#L216
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Test Dotnet (ubuntu-latest) (Others): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (ubuntu-latest) (Others): src/Bicep.Core/Modules/LocalModuleReference.cs#L95
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Test Dotnet (ubuntu-latest) (Others): src/Bicep.Core/Modules/LocalModuleReference.cs#L96
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Test Dotnet (ubuntu-latest) (Others): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (ubuntu-latest) (Others): src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (ubuntu-latest) (Others): src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (ubuntu-latest) (Others): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build NuGet Packages: src/Bicep.Core/LanguageConstants.cs#L197
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build NuGet Packages: src/Bicep.Core/LanguageConstants.cs#L215
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build NuGet Packages: src/Bicep.Core/LanguageConstants.cs#L216
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build NuGet Packages: src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build NuGet Packages: src/Bicep.Core/Modules/LocalModuleReference.cs#L96
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Build NuGet Packages: src/Bicep.Core/Modules/LocalModuleReference.cs#L95
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Build NuGet Packages: src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build NuGet Packages: src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build NuGet Packages: src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build NuGet Packages: src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (ubuntu-latest) (LangServer)
No files were found with the provided path: ./TestResults/*.trx. No artifacts will be uploaded.
Test Dotnet (ubuntu-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (ubuntu-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (ubuntu-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (ubuntu-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (ubuntu-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (ubuntu-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (ubuntu-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (ubuntu-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (ubuntu-latest) (LangServer): src/Bicep.Core/Collections/Trees/IntervalTreeNode.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (ubuntu-latest) (LangServer): src/Bicep.Core/Collections/Trees/IntervalTreeNode.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build Playground: src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build Playground: src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build Playground: src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build Playground: src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build Playground: src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build Playground: src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Build Playground: src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build Playground: src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build Playground: src/Bicep.Core/LanguageConstants.cs#L197
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Build Playground: src/Bicep.Core/LanguageConstants.cs#L215
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Test Dotnet (windows-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (windows-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (windows-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (LangServer): src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (LangServer): src/Bicep.Core/Collections/Trees/IntervalTreeNode.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (windows-latest) (LangServer): src/Bicep.Core/Collections/Trees/IntervalTreeNode.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (windows-latest) (LangServer)
No files were found with the provided path: ./TestResults/*.trx. No artifacts will be uploaded.
Test Dotnet (windows-latest) (Core): src/Bicep.Core/LanguageConstants.cs#L197
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Test Dotnet (windows-latest) (Core): src/Bicep.Core/LanguageConstants.cs#L215
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Test Dotnet (windows-latest) (Core): src/Bicep.Core/LanguageConstants.cs#L216
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
Test Dotnet (windows-latest) (Core): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (Core): src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (Core): src/Bicep.Core/Modules/LocalModuleReference.cs#L95
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Test Dotnet (windows-latest) (Core): src/Bicep.Core/Modules/LocalModuleReference.cs#L96
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
Test Dotnet (windows-latest) (Core): src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (windows-latest) (Core): src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (windows-latest) (Core): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (Core)
No files were found with the provided path: ./TestResults/*.trx. No artifacts will be uploaded.
Test Dotnet (windows-latest) (Others): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (Others): src/Bicep.Core/Analyzers/Linter/Rules/NoConflictingMetadataRule.cs#L38
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (Others): src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (Others): src/Bicep.Core/Analyzers/Linter/Rules/UseProtectedSettingsForCommandToExecuteSecretsRule.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (Others): src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (windows-latest) (Others): src/Bicep.Core/Analyzers/Linter/Rules/UseResourceIdFunctionsRule.cs#L53
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (windows-latest) (Others): src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (Others): src/Bicep.Core/Analyzers/Linter/Rules/UseStableVMImageRule.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
Test Dotnet (windows-latest) (Others): src/Bicep.Core/Collections/Trees/IntervalTreeNode.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (windows-latest) (Others): src/Bicep.Core/Collections/Trees/IntervalTreeNode.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test Dotnet (windows-latest) (Others)
No files were found with the provided path: ./TestResults/*.trx. No artifacts will be uploaded.
Build Highlight Libraries
Process completed with exit code 1.
PR Comment: Dotnet Tests Summary
No artifacts found matching pattern 'TestResults-*'