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.
Syntax
[EditorBrowsable(EditorBrowsableState.Never)]
public static bool Equals(object a, object b)
Attributes
Type | Description |
---|---|
Editor |
Parameters
Name | Type | Description |
---|---|---|
a | object | |
b | object |
Return Value
Type | Description |
---|---|
bool |