1 write to _sortedValues
System.Web (1)
ModelBinding\PrefixContainer.cs (1)
20
_sortedValues
= values.Where(val => val != null).ToArray();
3 references to _sortedValues
System.Web (3)
ModelBinding\PrefixContainer.cs (3)
21
Array.Sort(
_sortedValues
, StringComparer.OrdinalIgnoreCase);
30
return
_sortedValues
.Length > 0; // only match empty string when we have some value
33
return Array.BinarySearch(
_sortedValues
, prefix, new PrefixComparer(prefix)) > -1;