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

CI Update - .NET 8 GA core libraries #9457

Merged
merged 4 commits into from
Nov 15, 2023
Merged

CI Update - .NET 8 GA core libraries #9457

merged 4 commits into from
Nov 15, 2023

Conversation

gewarren
Copy link
Contributor

Build.Reason:Manual by Genevieve Warren
Build.Url:https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=398016&view=results
source_repo.branch:net8-core
source_repo.url:https://apidrop.visualstudio.com/_git/binaries

 Build.Reason:Manual by Genevieve Warren
 Build.Url:https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=398016&view=results
 source_repo.branch:net8-core
 source_repo.url:https://apidrop.visualstudio.com/_git/binaries
@ghost ghost assigned gewarren Nov 15, 2023
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-Meta Concerns something that extends across runtime area boundaries, for example, IDisposable. label Nov 15, 2023

This comment was marked as outdated.

@@ -6983,8 +6983,7 @@ Languages that support custom operators can use the <xref:System.Numerics.Comple
<MemberSignature Language="F#" Value="abstract member TryFormat : Span&lt;byte&gt; * int * ReadOnlySpan&lt;char&gt; * IFormatProvider -&gt; bool&#xA;override this.TryFormat : Span&lt;byte&gt; * int * ReadOnlySpan&lt;char&gt; * IFormatProvider -&gt; bool" Usage="complex.TryFormat (utf8Destination, bytesWritten, format, provider)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Numerics.INumberBase`1.TryFormat(System.Span{System.Byte},System.Int32@,System.ReadOnlySpan{System.Char},System.IFormatProvider)</InterfaceMember>
<InterfaceMember>M:System.IUtf8SpanFormattable.TryFormat(System.Span{System.Byte},System.Int32@,System.ReadOnlySpan{System.Char},System.IFormatProvider)</InterfaceMember>
<InterfaceMember>M:System.Numerics.INumberBase`1.System#IUtf8SpanFormattable#TryFormat(System.Span{System.Byte},System.Int32@,System.ReadOnlySpan{System.Char},System.IFormatProvider)</InterfaceMember>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@huangmin-ms This line is causing the following warning:

Line 0: [Warning] Cross reference not found: 'System.Numerics.INumberBase`1.System'.

This seems like a bug. I'm not sure where INumberBase`1 comes into play here?

Copy link
Contributor

@huangmin-ms huangmin-ms Nov 15, 2023

Choose a reason for hiding this comment

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

@gewarren Actually this diff is expected. It was caused by TryFormat method of INumberBase changed from a normal method to an EII member which I can tell from the System.Runtime.dll of net-8.0 in master branch.

image

In net8-core branch, it is an EII.
image

https://github.com/dotnet/runtime/blob/18cac43e79503cb2d9424dd19822e7ee8444db26/src/libraries/System.Private.CoreLib/src/System/Numerics/INumberBase.cs#L472

Sometimes it would be confused when both of the inherited interfaces INumberBase and IUtf8SpanFormattable have the same method TryFormat(). But from the reflection metadata:

The original inherit chain is: Complex.TryFormat() -> INumberBase.TryFormat() -> IUtf8SpanFormattable.TryFormat()
And now becomes: Complex.TryFormat() -> INumberBase.IUtf8SpanFormattable.TryFormat()

The reason why you see the xref warning is because there are multiple #s in EII signature and currently our build system is not able to handle that character properly.
I logged a bug https://ceapex.visualstudio.com/Engineering/_workitems/edit/926457 to track this issue.

Is this warning a blocking issue for this PR to get merged? or we can ignore it for now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tannergooding Is this what you'd expect to see here, i.e. that Complex.TryFormat() implements INumberBase<T>.IUtf8SpanFormattable.TryFormat() and not IUtf8SpanFormattable.TryFormat()?

Copy link
Contributor

Choose a reason for hiding this comment

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

@gewarren Convert # to %23 in xml file will be overwritten in next pipeline run. We will escape it in Ecma2Yaml tool.

xml/System/Byte.xml Outdated Show resolved Hide resolved

This comment was marked as outdated.

Copy link

Learn Build status updates of commit 98d5ab2:

⚠️ Validation status: warnings

File Status Preview URL Details
xml/System.Numerics/INumberBase`1.xml ⚠️Warning View Details
xml/FrameworksIndex/net-8.0.xml ✅Succeeded
xml/System.IO.Compression/BrotliStream.xml ✅Succeeded View
xml/System.Numerics/BigInteger.xml ✅Succeeded View
xml/System.Numerics/Complex.xml ✅Succeeded View
xml/System.Numerics/IBinaryFloatingPointIeee754`1.xml ✅Succeeded View
xml/System.Numerics/IBinaryInteger`1.xml ✅Succeeded View
xml/System.Numerics/IBinaryNumber`1.xml ✅Succeeded View
xml/System.Numerics/IExponentialFunctions`1.xml ✅Succeeded View
xml/System.Numerics/IFloatingPoint`1.xml ✅Succeeded View
xml/System.Numerics/IFloatingPointConstants`1.xml ✅Succeeded View
xml/System.Numerics/IFloatingPointIeee754`1.xml ✅Succeeded View
xml/System.Numerics/IHyperbolicFunctions`1.xml ✅Succeeded View
xml/System.Numerics/ILogarithmicFunctions`1.xml ✅Succeeded View
xml/System.Numerics/INumber`1.xml ✅Succeeded View
xml/System.Numerics/IPowerFunctions`1.xml ✅Succeeded View
xml/System.Numerics/IRootFunctions`1.xml ✅Succeeded View
xml/System.Numerics/ISignedNumber`1.xml ✅Succeeded View
xml/System.Numerics/ITrigonometricFunctions`1.xml ✅Succeeded View
xml/System.Numerics/IUnsignedNumber`1.xml ✅Succeeded View
xml/System.Numerics/Vector.xml ✅Succeeded View
xml/System.Numerics/Vector`1.xml ✅Succeeded View
xml/System.Runtime.InteropServices/NFloat.xml ✅Succeeded View
xml/System/Byte.xml ✅Succeeded View
xml/System/Char.xml ✅Succeeded View

This comment lists only the first 25 files in the pull request.

xml/System.Numerics/INumberBase`1.xml

  • [Warning: file-not-redirected - See documentation] File xml/System.Numerics/INumberBase`1.xml with URL /dotnet/api/system.numerics.inumberbase-1.tryformat was deleted without redirection. To avoid broken links, add a redirection.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

@gewarren gewarren merged commit f6c0cfc into main Nov 15, 2023
@gewarren gewarren deleted the net8-ga-core branch November 15, 2023 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Meta Concerns something that extends across runtime area boundaries, for example, IDisposable.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants