-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fix DebuggerDisplay for serializer types #65971
Fix DebuggerDisplay for serializer types #65971
Conversation
Tagging subscribers to this area: @dotnet/area-system-text-json Issue DetailsFix #65960.
|
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/WriteStackFrame.cs
Show resolved
Hide resolved
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/ReadStack.cs
Show resolved
Hide resolved
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/JsonPropertyInfo.cs
Show resolved
Hide resolved
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/WriteStack.cs
Outdated
Show resolved
Hide resolved
…ion/WriteStack.cs
@eiriktsarpalis Can I make a suggestion? In my own code, I create a constant that contains the debuggerdisplay,nq value and reference the constant everywhere. This keeps me from having to have the magic string everywhere. Also, as a general rule, I've found it better to be a function rather than a property because sometimes it will wind up being serialized in weird places if it is a property. Anyway, just a few thoughts. Do with them what you will. |
Fix #65960.