2 writes to _sortedValues
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\PrefixContainer.cs (2)
32
_sortedValues
= Array.Empty<string>();
36
_sortedValues
= new string[_originalValues.Count];
6 references to _sortedValues
Microsoft.AspNetCore.Mvc.Core (6)
ModelBinding\PrefixContainer.cs (6)
37
_originalValues.CopyTo(
_sortedValues
, 0);
38
Array.Sort(
_sortedValues
, StringComparer.OrdinalIgnoreCase);
51
if (
_sortedValues
.Length == 0)
187
var end =
_sortedValues
.Length - 1;
192
var candidate =
_sortedValues
[pivot];
249
var candidate =
_sortedValues
[start];