3 references to CannotWritePropertyWithinArray
System.Text.Json (3)
System\Text\Json\ThrowHelper.cs (1)
611
case ExceptionResource.
CannotWritePropertyWithinArray
:
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Helpers.cs (2)
42
ThrowHelper.ThrowInvalidOperationException(ExceptionResource.
CannotWritePropertyWithinArray
, currentDepth: default, maxDepth: _options.MaxDepth, token: default, _tokenType);
55
ThrowHelper.ThrowInvalidOperationException(ExceptionResource.
CannotWritePropertyWithinArray
, currentDepth: default, maxDepth: _options.MaxDepth, token: default, _tokenType);