16 writes to StringProperty
Microsoft.AspNetCore.JsonPatch.Tests (16)
IntegrationTests\DynamicObjectIntegrationTest.cs (1)
153StringProperty = "A"
IntegrationTests\ListIntegrationTest.cs (2)
85StringProperty = "String1" 89StringProperty = "String2"
IntegrationTests\NestedObjectIntegrationTest.cs (8)
106StringProperty = "A" 144StringProperty = "A" 166StringProperty = "A", 189StringProperty = null, 212StringProperty = "A", 217StringProperty = "C", 306StringProperty = "A", 311StringProperty = "C",
IntegrationTests\SimpleObjectIntegrationTest.cs (2)
35StringProperty = "A", 55StringProperty = null,
JsonPatchDocumentTest.cs (3)
54StringProperty = "A", 77StringProperty = "A", 104StringProperty = "A",
15 references to StringProperty
Microsoft.AspNetCore.JsonPatch.Tests (15)
IntegrationTests\ListIntegrationTest.cs (2)
95patchDocument.Add(o => o.SimpleObjectList[0].StringProperty, "ChangedString1"); 101Assert.Equal("ChangedString1", targetObject.SimpleObjectList[0].StringProperty);
IntegrationTests\NestedObjectIntegrationTest.cs (11)
111patchDocument.Add(o => o.SimpleObject.StringProperty, "B"); 117Assert.Equal("B", targetObject.SimpleObject.StringProperty); 149patchDocument.Remove(o => o.SimpleObject.StringProperty); 155Assert.Null(targetObject.SimpleObject.StringProperty); 172patchDocument.Copy(o => o.SimpleObject.StringProperty, o => o.SimpleObject.AnotherStringProperty); 195patchDocument.Copy(o => o.SimpleObject.StringProperty, o => o.SimpleObject.AnotherStringProperty); 229Assert.Equal("C", targetObject.SimpleObject.StringProperty); 231Assert.Equal("C", targetObject.InheritedObject.StringProperty); 233Assert.NotSame(targetObject.SimpleObject.StringProperty, targetObject.InheritedObject.StringProperty); 327Assert.Equal("C", targetObject.SimpleObject.StringProperty);
JsonPatchDocumentTest.cs (2)
82patchDocTyped.Copy(o => o.StringProperty, o => o.AnotherStringProperty); 112patchDocument.Replace(o => o.StringProperty, "B");