[Bot] Add /info #73
Annotations
1 error, 6 warnings, and 10 notices
Inspect
Issues found.
|
Inspect:
Bot/Clash/Coc.cs#L13
"[CA1852] Type 'RaidAttackerComparer' can be sealed because it has no subtypes in its containing assembly and is not externally visible" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(13,268)
|
Inspect:
Bot/Clash/Coc.cs#L16
"[RedundantNullableFlowAttribute] The nullability attribute has no effect and can be safely removed" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(16,494)
|
Inspect:
Bot/Clash/Coc.cs#L50
"[RedundantSuppressNullableWarningExpression] The nullable warning suppression expression is redundant" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(50,2179)
|
Inspect:
Bot/Clash/Coc.cs#L83
"[RedundantSuppressNullableWarningExpression] The nullable warning suppression expression is redundant" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(83,3335)
|
Inspect:
Bot/Clash/Coc.cs#L261
"[IDE0061] Use expression body for local function" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(261,9012)
|
Inspect:
Bot/Clash/Violator.cs#L3
"[CA1852] Type 'Violator' can be sealed because it has no subtypes in its containing assembly and is not externally visible" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Violator.cs(3,46)
|
Inspect:
Bot/Clash/Coc.cs#L142
"[MoveLocalFunctionAfterJumpStatement] Put local function 'WaitRaidAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(142,4935)
|
Inspect:
Bot/Clash/Coc.cs#L236
"[ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator] Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(236,8177)
|
Inspect:
Bot/Clash/Coc.cs#L252
"[MemberCanBePrivate.Global] Method 'GetRaidSeasonAsync' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(252,8667)
|
Inspect:
Bot/Clash/Coc.cs#L261
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitClanAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(261,9030)
|
Inspect:
Bot/Clash/Coc.cs#L262
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitRaidAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(262,9124)
|
Inspect:
Bot/Clash/Phaser.cs#L36
"[ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator] Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(36,1039)
|
Inspect:
Bot/Clash/Phaser.cs#L45
"[ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator] Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(45,1360)
|
Inspect:
Bot/Clash/Phaser.cs#L255
"[MemberCanBePrivate.Global] Method 'IsDatetimeExpired' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(255,8180)
|
Inspect:
Bot/Discord/Dc.cs#L62
"[MoveLocalFunctionAfterJumpStatement] Put local function 'ProcessViolator' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(62,2167)
|
Inspect:
Bot/Discord/Dc.cs#L131
"[UnusedMember.Global] Method 'SendLogAsync' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(131,4473)
|
Loading