csUnit Class Library

Assert.ReferenceEquals Method (Object, Object, String)

Assert that object reference refer to the same object.

public static void ReferenceEquals(
   object obj1,
   object obj2,
   string message
);

Parameters

obj1
An object reference.
obj2
A second object reference.
message
Message to display, if the both references refer to different objects.

See Also

Assert Class | csUnit Namespace | Assert.ReferenceEquals Overload List