1 write to Index
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Internal\ListAdapter.cs (1)
263
Index
= index;
6 references to Index
Microsoft.AspNetCore.JsonPatch.SystemTextJson (6)
Internal\ListAdapter.cs (6)
38
GenericListOrJsonArrayUtilities.InsertElementAt(target, positionInfo.
Index
, convertedValue);
61
var valueIndex = positionInfo.Type == PositionType.EndOfList ? targetCollectionCount - 1 : positionInfo.
Index
;
81
var indexToRemove = positionInfo.Type == PositionType.EndOfList ? count - 1 : positionInfo.
Index
;
106
var indexToAddTo = positionInfo.Type == PositionType.EndOfList ? count - 1 : positionInfo.
Index
;
133
var currentValue = GenericListOrJsonArrayUtilities.GetElementAt(target, positionInfo.
Index
);
137
errorMessage = Resources.FormatValueAtListPositionNotEqualToTestValue(currentValue, value, positionInfo.
Index
);