4 references to ThrowInvalidOperationException_NodeUnableToConvertElement
System.Text.Json (4)
System\Text\Json\Nodes\JsonValueOfElement.cs (1)
44ThrowHelper.ThrowInvalidOperationException_NodeUnableToConvertElement(Value.ValueKind, typeof(TypeToConvert));
System\Text\Json\Nodes\JsonValueOfJsonPrimitive.cs (3)
60ThrowHelper.ThrowInvalidOperationException_NodeUnableToConvertElement(JsonValueKind.String, typeof(T)); 144ThrowHelper.ThrowInvalidOperationException_NodeUnableToConvertElement(_value ? JsonValueKind.True : JsonValueKind.False, typeof(T)); 191ThrowHelper.ThrowInvalidOperationException_NodeUnableToConvertElement(JsonValueKind.Number, typeof(T));