Resolve CA1027

This commit is contained in:
JustArchi 2021-05-06 18:53:07 +02:00
parent 93c38ff4d4
commit 57bf294553
2 changed files with 11 additions and 11 deletions

View file

@ -108,7 +108,6 @@ dotnet_analyzer_diagnostic.severity = warning
dotnet_code_quality_unused_parameters = all:warning
# TODO - one at a time
dotnet_diagnostic.ca1027.severity = silent
dotnet_diagnostic.ca1028.severity = silent
dotnet_diagnostic.ca1031.severity = silent
dotnet_diagnostic.ca1034.severity = silent

View file

@ -895,16 +895,17 @@ namespace ArchiSteamFarm {
[PublicAPI]
public enum EUserNotification : byte {
Unknown,
Trading = 1,
GameTurns = 2,
ModeratorMessages = 3,
Comments = 4,
Items = 5,
Invites = 6,
Gifts = 8,
Chat = 9,
HelpRequestReplies = 10,
AccountAlerts = 11
Trading,
GameTurns,
ModeratorMessages,
Comments,
Items,
Invites,
Unknown7, // Unknown type of notification, never seen in the wild
Gifts,
Chat,
HelpRequestReplies,
AccountAlerts
}
}