Assert.ReferenceEquals(Object, Object) Method

Definition

override the default ReferenceEquals to throw an AssertionException. This implementation makes sure there is no mistake in calling this function as part of Assert.

public static void ReferenceEquals (object a, object b);
static member ReferenceEquals : obj * obj -> unit

Parameters

a
Object
b
Object

Applies to