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