Fixes for new style rules. #175
ci.yml
on: push
Linux (.NET 6.0)
1m 29s
Linux (mono)
1m 13s
Windows (.NET 6.0)
4m 44s
Annotations
16 errors
Linux (mono)
Process completed with exit code 2.
|
Linux (.NET 6.0):
OpenRA.Mods.Common/Projectiles/Missile.cs#L892
Prefer an 'IsEmpty' check rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Linux (.NET 6.0):
OpenRA.Mods.Common/Projectiles/GravityBomb.cs#L104
Prefer an 'IsEmpty' check rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Linux (.NET 6.0):
OpenRA.Mods.Common/Projectiles/GravityBomb.cs#L135
Prefer an 'IsEmpty' check rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Linux (.NET 6.0):
OpenRA.Mods.AS/Activities/UnloadGarrison.cs#L71
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
|
Linux (.NET 6.0):
OpenRA.Mods.AS/Activities/UnloadGarrison.cs#L72
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
|
Linux (.NET 6.0):
OpenRA.Mods.AS/Projectiles/WarheadTrailProjectile.cs#L32
'new' expression can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090)
|
Linux (.NET 6.0):
OpenRA.Mods.AS/Projectiles/WarheadTrailProjectile.cs#L35
'new' expression can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090)
|
Linux (.NET 6.0):
OpenRA.Mods.AS/Warheads/FireFragmentWarhead.cs#L31
'new' expression can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090)
|
Linux (.NET 6.0):
OpenRA.Mods.AS/Duplicates/Widgets/Logic/Ingame/ObserverStatsSPLogic.cs#L178
'new' expression can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090)
|
Linux (.NET 6.0):
OpenRA.Mods.AS/Duplicates/Widgets/Logic/Ingame/ObserverStatsRVLogic.cs#L186
'new' expression can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090)
|
Windows (.NET 6.0):
OpenRA.Mods.AS/Activities/UnloadGarrison.cs#L71
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
|
Windows (.NET 6.0):
OpenRA.Mods.AS/Activities/UnloadGarrison.cs#L72
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
|
Windows (.NET 6.0):
OpenRA.Mods.AS/Activities/UnloadGarrison.cs#L71
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
|
Windows (.NET 6.0):
OpenRA.Mods.AS/Activities/UnloadGarrison.cs#L72
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
|
Windows (.NET 6.0)
Process completed with exit code 1.
|