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