16 writes to StringProperty
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (16)
IntegrationTests\ListIntegrationTest.cs (2)
85StringProperty = "String1" 89StringProperty = "String2"
IntegrationTests\NestedObjectIntegrationTest.cs (8)
107StringProperty = "A" 129StringProperty = "A" 151StringProperty = "A", 174StringProperty = null, 197StringProperty = "A", 202StringProperty = "C", 291StringProperty = "A", 296StringProperty = "C",
IntegrationTests\SimpleObjectIntegrationTest.cs (2)
35StringProperty = "A", 55StringProperty = null,
JsonPatchDocumentTest.cs (4)
58StringProperty = "A", 116StringProperty = "A", 143StringProperty = "A", 210StringProperty = "some test data"
15 references to StringProperty
Microsoft.AspNetCore.JsonPatch.SystemTextJson.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)
112patchDocument.Add(o => o.SimpleObject.StringProperty, "B"); 118Assert.Equal("B", targetObject.SimpleObject.StringProperty); 134patchDocument.Remove(o => o.SimpleObject.StringProperty); 140Assert.Null(targetObject.SimpleObject.StringProperty); 157patchDocument.Copy(o => o.SimpleObject.StringProperty, o => o.SimpleObject.AnotherStringProperty); 180patchDocument.Copy(o => o.SimpleObject.StringProperty, o => o.SimpleObject.AnotherStringProperty); 214Assert.Equal("C", targetObject.SimpleObject.StringProperty); 216Assert.Equal("C", targetObject.InheritedObject.StringProperty); 218Assert.NotSame(targetObject.SimpleObject.StringProperty, targetObject.InheritedObject.StringProperty); 312Assert.Equal("C", targetObject.SimpleObject.StringProperty);
JsonPatchDocumentTest.cs (2)
121patchDocTyped.Copy(o => o.StringProperty, o => o.AnotherStringProperty); 151patchDocument.Replace(o => o.StringProperty, "B");