Assert.

Equals(object, object) Method

Summary

The Equals method is overridden to throw a System.InvalidOperationException. This is done to make sure there is no mistake by calling it when Assert.AreEqual(object, object) is actually intended.
Namespace
TCLite
Containing Type
Assert

Syntax

[EditorBrowsable(EditorBrowsableState.Never)]
public static bool Equals(object a, object b)

Attributes

Type Description
EditorBrowsableAttribute

Parameters

Name Type Description
a object
b object

Return Value

Type Description
bool