-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Update baselines for mdoc 5.8.9 #7995
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
Conversation
Build.Reason:Manual by Min Huang Build.Url:https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=287608&view=results source_repo.branch:master source_repo.url:https://apidrop.visualstudio.com/_git/binaries
Build.Reason:Manual by Min Huang Build.Url:https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=287618&view=results source_repo.branch:master source_repo.url:https://apidrop.visualstudio.com/_git/binaries
Build.Reason:Manual by Min Huang Build.Url:https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=287796&view=results source_repo.branch:master source_repo.url:https://apidrop.visualstudio.com/_git/binaries
Build.Reason:Manual by Min Huang Build.Url:https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=287827&view=results source_repo.branch:master source_repo.url:https://apidrop.visualstudio.com/_git/binaries
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.
The changes for the function pointer prototypes look good to me.
In other APIs, information looks like it was lost in this PR. Any ideas why that happened?
@@ -1,10 +1,10 @@ | |||
<Type Name="ObjectiveCMarshal+UnhandledExceptionPropagationHandler" FullName="System.Runtime.InteropServices.ObjectiveC.ObjectiveCMarshal+UnhandledExceptionPropagationHandler"> | |||
<TypeSignature Language="C#" Value="public delegate method ObjectiveCMarshal.UnhandledExceptionPropagationHandler(Exception exception, RuntimeMethodHandle lastMethod, out IntPtr context);" /> | |||
<TypeSignature Language="C#" Value="public delegate delegate* unmanaged<IntPtr, void> ObjectiveCMarshal.UnhandledExceptionPropagationHandler(Exception exception, RuntimeMethodHandle lastMethod, out IntPtr context);" /> |
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.
Note for other reviewers: Here's one example of a function pointer in the API.
@@ -19,7 +19,7 @@ | |||
<Parameter Name="context" Type="System.IntPtr" RefType="out" /> | |||
</Parameters> | |||
<ReturnValue> | |||
<ReturnType>method</ReturnType> | |||
<ReturnType>delegate* unmanaged<System.IntPtr, System.Void></ReturnType> |
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.
function pointer as a return type.
<param name="source">To be added.</param> | ||
<summary>To be added.</summary> | ||
<returns>To be added.</returns> |
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.
@gewarren Changes like this do concern me. Any ideas why this happens?
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.
Good catch, this is a bug. I've logged https://dev.azure.com/ceapex/Engineering/_workitems/edit/598286.
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've also logged an issue in this repo to reinstate the comments once the bug is fixed: #7999
@@ -493,7 +493,7 @@ The precise semantics of batch execution vary across ADO.NET providers, especial | |||
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" /> | |||
</Parameters> | |||
<Docs> | |||
<param name="behavior">One of the enumeration values that specifies options for batch execution and data retrieval.</param> | |||
<param name="cancellationToken">To be added.</param> |
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.
The System.Data data losses are because the parameter names were accidentally changed in a previous PR. That's being tracked by #7910.
<param name="source">To be added.</param> | ||
<summary>To be added.</summary> | ||
<returns>To be added.</returns> |
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.
Good catch, this is a bug. I've logged https://dev.azure.com/ceapex/Engineering/_workitems/edit/598286.
<param name="source">To be added.</param> | ||
<summary>To be added.</summary> | ||
<returns>To be added.</returns> |
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've also logged an issue in this repo to reinstate the comments once the bug is fixed: #7999
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.
Thanks again @gewarren
This LGTM. Let's
mdoc 5.8.9 adds support for function pointers in C#.