Merge branch 'main' into main #8
Annotations
6 errors, 10 warnings, and 10 notices
build:
Bot/Discord/Cmds.cs#L94
The modifier 'public' is not valid for this item
|
build:
Bot/Discord/Cmds.cs#L111
} expected
|
build
Process completed with exit code 1.
|
inspect:
Bot/Discord/Cmds.cs#L94
"[CSharpErrors] Invalid modifier 'public' in local function declaration" on /home/runner/work/coc-clan/coc-clan/Bot/Discord/Cmds.cs(94,2477)
|
inspect:
Bot/Discord/Cmds.cs#L111
"[CSharpErrors] } expected" on /home/runner/work/coc-clan/coc-clan/Bot/Discord/Cmds.cs(111,2936)
|
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/coc-clan/coc-clan/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/coc-clan/coc-clan/Bot/Clash/Coc.cs(16,494)
|
inspect:
Bot/Clash/Coc.cs#L50
"[RedundantSuppressNullableWarningExpression] The nullable warning suppression expression is redundant" on /home/runner/work/coc-clan/coc-clan/Bot/Clash/Coc.cs(50,2179)
|
inspect:
Bot/Clash/Coc.cs#L83
"[RedundantSuppressNullableWarningExpression] The nullable warning suppression expression is redundant" on /home/runner/work/coc-clan/coc-clan/Bot/Clash/Coc.cs(83,3335)
|
inspect:
Bot/Clash/Coc.cs#L261
"[IDE0061] Use expression body for local function" on /home/runner/work/coc-clan/coc-clan/Bot/Clash/Coc.cs(261,9012)
|
inspect:
Bot/Discord/Cmds.cs#L8
"[RedundantUsingDirective] Using directive is not required by the code and can be safely removed" on /home/runner/work/coc-clan/coc-clan/Bot/Discord/Cmds.cs(8,178)
|
inspect:
Bot/Discord/Cmds.cs#L8
"[IDE0005] Using directive is unnecessary." on /home/runner/work/coc-clan/coc-clan/Bot/Discord/Cmds.cs(8,178)
|
inspect:
Bot/Discord/Cmds.cs#L80
"[IDE0008] Use explicit type instead of 'var'" on /home/runner/work/coc-clan/coc-clan/Bot/Discord/Cmds.cs(80,2138)
|
inspect:
Bot/Discord/Cmds.cs#L92
"[IDE0055] Fix formatting" on /home/runner/work/coc-clan/coc-clan/Bot/Discord/Cmds.cs(92,2386)
|
inspect:
Bot/Discord/Cmds.cs#L93
"[IDE0055] Fix formatting" on /home/runner/work/coc-clan/coc-clan/Bot/Discord/Cmds.cs(93,2405)
|
inspect:
Bot/Clash/Coc.cs#L142
"[MoveLocalFunctionAfterJumpStatement] Put local function 'WaitRaidAsync' after 'return'" on /home/runner/work/coc-clan/coc-clan/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/coc-clan/coc-clan/Bot/Clash/Coc.cs(236,8177)
|
inspect:
Bot/Clash/Coc.cs#L252
"[MemberCanBePrivate.Global] Method 'GetRaidSeasonAsync' can be made private" on /home/runner/work/coc-clan/coc-clan/Bot/Clash/Coc.cs(252,8667)
|
inspect:
Bot/Clash/Coc.cs#L261
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitClanAsync' after 'return'" on /home/runner/work/coc-clan/coc-clan/Bot/Clash/Coc.cs(261,9030)
|
inspect:
Bot/Clash/Coc.cs#L262
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitRaidAsync' after 'return'" on /home/runner/work/coc-clan/coc-clan/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/coc-clan/coc-clan/Bot/Clash/Phaser.cs(36,1037)
|
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/coc-clan/coc-clan/Bot/Clash/Phaser.cs(45,1358)
|
inspect:
Bot/Clash/Phaser.cs#L260
"[MemberCanBePrivate.Global] Method 'IsDatetimeExpired' can be made private" on /home/runner/work/coc-clan/coc-clan/Bot/Clash/Phaser.cs(260,8462)
|
inspect:
Bot/Discord/Cmds.cs#L80
"[SuggestVarOrType_SimpleTypes] Use explicit type (simple types)" on /home/runner/work/coc-clan/coc-clan/Bot/Discord/Cmds.cs(80,2138)
|
inspect:
Bot/Discord/Cmds.cs#L85
"[ArrangeTrailingCommaInMultilineLists] Remove trailing comma to conform to code style" on /home/runner/work/coc-clan/coc-clan/Bot/Discord/Cmds.cs(85,2301)
|