[Bot] Resolve some CA warnings #42
Annotations
1 error, 4 warnings, and 10 notices
inspect
Issues found.
|
inspect:
Bot/Coc.cs#L128
"[ConditionIsAlwaysTrueOrFalseAccordingToNullableAPIContract] Expression is always false according to nullable reference types' annotations" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(128,4194)
|
inspect:
Bot/Coc.cs#L165
"[UnusedMember.Local] Method 'Donate25Async' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(165,5336)
|
inspect:
Bot/Dc/MemberConverter.cs#L9
"[RedundantNameQualifier] Qualifier is redundant" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Dc/MemberConverter.cs(9,190)
|
inspect:
Bot/Sql/Member.cs#L9
"[UnusedAutoPropertyAccessor.Global] Auto-property accessor 'DiscordId.get' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Member.cs(9,172)
|
inspect:
Bot/Coc.cs#L31
"[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/Coc.cs(31,1043)
|
inspect:
Bot/Coc.cs#L33
"[InvertIf] Invert 'if' statement to reduce nesting" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(33,1133)
|
inspect:
Bot/Coc.cs#L43
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(43,1521)
|
inspect:
Bot/Coc.cs#L51
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(51,1709)
|
inspect:
Bot/Coc.cs#L68
"[MemberCanBePrivate.Local] Method 'HasMember' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(68,2228)
|
inspect:
Bot/Coc.cs#L68
"[SuggestBaseTypeForParameter] Parameter can be of type 'ClashOfClans.Models.Identity'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(68,2252)
|
inspect:
Bot/Coc.cs#L142
"[ArrangeTrailingCommaInMultilineLists] Remove trailing comma to conform to code style" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(142,4524)
|
inspect:
Bot/Coc.cs#L156
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(156,5059)
|
inspect:
Bot/Dc/Cmds.cs#L9
"[UnusedType.Global] Class 'Cmds' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Dc/Cmds.cs(9,174)
|
inspect:
Bot/Dc/Cmds.cs#L13
"[UnusedMember.Global] Method 'ShutdownAsync' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Dc/Cmds.cs(13,299)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Bot
Expired
|
8.37 MB |
|