ConstraintExpression.SameAs(Object) Method

Definition

Returns a constraint that tests that two references are the same object

public NUnit.Framework.Constraints.SameAsConstraint SameAs (object expected);
member this.SameAs : obj -> NUnit.Framework.Constraints.SameAsConstraint

Parameters

expected
Object

Returns

Applies to