Disable built-in in inspect #9
Annotations
1 error, 10 warnings, and 10 notices
Inspect
Issues found.
|
Inspect:
Bot/Coc.cs#L6
"[CA1852] Type 'Coc' can be sealed because it has no subtypes in its containing assembly and is not externally visible" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(6,88)
|
Inspect:
Bot/Coc.cs#L15
"[CA1852] Type 'ClanUtil' can be sealed because it has no subtypes in its containing assembly and is not externally visible" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(15,296)
|
Inspect:
Bot/Coc.cs#L17
"[NotAccessedField.Local] Field 'Clan' is assigned but its value is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(17,342)
|
Inspect:
Bot/Coc.cs#L20
"[CollectionNeverQueried.Local] Content of collection 'JoiningMembers' is only updated but never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(20,555)
|
Inspect:
Bot/Coc.cs#L42
"[UnusedParameter.Local] Parameter 'init' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(42,1271)
|
Inspect:
Bot/Coc.cs#L58
"[CA1812] 'Coc.MemberComparer' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic)." on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(58,1638)
|
Inspect:
Bot/Coc.cs#L58
"[UnusedType.Local] Class 'MemberComparer' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(58,1638)
|
Inspect:
Bot/Coc.cs#L58
"[CA1852] Type 'MemberComparer' can be sealed because it has no subtypes in its containing assembly and is not externally visible" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(58,1638)
|
Inspect:
Bot/Coc.cs#L60
"[CA1307] 'string.Equals(string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Hyperstellar.Coc.MemberComparer.Equals(ClashOfClans.Models.ClanMember?, ClashOfClans.Models.ClanMember?)' with a call to 'string.Equals(string?, System.StringComparison)' for clarity of intent." on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(60,1751)
|
Inspect:
Bot/Coc.cs#L60
"[CA1309] Use ordinal string comparison" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(60,1758)
|
Inspect:
Bot/Coc.cs#L6
"[ClassNeverInstantiated.Global] Class 'Coc' is never instantiated" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(6,88)
|
Inspect:
Bot/Coc.cs#L20
"[MemberCanBePrivate.Local] Field 'JoiningMembers' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(20,506)
|
Inspect:
Bot/Coc.cs#L21
"[MemberCanBePrivate.Local] Field 'LeavingMembers' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(21,584)
|
Inspect:
Bot/Coc.cs#L26
"[SuggestVarOrType_SimpleTypes] Use 'var' (simple types)" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(26,767)
|
Inspect:
Bot/Coc.cs#L45
"[SuggestVarOrType_SimpleTypes] Use 'var' (simple types)" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(45,1341)
|
Inspect:
Bot/Coc.cs#L52
"[MemberCanBePrivate.Local] Method 'HasMember' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(52,1498)
|
Inspect:
Bot/Coc.cs#L52
"[SuggestBaseTypeForParameter] Parameter can be of type 'ClashOfClans.Models.Identity'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(52,1522)
|
Inspect:
Bot/Coc.cs#L67
"[MemberCanBePrivate.Global] Field 's_client' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(67,1954)
|
Inspect:
Bot/Coc.cs#L91
"[SuggestVarOrType_BuiltInTypes] Use 'var' (built-in types)" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(91,2904)
|
Inspect:
Bot/Coc.cs#L93
"[SuggestVarOrType_SimpleTypes] Use 'var' (simple types)" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(93,2967)
|
The logs for this run have expired and are no longer available.
Loading