1 write to _sortedKeys
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\PrefixResolver.cs (1)
17_sortedKeys = ArrayPool<FormKey>.Shared.Rent(count);
7 references to _sortedKeys
Microsoft.AspNetCore.Components.Endpoints (7)
FormMapping\PrefixResolver.cs (7)
13public bool HasValues => _length > 0 && _sortedKeys != null; 22_sortedKeys[i++] = key; 25Array.Sort(_sortedKeys, 0, count, FormKeyComparer.SortCriteria); 32return _length > 0 && !(_length == 1 && _sortedKeys[0].Value.Length == 0); 34return Array.BinarySearch(_sortedKeys, 0, _length, new FormKey(currentPrefixBuffer), FormKeyComparer.PrefixCriteria) >= 0; 39if (_sortedKeys != null) 41ArrayPool<FormKey>.Shared.Return(_sortedKeys);