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