Table of Contents

Class FalseException

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

Exception thrown when Assert.False fails.

public class FalseException : XunitException, ISerializable, IAssertionException
Inheritance
FalseException
Implements
Inherited Members

Methods

ForNonFalseValue(string?, bool?)

Creates a new instance of the FalseException class to be thrown when a non-false value was provided.

public static FalseException ForNonFalseValue(string? message, bool? value)

Parameters

message string

The message to be displayed, or null for the default message

value bool?

The actual value

Returns

FalseException