12 references to Count
Aspire.Dashboard (1)
Model\ResourceOutgoingPeerResolver.cs (1)
159
if (s.AsSpan().
Count
(',') == 1)
PresentationCore (1)
System\Windows\TextDecorationCollectionConverter.cs (1)
91
TextDecorationCollection textDecorations = new(1 + decorationsSpan.
Count
(','));
PresentationFramework (1)
Microsoft\Win32\FileDialog.cs (1)
323
int formatsCount = updatedFilter.AsSpan().
Count
('|');
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\Tensor.cs (3)
1425
if (lengths.
Count
(-1) > 1)
1497
if (lengths.
Count
(-1) > 1)
1574
if (lengths.
Count
(-1) > 1)
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (2)
5367
Count
((ReadOnlySpan<T>)span, value);
5516
return
Count
(span, value[0]);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\TeddyBucketizer.cs (1)
119
string[] strings = buckets[bucketIndex] = new string[bucketIndexes.
Count
(bucketIndex)];
System.Reflection.Metadata (1)
System\Reflection\Metadata\Internal\NamespaceCache.cs (1)
211
int numberOfSegments = fullName.AsSpan().
Count
('.');
System.Text.Json (1)
System\Text\Json\Reader\JsonReaderHelper.cs (1)
35
newLines += data.
Count
(JsonConstants.LineFeed);
System.Windows.Forms (1)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
202
int pipeCount = value.AsSpan().
Count
('|');