2 references to CannotWriteValueWithinObject
System.Text.Json (2)
System\Text\Json\ThrowHelper.cs (1)
614
case ExceptionResource.
CannotWriteValueWithinObject
:
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Helpers.cs (1)
50
ThrowHelper.ThrowInvalidOperationException(ExceptionResource.
CannotWriteValueWithinObject
, currentDepth: default, maxDepth: _options.MaxDepth, token: default, _tokenType);