[UIKit] Fix properties in UIConfigurationColorTransformer Type - #16732
Conversation
Changing properties to be internal Fixes dotnet#16665
|
| [Obsolete ("Use the '_PreferredTint' property instead.")] | ||
| [Wrap ("_InternalPreferredTint")] | ||
| [Field ("UIConfigurationColorTransformerPreferredTint")] | ||
| IntPtr _PreferredTint { get; } |
There was a problem hiding this comment.
This is a bit of a special case compared to the other fixes you've done.
These fields are supposed to be internal, and then manually exposed (without the underscore) here:
but it seems the initial implementation forgot to make these fields internal (but still added the non-underscored public version).
That means the fix is to:
- Make them internal in XAMCORE_5_0
- Add an Obsolete attribute (in !XAMCORE_5_0) pointing to the non-underscore version (which already exists - see the code I linked to above).
In particular there's no need to add a new and correct implementation, because that already exists.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ API diff for current PR / commitLegacy Xamarin (No breaking changes)
NET (empty diffs)
❗ API diff vs stable (Breaking changes)Legacy Xamarin (:heavy_exclamation_mark: Breaking changes :heavy_exclamation_mark:).NET (:heavy_exclamation_mark: Breaking changes :heavy_exclamation_mark:)✅ Generator diffGenerator diff is empty Pipeline on Agent |
💻 [PR Build] Tests on macOS M1 - Mac Big Sur (11.5) passed 💻✅ All tests on macOS M1 - Mac Big Sur (11.5) passed. Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build] Test results 🚀Test results✅ All tests passed on VSTS: simulator tests. 🎉 All 223 tests passed 🎉 Tests counts✅ bcl: All 69 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
Changing properties to be internal
Fixes #16665