ode"><pre class="prettyprint">
SameAsConstraint( object expected )
</pre></div>

<h4>Syntax</h4>

<div class="code"><pre class="prettyprint">
Is.SameAs( object expected )
</pre></div>

<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 ) );
</pre></div>
</div>

<!-- Submenu -->
<div id="subnav">
<ul>
<li><a href="docHome.html">N