temp error fix #2416
Annotations
10 warnings
Build with dotnet:
src/FMBot.Bot/TextCommands/UserCommands.cs#L628
Unreachable code detected
|
Build with dotnet:
src/FMBot.Bot/TextCommands/StaticCommands.cs#L375
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Build with dotnet:
src/FMBot.Bot/Services/Guild/WebhookService.cs#L45
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
Build with dotnet:
src/FMBot.Bot/Services/ImportService.cs#L116
The variable 'e' is declared but never used
|
Build with dotnet:
src/FMBot.Bot/Services/GameService.cs#L753
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Build with dotnet:
src/FMBot.Bot/SlashCommands/PlaySlashCommands.cs#L102
The variable 'emoteReactions' is assigned but its value is never used
|
Build with dotnet:
src/FMBot.Bot/Services/SupporterService.cs#L244
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Build with dotnet:
src/FMBot.Bot/Services/TemplateService.cs#L431
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Build with dotnet:
src/FMBot.Bot/Services/TemplateService.cs#L436
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Build with dotnet:
src/FMBot.Bot/Services/TemplateService.cs#L441
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Loading