Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CGEvent] Subclass NativeObject + numerous other code updates (#13122)
* Subclass NativeObject to reuse object lifetime code. * Enable nullability and fix code accordingly. * Use 'is' and 'is not' instead of '==' and '!=' for object identity. * Use the null-safe NativeObjectExtensions.GetHandle extension method to get the handle instead of checking for null (avoids some code duplication). * Use 'nameof (parameter)' instead of string constants. * Remove the (IntPtr) constructor for XAMCORE_4_0.
- Loading branch information
f1d20dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ [CI Build] Tests failed on Build ❌
Tests failed on Build.
API diff
✅ API Diff from stable
View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff
Packages generated
View packages
Test results
2 tests failed, 216 tests passed.
Failed tests
Test run crashed)
Pipeline on Agent XAMBOT-1037.BigSur'
[CGEvent] Subclass NativeObject + numerous other code updates (#13122)
f1d20dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.
Pipeline on Agent
[CGEvent] Subclass NativeObject + numerous other code updates (#13122)
f1d20dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.
Pipeline on Agent
[CGEvent] Subclass NativeObject + numerous other code updates (#13122)
f1d20dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Tests passed on macOS M1 - Mac Big Sur (11.5) ✅
Tests passed
All tests on macOS X M1 - Mac Big Sur (11.5) passed.
Pipeline on Agent
[CGEvent] Subclass NativeObject + numerous other code updates (#13122)
f1d20dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Tests failed on macOS Mac Mojave (10.14) ❌
Tests failed on Mac Mojave (10.14).
Failed tests are:
Pipeline on Agent
[CGEvent] Subclass NativeObject + numerous other code updates (#13122)