I have in my test suite a test that goes something like this:
[Fact] public void VerifySomeStuff() { var stuffCollection = GetSomeStuff(); Assert.Equal(
I found this give me the same error:
Assert.Equal(2, vm.Errors.Count());
And casting it stopped the error from appearing.
Assert.Equal(2, (int)vm.Errors.Count());