Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for NET6 attribute conversion with hand fixes #13658

Merged
merged 2 commits into from
Jan 7, 2022

Conversation

chamons
Copy link
Contributor

@chamons chamons commented Jan 6, 2022

  • The tool I wrote to convert attributes mellite does single pass through each file
  • This means files that define Foo and !Foo, each with availability attributes inside can not be proccessed
  • These 2 locations were easy to fix by moving defines inside binding definations, so I did that
  • About 10 other locations were not so easy, so those will be worked around by hand in the conversion process.

Part of #10170

- The tool I wrote to convert attributes [mellite](https://github.com/chamons/mellite) does single pass through each file
- This means files that define Foo and !Foo, each with availability attributes inside can not be proccessed
- These 2 locations were easy to fix by moving defines inside binding definations, so I did that
- About 10 other locations were not so easy, so those will be worked around by hand in the conversion process.

Part of xamarin#10170
@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [PR Build] Tests passed on Build. ✅

Tests passed 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

API Current PR diff

ℹ️ API Diff (from PR only) (please review changes)

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff

Generator diff

ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

🎉 All 108 tests passed 🎉

Pipeline on Agent XAMBOT-1094.BigSur'
Merge 809d7b0 into b52af4b

@chamons
Copy link
Contributor Author

chamons commented Jan 7, 2022

API diff looks clean.

@chamons chamons added the not-notes-worthy Ignore for release notes label Jan 7, 2022
@chamons chamons marked this pull request as ready for review January 7, 2022 16:48
public enum NSFileManagerUnmountOptions : ulong
{
AllPartitionsAndEjectDisk = 1 << 0,
WithoutUI = 1 << 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we add the missing ',' since we are moving it?

src/avkit.cs Outdated
[Native]
public enum AVPlayerViewTrimResult : long {
OKButton,
CancelButton
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we add the ',' since we are moving it?

@chamons chamons merged commit 260730d into xamarin:main Jan 7, 2022
@chamons chamons deleted the verify_manual branch January 7, 2022 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-notes-worthy Ignore for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants