8 writes to Id
Microsoft.AspNetCore.Mvc.IntegrationTests (8)
DictionaryModelBinderIntegrationTest.cs (8)
527
Assert.Equal(new Dictionary<string, Person> { { "key0", new Person {
Id
= 10 } }, }, model);
544
var expectedDictionary = new Dictionary<string, Person> { { "key0", new Person {
Id
= 10 } } };
582
var expectedDictionary = new Dictionary<string, Person> { { "key0", new Person {
Id
= 10 } } };
617
var expectedDictionary = new Dictionary<string, Person> { { "42", new Person {
Id
= 10 } } };
652
var expectedDictionary = new Dictionary<string, Person> { { "42", new Person {
Id
= 10 } } };
725
Assert.Equal(new Dictionary<string, Person> { { "key0", new Person {
Id
= 10 } }, }, model);
764
Assert.Equal(new Dictionary<string, Person> { { "key0", new Person {
Id
= 10 } }, }, model);
804
Assert.Equal(new Dictionary<string, Person> { { "key0", new Person {
Id
= 100 } }, }, model);
4 references to Id
Microsoft.AspNetCore.Mvc.IntegrationTests (4)
DictionaryModelBinderIntegrationTest.cs (4)
470
return obj is Person other &&
Id
== other.
Id
;
475
return
Id
.GetHashCode();
480
return $"{{ {
Id
} }}";