Class IsNotTypeException
Exception thrown when the value is unexpectedly of the exact given type.
Inherited Members
Namespace: Xunit.Sdk
Assembly: xunit.assert.dll
Syntax
public class IsNotTypeException : AssertActualExpectedException
Constructors
| Improve this Doc View SourceIsNotTypeException(Type, Object)
Creates a new instance of the IsNotTypeException class.
Declaration
public IsNotTypeException(Type expected, object actual)
Parameters
Type | Name | Description |
---|---|---|
Type | expected | The expected type |
Object | actual | The actual object value |