-
Notifications
You must be signed in to change notification settings - Fork 520
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
[src] Import xml docs for members, part 1. #22210
base: main
Are you sure you want to change the base?
Conversation
This has to be done in parts, because the Roslyn importer runs out of memory otherwise. Which also means I have no idea how many parts there will end up being.
|
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.
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.
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.
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.
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.
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.
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.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
❌ [CI Build] Windows Integration Tests failed ❌❌ Failed ❌ Pipeline on Agent |
✅ [PR Build #38db4b3] Build passed (Build packages) ✅Pipeline on Agent |
✅ [PR Build #38db4b3] Build passed (Detect API changes) ✅Pipeline on Agent |
✅ [PR Build #38db4b3] Build passed (Build macOS tests) ✅Pipeline on Agent |
💻 [PR Build #38db4b3] Tests on macOS M1 - Mac Monterey (12) passed 💻✅ All tests on macOS M1 - Mac Monterey (12) passed. Pipeline on Agent |
💻 [PR Build #38db4b3] Tests on macOS M1 - Mac Ventura (13) passed 💻✅ All tests on macOS M1 - Mac Ventura (13) passed. Pipeline on Agent |
💻 [PR Build #38db4b3] Tests on macOS arm64 - Mac Sequoia (15) passed 💻✅ All tests on macOS arm64 - Mac Sequoia (15) passed. Pipeline on Agent |
💻 [PR Build #38db4b3] Tests on macOS X64 - Mac Sonoma (14) passed 💻✅ All tests on macOS X64 - Mac Sonoma (14) passed. Pipeline on Agent |
✅ API diff for current PR / commit.NET ( No breaking changes )❗ API diff vs stable (Breaking changes).NET ( ❗ Breaking changes ❗ )ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
🚀 [CI Build #38db4b3] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 112 tests passed 🎉 Tests counts✅ cecil: All 1 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
/// <value> | ||
/// </value> |
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.
Is there any value in having this <value>
? :)
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.
This is ported from an existing repository with the documentation, and this is how it was there.
Going through everything to make sure it makes sense is out of scope for this work, so I'm leaving everything as-is.
@@ -226,6 +277,8 @@ protected virtual void OnPacketDecoded (int numberOfBytes, IntPtr inputData, Aud | |||
p (this, new PacketReceivedEventArgs (numberOfBytes, inputData, packetDescriptions)); | |||
} | |||
|
|||
/// <summary>This event is raised when a property has been found on the decoded data.</summary> | |||
/// <remarks>The most interesting property that is raised is AudioFileStreamProperty.ReadyToProducePackets; When this property is parsed there is enough information to create the output queue. The MagicCookie and the StreamBasicDescription contain the information necessary to create a working instance of the OutputAudioQueue.</remarks> |
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.
Is the indentation correct here?
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.
No, it's off, but I left it as-is for a few reasons:
- Turns out it's not entirely trivial to reformat xml and get a result I'm happy with.
- I'm using a custom written tool to port the documentation (i.e. create this PR), and it's already more complex than I ever wanted. Pretty printing xml too is out of scope.
- This can be fixed later on in an automated fashion (by creating a Roslyn code fixer) if we decide it's important enough.
- It doesn't affect the resulting documentation.
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.
I just had in mind a regex converting
/// <remarks>
to
/// <remarks>
But it's just an idea.
I'm happy to see the comments in the codebase (in any form).
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.
Yeah, I don't trust regexes when there are multi-line CDATA section in here with significant whitespace (as I found out because I tried something similar).
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.
Copilot reviewed 161 out of 161 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
src/AudioUnit/AUEnums.cs:1253
- [nitpick] The enum value 'AUiPodTimeOther' mixes casing that may be confusing. Consider renaming it to follow a consistent naming convention (for example, 'IPodTimeOther' or similar) to improve clarity.
AUiPodTimeOther = 0x6970746F, // 'ipto'
This has to be done in parts, because the Roslyn importer runs out of memory otherwise.
Which also means I have no idea how many parts there will end up being.
Partial fix for #17399.