Summary
Currently the IsExactInstanceOfType overloads produce an AssertFailedException when the input value is NULL, but these messages are not very clear:
Example
string? input = null;
Assert.IsExactInstanceOfType<string>(input);
Actual result:
Assert.IsExactInstanceOfType failed. 'value' expression: 'input'.
Proposed result:
Assert.IsExactInstanceOfType failed. 'value' expression: 'input'. 'value' was NULL.
Summary
Currently the IsExactInstanceOfType overloads produce an AssertFailedException when the input value is NULL, but these messages are not very clear:
Example
Actual result:
Assert.IsExactInstanceOfType failed. 'value' expression: 'input'.Proposed result:
Assert.IsExactInstanceOfType failed. 'value' expression: 'input'. 'value' was NULL.