Conversation
Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update API docs for .NET 11 breaking changes
Document .NET 11 API breaking changes
Sep 29, 2026
gewarren
approved these changes
Sep 29, 2026
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Several descriptions incorrectly generalize .NET 11 behavior, omit method-level exceptions, or retain contradictory example output.
Review effort: Balanced
Findings: 12
Open (12)
Preserve earlier Unix asynchronous handle behavior · New Qualify central-directory loading by archive mode · New Remove read-only behavior note from parameterless overload · New Specify Open and Read conditions for non-seekable behavior · New Preserve earlier Unix asynchronous stream behavior · New Add ArgumentException entries to affected parsing overloads · New Version-qualify expanded digits limits and exceptions · New Version and update exact-value rounding examples · New Version and update exact-value rounding example · New Version-qualify digits limits and exceptions · New Version-qualify new Type subclass exception · New Add ArgumentException entries to affected parsing overloads · New
What changed in this PR
Documents .NET 11 behavioral changes across core runtime APIs.
Changes:
- Updates numeric conversion and rounding behavior.
- Documents parsing, reflection, I/O, networking, and packaging changes.
- Clarifies platform-specific cryptography behavior.
| File | Description |
|---|---|
xml/System/Type.xml |
Documents nullable-type introspection. |
xml/System/TimeOnly.xml |
Documents parsing exceptions. |
xml/System/Nullable.xml |
Adds custom Type exception behavior. |
xml/System/MathF.xml |
Updates rounding limits. |
xml/System/Math.xml |
Updates exact-value rounding behavior. |
xml/System/Decimal.xml |
Documents correctly rounded conversions. |
xml/System/DateOnly.xml |
Documents parsing exceptions. |
xml/System.Security.Cryptography/HKDF.xml |
Documents Windows input limits. |
xml/System.Security.Cryptography/DSA.xml |
Notes removed macOS support. |
xml/System.Security.Cryptography/CompositeMLDsa.xml |
Lists Windows-supported algorithms. |
xml/System.Security.Cryptography.X509Certificates/X509Chain.xml |
Documents Linux AIA limits. |
xml/System.Reflection/Assembly.xml |
Documents Native AOT behavior. |
xml/System.Numerics/Complex.xml |
Notes C23 special-value behavior. |
xml/System.Numerics/BigInteger.xml |
Documents floating-point conversions. |
xml/System.Net.Sockets/SendPacketsElement.xml |
Clarifies platform-specific stream requirements. |
xml/System.Net.Security/SslServerAuthenticationOptions.xml |
Documents AIA download defaults. |
xml/System.IO/FileStream.xml |
Updates Unix asynchronous-handle semantics. |
xml/System.IO.Packaging/PackagePart.xml |
Documents non-seekable streams. |
xml/System.IO.Compression/ZipArchive.xml |
Documents eager asynchronous loading. |
xml/Microsoft.Win32.SafeHandles/SafeFileHandle.xml |
Updates Unix IsAsync semantics. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| <value> | ||
| <see langword="true" /> if the handle is asynchronous; <see langword="false" /> otherwise.</value> | ||
| <remarks>To be added.</remarks> | ||
| <see langword="true" /> if the handle is configured for overlapped I/O on Windows or, in .NET 11 and later, has the <c>O_NONBLOCK</c> flag set on Unix; otherwise, <see langword="false" />.</value> |
| </ul> | ||
| </li> | ||
| </dl> | ||
| <para>In .NET 11 and later, this method reads the archive's central directory and loads its entries asynchronously before it completes. Errors caused by malformed entries are reported by this method; accessing the <see cref="P:System.IO.Compression.ZipArchive.Entries" /> property afterward doesn't read from the stream.</para> |
| ## Remarks | ||
| This method opens the content stream with <xref:System.IO.FileMode> of <xref:System.IO.FileMode.OpenOrCreate> and <xref:System.IO.FileAccess> permissions that are the same as the parent <xref:System.IO.Packaging.Package>. | ||
|
|
||
| In .NET 11 and later, when a compressed part in a read/write package is opened for reading and hasn't been modified in the current session, the returned stream is non-seekable. |
| <remarks> | ||
| <format type="text/markdown"><
Update API reference documentation where .NET 11 breaking changes make existing descriptions inaccurate or leave new behavior undocumented.
Math.Round/MathF.Roundlimits and rounding behavior; document updatedDecimal,BigInteger, andComplexresults.DateOnly/TimeOnlyparsing exceptions,Type.GetNullableUnderlyingType, andAssembly.GetCallingAssemblybehavior.SendPacketsElementrequirements.For example, .NET 11 correctly rounds the exact stored floating-point value:
Internal previews
Toggle expand/collapse
Build report