csUnit Class Library

ExpectedExceptionAttribute.IsRequired Property

Returns true if the expected exception MUST be thrown for the test method to pass.

public bool IsRequired {get;}

See Also

ExpectedExceptionAttribute Class | csUnit Namespace