Skip to content

Conversation

@gewarren
Copy link
Contributor

@gewarren gewarren commented Jan 24, 2026

Fixes #51294.


Internal previews

📄 File 🔗 Preview link
docs/fundamentals/runtime-libraries/system-single.md System.Single struct

@gewarren gewarren requested a review from a team as a code owner January 24, 2026 01:52
Copilot AI review requested due to automatic review settings January 24, 2026 01:52
@dotnetrepoman dotnetrepoman bot added this to the January 2026 milestone Jan 24, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the System.Single documentation and its referenced snippets so the described behavior and the displayed example output match current .NET behavior (Fixes #51294).

Changes:

  • Updated article text to better match snippet behavior, and refreshed several API cross-references.
  • Updated multiple snippet files across C#, F#, and Visual Basic to reflect current runtime output (including .NET vs .NET Framework differences in some cases).
  • Reformatted a couple of Markdown tables for readability.

Reviewed changes

Copilot reviewed 30 out of 31 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
docs/fundamentals/runtime-libraries/system-single.md Updates narrative, links, and tables to align with current snippet output and formatting.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/vb/representation1.vb Updates documented output for current .NET.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/vb/precisionlist3.vb Switches to interpolated output and updates documented output for .NET vs .NET Framework.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/vb/precisionlist1.vb Updates documented output for current .NET.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/vb/convert2.vb Updates documented output (including Infinity/NaN section).
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/vb/comparison4.vb Updates snippet region placement and documented output.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/vb/comparison2.vb Updates snippet to match current output and documents .NET vs .NET Framework differences.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/vb/PrecisionList4a.vb Adjusts snippet region placement and documents .NET Framework-specific output.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/fsharp/representation1.fs Updates documented output for current .NET.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/fsharp/precisionlist4a.fs Documents .NET Framework-specific output.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/fsharp/precisionlist3.fs Updates documented output and runtime notes.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/fsharp/precisionlist1.fs Updates documented output for current .NET.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/fsharp/exceptional1.fs Adds spacing/formatting adjustments and keeps output comments aligned.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/fsharp/convert2.fs Updates documented output (including Infinity/NaN section).
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/fsharp/comparison4.fs Formatting cleanup and updated documented output.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/fsharp/comparison2.fs Updates snippet and documented output for .NET vs .NET Framework.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/fsharp/comparison1.fs Minor formatting change.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/representation2.cs Adds spacing/formatting adjustment.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/representation1.cs Updates documented output for current .NET.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/precisionlist4a.cs Documents .NET Framework-specific output.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/precisionlist3.cs Updates documented output for .NET vs .NET Framework.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/precisionlist1.cs Moves snippet region and updates documented output.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/exceptional2.cs Moves snippet region and brings documented output into the snippet.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/exceptional1.cs Moves snippet region and brings documented output into the snippet.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/convert2.cs Moves snippet region and updates documented output (including Infinity/NaN section).
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/comparison4.cs Moves snippet region and updates documented output.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/comparison3.cs Moves snippet region and brings documented output into the snippet.
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/comparison2.cs Moves snippet region and updates documented output for .NET vs .NET Framework.
docs/fundamentals/runtime-libraries/snippets/System/Double/Overview/vb/precisionlist1.vb Moves snippet region and updates documented output.
docs/fundamentals/runtime-libraries/snippets/System/Double/Overview/fsharp/precisionlist1.fs Updates documented output for current .NET.
docs/fundamentals/runtime-libraries/snippets/System/Double/Overview/csharp/precisionlist1.cs Moves snippet region and updates documented output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UUF] Code examples don't match text

1 participant