Skip to content

Commit

Permalink
Fix expensive typo in JsonNode (#78130)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub committed Nov 10, 2022
1 parent 39e9c6b commit b00a4ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace System.Text.Json.Nodes
public abstract partial class JsonNode
{
// linker-safe default JsonSerializerOptions instance used by JsonNode methods.
private protected readonly JsonSerializerOptions s_defaultOptions = new();
private protected static readonly JsonSerializerOptions s_defaultOptions = new();

/// <summary>
/// Converts the current instance to string in JSON format.
Expand Down

0 comments on commit b00a4ee

Please sign in to comment.