chore: Use collection expression #33076
Annotations
10 errors
src/Bicep.Core/LanguageConstants.cs#L197
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
|
src/Bicep.Core/LanguageConstants.cs#L216
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
|
src/Bicep.Core/LanguageConstants.cs#L215
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
|
src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
|
src/Bicep.Core/Modules/LocalModuleReference.cs#L96
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
|
src/Bicep.Core/Modules/LocalModuleReference.cs#L95
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
|
src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
|
src/Bicep.Core/LanguageConstants.cs#L254
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0303)
|
src/Bicep.Core/Modules/TemplateSpecModuleReference.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
|
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)
|
This job failed
Loading