I was surprised that parameters is an optional parameter here but as soon as it gets passed to GetParameters, the ToList() will throw an ArgumentNullException if parameters is null. Should GetParameters be able to handle a nullparameters parameter?
EDIT: I realized this is expecting the Parameters property from Result.Form on my upload task. Maybe it shouldn't be optional? I'm not sure.
I was surprised that
parameters
is an optional parameter here but as soon as it gets passed toGetParameters
, the ToList() will throw anArgumentNullException
ifparameters
isnull
. ShouldGetParameters
be able to handle anull
parameters
parameter?EDIT: I realized this is expecting the
Parameters
property fromResult.Form
on my upload task. Maybe it shouldn't be optional? I'm not sure.