NUnit.Framework.CollectionAssert.ReferenceEquals C# (CSharp) Méthode

ReferenceEquals() public static méthode

DO NOT USE! The ReferenceEquals method throws an InvalidOperationException. This is done to make sure there is no mistake by calling this function.
public static ReferenceEquals ( object a, object b ) : void
a object
b object
Résultat void
        public static new void ReferenceEquals(object a, object b)
        {
            throw new InvalidOperationException("CollectionAssert.ReferenceEquals should not be used for Assertions.");
        }