`
Search Results for

    Show / Hide Table of Contents

    Assert.AreNotSame

    Assert.AreNotSame tests that the two arguments do not reference the same object.

    Assert.AreNotSame(object expected, object actual);
    Assert.AreNotSame(object expected, object actual,
                      string message, params object[] params);
    

    See Also

    • SameAs Constraint
    • Improve this Doc
    In This Article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0