>Syntax Helper</th><th>Constructor</th><th>Operation</th></tr>
<tr><td>Is.SameAs( object )</td><td>SameAsConstraint( null )</td></td><td>tests that two object references refer to the same object</td></tr>
</table>

<h4>Examples of Use</h4>

<div class="code"><pre class="prettyprint">
Exception ex1 = new Exception();
Exception ex2 = ex1;
Assert.That( ex2, Is.SameAs( ex1 ) );

Exception ex3 = new Exception();
Assert.That( ex3, Is.Not.SameAs( ex1 ) );

// Using inheritance
Expect( ex2, SameAs( ex1 ) );
Expect(