10 writes to AnotherStringProperty
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (10)
IntegrationTests\NestedObjectIntegrationTest.cs (6)
152AnotherStringProperty = "B" 175AnotherStringProperty = "B" 198AnotherStringProperty = "B" 203AnotherStringProperty = "D" 292AnotherStringProperty = "B" 297AnotherStringProperty = "D"
IntegrationTests\SimpleObjectIntegrationTest.cs (2)
36AnotherStringProperty = "B" 56AnotherStringProperty = "B"
JsonPatchDocumentTest.cs (2)
59AnotherStringProperty = "B" 117AnotherStringProperty = "B"
12 references to AnotherStringProperty
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (12)
IntegrationTests\NestedObjectIntegrationTest.cs (7)
157patchDocument.Copy(o => o.SimpleObject.StringProperty, o => o.SimpleObject.AnotherStringProperty); 163Assert.Equal("A", targetObject.SimpleObject.AnotherStringProperty); 180patchDocument.Copy(o => o.SimpleObject.StringProperty, o => o.SimpleObject.AnotherStringProperty); 186Assert.Null(targetObject.SimpleObject.AnotherStringProperty); 215Assert.Equal("D", targetObject.SimpleObject.AnotherStringProperty); 217Assert.Equal("D", targetObject.InheritedObject.AnotherStringProperty); 313Assert.Equal("D", targetObject.SimpleObject.AnotherStringProperty);
IntegrationTests\SimpleObjectIntegrationTest.cs (2)
46Assert.Equal("A", targetObject.AnotherStringProperty); 66Assert.Null(targetObject.AnotherStringProperty);
JsonPatchDocumentTest.cs (3)
72Assert.Equal("A", targetObject.AnotherStringProperty); 121patchDocTyped.Copy(o => o.StringProperty, o => o.AnotherStringProperty); 134Assert.Equal("A", targetObject.AnotherStringProperty);