Skip to content

Refactor afc to use async #179

Refactor afc to use async

Refactor afc to use async #179

Triggered via pull request August 29, 2024 10:36
Status Success
Total duration 2m 35s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
test: Netimobiledevice/Diagnostics/DiagnosticsService.cs#L200
Possible null reference return.
test: Netimobiledevice/InstallationProxy/InstallationProxyService.cs#L90
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
test: Netimobiledevice/Usbmuxd/UsbmuxConnection.cs#L188
Possible null reference argument for parameter 'logger' in 'PlistMuxConnection.PlistMuxConnection(UsbmuxdSocket sock, ILogger logger)'.
test: Netimobiledevice/Lockdown/LockdownClient.cs#L84
Non-nullable property 'SerialNumber' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test: Netimobiledevice/Lockdown/ServiceConnection.cs#L49
Possible null reference argument for parameter 'logger' in 'ServiceConnection.ServiceConnection(Socket sock, ILogger logger, UsbmuxdDevice? muxDevice = null)'.
test: Netimobiledevice/Lockdown/ServiceConnection.cs#L62
Possible null reference argument for parameter 'logger' in 'ServiceConnection.ServiceConnection(Socket sock, ILogger logger, UsbmuxdDevice? muxDevice = null)'.
test: Netimobiledevice/Lockdown/LockdownClient.cs#L38
The field 'LockdownClient._usbmuxdConnectionType' is never used
test: Netimobiledevice/Lockdown/LockdownClient.cs#L34
Field 'LockdownClient._medium' is never assigned to, and will always have its default value
test: Netimobiledevice/Lockdown/Services/CrashReportsManager.cs#L24
The field 'CrashReportsManager._crashMoverServiceName' is assigned but its value is never used
test: Netimobiledevice/Usbmuxd/UsbmuxdSocket.cs#L30
The behavior of 'Convert.ToUInt16(string)' could vary based on the current user's locale settings. Replace this call in 'UsbmuxdSocket.UsbmuxdSocket([string])' with a call to 'Convert.ToUInt16(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)