/a></li>
        </ul>
    </div><!--/.nav-collapse -->
    </div>
</nav>

  <div class="container">
    <div class="content help">
      <div class="notice">Legacy Documentation. View <a href="https://docs.nunit.org">NUnit 3 Documentation</a></div>
      <div id="help_content">

<h2>Identity Asserts</h2>

<p><b>Assert.AreSame</b> and <b>Assert.AreNotSame</b> test whether the same objects are
referenced by the two arguments.</p>

<div class="code" style="width: 36em" >
<pre class="prettyprint">Assert.AreSam