11 writes to AnotherStringProperty
Microsoft.AspNetCore.JsonPatch.Tests (11)
IntegrationTests\DynamicObjectIntegrationTest.cs (1)
113dynamicTestObject.SimpleObject = new SimpleObject() { AnotherStringProperty = "B" };
IntegrationTests\NestedObjectIntegrationTest.cs (6)
167AnotherStringProperty = "B" 190AnotherStringProperty = "B" 213AnotherStringProperty = "B" 218AnotherStringProperty = "D" 307AnotherStringProperty = "B" 312AnotherStringProperty = "D"
IntegrationTests\SimpleObjectIntegrationTest.cs (2)
36AnotherStringProperty = "B" 56AnotherStringProperty = "B"
JsonPatchDocumentTest.cs (2)
55AnotherStringProperty = "B" 78AnotherStringProperty = "B"
12 references to AnotherStringProperty
Microsoft.AspNetCore.JsonPatch.Tests (12)
IntegrationTests\NestedObjectIntegrationTest.cs (7)
172patchDocument.Copy(o => o.SimpleObject.StringProperty, o => o.SimpleObject.AnotherStringProperty); 178Assert.Equal("A", targetObject.SimpleObject.AnotherStringProperty); 195patchDocument.Copy(o => o.SimpleObject.StringProperty, o => o.SimpleObject.AnotherStringProperty); 201Assert.Null(targetObject.SimpleObject.AnotherStringProperty); 230Assert.Equal("D", targetObject.SimpleObject.AnotherStringProperty); 232Assert.Equal("D", targetObject.InheritedObject.AnotherStringProperty); 328Assert.Equal("D", targetObject.SimpleObject.AnotherStringProperty);
IntegrationTests\SimpleObjectIntegrationTest.cs (2)
46Assert.Equal("A", targetObject.AnotherStringProperty); 66Assert.Null(targetObject.AnotherStringProperty);
JsonPatchDocumentTest.cs (3)
68Assert.Equal("A", targetObject.AnotherStringProperty); 82patchDocTyped.Copy(o => o.StringProperty, o => o.AnotherStringProperty); 95Assert.Equal("A", targetObject.AnotherStringProperty);