Continue #99
Annotations
6 errors, 15 warnings, and 10 notices
build:
Bot/Clash/Phaser.cs#L22
No overload for 'MemberAdded' matches delegate 'Action<IEnumerable<Account>>'
|
build:
Bot/Clash/Coc.cs#L100
The name 'clanUtil' does not exist in the current context
|
build
Process completed with exit code 1.
|
inspect:
Bot/Clash/Coc.cs#L100
"[.CSharpErrors] Cannot resolve symbol 'clanUtil'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(100,33)
|
inspect:
Bot/Clash/Phaser.cs#L22
"[.CSharpErrors] Expected a method with 'void MemberAdded(IEnumerable<Account>)' signature" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(22,34)
|
inspect
Issues found.
|
build:
Bot/Clash/ClanUtil.cs#L8
Non-nullable field '_clan' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
build:
Bot/Clash/ClanUtil.cs#L12
Non-nullable field '_leavingMembers' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
build:
Bot/Clash/ClanUtil.cs#L12
Field 'ClanUtil._leavingMembers' is never assigned to, and will always have its default value null
|
build:
Bot/Clash/ClanUtil.cs#L8
Field 'ClanUtil._clan' is never assigned to, and will always have its default value null
|
build:
Bot/Clash/Phaser.cs#L148
Remove unused parameter 'leftMembers' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0060)
|
inspect:
Bot/Clash/ClanUtil.cs#L9
"[CollectionNeverUpdated.Global] Content of collection '_members' is never updated" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(9,54)
|
inspect:
Bot/Clash/ClanUtil.cs#L8
"[CSharpWarnings::CS8618] Non-nullable field '_clan' is uninitialized. Consider declaring the field as nullable." on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(8,28)
|
inspect:
Bot/Clash/ClanUtil.cs#L12
"[CSharpWarnings::CS8618] Non-nullable field '_leavingMembers' is uninitialized. Consider declaring the field as nullable." on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(12,54)
|
inspect:
Bot/Clash/Coc.cs#L84
"[PossibleMultipleEnumeration] Possible multiple enumeration" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(84,22)
|
inspect:
Bot/Clash/Coc.cs#L95
"[PossibleMultipleEnumeration] Possible multiple enumeration" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(95,13)
|
inspect:
Bot/Clash/Coc.cs#L97
"[PossibleMultipleEnumeration] Possible multiple enumeration" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(97,31)
|
inspect:
Bot/Clash/ClanUtil.cs#L2
"[RedundantUsingDirective] Using directive is not required by the code and can be safely removed" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(2,1)
|
inspect:
Bot/Sql/Donation.cs#L13
"[UnusedAutoPropertyAccessor.Global] Auto-property accessor 'Donated.get' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Donation.cs(13,26)
|
inspect:
Bot/Sql/Donation.cs#L16
"[UnusedAutoPropertyAccessor.Global] Auto-property accessor 'Received.get' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Donation.cs(16,27)
|
inspect:
Bot/Clash/Phaser.cs#L148
"[UnusedMember.Local] Method 'MemberLeft' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(148,25)
|
inspect:
Bot/Clash/ClanUtil.cs#L6
"[ClassNeverInstantiated.Global] Class 'ClanUtil' is never instantiated" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(6,23)
|
inspect:
Bot/Clash/Phaser.cs#L35
"[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(35,9)
|
inspect:
Bot/Clash/Coc.cs#L277
"[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(277,9)
|
inspect:
Bot/Clash/Phaser.cs#L44
"[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(44,9)
|
inspect:
Bot/Clash/Coc.cs#L41
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(41,120)
|
inspect:
Bot/Clash/Coc.cs#L43
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(43,124)
|
inspect:
Bot/Clash/Coc.cs#L45
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(45,133)
|
inspect:
Bot/Clash/Coc.cs#L62
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(62,59)
|
inspect:
Bot/Clash/Coc.cs#L67
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(67,80)
|
inspect:
Bot/Clash/Coc.cs#L73
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(73,89)
|