<PackageReference Include="NUnit" Version="3.10.0" />

MultipleAssertException

Thrown when an assertion failed.
public ITestResult TestResult { get; }

Gets the ITestResult of this test at the point the exception was thrown,

public MultipleAssertException(string message)

Default Constructor

Construct based on the TestResult so far. This is the constructor used normally, when exiting the multiple assert block with failures. Not used internally but provided to facilitate debugging.

public MultipleAssertException(string message, Exception inner)

Serialization Constructor