1 write to _length
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\PrefixResolver.cs (1)
18
_length
= count;
4 references to _length
Microsoft.AspNetCore.Components.Endpoints (4)
FormMapping\PrefixResolver.cs (4)
13
public bool HasValues =>
_length
> 0 && _sortedKeys != null;
32
return
_length
> 0 && !(
_length
== 1 && _sortedKeys[0].Value.Length == 0);
34
return Array.BinarySearch(_sortedKeys, 0,
_length
, new FormKey(currentPrefixBuffer), FormKeyComparer.PrefixCriteria) >= 0;