Summary
The ReferenceEquals method is overridden to throw a
System.InvalidOperationException
.
This ensures that there there is no mistake in calling this function rather than
Assert.AreSame(object, object)
.
Syntax
[EditorBrowsable(EditorBrowsableState.Never)]
public static bool ReferenceEquals(object a, object b)
Attributes
Type | Description |
---|---|
Editor |
Parameters
Name | Type | Description |
---|---|---|
a | object | |
b | object |
Return Value
Type | Description |
---|---|
bool |