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