wpfui
wpfui copied to clipboard
Perf: Exclude the unnecessary fields defined on a specific version
Exclude the definition of the CanCenterOverWPFOwnerPropertyInfo field in .NET 8.0 or higher
Pull request type
Please check the type of change your PR introduces:
- [ ] Update
- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, renaming)
- [x] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
What is the current behavior?
In the current implementation, even if the CanCenterOverWPFOwnerPropertyInfo field is not used (.NET 8 and higher), this field is still being initialized.
Issue Number: N/A
What is the new behavior?
Exclude the definition of the CanCenterOverWPFOwnerPropertyInfo field in .NET 8.0 or higher