You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current handling of a null parameter is inconsistent:
objectboxedNull=null;if(boxedNull!=null)thrownew Exception("This never happens!");
Smart.Format("{dummy}",null);// throws exception
Smart.Format("{dummy}", boxedNull);// works as expected
Will be fixed in the way that null will be handled as a valid argument.
axunonb
changed the title
Format or parse error should not throw exception unless ErrorAction.ThrowError is set
Inconsistent handling of null and boxed null parameter
Feb 14, 2018
axunonb
added a commit
to axuno/MailMergeLib
that referenced
this issue
Feb 14, 2018
Obviously there are cases where exceptions are thrown even when
ErrorAction.ThrowError
is not set.Closes axuno/MailMergeLib#14
The text was updated successfully, but these errors were encountered: