We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e7c283 commit 9fb0745Copy full SHA for 9fb0745
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonNode.To.cs
@@ -6,7 +6,7 @@ namespace System.Text.Json.Nodes
6
public abstract partial class JsonNode
7
{
8
// linker-safe default JsonSerializerOptions instance used by JsonNode methods.
9
- private protected readonly JsonSerializerOptions s_defaultOptions = new();
+ private protected static readonly JsonSerializerOptions s_defaultOptions = new();
10
11
/// <summary>
12
/// Converts the current instance to string in JSON format.
0 commit comments