2 writes to ShapeProperty
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (2)
TestObjectModels\HeterogenousCollection.cs (2)
52property.Set = (obj, value) => ((Rectangle)obj).ShapeProperty = (string)value; 103rectangle.ShapeProperty = reader.GetString();
6 references to ShapeProperty
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (6)
IntegrationTests\HeterogenousCollectionTests.cs (1)
47Assert.Equal("Shape property", circle.ShapeProperty);
TestObjectModels\HeterogenousCollection.cs (5)
49if (nameof(Rectangle.ShapeProperty).Equals(property.Name, stringComparison)) 51property.Get = (obj) => ((Rectangle)obj).ShapeProperty; 102case nameof(Rectangle.ShapeProperty): 120writer.WriteString(nameof(Rectangle.ShapeProperty), value.ShapeProperty);