Repository navigation
Document CS8103 UserString heap limits and data section resolution (Fixes #37987) - #56666
Merged
BillWagner merged 2 commits intoDec 1, 2026
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The CS9315 guidance incorrectly ties the diagnostic to the experimental data-section feature instead of explaining UserString heap exhaustion during Edit and Continue, leaving normal debugging sessions unaddressed.
1 open issue
What changed in this PR
Adds CS8103 guidance to the existing C# string-literal diagnostics article, addressing #37987 with explanations and remedies for user-string heap limits.
Changes:
- Explains the heap limit and common causes of CS8103.
- Documents resource files, smaller assemblies, and experimental data-section storage as remedies.
- Moves CS8103 help metadata from the catch-all page to the dedicated article.
| File | Description |
|---|---|
docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md |
Removes CS8103 from catch-all help metadata. |
docs/csharp/language-reference/compiler-messages/string-literal.md |
Adds CS8103 metadata, heap-limit explanations, and resolution guidance. |
Review effort: Balanced
Manish-1kumar
force-pushed
the
users/manish/issue-37987-cs8103-string-literal-heap-limits
branch
from
November 30, 2026 17:53
c331bd4 to
74a2036
Compare
…data-section condition
BillWagner
approved these changes
Dec 1, 2026
BillWagner
left a comment
Member
There was a problem hiding this comment.
Thanks @Manish-1kumar
This LGTM, and I'll
now.
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
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 #37987
Summary of Changes
Internal previews
Build report