refactor: Use static Lazy instance for all sensors #19275
Build Binaries WinUI .NET Mobile Package Binaries failed
Annotations
Check failure on line 43 in src\Uno.UWP\Devices\Sensors\Accelerometer.iOS.cs
azure-pipelines / Uno.UI - CI (Build Binaries WinUI .NET Mobile Package Binaries)
src\Uno.UWP\Devices\Sensors\Accelerometer.iOS.cs#L43
src\Uno.UWP\Devices\Sensors\Accelerometer.iOS.cs(43,14): Error CS1061: 'Lazy<Accelerometer?>' does not contain a definition for 'OnShaken' and no accessible extension method 'OnShaken' accepting a first argument of type 'Lazy<Accelerometer?>' could be found (are you missing a using directive or an assembly reference?)
Check failure on line 43 in src\Uno.UWP\Devices\Sensors\Accelerometer.iOS.cs
azure-pipelines / Uno.UI - CI (Build Binaries WinUI .NET Mobile Package Binaries)
src\Uno.UWP\Devices\Sensors\Accelerometer.iOS.cs#L43
src\Uno.UWP\Devices\Sensors\Accelerometer.iOS.cs(43,14): Error CS1061: 'Lazy<Accelerometer?>' does not contain a definition for 'OnShaken' and no accessible extension method 'OnShaken' accepting a first argument of type 'Lazy<Accelerometer?>' could be found (are you missing a using directive or an assembly reference?)
Check failure on line 43 in src\Uno.UWP\Devices\Sensors\Accelerometer.iOS.cs
azure-pipelines / Uno.UI - CI (Build Binaries WinUI .NET Mobile Package Binaries)
src\Uno.UWP\Devices\Sensors\Accelerometer.iOS.cs#L43
src\Uno.UWP\Devices\Sensors\Accelerometer.iOS.cs(43,14): Error CS1061: 'Lazy<Accelerometer?>' does not contain a definition for 'OnShaken' and no accessible extension method 'OnShaken' accepting a first argument of type 'Lazy<Accelerometer?>' could be found (are you missing a using directive or an assembly reference?)
Check failure on line 43 in src\Uno.UWP\Devices\Sensors\Accelerometer.iOS.cs
azure-pipelines / Uno.UI - CI (Build Binaries WinUI .NET Mobile Package Binaries)
src\Uno.UWP\Devices\Sensors\Accelerometer.iOS.cs#L43
src\Uno.UWP\Devices\Sensors\Accelerometer.iOS.cs(43,14): Error CS1061: 'Lazy<Accelerometer?>' does not contain a definition for 'OnShaken' and no accessible extension method 'OnShaken' accepting a first argument of type 'Lazy<Accelerometer?>' could be found (are you missing a using directive or an assembly reference?)
Check failure on line 545 in Build log
azure-pipelines / Uno.UI - CI (Build Binaries WinUI .NET Mobile Package Binaries)
Build log #L545
Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1