Implemented interface members:
36 references to Count
Microsoft.AspNetCore.Identity.FunctionalTests (2)
MapIdentityApiTests.cs (2)
1363Assert.Equal(2, confirmationMatch.Groups.Count); 1375Assert.Equal(2, confirmationMatch.Groups.Count);
Microsoft.AspNetCore.Rewrite (1)
BackReferenceCollection.cs (1)
16for (var i = 0; i < references.Count; i++)
Microsoft.Build (4)
BuildCheck\Infrastructure\EditorConfig\EditorConfigFile.cs (2)
94if (sectionMatches.Count > 0 && sectionMatches[0].Groups.Count > 0) 107if (propMatches.Count > 0 && propMatches[0].Groups.Count > 1)
BuildCheck\Infrastructure\EditorConfig\EditorConfigGlobsMatcher.cs (1)
51Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length);
Evaluation\IntrinsicFunctions.cs (1)
284if (m.Success && m.Groups.Count >= 1 && valueName.Equals("InstallRoot", StringComparison.OrdinalIgnoreCase))
Microsoft.CodeAnalysis (3)
CommandLine\AnalyzerConfig.cs (2)
222if (sectionMatches.Count > 0 && sectionMatches[0].Groups.Count > 0) 236if (propMatches.Count > 0 && propMatches[0].Groups.Count > 1)
CommandLine\AnalyzerConfig.SectionNameMatching.cs (1)
49Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length);
Microsoft.CodeAnalysis.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 84if (propMatches is [{ Groups.Count: > 1 }, ..])
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
138if (singleMatch.Groups.Count == 2) 182if (singleMatch.Groups.Count == 2) 225if (singleMatch.Groups.Count == 2) 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length);
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticDescription.cs (1)
476var fmtSpecifier = match.Groups.Count > 1 && match.Groups[1].Success ? match.Groups[1].Value : "";
Microsoft.CodeAnalysis.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 84if (propMatches is [{ Groups.Count: > 1 }, ..])
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
138if (singleMatch.Groups.Count == 2) 182if (singleMatch.Groups.Count == 2) 225if (singleMatch.Groups.Count == 2) 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length);
Microsoft.DotNet.Build.Tasks.Installers (1)
src\GenerateCurrentVersion.cs (1)
100if (match.Success && match.Groups.Count > 2)
Microsoft.DotNet.Helix.JobSender (1)
JobDefinition.cs (1)
284if (queueInfoSplit.Success && queueInfoSplit.Groups.Count == 3)
System.Text.RegularExpressions (11)
System\Text\RegularExpressions\GroupCollection.cs (9)
101for (int i = arrayIndex, j = 0; j < Count; i++, j++) 117if (array.Length - arrayIndex < Count) 122for (int i = arrayIndex, j = 0; j < Count; i++, j++) 130for (int i = 0; i < Count; i++) 216for (int i = 0; i < Count; ++i) 227for (int i = 0; i < Count; ++i) 249int size = _collection.Count; 264if (_index < 0 || _index >= _collection.Count) 277if ((uint)_index >= _collection.Count)
System\Text\RegularExpressions\Regex.Split.cs (2)
99for (int i = 1; i < match.Groups.Count; i++) 127for (int i = 1; i < match.Groups.Count; i++)