5 writes to op
Microsoft.AspNetCore.JsonPatch (3)
JsonPatchDocument.cs (1)
210
untypedOp.
op
= op.op;
JsonPatchDocumentOfT.cs (1)
646
op
= op.op,
Operations\OperationBase.cs (1)
58
this.
op
= op;
Microsoft.AspNetCore.JsonPatch.Tests (2)
OperationBaseTests.cs (2)
21
operationBase.
op
= op;
35
operationBase.
op
= op;
11 references to op
Microsoft.AspNetCore.JsonPatch (6)
Adapters\ObjectAdapter.cs (2)
274
errorMessage ?? Resources.FormatCannotPerformOperation(operation.
op
, path));
282
errorMessage ?? Resources.FormatTargetLocationNotFound(operation.
op
, path));
JsonPatchDocument.cs (1)
210
untypedOp.op = op.
op
;
JsonPatchDocumentOfT.cs (1)
646
op = op.
op
,
Operations\OperationBase.cs (1)
27
[JsonProperty(nameof(
op
))]
Operations\OperationOfT.cs (1)
67
Resources.FormatInvalidJsonPatchOperation(
op
), innerException: null);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (5)
NewtonsoftJsonPatchInputFormatterTest.cs (5)
51
Assert.Equal("add", patchDocument.Operations[0].
op
);
91
Assert.Equal("add", patchDocument.Operations[0].
op
);
121
Assert.Equal("add", patchDocument.Operations[0].
op
);
145
Assert.Equal("add", patchDocument.Operations[0].
op
);
148
Assert.Equal("remove", patchDocument.Operations[1].
op
);