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