<PackageReference Include="NUnit" Version="5.0.0-beta.1" />

NUnit.Framework.Constraints.SameAsConstraint<T>

public class SameAsConstraint<T> : Constraint
SameAsConstraint tests whether an object is identical to the object passed to its constructor
namespace NUnit.Framework.Constraints { public class SameAsConstraint<[System.Runtime.CompilerServices.Nullable(2)] T> : Constraint where T : class { public SameAsConstraint(T expected); } }