Created
April 11, 2024 12:55
-
-
Save ycherkes/7ff3206cd70b396dc3ba70616392e84d to your computer and use it in GitHub Desktop.
Compare-Net-Objects issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CompareLogic compareLogic = new CompareLogic | |
{ | |
Config = new ComparisonConfig | |
{ | |
IgnoreConcreteTypes = true | |
} | |
}; | |
var obj1 = new object(); | |
var obj2 = new { Id = 1 }; | |
var comparisonResult = compareLogic.Compare(obj1, obj2); | |
Assert.False(comparisonResult.AreEqual); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment