-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Update example output for .NET (10) #51304
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
Open
gewarren
wants to merge
4
commits into
dotnet:main
Choose a base branch
from
gewarren:single-struct
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
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.
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. |
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/fsharp/convert2.fs
Show resolved
Hide resolved
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/vb/convert2.vb
Show resolved
Hide resolved
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/fsharp/precisionlist3.fs
Outdated
Show resolved
Hide resolved
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/fsharp/comparison2.fs
Outdated
Show resolved
Hide resolved
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/comparison4.cs
Outdated
Show resolved
Hide resolved
docs/fundamentals/runtime-libraries/snippets/System/Single/Overview/csharp/convert2.cs
Show resolved
Hide resolved
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #51294.
Internal previews