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