Refactor 重构网络类 #147
Draft
Refactor 重构网络类 #147
Annotations
10 warnings
|
PCL.Neo.Core/Service/Accounts/OAuthService/AuthCodeMode.cs#L67
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.
|
|
PCL.Neo.Core/Service/Accounts/OAuthService/MinecraftInfo.cs#L53
Possible null reference argument for parameter 'Alias' in 'Cape.Cape(string Id, AccountState State, Uri Url, string Alias)'.
|
|
PCL.Neo.Core/Service/Accounts/OAuthService/RedirectServer/ResponseHelper.cs#L20
Dereference of a possibly null reference.
|
|
PCL.Neo.Core/Service/Accounts/IYggdrasilAuth/YggdrasilAuthService.cs#L359
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.
|
|
PCL.Neo.Core/Service/Game/GameLauncherService.cs#L188
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.
|
|
PCL.Neo.Core/Models/Minecraft/MetadataFile.cs#L82
Non-nullable property 'Value' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
PCL.Neo.Core/Service/Accounts/AccountService.cs#L581
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.
|
|
PCL.Neo.Core/Service/Accounts/AccountService.cs#L479
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.
|
|
PCL.Neo.Core/Service/Game/GameService.cs#L15
Parameter 'javaManager' is unread.
|
|
PCL.Neo.Core/Service/Accounts/Storage/YggdrasilAccount.cs#L8
Non-nullable field '_serverUrl' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
The logs for this run have expired and are no longer available.
Loading