1 write to Index
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Internal\ListAdapter.cs (1)
264
Index
= index;
6 references to Index
Microsoft.AspNetCore.JsonPatch.SystemTextJson (6)
Internal\ListAdapter.cs (6)
39
GenericListOrJsonArrayUtilities.InsertElementAt(target, positionInfo.
Index
, convertedValue);
62
var valueIndex = positionInfo.Type == PositionType.EndOfList ? targetCollectionCount - 1 : positionInfo.
Index
;
82
var indexToRemove = positionInfo.Type == PositionType.EndOfList ? count - 1 : positionInfo.
Index
;
107
var indexToAddTo = positionInfo.Type == PositionType.EndOfList ? count - 1 : positionInfo.
Index
;
134
var currentValue = GenericListOrJsonArrayUtilities.GetElementAt(target, positionInfo.
Index
);
138
errorMessage = Resources.FormatValueAtListPositionNotEqualToTestValue(currentValue, value, positionInfo.
Index
);