[CoreServices] Add deprecated attributes to FSEventStream RunLoop P/Invokes and fix UnscheduleFromRunLoop bug#25103
Conversation
…nvokes and fix UnscheduleFromRunLoop bug
- Add [SupportedOSPlatform("macos")] and [ObsoletedOSPlatform("macos13.0")] to
FSEventStreamScheduleWithRunLoop and FSEventStreamUnscheduleFromRunLoop DllImport
externs to resolve xtro deprecated-attribute-missing entries.
- Fix bug in UnscheduleFromRunLoop that incorrectly called
FSEventStreamScheduleWithRunLoop instead of FSEventStreamUnscheduleFromRunLoop.
- Remove resolved macOS-CoreServices.todo file.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
✅ [CI Build #43b5544] Build passed (Build packages) ✅Pipeline on Agent |
✅ [PR Build #43b5544] Build passed (Detect API changes) ✅Pipeline on Agent |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
✅ [CI Build #43b5544] Build passed (Build macOS tests) ✅Pipeline on Agent |
🚀 [CI Build #43b5544] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 158 tests passed 🎉 Tests counts✅ cecil: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Add [SupportedOSPlatform("macos")] and [ObsoletedOSPlatform("macos13.0")] to FSEventStreamScheduleWithRunLoop and FSEventStreamUnscheduleFromRunLoop DllImport externs to resolve xtro deprecated-attribute-missing entries.
Fix bug in UnscheduleFromRunLoop that incorrectly called FSEventStreamScheduleWithRunLoop instead of FSEventStreamUnscheduleFromRunLoop.
Remove resolved macOS-CoreServices.todo file.