Implemented interface members:
80 references to Count
Aspire.EndToEnd.Tests (2)
tests\Shared\TemplatesTesting\AspireProject.cs (2)
133if (matches.Count == 0) 137if (matches.Count > 1)
Aspire.Templates.Tests (2)
tests\Shared\TemplatesTesting\AspireProject.cs (2)
133if (matches.Count == 0) 137if (matches.Count > 1)
GenerateDocumentationAndConfigFiles (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)
Metrics (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)
Metrics.Legacy (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
EndpointHtmlRendererTest.cs (1)
1311var numMarkers = Regex.Matches(content, MarkerPrefix).Count;
Microsoft.CodeAnalysis (2)
CommandLine\AnalyzerConfig.cs (2)
222if (sectionMatches.Count > 0 && sectionMatches[0].Groups.Count > 0) 236if (propMatches.Count > 0 && propMatches[0].Groups.Count > 1)
Microsoft.CodeAnalysis.Analyzers (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)
Microsoft.CodeAnalysis.BannedApiAnalyzers (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)
Microsoft.CodeAnalysis.Features.Test.Utilities (3)
EditAndContinue\SourceMarkers.cs (3)
95if (matches.Count == 0) 102for (var i = 0; i < matches.Count; i++) 123for (var i = 0; i < matches.Count; i++)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)
Microsoft.CodeAnalysis.PublicApiAnalyzers (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
AbstractResxGenerator.cs (1)
861UsingNamedArgs = match.Count > 0;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticDescription.cs (1)
468if (Regex.Matches(messageFormat, @"\{\d+(:\d+)?\}") is { Count: > 0 } matches)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
CodeGen\CodeGenVBCore.vb (1)
3209Dim captures = matches(matches.Count - 1).Groups(1).Captures
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)
Microsoft.DotNet.Arcade.Sdk (1)
src\GenerateResxSource.cs (1)
499UsingNamedArgs = match.Count > 0;
Microsoft.DotNet.Build.Tasks.Feed (1)
src\common\AzureConnectionStringBuildTask.cs (1)
42if (matches.Count > 0)
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIAssistantChatClientIntegrationTests.cs (1)
70if (matches.Count == 0)
Microsoft.Maui.Controls (4)
ShadowTypeConverter.cs (3)
82 if (matches.Count == 3) // <color> | <float> | <float> e.g. #000000 4 4 94 else if (matches.Count == 4) // <float> | <float> | <float> | <color> e.g. 4 4 16 #000000 108 else if (matches.Count == 5) // <float> | <float> | <float> | <color> | <float> e.g. 4 4 16 #000000 0.5
WebView\WebView.cs (1)
306 for (var i = 0; i < singleQuotes.Count; i++)
Microsoft.ML.TestFramework (4)
BaseTestBaseline.cs (4)
579if (firstCollection.Count == secondCollection.Count) 597for (int i = 0; i < firstCollection.Count; i++) 610for (int i = 0; i < firstCollection.Count; i++)
Roslyn.Diagnostics.Analyzers (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)
Test.Utilities (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)
Text.Analyzers (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (4)
135if (matchCollection.Count == 1) 142if (fileExtensionMatches.Count == 2) 179if (matchCollection.Count == 1) 222if (matchCollection.Count == 1)