Fixed more IDE warnings #2
Annotations
1 error, 10 warnings, and 10 notices
Inspect
Issues found.
|
Inspect:
Bot/Coc.cs#L10
"[NotAccessedField.Local] Field '_clan' is assigned but its value is never used" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(10,172)
|
Inspect:
Bot/Coc.cs#L13
"[CollectionNeverQueried.Local] Content of collection '_joiningMembers' is only updated but never used" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(13,388)
|
Inspect:
Bot/Coc.cs#L35
"[UnusedParameter.Local] Parameter 'init' is never used" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(35,1117)
|
Inspect:
Bot/Coc.cs#L66
"[ConditionIsAlwaysTrueOrFalseAccordingToNullableAPIContract] Expression is always false according to nullable reference types' annotations" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(66,2270)
|
Inspect:
Bot/Coc.cs#L108
"[FunctionNeverReturns] Function never returns" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(108,3519)
|
Inspect:
Bot/Discord.cs#L29
"[IDE0058] Expression value is never used" on /home/runner/work/coc-clan/coc-clan/Bot/Discord.cs(29,896)
|
Inspect:
Bot/Discord.cs#L65
"[IDE0058] Expression value is never used" on /home/runner/work/coc-clan/coc-clan/Bot/Discord.cs(65,1988)
|
Inspect:
Bot/Secrets.cs#L3
"[CheckNamespace] Namespace does not correspond to file location, must be: 'Hyperstellar'" on /home/runner/work/coc-clan/coc-clan/Bot/Secrets.cs(3,46)
|
Inspect:
Bot/Sql/Db.cs#L7
"[UnusedMember.Local] Field 's_db' is never used" on /home/runner/work/coc-clan/coc-clan/Bot/Sql/Db.cs(7,116)
|
Inspect:
Bot/Sql/Db.cs#L7
"[IDE0052] Private member 'Db.s_db' can be removed as the value assigned to it is never read" on /home/runner/work/coc-clan/coc-clan/Bot/Sql/Db.cs(7,116)
|
Inspect:
Bot/Coc.cs#L6
"[ClassNeverInstantiated.Global] Class 'Coc' is never instantiated" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(6,95)
|
Inspect:
Bot/Coc.cs#L13
"[MemberCanBePrivate.Local] Field '_joiningMembers' can be made private" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(13,339)
|
Inspect:
Bot/Coc.cs#L14
"[MemberCanBePrivate.Local] Field '_leavingMembers' can be made private" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(14,418)
|
Inspect:
Bot/Coc.cs#L45
"[MemberCanBePrivate.Local] Method 'HasMember' can be made private" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(45,1347)
|
Inspect:
Bot/Coc.cs#L45
"[SuggestBaseTypeForParameter] Parameter can be of type 'ClashOfClans.Models.Identity'" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(45,1371)
|
Inspect:
Bot/Coc.cs#L55
"[MemberCanBePrivate.Global] Field 's_client' can be made private" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(55,1671)
|
Inspect:
Bot/Coc.cs#L90
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(90,3006)
|
Inspect:
Bot/Coc.cs#L99
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/coc-clan/coc-clan/Bot/Coc.cs(99,3320)
|
Inspect:
Bot/Discord.cs#L7
"[ClassNeverInstantiated.Global] Class 'Discord' is never instantiated" on /home/runner/work/coc-clan/coc-clan/Bot/Discord.cs(7,119)
|
Inspect:
Bot/Discord.cs#L45
"[ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator] Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/coc-clan/coc-clan/Bot/Discord.cs(45,1383)
|
The logs for this run have expired and are no longer available.
Loading