1482 references to StartsWith
Analyzer.Utilities.UnitTests (5)
AnalyzerRunner (2)
aspire (5)
Aspire.Dashboard (5)
Aspire.Hosting (1)
Aspire.Hosting.Analyzers (1)
Aspire.Hosting.Testing (2)
Aspire.Hosting.Tests (1)
Aspire.Microsoft.Data.SqlClient (1)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
BoundTreeGenerator (6)
BuildBoss (5)
BuildValidator (1)
ClientSample (5)
ConfigurationSchemaGenerator (6)
Crossgen2Tasks (2)
CSharpErrorFactsGenerator (4)
CSharpSyntaxGenerator (4)
CustomPolicyProvider (1)
DemoConsole (1)
Diagnostics.EFCore.FunctionalTests (2)
dotnet-dev-certs (6)
dotnet-getdocument (5)
dotnet-openapi (6)
dotnet-sql-cache (5)
dotnet-svcutil.xmlserializer (1)
dotnet-svcutil-lib (56)
dotnet-user-jwts (5)
dotnet-user-secrets (5)
GenerateDocumentationAndConfigFiles (24)
GenerateRulesMissingDocumentation (1)
GetDocument.Insider (5)
IIS.FunctionalTests (4)
IIS.LongTests (2)
IIS.NewHandler.FunctionalTests (2)
IIS.NewShim.FunctionalTests (2)
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (5)
illink (4)
InMemory.FunctionalTests (4)
InProcessWebSite (2)
InteractiveHost.UnitTests (3)
InteractiveHostDesktopTests.cs (3)
207Assert.True(errorOut.StartsWith(file + "(1,3):", StringComparison.Ordinal), "Error output should start with file name, line and column");
263Assert.True(errorOut.StartsWith(typeof(Process).Assembly.Location + "(1,3):", StringComparison.Ordinal), "Error output should start with file name, line and column");
276Assert.True(errorOut.StartsWith(file.Path + "(1,7):", StringComparison.Ordinal), "Error output should start with file name, line and column");
Interop.FunctionalTests (6)
IOperationGenerator (1)
Metrics (19)
Metrics.Legacy (19)
Microsoft.Analyzers.Local (2)
Microsoft.AspNetCore.Analyzers (2)
Microsoft.AspNetCore.Analyzers.Test (4)
Microsoft.AspNetCore.Antiforgery (3)
Microsoft.AspNetCore.App.Analyzers (6)
Microsoft.AspNetCore.App.Analyzers.Test (2)
Microsoft.AspNetCore.App.UnitTests (2)
Microsoft.AspNetCore.Authentication.BearerToken (1)
Microsoft.AspNetCore.Authentication.Cookies (2)
Microsoft.AspNetCore.Authentication.JwtBearer (2)
Microsoft.AspNetCore.Authentication.Negotiate (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (4)
Microsoft.AspNetCore.Authentication.Test (10)
Microsoft.AspNetCore.Authentication.WsFederation (2)
Microsoft.AspNetCore.Components (5)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Components.Tests (1)
Microsoft.AspNetCore.Components.Web (2)
Microsoft.AspNetCore.Components.WebAssembly.Server (6)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.Components.WebView.Maui (2)
Microsoft.AspNetCore.Components.WebView.Test (1)
Microsoft.AspNetCore.Components.WebView.WindowsForms (2)
Microsoft.AspNetCore.Components.WebView.Wpf (2)
Microsoft.AspNetCore.Components.WebViewE2E.Test (2)
Microsoft.AspNetCore.CookiePolicy.Test (2)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
Microsoft.AspNetCore.Diagnostics (1)
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Microsoft.AspNetCore.Hosting (1)
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
Microsoft.AspNetCore.Hosting.Tests (10)
HostingApplicationDiagnosticsTests.cs (10)
611eventsFired |= pair.Key.StartsWith("Microsoft.AspNetCore.Hosting.HttpRequestIn", StringComparison.Ordinal);
645eventsFired |= pair.Key.StartsWith("Microsoft.AspNetCore.Hosting.HttpRequestIn", StringComparison.Ordinal);
775if (s.StartsWith("Microsoft.AspNetCore.Hosting.HttpRequestIn", StringComparison.Ordinal))
797if (s.StartsWith("Microsoft.AspNetCore.Hosting.HttpRequestIn", StringComparison.Ordinal))
828if (s.StartsWith("Microsoft.AspNetCore.Hosting.HttpRequestIn", StringComparison.Ordinal))
857if (s.StartsWith("Microsoft.AspNetCore.Hosting.HttpRequestIn", StringComparison.Ordinal))
887if (s.StartsWith("Microsoft.AspNetCore.Hosting.HttpRequestIn", StringComparison.Ordinal))
918if (s.StartsWith("Microsoft.AspNetCore.Hosting.HttpRequestIn", StringComparison.Ordinal))
955if (s.StartsWith("Microsoft.AspNetCore.Hosting.HttpRequestIn", StringComparison.Ordinal))
984if (s.StartsWith("Microsoft.AspNetCore.Hosting.HttpRequestIn", StringComparison.Ordinal))
Microsoft.AspNetCore.Http (6)
Microsoft.AspNetCore.Http.Abstractions (3)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
Microsoft.AspNetCore.Http.Tests (6)
ResponseCookiesTest.cs (6)
140Assert.Single(deletedCookies, cookie => cookie.StartsWith("key1", StringComparison.InvariantCulture) && cookie.Contains("path=/path1/"));
141Assert.Single(deletedCookies, cookie => cookie.StartsWith("key1", StringComparison.InvariantCulture) && cookie.Contains("path=/path2/"));
142Assert.Single(deletedCookies, cookie => cookie.StartsWith("key2", StringComparison.InvariantCulture) && cookie.Contains("path=/path1/") && cookie.Contains("domain=localhost"));
143Assert.Single(deletedCookies, cookie => cookie.StartsWith("key2", StringComparison.InvariantCulture) && cookie.Contains("path=/path2/") && cookie.Contains("domain=localhost"));
170Assert.Single(deletedCookies, cookie => cookie.StartsWith("key1", StringComparison.InvariantCulture) && cookie.Contains("path=/path1/"));
171Assert.Single(deletedCookies, cookie => cookie.StartsWith("key2", StringComparison.InvariantCulture) && cookie.Contains("path=/path1/") && cookie.Contains("domain=localhost"));
Microsoft.AspNetCore.HttpLogging.Tests (1)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (5)
Microsoft.AspNetCore.Identity.InMemory.Test (5)
Microsoft.AspNetCore.Identity.Test (4)
Microsoft.AspNetCore.Identity.UI (1)
Microsoft.AspNetCore.InternalTesting (8)
Microsoft.AspNetCore.InternalTesting.Tests (7)
Microsoft.AspNetCore.JsonPatch (1)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Microsoft.AspNetCore.Mvc.Abstractions (1)
Microsoft.AspNetCore.Mvc.Analyzers (1)
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
Microsoft.AspNetCore.Mvc.Core (10)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Microsoft.AspNetCore.Mvc.Razor (2)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (3)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (3)
Microsoft.AspNetCore.Mvc.RazorPages (6)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (9)
Microsoft.AspNetCore.OpenApi (3)
Microsoft.AspNetCore.OpenApi.SourceGenerators (4)
Microsoft.AspNetCore.OpenApi.Tests (2)
Microsoft.AspNetCore.Rewrite (2)
Microsoft.AspNetCore.Routing (4)
Microsoft.AspNetCore.Server.HttpSys (2)
Microsoft.AspNetCore.Server.IIS (2)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (4)
Microsoft.AspNetCore.Server.Kestrel.Tests (3)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
Microsoft.AspNetCore.Shared.Tests (5)
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (1)
Microsoft.Build.Framework (10)
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
Microsoft.Cci.Extensions (1)
Microsoft.CodeAnalysis (20)
Microsoft.CodeAnalysis.Analyzers (38)
Microsoft.CodeAnalysis.AnalyzerUtilities (21)
Microsoft.CodeAnalysis.BannedApiAnalyzers (18)
Microsoft.CodeAnalysis.CodeStyle (14)
Microsoft.CodeAnalysis.CSharp (15)
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (5)
Microsoft.CodeAnalysis.CSharp.Features (2)
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (23)
Symbols\Metadata\PE\TypeForwarders.cs (18)
1092!ns.StartsWith("System", StringComparison.Ordinal) &&
1093!ns.StartsWith("Windows", StringComparison.Ordinal) &&
1094!ns.StartsWith("FxResources", StringComparison.Ordinal) &&
1095!ns.StartsWith("Microsoft", StringComparison.Ordinal) &&
1096!ns.StartsWith("<CppImplementationDetails>", StringComparison.Ordinal) &&
1097!ns.StartsWith("<CrtImplementationDetails>", StringComparison.Ordinal));
1156!ns.StartsWith("System", StringComparison.Ordinal) &&
1157!ns.StartsWith("Windows", StringComparison.Ordinal) &&
1158!ns.StartsWith("FxResources", StringComparison.Ordinal) &&
1159!ns.StartsWith("Microsoft", StringComparison.Ordinal) &&
1160!ns.StartsWith("<CppImplementationDetails>", StringComparison.Ordinal) &&
1161!ns.StartsWith("<CrtImplementationDetails>", StringComparison.Ordinal));
1220!ns.StartsWith("System", StringComparison.Ordinal) &&
1221!ns.StartsWith("Windows", StringComparison.Ordinal) &&
1222!ns.StartsWith("FxResources", StringComparison.Ordinal) &&
1223!ns.StartsWith("Microsoft", StringComparison.Ordinal) &&
1224!ns.StartsWith("<CppImplementationDetails>", StringComparison.Ordinal) &&
1225!ns.StartsWith("<CrtImplementationDetails>", StringComparison.Ordinal));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (5)
Microsoft.CodeAnalysis.CSharp.Workspaces (11)
Microsoft.CodeAnalysis.EditorFeatures (9)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (5)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (2)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (2)
Microsoft.CodeAnalysis.Features (18)
Microsoft.CodeAnalysis.InteractiveHost (1)
Microsoft.CodeAnalysis.LanguageServer (5)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (17)
Microsoft.CodeAnalysis.PublicApiAnalyzers (20)
Microsoft.CodeAnalysis.Remote.Workspaces (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (17)
Microsoft.CodeAnalysis.ResxSourceGenerator.UnitTests (4)
Microsoft.CodeAnalysis.Scripting (5)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (9)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (13)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
Microsoft.CSharp (6)
Microsoft.Data.Analysis (2)
Microsoft.Data.Analysis.Tests (2)
Microsoft.DotNet.Arcade.Sdk (4)
Microsoft.DotNet.ArcadeLogging (1)
Microsoft.DotNet.Build.Manifest (1)
Microsoft.DotNet.Build.Tasks.Feed (6)
Microsoft.DotNet.Build.Tasks.Installers (3)
Microsoft.DotNet.Build.Tasks.Packaging (4)
Microsoft.DotNet.Build.Tasks.VisualStudio (4)
Microsoft.DotNet.Build.Tasks.Workloads (1)
Microsoft.DotNet.RemoteExecutor (2)
Microsoft.DotNet.SignTool (3)
Microsoft.DotNet.SourceBuild.Tasks (3)
Microsoft.DotNet.XUnitExtensions (2)
Microsoft.DotNet.XUnitV3Extensions (2)
Microsoft.Extensions.AI.Abstractions (2)
Microsoft.Extensions.AI.OpenAI (2)
Microsoft.Extensions.Configuration (1)
Microsoft.Extensions.Configuration.EnvironmentVariables (12)
EnvironmentVariablesConfigurationProvider.cs (12)
84if (key.StartsWith(MySqlServerPrefix, StringComparison.OrdinalIgnoreCase))
88else if (key.StartsWith(SqlAzureServerPrefix, StringComparison.OrdinalIgnoreCase))
92else if (key.StartsWith(SqlServerPrefix, StringComparison.OrdinalIgnoreCase))
96else if (key.StartsWith(PostgreSqlServerPrefix, StringComparison.OrdinalIgnoreCase))
100else if (key.StartsWith(ApiHubPrefix, StringComparison.OrdinalIgnoreCase))
104else if (key.StartsWith(DocDbPrefix, StringComparison.OrdinalIgnoreCase))
108else if (key.StartsWith(EventHubPrefix, StringComparison.OrdinalIgnoreCase))
112else if (key.StartsWith(NotificationHubPrefix, StringComparison.OrdinalIgnoreCase))
116else if (key.StartsWith(RedisCachePrefix, StringComparison.OrdinalIgnoreCase))
120else if (key.StartsWith(ServiceBusPrefix, StringComparison.OrdinalIgnoreCase))
124else if (key.StartsWith(CustomConnectionStringPrefix, StringComparison.OrdinalIgnoreCase))
156if (normalizedKey.StartsWith(_normalizedPrefix, StringComparison.OrdinalIgnoreCase))
Microsoft.Extensions.Configuration.KeyPerFile (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Microsoft.Extensions.FileProviders.Embedded (2)
Microsoft.Extensions.FileProviders.Physical (2)
Microsoft.Extensions.FileSystemGlobbing (2)
Microsoft.Extensions.Http.Diagnostics (2)
Microsoft.Extensions.Localization (1)
Microsoft.Extensions.Logging.Generators (7)
Microsoft.Extensions.Options.SourceGeneration (1)
Microsoft.Extensions.Validation.Tests (1)
Microsoft.Extensions.Validation.ValidationsGenerator (2)
Microsoft.Gen.ComplianceReports (1)
Microsoft.Gen.Logging (6)
Microsoft.Gen.MetadataExtractor (1)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.JavaScript.JSImportGenerator (5)
Microsoft.Maui.Controls (42)
VisualElement\VisualElement.cs (10)
231 if (transformName.StartsWith("translateX", StringComparison.OrdinalIgnoreCase) && double.TryParse(value, out translationX))
233 else if (transformName.StartsWith("translateY", StringComparison.OrdinalIgnoreCase) && double.TryParse(value, out translationY))
235 else if (transformName.StartsWith("translate", StringComparison.OrdinalIgnoreCase))
244 else if (transformName.StartsWith("scaleX", StringComparison.OrdinalIgnoreCase) && double.TryParse(value, out scaleX))
246 else if (transformName.StartsWith("scaleY", StringComparison.OrdinalIgnoreCase) && double.TryParse(value, out scaleY))
248 else if (transformName.StartsWith("scale", StringComparison.OrdinalIgnoreCase))
257 else if (transformName.StartsWith("rotateX", StringComparison.OrdinalIgnoreCase) && double.TryParse(value, out rotateX))
259 else if (transformName.StartsWith("rotateY", StringComparison.OrdinalIgnoreCase) && double.TryParse(value, out rotateY))
261 else if (transformName.StartsWith("rotate", StringComparison.OrdinalIgnoreCase) && double.TryParse(value, out rotate))
1558 else if (value.Key.StartsWith(Style.StyleClassPrefix, StringComparison.Ordinal))
Microsoft.Maui.Controls.Build.Tasks (24)
TypeReferenceExtensions.cs (11)
37 if ((xasm.StartsWith("System.Runtime", StringComparison.Ordinal)
38 || xasm.StartsWith("System", StringComparison.Ordinal)
39 || xasm.StartsWith("mscorlib", StringComparison.Ordinal)
40 || xasm.StartsWith("netstandard", StringComparison.Ordinal)
41 || xasm.StartsWith("System.Xml", StringComparison.Ordinal))
42 && (yasm.StartsWith("System.Runtime", StringComparison.Ordinal)
43 || yasm.StartsWith("System", StringComparison.Ordinal)
44 || yasm.StartsWith("mscorlib", StringComparison.Ordinal)
45 || yasm.StartsWith("netstandard", StringComparison.Ordinal)
46 || yasm.StartsWith("System.Xml", StringComparison.Ordinal)))
157 tr.InterfaceType.FullName.StartsWith(@interface, StringComparison.Ordinal) &&
Microsoft.Maui.Controls.SourceGen (8)
Microsoft.Maui.Controls.Xaml (13)
Microsoft.Maui.Graphics (2)
Microsoft.Maui.Graphics.Text.Markdig (1)
Microsoft.Maui.Resizetizer (1)
Microsoft.ML.Core (4)
Microsoft.ML.CpuMath.UnitTests (1)
Microsoft.ML.Data (1)
Microsoft.ML.InternalCodeAnalyzer (2)
Microsoft.ML.Samples (2)
Microsoft.ML.Tokenizers (4)
Microsoft.ML.Tokenizers.Tests (1)
Microsoft.VisualBasic.Core (4)
Microsoft.VisualStudio.LanguageServices (8)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Microsoft.Web.Xdt.Extensions (1)
Mvc.Analyzers.Test (4)
MyFrontend (1)
PresentationBuildTasks (13)
PresentationCore (7)
PresentationFramework (23)
ReachFramework (3)
Replay (5)
Roslyn.Diagnostics.Analyzers (18)
Roslyn.Diagnostics.CSharp.Analyzers (10)
Roslyn.VisualStudio.Next.UnitTests (2)
SignalR.Client.FunctionalTestApp (5)
Sockets.BindTests (1)
StaticFilesAuth (1)
Swaggatherer (5)
System.ComponentModel.Annotations (3)
System.ComponentModel.TypeConverter (4)
System.Configuration.ConfigurationManager (2)
System.Console (2)
System.Data.Common (27)
System.Data.Odbc (7)
System.Diagnostics.DiagnosticSource (1)
System.Diagnostics.Process (2)
System.Drawing.Common (1)
System.Drawing.Common.Tests (2)
System.Formats.Tar (2)
System.IO.Compression.ZipFile (1)
System.IO.Packaging (6)
System.IO.Ports (9)
System.Net.Http (6)
System.Net.HttpListener (6)
System.Net.NetworkInformation (2)
System.Net.Primitives (1)
System.Net.Requests (2)
System.Net.Security (3)
System.Net.WebClient (1)
System.Private.CoreLib (18)
System.Private.CoreLib.Generators (1)
System.Private.DataContractSerialization (5)
System.Private.Uri (2)
System.Private.Xml (32)
System.Reflection.Context (2)
System.Reflection.Metadata (2)
System.Reflection.MetadataLoadContext (2)
System.Resources.Extensions (1)
System.Resources.Writer (1)
System.Runtime.Serialization.Schema (2)
System.Security.Cryptography.Xml (2)
System.ServiceModel.Http (3)
System.ServiceModel.Primitives (13)
System.Text.Encoding.CodePages (1)
System.Text.Json (2)
System.Windows.Forms (3)
System.Windows.Forms.Analyzers.Tests (1)
System.Windows.Forms.Design (19)
System.Windows.Forms.Design.Tests (1)
System.Windows.Forms.Primitives.TestUtilities (2)
System.Windows.Forms.Tests (5)
System.Xaml (3)
Templates.Blazor.Tests (7)
Templates.Blazor.WebAssembly.Auth.Tests (12)
Templates.Blazor.WebAssembly.Tests (12)
Templates.Mvc.Tests (12)
Templates.Tests (15)
Test.Utilities (17)
TestContentPackage (1)
TestProject.AppHost (1)
Text.Analyzers (17)
UIAutomationClient (1)
UIAutomationClientSideProviders (2)
VBCSCompiler (1)
Wasm.Performance.ConsoleHost (5)
xunit.assert (1)
xunit.console (10)