Edit

Share via


Assert.AreSame Method

Definition

Overloads

AreSame(Object, Object)
AreSame(Object, Object, String)
AreSame(Object, Object, String, Object[])

AreSame(Object, Object)

public static void AreSame (object expected, object actual);
static member AreSame : obj * obj -> unit

Parameters

expected
Object
actual
Object

Applies to

AreSame(Object, Object, String)

public static void AreSame (object expected, object actual, string message);
static member AreSame : obj * obj * string -> unit

Parameters

expected
Object
actual
Object
message
String

Applies to

AreSame(Object, Object, String, Object[])

public static void AreSame (object expected, object actual, string message, params object[] args);
static member AreSame : obj * obj * string * obj[] -> unit

Parameters

expected
Object
actual
Object
message
String
args
Object[]

Applies to