Skip to content

Style error cleanup. #98

Style error cleanup.

Style error cleanup. #98

Triggered via push August 24, 2023 13:00
Status Failure
Total duration 5m 53s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

22 errors
Linux (mono)
Process completed with exit code 2.
Linux (.NET 6.0): OpenRA.Mods.Common/Traits/SupportPowers/GrantExternalConditionPower.cs#L75
'new' expression can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090)
Linux (.NET 6.0): OpenRA.Mods.Common/Traits/SupportPowers/GrantExternalConditionPower.cs#L133
'new' expression can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090)
Linux (.NET 6.0): OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs#L236
Simplify LINQ expression (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0120)
Linux (.NET 6.0): OpenRA.Mods.Common/Traits/Buildings/FreeActor.cs#L83
Use expression body for lambda expression (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0053)
Linux (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/SupportPowerBotModule.cs#L55
Use expression body for lambda expression (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0053)
Linux (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/UnitBuilderBotModule.cs#L135
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
Linux (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/Squads/States/ProtectionStates.cs#L138
Variable declaration can be deconstructed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0042)
Linux (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/Squads/States/NavyStates.cs#L340
Variable declaration can be deconstructed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0042)
Windows (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/Squads/States/StateBase.cs#L80
Tuple element names should use correct casing
Windows (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/Squads/States/StateBase.cs#L80
Tuple element names should use correct casing
Windows (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/Squads/States/NavyStates.cs#L340
Variable declaration can be deconstructed
Windows (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/Squads/States/GroundStates.cs#L328
Variable declaration can be deconstructed
Windows (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/BaseBuilderBotModule.cs#L285
Private member 'BaseBuilderBotModule.SetRallyPointsForNewProductionBuildings' is unused
Windows (.NET 6.0)
Process completed with exit code 1.