diff --git a/src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.cs b/src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.cs index 2cb13212373b4..6b075966bb736 100644 --- a/src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.cs +++ b/src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.cs @@ -54,7 +54,7 @@ private JsonDocument( _utf8Json = utf8Json; _parsedData = parsedData; - if (_extraRentedArrayPoolBytes != null) + if (extraRentedArrayPoolBytes != null) { _hasExtraRentedArrayPoolBytes = true; _extraRentedArrayPoolBytes = extraRentedArrayPoolBytes;