4681 references to OrdinalIgnoreCase
aspire (34)
Packaging\NuGetConfigMerger.cs (7)
144!string.Equals(sourceKey, newSource, StringComparison.OrdinalIgnoreCase))
174.FirstOrDefault(ps => string.Equals((string?)ps.Attribute("key"), newSource, StringComparison.OrdinalIgnoreCase));
189.FirstOrDefault(p => string.Equals((string?)p.Attribute("pattern"), pattern, StringComparison.OrdinalIgnoreCase));
217.FirstOrDefault(add => string.Equals((string?)add.Attribute("key"), sourceKey, StringComparison.OrdinalIgnoreCase) ||
218string.Equals((string?)add.Attribute("value"), sourceKey, StringComparison.OrdinalIgnoreCase));
338!string.Equals(sourceKey, requiredSource, StringComparison.OrdinalIgnoreCase))
361.Where(f => string.Equals(f.Name, "nuget.config", StringComparison.OrdinalIgnoreCase))
Aspire.Azure.AI.Inference (1)
Aspire.Azure.AI.OpenAI (2)
Aspire.Azure.Messaging.EventHubs (3)
Aspire.Azure.Messaging.ServiceBus (3)
Aspire.Azure.Messaging.WebPubSub (1)
Aspire.Azure.Npgsql (1)
Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL (1)
Aspire.Azure.Storage.Blobs.Tests (2)
Aspire.Azure.Storage.Queues (1)
Aspire.Azure.Storage.Queues.Tests (2)
Aspire.Cli.Tests (1)
Aspire.Confluent.Kafka (1)
Aspire.Dashboard (26)
Aspire.EndToEnd.Tests (5)
Aspire.Hosting (31)
Dashboard\DashboardLifecycleHook.cs (7)
154if (string.Equals(".dll", Path.GetExtension(assemblyPath), StringComparison.OrdinalIgnoreCase))
225if (string.Equals(".dll", Path.GetExtension(dashboardPath), StringComparison.OrdinalIgnoreCase))
327if (string.Equals(".dll", Path.GetExtension(fullyQualifiedDashboardPath), StringComparison.OrdinalIgnoreCase))
340if (fileName.EndsWith(".exe", StringComparison.OrdinalIgnoreCase))
345else if (fileName.EndsWith(".dll", StringComparison.OrdinalIgnoreCase))
485if (name.StartsWith("ASPIRE_DASHBOARD_", StringComparison.OrdinalIgnoreCase) &&
542if (string.Equals(configuration["AppHost:ResourceService:AuthMode"], nameof(ResourceServiceAuthMode.ApiKey), StringComparison.OrdinalIgnoreCase)
Aspire.Hosting.Analyzers (9)
Aspire.Hosting.Azure (9)
Aspire.Hosting.Azure.CosmosDB (1)
Aspire.Hosting.Azure.PostgreSQL (9)
Aspire.Hosting.Azure.Sql (9)
Aspire.Hosting.Azure.Storage (9)
Aspire.Hosting.Azure.Tests (10)
Aspire.Hosting.Containers.Tests (1)
Aspire.Hosting.Kubernetes (1)
Aspire.Hosting.Milvus (9)
Aspire.Hosting.MongoDB (9)
Aspire.Hosting.MySql (9)
Aspire.Hosting.Oracle (9)
Aspire.Hosting.PostgreSQL (9)
Aspire.Hosting.Qdrant (9)
Aspire.Hosting.RabbitMQ (4)
Aspire.Hosting.SqlServer (9)
Aspire.Hosting.Testing (5)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (8)
Aspire.Microsoft.Azure.Cosmos (1)
Aspire.Microsoft.Data.SqlClient (2)
Aspire.Microsoft.EntityFrameworkCore.Cosmos (1)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (2)
Aspire.Milvus.Client.Tests (1)
Aspire.OpenAI (1)
Aspire.Playground.Tests (3)
Aspire.Qdrant.Client.Tests (1)
Aspire.StackExchange.Redis (1)
Aspire.Templates.Tests (6)
Aspire.TestUtilities (1)
AutobahnTestApp (1)
blazor-devserver (2)
BoundTreeGenerator (4)
BuildBoss (2)
BuildValidator (1)
Certificate.Optional.Sample (1)
ClientSample (4)
CodeGenerator (2)
ConfigurationSchemaGenerator (4)
Crossgen2Tasks (10)
CSharpErrorFactsGenerator (4)
CustomPolicyProvider (1)
dotnet-dev-certs (6)
dotnet-getdocument (5)
dotnet-openapi (8)
dotnet-sql-cache (5)
dotnet-svcutil.xmlserializer (4)
dotnet-svcutil-lib (110)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (7)
3297if (0 == String.Compare(newEncodingName, "ucs-2", StringComparison.OrdinalIgnoreCase) ||
32980 == String.Compare(newEncodingName, "utf-16", StringComparison.OrdinalIgnoreCase) ||
32990 == String.Compare(newEncodingName, "iso-10646-ucs-2", StringComparison.OrdinalIgnoreCase) ||
33000 == String.Compare(newEncodingName, "ucs-4", StringComparison.OrdinalIgnoreCase))
33040 != String.Compare(newEncodingName, "ucs-4", StringComparison.OrdinalIgnoreCase))
3319if (0 == String.Compare(newEncodingName, "utf-8", StringComparison.OrdinalIgnoreCase))
6329if (string.Compare(target, "xml", StringComparison.OrdinalIgnoreCase) == 0)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (18)
399if (string.Compare(via.Scheme, "ws", StringComparison.OrdinalIgnoreCase) != 0)
1060if (string.Compare(name, "accept", StringComparison.OrdinalIgnoreCase) == 0)
1064else if (string.Compare(name, "connection", StringComparison.OrdinalIgnoreCase) == 0)
1066if (value.IndexOf("keep-alive", StringComparison.OrdinalIgnoreCase) != -1)
1075else if (string.Compare(name, "SOAPAction", StringComparison.OrdinalIgnoreCase) == 0)
1090else if (string.Compare(name, "content-length", StringComparison.OrdinalIgnoreCase) == 0)
1094else if (string.Compare(name, "content-type", StringComparison.OrdinalIgnoreCase) == 0)
1098else if (string.Compare(name, "expect", StringComparison.OrdinalIgnoreCase) == 0)
1100if (value.ToUpperInvariant().IndexOf("100-CONTINUE", StringComparison.OrdinalIgnoreCase) != -1)
1109else if (string.Compare(name, "host", StringComparison.OrdinalIgnoreCase) == 0)
1113else if (string.Compare(name, "referer", StringComparison.OrdinalIgnoreCase) == 0)
1119else if (string.Compare(name, "transfer-encoding", StringComparison.OrdinalIgnoreCase) == 0)
1121if (value.ToUpperInvariant().IndexOf("CHUNKED", StringComparison.OrdinalIgnoreCase) != -1)
1130else if (string.Compare(name, "user-agent", StringComparison.OrdinalIgnoreCase) == 0)
1134else if (string.Compare(name, "if-modified-since", StringComparison.OrdinalIgnoreCase) == 0)
1147else if (string.Compare(name, "date", StringComparison.OrdinalIgnoreCase) == 0)
1151else if (string.Compare(name, "proxy-connection", StringComparison.OrdinalIgnoreCase) == 0)
1155else if (string.Compare(name, "range", StringComparison.OrdinalIgnoreCase) == 0)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (9)
373if (string.Compare(typeDeclaration.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
380if (string.Compare(member.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
394if (string.Compare(codeTypeDeclaration.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
424if (String.Compare(operationContext.SyncMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
428if (String.Compare(operationContext.BeginMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
430if (String.Compare(operationContext.EndMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
435if (String.Compare(operationContext.TaskMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
445if (String.Compare(method.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
450if (String.Compare(p.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
Metadata\MetadaExchangeResolver.cs (6)
93bool isMexUri = this.EndpointAddress.Uri.AbsoluteUri.EndsWith(mexUri, StringComparison.OrdinalIgnoreCase);
371if (String.Compare(scheme, MetadataConstants.Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) == 0)
380else if (String.Compare(scheme, MetadataConstants.Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) == 0)
389else if (String.Compare(scheme, MetadataConstants.Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase) == 0)
395else if (String.Compare(scheme, MetadataConstants.Uri.UriSchemeNetPipe, StringComparison.OrdinalIgnoreCase) == 0)
455if (String.Compare(paramDecl, 0, paramName, 0, paramName.Length, StringComparison.OrdinalIgnoreCase) == 0)
Shared\ProjectDependency.cs (7)
108if (s_projectExtensions.Any((ext) => String.Compare(Path.GetExtension(AssemblyName), ext, StringComparison.OrdinalIgnoreCase) == 0))
115(s_binaryExtensions.Any((ext) => String.Compare(Path.GetExtension(filePath), ext, StringComparison.OrdinalIgnoreCase) == 0));
118if (s_exeExtensions.Any((ext) => String.Compare(Path.GetExtension(packageName), ext, StringComparison.OrdinalIgnoreCase) == 0))
133fileHasKnownExtension = s_binaryExtensions.Any((ext) => String.Compare(Path.GetExtension(filePath), ext, StringComparison.OrdinalIgnoreCase) == 0);
137fileHasKnownExtension = s_projectExtensions.Any((ext) => String.Compare(Path.GetExtension(filePath), ext, StringComparison.OrdinalIgnoreCase) == 0);
310if (s_projectExtensions.Any((ext) => String.Compare(Path.GetExtension(path), ext, StringComparison.OrdinalIgnoreCase) == 0))
315else if (s_binaryExtensions.Any((ext) => String.Compare(Path.GetExtension(path), ext, StringComparison.OrdinalIgnoreCase) == 0))
dotnet-svcutil-lib.Tests (4)
dotnet-user-jwts (7)
dotnet-user-secrets (6)
GenerateDocumentationAndConfigFiles (30)
src\RoslynAnalyzers\Microsoft.CodeAnalysis.Analyzers\Core\MetaAnalyzers\ReleaseTrackingHelper.cs (10)
71if (lineText.StartsWith(ReleasePrefix, StringComparison.OrdinalIgnoreCase))
96if (lineText.StartsWith(TableTitleNewRules, StringComparison.OrdinalIgnoreCase))
101else if (lineText.StartsWith(TableTitleRemovedRules, StringComparison.OrdinalIgnoreCase))
106else if (lineText.StartsWith(TableTitleChangedRules, StringComparison.OrdinalIgnoreCase))
161if (lineText.StartsWith("## ", StringComparison.OrdinalIgnoreCase))
165else if (lineText.StartsWith("### ", StringComparison.OrdinalIgnoreCase))
211if (string.Equals(category, oldCategory, StringComparison.OrdinalIgnoreCase) &&
290if (category.Equals(UndetectedText, StringComparison.OrdinalIgnoreCase))
304if (string.Equals(severityPart, DisabledText, StringComparison.OrdinalIgnoreCase))
308else if (severityPart.Equals(UndetectedText, StringComparison.OrdinalIgnoreCase))
GenerateRulesMissingDocumentation (1)
GetDocument.Insider (7)
http2cat (1)
Identity.ExternalClaims (1)
IIS.FunctionalTests (2)
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.NewShim.FunctionalTests (1)
IISExpress.FunctionalTests (2)
illink (6)
ILLink.RoslynAnalyzer (17)
src\libraries\Common\src\System\Reflection\AssemblyNameParser.cs (12)
200if (attributeValue.Equals("Yes", StringComparison.OrdinalIgnoreCase))
204else if (attributeValue.Equals("No", StringComparison.OrdinalIgnoreCase))
220if (attributeValue.Equals("WindowsRuntime", StringComparison.OrdinalIgnoreCase))
245=> candidate.Equals(attributeKind, StringComparison.OrdinalIgnoreCase);
292if (attributeValue.Equals("Neutral", StringComparison.OrdinalIgnoreCase))
304if (attributeValue.Equals("null", StringComparison.OrdinalIgnoreCase) || attributeValue == string.Empty)
331_ when attributeValue.Equals("msil", StringComparison.OrdinalIgnoreCase) => ProcessorArchitecture.MSIL,
332_ when attributeValue.Equals("x86", StringComparison.OrdinalIgnoreCase) => ProcessorArchitecture.X86,
333_ when attributeValue.Equals("ia64", StringComparison.OrdinalIgnoreCase) => ProcessorArchitecture.IA64,
334_ when attributeValue.Equals("amd64", StringComparison.OrdinalIgnoreCase) => ProcessorArchitecture.Amd64,
335_ when attributeValue.Equals("arm", StringComparison.OrdinalIgnoreCase) => ProcessorArchitecture.Arm,
336_ when attributeValue.Equals("msil", StringComparison.OrdinalIgnoreCase) => ProcessorArchitecture.MSIL,
ILLink.Tasks (2)
Infrastructure.Common (6)
InMemory.FunctionalTests (6)
installer.tasks (4)
InteractiveHost.UnitTests (2)
InteropWebsite (1)
Metrics (26)
Metrics.Legacy (26)
Microsoft.Analyzers.Extra (1)
Microsoft.Analyzers.Local (2)
Microsoft.AspNetCore (27)
ConfigureWebHostBuilder.cs (20)
53if (!string.Equals(previousWebRootConfig, _configuration[WebHostDefaults.WebRootKey], StringComparison.OrdinalIgnoreCase)
54&& !string.Equals(HostingPathResolver.ResolvePath(previousWebRoot, previousContentRoot), HostingPathResolver.ResolvePath(_configuration[WebHostDefaults.WebRootKey], previousContentRoot), StringComparison.OrdinalIgnoreCase))
59else if (!string.Equals(previousApplication, _configuration[WebHostDefaults.ApplicationKey], StringComparison.OrdinalIgnoreCase))
64else if (!string.Equals(previousContentRootConfig, _configuration[WebHostDefaults.ContentRootKey], StringComparison.OrdinalIgnoreCase)
65&& !string.Equals(previousContentRoot, HostingPathResolver.ResolvePath(_configuration[WebHostDefaults.ContentRootKey]), StringComparison.OrdinalIgnoreCase))
70else if (!string.Equals(previousEnvironment, _configuration[WebHostDefaults.EnvironmentKey], StringComparison.OrdinalIgnoreCase))
75else if (!string.Equals(previousHostingStartupAssemblies, _configuration[WebHostDefaults.HostingStartupAssembliesKey], StringComparison.OrdinalIgnoreCase))
80else if (!string.Equals(previousHostingStartupAssembliesExclude, _configuration[WebHostDefaults.HostingStartupExcludeAssembliesKey], StringComparison.OrdinalIgnoreCase))
125if (string.Equals(key, WebHostDefaults.WebRootKey, StringComparison.OrdinalIgnoreCase) &&
126!string.Equals(HostingPathResolver.ResolvePath(previousWebRoot, previousContentRoot), HostingPathResolver.ResolvePath(value, previousContentRoot), StringComparison.OrdinalIgnoreCase))
131else if (string.Equals(key, WebHostDefaults.ApplicationKey, StringComparison.OrdinalIgnoreCase) &&
132!string.Equals(previousApplication, value, StringComparison.OrdinalIgnoreCase))
137else if (string.Equals(key, WebHostDefaults.ContentRootKey, StringComparison.OrdinalIgnoreCase) &&
138!string.Equals(previousContentRoot, HostingPathResolver.ResolvePath(value), StringComparison.OrdinalIgnoreCase))
143else if (string.Equals(key, WebHostDefaults.EnvironmentKey, StringComparison.OrdinalIgnoreCase) &&
144!string.Equals(previousEnvironment, value, StringComparison.OrdinalIgnoreCase))
149else if (string.Equals(key, WebHostDefaults.HostingStartupAssembliesKey, StringComparison.OrdinalIgnoreCase) &&
150!string.Equals(previousHostingStartupAssemblies, value, StringComparison.OrdinalIgnoreCase))
155else if (string.Equals(key, WebHostDefaults.HostingStartupExcludeAssembliesKey, StringComparison.OrdinalIgnoreCase) &&
156!string.Equals(previousHostingStartupAssembliesExclude, value, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Analyzers (3)
Microsoft.AspNetCore.Antiforgery (5)
Microsoft.AspNetCore.App.Analyzers (11)
Microsoft.AspNetCore.App.Analyzers.Test (1)
Microsoft.AspNetCore.App.UnitTests (9)
Microsoft.AspNetCore.Authentication.Cookies (3)
Microsoft.AspNetCore.Authentication.JwtBearer (2)
Microsoft.AspNetCore.Authentication.Negotiate (1)
Microsoft.AspNetCore.Authentication.OAuth (2)
Microsoft.AspNetCore.Authentication.OpenIdConnect (9)
Microsoft.AspNetCore.Authentication.Twitter (1)
Microsoft.AspNetCore.Authentication.WsFederation (3)
Microsoft.AspNetCore.Authorization (2)
Microsoft.AspNetCore.Components (33)
Microsoft.AspNetCore.Components.Endpoints (29)
Microsoft.AspNetCore.Components.Server (2)
Microsoft.AspNetCore.Components.Tests (5)
Microsoft.AspNetCore.Components.Web (11)
HtmlRendering\StaticHtmlRenderer.HtmlWriting.cs (8)
110var isTextArea = string.Equals(frame.ElementName, "textarea", StringComparison.OrdinalIgnoreCase);
111var isForm = string.Equals(frame.ElementName, "form", StringComparison.OrdinalIgnoreCase);
119&& string.Equals(frame.ElementName, "option", StringComparison.OrdinalIgnoreCase)
130var isSelect = string.Equals(frame.ElementName, "select", StringComparison.OrdinalIgnoreCase);
143else if (string.Equals(frame.ElementNameField, "script", StringComparison.OrdinalIgnoreCase))
210if (string.Equals(enclosingElementFrame.ElementName, "form", StringComparison.OrdinalIgnoreCase))
307if (frame.AttributeName.Equals("value", StringComparison.OrdinalIgnoreCase))
317if (isForm && frame.AttributeName.Equals("action", StringComparison.OrdinalIgnoreCase) &&
Microsoft.AspNetCore.Components.WebAssembly (2)
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.CookiePolicy.Test (3)
Microsoft.AspNetCore.DataProtection (6)
Microsoft.AspNetCore.DataProtection.Extensions.Tests (6)
DataProtectionProviderTests.cs (6)
40Assert.StartsWith("key-", allFiles[0].Name, StringComparison.OrdinalIgnoreCase);
75Assert.StartsWith("key-", file.Name, StringComparison.OrdinalIgnoreCase);
109Assert.StartsWith("key-", allFiles[0].Name, StringComparison.OrdinalIgnoreCase);
155Assert.StartsWith("key-", allFiles[0].Name, StringComparison.OrdinalIgnoreCase);
235Assert.StartsWith("key-", allFiles[0].Name, StringComparison.OrdinalIgnoreCase);
306Assert.StartsWith("key-", allFiles[0].Name, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.DataProtection.Tests (4)
Microsoft.AspNetCore.Diagnostics (2)
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding (4)
Microsoft.AspNetCore.Hosting (13)
Microsoft.AspNetCore.Hosting.Abstractions (1)
Microsoft.AspNetCore.Http (17)
Internal\ResponseCookies.cs (8)
124value.StartsWith(encKeyPlusEquals, StringComparison.OrdinalIgnoreCase) &&
125value.Contains($"domain={opts.Domain}", StringComparison.OrdinalIgnoreCase) &&
126value.Contains($"path={opts.Path}", StringComparison.OrdinalIgnoreCase);
131value.StartsWith(encKeyPlusEquals, StringComparison.OrdinalIgnoreCase) &&
132value.Contains($"domain={opts.Domain}", StringComparison.OrdinalIgnoreCase);
137value.StartsWith(encKeyPlusEquals, StringComparison.OrdinalIgnoreCase) &&
138value.Contains($"path={opts.Path}", StringComparison.OrdinalIgnoreCase);
142rejectPredicate = (value, encKeyPlusEquals, opts) => value.StartsWith(encKeyPlusEquals, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Http.Abstractions (13)
Routing\RouteValueDictionary.cs (5)
631if (string.Equals(storage.Properties[i].Name, key, StringComparison.OrdinalIgnoreCase))
715if (string.Equals(array[i].Key, key, StringComparison.OrdinalIgnoreCase))
735if (string.Equals(array[i].Key, key, StringComparison.OrdinalIgnoreCase))
758if (string.Equals(array[i].Key, key, StringComparison.OrdinalIgnoreCase))
777if (string.Equals(properties[i].Name, key, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Http.Abstractions.Tests (20)
PathStringTests.cs (20)
178[InlineData("/test/path", "/TEST", StringComparison.OrdinalIgnoreCase, true)]
180[InlineData("/test/path", "/TEST/pa", StringComparison.OrdinalIgnoreCase, false)]
182[InlineData("/TEST/PATH", "/test", StringComparison.OrdinalIgnoreCase, true)]
184[InlineData("/TEST/path", "/test/pa", StringComparison.OrdinalIgnoreCase, false)]
186[InlineData("/test/PATH/path/TEST", "/TEST/path/PATH", StringComparison.OrdinalIgnoreCase, true)]
199[InlineData("/a/", "/a/", StringComparison.OrdinalIgnoreCase, true)]
201[InlineData("/a/b", "/a/", StringComparison.OrdinalIgnoreCase, false)]
203[InlineData("/a/b/", "/a/", StringComparison.OrdinalIgnoreCase, false)]
205[InlineData("/a//b", "/a/", StringComparison.OrdinalIgnoreCase, true)]
207[InlineData("/a//b/", "/a/", StringComparison.OrdinalIgnoreCase, true)]
220[InlineData("/test/path", "/TEST", StringComparison.OrdinalIgnoreCase, true)]
222[InlineData("/test/path", "/TEST/pa", StringComparison.OrdinalIgnoreCase, false)]
224[InlineData("/TEST/PATH", "/test", StringComparison.OrdinalIgnoreCase, true)]
226[InlineData("/TEST/path", "/test/pa", StringComparison.OrdinalIgnoreCase, false)]
228[InlineData("/test/PATH/path/TEST", "/TEST/path/PATH", StringComparison.OrdinalIgnoreCase, true)]
241[InlineData("/a/", "/a/", StringComparison.OrdinalIgnoreCase, true)]
243[InlineData("/a/b", "/a/", StringComparison.OrdinalIgnoreCase, false)]
245[InlineData("/a/b/", "/a/", StringComparison.OrdinalIgnoreCase, false)]
247[InlineData("/a//b", "/a/", StringComparison.OrdinalIgnoreCase, true)]
249[InlineData("/a//b/", "/a/", StringComparison.OrdinalIgnoreCase, true)]
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.AspNetCore.Http.Extensions (7)
Microsoft.AspNetCore.Http.Extensions.Tests (6)
Microsoft.AspNetCore.Http.Microbenchmarks (2)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
Microsoft.AspNetCore.HttpLogging (1)
Microsoft.AspNetCore.HttpsPolicy (2)
Microsoft.AspNetCore.Identity.FunctionalTests (3)
Microsoft.AspNetCore.Identity.InMemory.Test (1)
Microsoft.AspNetCore.Identity.Test (1)
Microsoft.AspNetCore.Identity.UI (5)
Microsoft.AspNetCore.InternalTesting (4)
Microsoft.AspNetCore.InternalTesting.Tests (1)
Microsoft.AspNetCore.JsonPatch (1)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (1)
Microsoft.AspNetCore.Localization (1)
Microsoft.AspNetCore.Mvc.Abstractions (3)
Microsoft.AspNetCore.Mvc.Analyzers (2)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (3)
Microsoft.AspNetCore.Mvc.Core (43)
src\Shared\MediaType\ReadOnlyMediaTypeHeaderValue.cs (13)
172public bool MatchesAllTypes => Type.Equals("*", StringComparison.OrdinalIgnoreCase);
210public bool MatchesAllSubTypes => SubType.Equals("*", StringComparison.OrdinalIgnoreCase);
221public bool MatchesAllSubTypesWithoutSuffix => SubTypeWithoutSuffix.Equals("*", StringComparison.OrdinalIgnoreCase);
245GetParameter("*").Equals("*", StringComparison.OrdinalIgnoreCase);
349if (charset.Equals("utf-8", StringComparison.OrdinalIgnoreCase))
372set.Type.Equals(Type, StringComparison.OrdinalIgnoreCase);
407set.SubTypeWithoutSuffix.Equals(SubTypeWithoutSuffix, StringComparison.OrdinalIgnoreCase);
414return set.SubTypeSuffix.Equals(SubTypeSuffix, StringComparison.OrdinalIgnoreCase);
419return set.SubType.Equals(SubType, StringComparison.OrdinalIgnoreCase) ||
420set.SubType.Equals(SubTypeSuffix, StringComparison.OrdinalIgnoreCase);
507if (current == input.Length && name.Equals("*", StringComparison.OrdinalIgnoreCase))
611return Name.Equals(name, StringComparison.OrdinalIgnoreCase);
616return HasName(other.Name) && Value.Equals(other.Value, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.Core.Test (19)
ControllerBaseTest.cs (7)
35!method.Name.Equals("Dispose", StringComparison.OrdinalIgnoreCase))
2722string.Equals(m.PropertyName, "Include1", StringComparison.OrdinalIgnoreCase) ||
2723string.Equals(m.PropertyName, "Include2", StringComparison.OrdinalIgnoreCase);
2755string.Equals(m.PropertyName, "Include1", StringComparison.OrdinalIgnoreCase) ||
2756string.Equals(m.PropertyName, "Include2", StringComparison.OrdinalIgnoreCase);
2904string.Equals(m.PropertyName, "Include1", StringComparison.OrdinalIgnoreCase) ||
2905string.Equals(m.PropertyName, "Include2", StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.Cors (2)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
Microsoft.AspNetCore.Mvc.Razor (3)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (17)
ChecksumValidator.cs (6)
23return checksums.Any(c => string.Equals(item.Identifier, c.Identifier, StringComparison.OrdinalIgnoreCase));
44.FirstOrDefault(c => string.Equals(item.Identifier, c.Identifier, StringComparison.OrdinalIgnoreCase));
59if (!string.Equals(sourceDocumentChecksum.algorithm, primaryChecksum.ChecksumAlgorithm, StringComparison.OrdinalIgnoreCase) ||
69if (string.Equals(item.Identifier, checksum.Identifier, StringComparison.OrdinalIgnoreCase))
83if (!string.Equals(sourceDocumentChecksum.algorithm, checksum.ChecksumAlgorithm, StringComparison.OrdinalIgnoreCase) ||
102if (nameof(SHA256).Equals(checksumAlgorithm, StringComparison.OrdinalIgnoreCase))
src\Mvc\Mvc.RazorPages\src\ApplicationModels\PageRouteModelFactory.cs (5)
65string.Equals(IndexFileName, fileName, StringComparison.OrdinalIgnoreCase))
94!relativePath.StartsWith(_normalizedAreaRootDirectory, StringComparison.OrdinalIgnoreCase)) // The path must start with area root.
110if (string.Compare(relativePath, areaEndIndex, AreaPagesRoot, 0, AreaPagesRoot.Length, StringComparison.OrdinalIgnoreCase) != 0)
129Debug.Assert(path.StartsWith(rootDirectory, StringComparison.OrdinalIgnoreCase));
130Debug.Assert(path.EndsWith(RazorViewEngine.ViewExtension, StringComparison.OrdinalIgnoreCase));
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (5)
TestInfrastructure\DirectoryNode.cs (5)
26if (!filePath.StartsWith(Path, StringComparison.OrdinalIgnoreCase))
41if (!path.StartsWith(Path, StringComparison.OrdinalIgnoreCase))
67if (!path.StartsWith(Path, StringComparison.OrdinalIgnoreCase))
87if (string.Compare(path, directoryLength, filePath, directoryLength, path.Length - directoryLength, StringComparison.OrdinalIgnoreCase) == 0)
157if (string.Compare(path, startIndex, directoryPath, startIndex, directoryPath.Length - startIndex, StringComparison.OrdinalIgnoreCase) == 0)
Microsoft.AspNetCore.Mvc.RazorPages (18)
ApplicationModels\PageConventionCollection.cs (8)
254if (pageName[0] != '/' || pageName.EndsWith(".cshtml", StringComparison.OrdinalIgnoreCase))
297if (string.Equals(_areaName, model.AreaName, StringComparison.OrdinalIgnoreCase) &&
298string.Equals(model.ViewEnginePath, _path, StringComparison.OrdinalIgnoreCase))
325if (string.Equals(_areaName, model.AreaName, StringComparison.OrdinalIgnoreCase) &&
353if (string.Equals(model.ViewEnginePath, _path, StringComparison.OrdinalIgnoreCase) &&
354string.Equals(model.AreaName, _areaName, StringComparison.OrdinalIgnoreCase))
381if (string.Equals(_areaName, model.AreaName, StringComparison.OrdinalIgnoreCase) &&
399viewEnginePath.StartsWith(folderPath, StringComparison.OrdinalIgnoreCase) &&
ApplicationModels\PageRouteModelFactory.cs (5)
65string.Equals(IndexFileName, fileName, StringComparison.OrdinalIgnoreCase))
94!relativePath.StartsWith(_normalizedAreaRootDirectory, StringComparison.OrdinalIgnoreCase)) // The path must start with area root.
110if (string.Compare(relativePath, areaEndIndex, AreaPagesRoot, 0, AreaPagesRoot.Length, StringComparison.OrdinalIgnoreCase) != 0)
129Debug.Assert(path.StartsWith(rootDirectory, StringComparison.OrdinalIgnoreCase));
130Debug.Assert(path.EndsWith(RazorViewEngine.ViewExtension, StringComparison.OrdinalIgnoreCase));
Microsoft.AspNetCore.Mvc.TagHelpers (23)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (3)
Microsoft.AspNetCore.Mvc.Testing (5)
Microsoft.AspNetCore.Mvc.ViewFeatures (32)
DefaultHtmlGenerator.cs (11)
448StringComparison.OrdinalIgnoreCase);
462string.Equals(model.ToString(), valueString, StringComparison.OrdinalIgnoreCase);
1242if (string.Equals(suppliedTypeString, "file", StringComparison.OrdinalIgnoreCase) ||
1243string.Equals(suppliedTypeString, "image", StringComparison.OrdinalIgnoreCase))
1458string.Equals(inputType, "number", StringComparison.OrdinalIgnoreCase) ||
1459string.Equals(inputType, "range", StringComparison.OrdinalIgnoreCase);
1469string.Equals(inputType, "date", StringComparison.OrdinalIgnoreCase) ||
1470string.Equals(inputType, "datetime-local", StringComparison.OrdinalIgnoreCase) ||
1471string.Equals(inputType, "month", StringComparison.OrdinalIgnoreCase) ||
1472string.Equals(inputType, "time", StringComparison.OrdinalIgnoreCase) ||
1473string.Equals(inputType, "week", StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Microsoft.AspNetCore.OpenApi (3)
Microsoft.AspNetCore.OpenApi.Build.Tests (1)
Microsoft.AspNetCore.OpenApi.SourceGenerators (3)
Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests (2)
Microsoft.AspNetCore.OpenApi.Tests (2)
Microsoft.AspNetCore.OutputCaching (2)
Microsoft.AspNetCore.Owin (1)
Microsoft.AspNetCore.Razor (2)
Microsoft.AspNetCore.ResponseCaching (3)
Microsoft.AspNetCore.ResponseCompression (4)
Microsoft.AspNetCore.Rewrite (10)
Microsoft.AspNetCore.Routing (58)
Matching\HostMatcherPolicy.cs (8)
105if (host.Length == 0 || MemoryExtensions.Equals(host, WildcardHost, StringComparison.OrdinalIgnoreCase))
113MemoryExtensions.EndsWith(requestHost, host.Slice(WildcardHost.Length), StringComparison.OrdinalIgnoreCase))
117else if (MemoryExtensions.Equals(requestHost, host, StringComparison.OrdinalIgnoreCase))
127if (MemoryExtensions.Equals(port, WildcardHost, StringComparison.OrdinalIgnoreCase))
340else if (string.Equals("https", httpContext.Request.Scheme, StringComparison.OrdinalIgnoreCase))
344else if (string.Equals("http", httpContext.Request.Scheme, StringComparison.OrdinalIgnoreCase))
451return host.EndsWith(_wildcardEndsWith!, StringComparison.OrdinalIgnoreCase);
455return string.Equals(host, Host, StringComparison.OrdinalIgnoreCase);
Matching\HttpMethodDestinationsLookup.cs (10)
43case 'c' when method.Equals(HttpMethods.Connect, StringComparison.OrdinalIgnoreCase):
46case 'd' when method.Equals(HttpMethods.Delete, StringComparison.OrdinalIgnoreCase):
49case 'g' when method.Equals(HttpMethods.Get, StringComparison.OrdinalIgnoreCase):
52case 'h' when method.Equals(HttpMethods.Head, StringComparison.OrdinalIgnoreCase):
55case 'o' when method.Equals(HttpMethods.Options, StringComparison.OrdinalIgnoreCase):
59if (method.Equals(HttpMethods.Put, StringComparison.OrdinalIgnoreCase))
64else if (method.Equals(HttpMethods.Post, StringComparison.OrdinalIgnoreCase))
69else if (method.Equals(HttpMethods.Patch, StringComparison.OrdinalIgnoreCase))
75case 't' when method.Equals(HttpMethods.Trace, StringComparison.OrdinalIgnoreCase):
118if (matchedMethod is not null && method.Equals(matchedMethod, StringComparison.OrdinalIgnoreCase))
src\Shared\MediaType\ReadOnlyMediaTypeHeaderValue.cs (13)
172public bool MatchesAllTypes => Type.Equals("*", StringComparison.OrdinalIgnoreCase);
210public bool MatchesAllSubTypes => SubType.Equals("*", StringComparison.OrdinalIgnoreCase);
221public bool MatchesAllSubTypesWithoutSuffix => SubTypeWithoutSuffix.Equals("*", StringComparison.OrdinalIgnoreCase);
245GetParameter("*").Equals("*", StringComparison.OrdinalIgnoreCase);
349if (charset.Equals("utf-8", StringComparison.OrdinalIgnoreCase))
372set.Type.Equals(Type, StringComparison.OrdinalIgnoreCase);
407set.SubTypeWithoutSuffix.Equals(SubTypeWithoutSuffix, StringComparison.OrdinalIgnoreCase);
414return set.SubTypeSuffix.Equals(SubTypeSuffix, StringComparison.OrdinalIgnoreCase);
419return set.SubType.Equals(SubType, StringComparison.OrdinalIgnoreCase) ||
420set.SubType.Equals(SubTypeSuffix, StringComparison.OrdinalIgnoreCase);
507if (current == input.Length && name.Equals("*", StringComparison.OrdinalIgnoreCase))
611return Name.Equals(name, StringComparison.OrdinalIgnoreCase);
616return HasName(other.Name) && Value.Equals(other.Value, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Routing.Microbenchmarks (6)
Microsoft.AspNetCore.Routing.Tests (2)
Microsoft.AspNetCore.Server.HttpSys (134)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (123)
1051if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1057if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1063if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1067if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1071if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1077if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1081if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1087if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1091if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1095if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1099if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1105if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1109if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1113if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1117if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1121if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1127if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1131if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1137if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1143if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1147if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1151if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1157if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1163if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1167if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1173if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1177if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1181if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1185if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1189if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1195if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1199if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1205if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1209if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1215if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1219if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1223if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1229if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1233if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1239if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1243if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1257if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1264if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1271if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1276if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1281if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1288if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1293if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1300if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1305if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1310if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1315if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1322if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1327if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1332if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1337if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1342if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1349if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1354if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1361if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1368if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1373if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1378if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1385if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1392if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1397if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1404if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1409if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1414if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1419if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1424if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1431if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1436if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1443if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1448if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1455if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1460if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1465if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1472if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1477if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1484if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1489if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1505if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1512if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1519if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1524if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1529if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1536if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1541if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1548if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1553if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1558if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1563if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1570if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1575if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1580if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1585if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1590if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1597if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1602if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1609if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1616if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1621if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1626if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1633if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1640if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1645if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1652if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1657if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1662if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1667if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1672if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1679if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1684if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1691if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1696if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1703if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1708if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1713if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1720if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1725if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1732if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1737if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (4)
Microsoft.AspNetCore.Server.IIS (136)
Core\IISHttpContext.cs (9)
190else if (originalPath.Equals(pathBase, StringComparison.OrdinalIgnoreCase))
206&& originalPath.StartsWith(pathBase, StringComparison.OrdinalIgnoreCase))
236else if (baseValue == '/' && originalPath.AsSpan(originalOffset).StartsWith("%2F", StringComparison.OrdinalIgnoreCase))
249&& originalPath.AsSpan(originalOffset).StartsWith("%2F", StringComparison.OrdinalIgnoreCase))
587if (string.Equals(ConnectionClose, HttpResponseHeaders[HeaderNames.Connection], StringComparison.OrdinalIgnoreCase))
850if ((authenticationType.Equals(NtlmString, StringComparison.OrdinalIgnoreCase)
851|| authenticationType.Equals(NegotiateString, StringComparison.OrdinalIgnoreCase)
852|| authenticationType.Equals(BasicString, StringComparison.OrdinalIgnoreCase)))
913if (transferEncoding.AsSpan().Slice(index + 1).Trim().Equals("chunked", StringComparison.OrdinalIgnoreCase))
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (123)
1051if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1057if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1063if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1067if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1071if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1077if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1081if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1087if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1091if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1095if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1099if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1105if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1109if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1113if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1117if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1121if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1127if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1131if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1137if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1143if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1147if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1151if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1157if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1163if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1167if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1173if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1177if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1181if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1185if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1189if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1195if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1199if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1205if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1209if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1215if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1219if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1223if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1229if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1233if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1239if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1243if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1257if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1264if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1271if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1276if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1281if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1288if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1293if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1300if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1305if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1310if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1315if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1322if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1327if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1332if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1337if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1342if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1349if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1354if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1361if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1368if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1373if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1378if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1385if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1392if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1397if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1404if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1409if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1414if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1419if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1424if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1431if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1436if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1443if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1448if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1455if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1460if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1465if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1472if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1477if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1484if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1489if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1505if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1512if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1519if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1524if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1529if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1536if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1541if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1548if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1553if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1558if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1563if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1570if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1575if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1580if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1585if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1590if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1597if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1602if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1609if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1616if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1621if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1626if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1633if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1640if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1645if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1652if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1657if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1662if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1667if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1672if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1679if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1684if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1691if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1696if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1703if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1708if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1713if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1720if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1725if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1732if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1737if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Server.IISIntegration (3)
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (378)
Internal\Http\HttpHeaders.Generated.cs (368)
2606if (HeaderNames.TE.Equals(key, StringComparison.OrdinalIgnoreCase))
2629if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
2670if (HeaderNames.Host.Equals(key, StringComparison.OrdinalIgnoreCase))
2679if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
2688if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase))
2720if (InternalHeaderNames.Path.Equals(key, StringComparison.OrdinalIgnoreCase))
2729if (HeaderNames.Range.Equals(key, StringComparison.OrdinalIgnoreCase))
2788if (HeaderNames.Accept.Equals(key, StringComparison.OrdinalIgnoreCase))
2797if (HeaderNames.Cookie.Equals(key, StringComparison.OrdinalIgnoreCase))
2806if (HeaderNames.Expect.Equals(key, StringComparison.OrdinalIgnoreCase))
2815if (HeaderNames.Origin.Equals(key, StringComparison.OrdinalIgnoreCase))
2824if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
2892if (InternalHeaderNames.Method.Equals(key, StringComparison.OrdinalIgnoreCase))
2901if (InternalHeaderNames.Scheme.Equals(key, StringComparison.OrdinalIgnoreCase))
2910if (HeaderNames.Baggage.Equals(key, StringComparison.OrdinalIgnoreCase))
2919if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase))
2928if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
2937if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
2978if (InternalHeaderNames.AltUsed.Equals(key, StringComparison.OrdinalIgnoreCase))
2987if (HeaderNames.IfMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
2996if (HeaderNames.IfRange.Equals(key, StringComparison.OrdinalIgnoreCase))
3028if (InternalHeaderNames.Protocol.Equals(key, StringComparison.OrdinalIgnoreCase))
3037if (HeaderNames.Translate.Equals(key, StringComparison.OrdinalIgnoreCase))
3105if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
3114if (HeaderNames.UserAgent.Equals(key, StringComparison.OrdinalIgnoreCase))
3123if (InternalHeaderNames.Authority.Equals(key, StringComparison.OrdinalIgnoreCase))
3132if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
3141if (HeaderNames.RequestId.Equals(key, StringComparison.OrdinalIgnoreCase))
3150if (HeaderNames.TraceState.Equals(key, StringComparison.OrdinalIgnoreCase))
3173if (HeaderNames.TraceParent.Equals(key, StringComparison.OrdinalIgnoreCase))
3214if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
3223if (HeaderNames.GrpcTimeout.Equals(key, StringComparison.OrdinalIgnoreCase))
3232if (HeaderNames.MaxForwards.Equals(key, StringComparison.OrdinalIgnoreCase))
3282if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase))
3291if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
3300if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
3309if (HeaderNames.IfNoneMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
3341if (HeaderNames.AcceptCharset.Equals(key, StringComparison.OrdinalIgnoreCase))
3350if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
3382if (HeaderNames.AcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
3391if (HeaderNames.AcceptLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
3423if (HeaderNames.IfModifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
3432if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
3473if (HeaderNames.CorrelationContext.Equals(key, StringComparison.OrdinalIgnoreCase))
3482if (HeaderNames.IfUnmodifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
3491if (HeaderNames.ProxyAuthorization.Equals(key, StringComparison.OrdinalIgnoreCase))
3514if (HeaderNames.GrpcAcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
3537if (HeaderNames.UpgradeInsecureRequests.Equals(key, StringComparison.OrdinalIgnoreCase))
3560if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase))
3583if (HeaderNames.AccessControlRequestHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
3612if (HeaderNames.TE.Equals(key, StringComparison.OrdinalIgnoreCase))
3629if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
3658if (HeaderNames.Host.Equals(key, StringComparison.OrdinalIgnoreCase))
3664if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
3670if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase))
3693if (InternalHeaderNames.Path.Equals(key, StringComparison.OrdinalIgnoreCase))
3699if (HeaderNames.Range.Equals(key, StringComparison.OrdinalIgnoreCase))
3740if (HeaderNames.Accept.Equals(key, StringComparison.OrdinalIgnoreCase))
3746if (HeaderNames.Cookie.Equals(key, StringComparison.OrdinalIgnoreCase))
3752if (HeaderNames.Expect.Equals(key, StringComparison.OrdinalIgnoreCase))
3758if (HeaderNames.Origin.Equals(key, StringComparison.OrdinalIgnoreCase))
3764if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
3811if (InternalHeaderNames.Method.Equals(key, StringComparison.OrdinalIgnoreCase))
3817if (InternalHeaderNames.Scheme.Equals(key, StringComparison.OrdinalIgnoreCase))
3823if (HeaderNames.Baggage.Equals(key, StringComparison.OrdinalIgnoreCase))
3829if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase))
3835if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
3841if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
3870if (InternalHeaderNames.AltUsed.Equals(key, StringComparison.OrdinalIgnoreCase))
3876if (HeaderNames.IfMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
3882if (HeaderNames.IfRange.Equals(key, StringComparison.OrdinalIgnoreCase))
3905if (InternalHeaderNames.Protocol.Equals(key, StringComparison.OrdinalIgnoreCase))
3911if (HeaderNames.Translate.Equals(key, StringComparison.OrdinalIgnoreCase))
3958if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
3964if (HeaderNames.UserAgent.Equals(key, StringComparison.OrdinalIgnoreCase))
3970if (InternalHeaderNames.Authority.Equals(key, StringComparison.OrdinalIgnoreCase))
3976if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
3982if (HeaderNames.RequestId.Equals(key, StringComparison.OrdinalIgnoreCase))
3988if (HeaderNames.TraceState.Equals(key, StringComparison.OrdinalIgnoreCase))
4005if (HeaderNames.TraceParent.Equals(key, StringComparison.OrdinalIgnoreCase))
4034if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
4040if (HeaderNames.GrpcTimeout.Equals(key, StringComparison.OrdinalIgnoreCase))
4046if (HeaderNames.MaxForwards.Equals(key, StringComparison.OrdinalIgnoreCase))
4081if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase))
4087if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
4093if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
4099if (HeaderNames.IfNoneMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
4121if (HeaderNames.AcceptCharset.Equals(key, StringComparison.OrdinalIgnoreCase))
4127if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
4149if (HeaderNames.AcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
4155if (HeaderNames.AcceptLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
4178if (HeaderNames.IfModifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
4184if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
4213if (HeaderNames.CorrelationContext.Equals(key, StringComparison.OrdinalIgnoreCase))
4219if (HeaderNames.IfUnmodifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
4225if (HeaderNames.ProxyAuthorization.Equals(key, StringComparison.OrdinalIgnoreCase))
4242if (HeaderNames.GrpcAcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
4259if (HeaderNames.UpgradeInsecureRequests.Equals(key, StringComparison.OrdinalIgnoreCase))
4276if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase))
4293if (HeaderNames.AccessControlRequestHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
4323if (HeaderNames.TE.Equals(key, StringComparison.OrdinalIgnoreCase))
4348if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
4393if (HeaderNames.Host.Equals(key, StringComparison.OrdinalIgnoreCase))
4403if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
4413if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase))
4448if (InternalHeaderNames.Path.Equals(key, StringComparison.OrdinalIgnoreCase))
4458if (HeaderNames.Range.Equals(key, StringComparison.OrdinalIgnoreCase))
4523if (HeaderNames.Accept.Equals(key, StringComparison.OrdinalIgnoreCase))
4533if (HeaderNames.Cookie.Equals(key, StringComparison.OrdinalIgnoreCase))
4543if (HeaderNames.Expect.Equals(key, StringComparison.OrdinalIgnoreCase))
4553if (HeaderNames.Origin.Equals(key, StringComparison.OrdinalIgnoreCase))
4563if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
4638if (InternalHeaderNames.Method.Equals(key, StringComparison.OrdinalIgnoreCase))
4648if (InternalHeaderNames.Scheme.Equals(key, StringComparison.OrdinalIgnoreCase))
4658if (HeaderNames.Baggage.Equals(key, StringComparison.OrdinalIgnoreCase))
4668if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase))
4678if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
4688if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
4733if (InternalHeaderNames.AltUsed.Equals(key, StringComparison.OrdinalIgnoreCase))
4743if (HeaderNames.IfMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
4753if (HeaderNames.IfRange.Equals(key, StringComparison.OrdinalIgnoreCase))
4788if (InternalHeaderNames.Protocol.Equals(key, StringComparison.OrdinalIgnoreCase))
4798if (HeaderNames.Translate.Equals(key, StringComparison.OrdinalIgnoreCase))
4873if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
4883if (HeaderNames.UserAgent.Equals(key, StringComparison.OrdinalIgnoreCase))
4893if (InternalHeaderNames.Authority.Equals(key, StringComparison.OrdinalIgnoreCase))
4903if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
4913if (HeaderNames.RequestId.Equals(key, StringComparison.OrdinalIgnoreCase))
4923if (HeaderNames.TraceState.Equals(key, StringComparison.OrdinalIgnoreCase))
4948if (HeaderNames.TraceParent.Equals(key, StringComparison.OrdinalIgnoreCase))
4993if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
5003if (HeaderNames.GrpcTimeout.Equals(key, StringComparison.OrdinalIgnoreCase))
5013if (HeaderNames.MaxForwards.Equals(key, StringComparison.OrdinalIgnoreCase))
5068if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase))
5078if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
5088if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
5098if (HeaderNames.IfNoneMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
5132if (HeaderNames.AcceptCharset.Equals(key, StringComparison.OrdinalIgnoreCase))
5142if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
5176if (HeaderNames.AcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
5186if (HeaderNames.AcceptLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
5221if (HeaderNames.IfModifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
5231if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
5276if (HeaderNames.CorrelationContext.Equals(key, StringComparison.OrdinalIgnoreCase))
5286if (HeaderNames.IfUnmodifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
5296if (HeaderNames.ProxyAuthorization.Equals(key, StringComparison.OrdinalIgnoreCase))
5321if (HeaderNames.GrpcAcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
5346if (HeaderNames.UpgradeInsecureRequests.Equals(key, StringComparison.OrdinalIgnoreCase))
5371if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase))
5396if (HeaderNames.AccessControlRequestHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
5430if (HeaderNames.TE.Equals(key, StringComparison.OrdinalIgnoreCase))
5455if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
5500if (HeaderNames.Host.Equals(key, StringComparison.OrdinalIgnoreCase))
5510if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
5520if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase))
5555if (InternalHeaderNames.Path.Equals(key, StringComparison.OrdinalIgnoreCase))
5565if (HeaderNames.Range.Equals(key, StringComparison.OrdinalIgnoreCase))
5630if (HeaderNames.Accept.Equals(key, StringComparison.OrdinalIgnoreCase))
5640if (HeaderNames.Cookie.Equals(key, StringComparison.OrdinalIgnoreCase))
5650if (HeaderNames.Expect.Equals(key, StringComparison.OrdinalIgnoreCase))
5660if (HeaderNames.Origin.Equals(key, StringComparison.OrdinalIgnoreCase))
5670if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
5745if (InternalHeaderNames.Method.Equals(key, StringComparison.OrdinalIgnoreCase))
5755if (InternalHeaderNames.Scheme.Equals(key, StringComparison.OrdinalIgnoreCase))
5765if (HeaderNames.Baggage.Equals(key, StringComparison.OrdinalIgnoreCase))
5775if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase))
5785if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
5795if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
5840if (InternalHeaderNames.AltUsed.Equals(key, StringComparison.OrdinalIgnoreCase))
5850if (HeaderNames.IfMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
5860if (HeaderNames.IfRange.Equals(key, StringComparison.OrdinalIgnoreCase))
5895if (InternalHeaderNames.Protocol.Equals(key, StringComparison.OrdinalIgnoreCase))
5905if (HeaderNames.Translate.Equals(key, StringComparison.OrdinalIgnoreCase))
5980if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
5990if (HeaderNames.UserAgent.Equals(key, StringComparison.OrdinalIgnoreCase))
6000if (InternalHeaderNames.Authority.Equals(key, StringComparison.OrdinalIgnoreCase))
6010if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
6020if (HeaderNames.RequestId.Equals(key, StringComparison.OrdinalIgnoreCase))
6030if (HeaderNames.TraceState.Equals(key, StringComparison.OrdinalIgnoreCase))
6055if (HeaderNames.TraceParent.Equals(key, StringComparison.OrdinalIgnoreCase))
6100if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
6110if (HeaderNames.GrpcTimeout.Equals(key, StringComparison.OrdinalIgnoreCase))
6120if (HeaderNames.MaxForwards.Equals(key, StringComparison.OrdinalIgnoreCase))
6175if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase))
6185if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
6195if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
6205if (HeaderNames.IfNoneMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
6239if (HeaderNames.AcceptCharset.Equals(key, StringComparison.OrdinalIgnoreCase))
6249if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
6283if (HeaderNames.AcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
6293if (HeaderNames.AcceptLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
6328if (HeaderNames.IfModifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
6338if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
6383if (HeaderNames.CorrelationContext.Equals(key, StringComparison.OrdinalIgnoreCase))
6393if (HeaderNames.IfUnmodifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
6403if (HeaderNames.ProxyAuthorization.Equals(key, StringComparison.OrdinalIgnoreCase))
6428if (HeaderNames.GrpcAcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
6453if (HeaderNames.UpgradeInsecureRequests.Equals(key, StringComparison.OrdinalIgnoreCase))
6478if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase))
6503if (HeaderNames.AccessControlRequestHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
10901if (HeaderNames.Age.Equals(key, StringComparison.OrdinalIgnoreCase))
10910if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
10951if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
10960if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
10969if (HeaderNames.Vary.Equals(key, StringComparison.OrdinalIgnoreCase))
10992if (HeaderNames.Allow.Equals(key, StringComparison.OrdinalIgnoreCase))
11024if (HeaderNames.Server.Equals(key, StringComparison.OrdinalIgnoreCase))
11033if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
11092if (HeaderNames.AltSvc.Equals(key, StringComparison.OrdinalIgnoreCase))
11101if (HeaderNames.Expires.Equals(key, StringComparison.OrdinalIgnoreCase))
11110if (HeaderNames.Trailer.Equals(key, StringComparison.OrdinalIgnoreCase))
11119if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
11128if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
11151if (HeaderNames.Location.Equals(key, StringComparison.OrdinalIgnoreCase))
11192if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
11201if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
11210if (HeaderNames.SetCookie.Equals(key, StringComparison.OrdinalIgnoreCase))
11242if (HeaderNames.ContentMD5.Equals(key, StringComparison.OrdinalIgnoreCase))
11251if (HeaderNames.RetryAfter.Equals(key, StringComparison.OrdinalIgnoreCase))
11274if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
11333if (HeaderNames.AcceptRanges.Equals(key, StringComparison.OrdinalIgnoreCase))
11342if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
11351if (HeaderNames.ContentRange.Equals(key, StringComparison.OrdinalIgnoreCase))
11360if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
11369if (HeaderNames.LastModified.Equals(key, StringComparison.OrdinalIgnoreCase))
11392if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
11451if (HeaderNames.ContentEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
11460if (HeaderNames.ContentLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
11469if (HeaderNames.ContentLocation.Equals(key, StringComparison.OrdinalIgnoreCase))
11478if (HeaderNames.ProxyConnection.Equals(key, StringComparison.OrdinalIgnoreCase))
11487if (HeaderNames.WWWAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
11510if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
11533if (HeaderNames.ProxyAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
11556if (HeaderNames.AccessControlMaxAge.Equals(key, StringComparison.OrdinalIgnoreCase))
11579if (HeaderNames.AccessControlAllowOrigin.Equals(key, StringComparison.OrdinalIgnoreCase))
11611if (HeaderNames.AccessControlAllowHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
11620if (HeaderNames.AccessControlAllowMethods.Equals(key, StringComparison.OrdinalIgnoreCase))
11643if (HeaderNames.AccessControlExposeHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
11666if (HeaderNames.AccessControlAllowCredentials.Equals(key, StringComparison.OrdinalIgnoreCase))
11702if (HeaderNames.Age.Equals(key, StringComparison.OrdinalIgnoreCase))
11708if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
11738if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
11745if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
11751if (HeaderNames.Vary.Equals(key, StringComparison.OrdinalIgnoreCase))
11768if (HeaderNames.Allow.Equals(key, StringComparison.OrdinalIgnoreCase))
11792if (HeaderNames.Server.Equals(key, StringComparison.OrdinalIgnoreCase))
11799if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
11841if (HeaderNames.AltSvc.Equals(key, StringComparison.OrdinalIgnoreCase))
11848if (HeaderNames.Expires.Equals(key, StringComparison.OrdinalIgnoreCase))
11854if (HeaderNames.Trailer.Equals(key, StringComparison.OrdinalIgnoreCase))
11860if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
11866if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
11883if (HeaderNames.Location.Equals(key, StringComparison.OrdinalIgnoreCase))
11913if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
11920if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
11926if (HeaderNames.SetCookie.Equals(key, StringComparison.OrdinalIgnoreCase))
11949if (HeaderNames.ContentMD5.Equals(key, StringComparison.OrdinalIgnoreCase))
11955if (HeaderNames.RetryAfter.Equals(key, StringComparison.OrdinalIgnoreCase))
11972if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
12013if (HeaderNames.AcceptRanges.Equals(key, StringComparison.OrdinalIgnoreCase))
12019if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
12025if (HeaderNames.ContentRange.Equals(key, StringComparison.OrdinalIgnoreCase))
12031if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12037if (HeaderNames.LastModified.Equals(key, StringComparison.OrdinalIgnoreCase))
12053if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
12093if (HeaderNames.ContentEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12099if (HeaderNames.ContentLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
12105if (HeaderNames.ContentLocation.Equals(key, StringComparison.OrdinalIgnoreCase))
12111if (HeaderNames.ProxyConnection.Equals(key, StringComparison.OrdinalIgnoreCase))
12117if (HeaderNames.WWWAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
12135if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12153if (HeaderNames.ProxyAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
12170if (HeaderNames.AccessControlMaxAge.Equals(key, StringComparison.OrdinalIgnoreCase))
12187if (HeaderNames.AccessControlAllowOrigin.Equals(key, StringComparison.OrdinalIgnoreCase))
12210if (HeaderNames.AccessControlAllowHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
12216if (HeaderNames.AccessControlAllowMethods.Equals(key, StringComparison.OrdinalIgnoreCase))
12233if (HeaderNames.AccessControlExposeHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
12250if (HeaderNames.AccessControlAllowCredentials.Equals(key, StringComparison.OrdinalIgnoreCase))
12291if (HeaderNames.Age.Equals(key, StringComparison.OrdinalIgnoreCase))
12301if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
12347if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
12358if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
12368if (HeaderNames.Vary.Equals(key, StringComparison.OrdinalIgnoreCase))
12393if (HeaderNames.Allow.Equals(key, StringComparison.OrdinalIgnoreCase))
12429if (HeaderNames.Server.Equals(key, StringComparison.OrdinalIgnoreCase))
12440if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
12506if (HeaderNames.AltSvc.Equals(key, StringComparison.OrdinalIgnoreCase))
12517if (HeaderNames.Expires.Equals(key, StringComparison.OrdinalIgnoreCase))
12527if (HeaderNames.Trailer.Equals(key, StringComparison.OrdinalIgnoreCase))
12537if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
12547if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
12572if (HeaderNames.Location.Equals(key, StringComparison.OrdinalIgnoreCase))
12618if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
12629if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
12639if (HeaderNames.SetCookie.Equals(key, StringComparison.OrdinalIgnoreCase))
12674if (HeaderNames.ContentMD5.Equals(key, StringComparison.OrdinalIgnoreCase))
12684if (HeaderNames.RetryAfter.Equals(key, StringComparison.OrdinalIgnoreCase))
12709if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
12774if (HeaderNames.AcceptRanges.Equals(key, StringComparison.OrdinalIgnoreCase))
12784if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
12794if (HeaderNames.ContentRange.Equals(key, StringComparison.OrdinalIgnoreCase))
12804if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12814if (HeaderNames.LastModified.Equals(key, StringComparison.OrdinalIgnoreCase))
12838if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
12902if (HeaderNames.ContentEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12912if (HeaderNames.ContentLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
12922if (HeaderNames.ContentLocation.Equals(key, StringComparison.OrdinalIgnoreCase))
12932if (HeaderNames.ProxyConnection.Equals(key, StringComparison.OrdinalIgnoreCase))
12942if (HeaderNames.WWWAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
12968if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12994if (HeaderNames.ProxyAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
13019if (HeaderNames.AccessControlMaxAge.Equals(key, StringComparison.OrdinalIgnoreCase))
13044if (HeaderNames.AccessControlAllowOrigin.Equals(key, StringComparison.OrdinalIgnoreCase))
13079if (HeaderNames.AccessControlAllowHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
13089if (HeaderNames.AccessControlAllowMethods.Equals(key, StringComparison.OrdinalIgnoreCase))
13114if (HeaderNames.AccessControlExposeHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
13139if (HeaderNames.AccessControlAllowCredentials.Equals(key, StringComparison.OrdinalIgnoreCase))
13183if (HeaderNames.Age.Equals(key, StringComparison.OrdinalIgnoreCase))
13193if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
13239if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
13250if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
13260if (HeaderNames.Vary.Equals(key, StringComparison.OrdinalIgnoreCase))
13285if (HeaderNames.Allow.Equals(key, StringComparison.OrdinalIgnoreCase))
13321if (HeaderNames.Server.Equals(key, StringComparison.OrdinalIgnoreCase))
13332if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
13398if (HeaderNames.AltSvc.Equals(key, StringComparison.OrdinalIgnoreCase))
13409if (HeaderNames.Expires.Equals(key, StringComparison.OrdinalIgnoreCase))
13419if (HeaderNames.Trailer.Equals(key, StringComparison.OrdinalIgnoreCase))
13429if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
13439if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
13464if (HeaderNames.Location.Equals(key, StringComparison.OrdinalIgnoreCase))
13510if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
13521if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
13531if (HeaderNames.SetCookie.Equals(key, StringComparison.OrdinalIgnoreCase))
13566if (HeaderNames.ContentMD5.Equals(key, StringComparison.OrdinalIgnoreCase))
13576if (HeaderNames.RetryAfter.Equals(key, StringComparison.OrdinalIgnoreCase))
13601if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
13666if (HeaderNames.AcceptRanges.Equals(key, StringComparison.OrdinalIgnoreCase))
13676if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
13686if (HeaderNames.ContentRange.Equals(key, StringComparison.OrdinalIgnoreCase))
13696if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
13706if (HeaderNames.LastModified.Equals(key, StringComparison.OrdinalIgnoreCase))
13730if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
13794if (HeaderNames.ContentEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
13804if (HeaderNames.ContentLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
13814if (HeaderNames.ContentLocation.Equals(key, StringComparison.OrdinalIgnoreCase))
13824if (HeaderNames.ProxyConnection.Equals(key, StringComparison.OrdinalIgnoreCase))
13834if (HeaderNames.WWWAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
13860if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
13886if (HeaderNames.ProxyAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
13911if (HeaderNames.AccessControlMaxAge.Equals(key, StringComparison.OrdinalIgnoreCase))
13936if (HeaderNames.AccessControlAllowOrigin.Equals(key, StringComparison.OrdinalIgnoreCase))
13971if (HeaderNames.AccessControlAllowHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
13981if (HeaderNames.AccessControlAllowMethods.Equals(key, StringComparison.OrdinalIgnoreCase))
14006if (HeaderNames.AccessControlExposeHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
14031if (HeaderNames.AccessControlAllowCredentials.Equals(key, StringComparison.OrdinalIgnoreCase))
17189if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
17212if (HeaderNames.GrpcStatus.Equals(key, StringComparison.OrdinalIgnoreCase))
17235if (HeaderNames.GrpcMessage.Equals(key, StringComparison.OrdinalIgnoreCase))
17265if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
17282if (HeaderNames.GrpcStatus.Equals(key, StringComparison.OrdinalIgnoreCase))
17299if (HeaderNames.GrpcMessage.Equals(key, StringComparison.OrdinalIgnoreCase))
17330if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
17355if (HeaderNames.GrpcStatus.Equals(key, StringComparison.OrdinalIgnoreCase))
17380if (HeaderNames.GrpcMessage.Equals(key, StringComparison.OrdinalIgnoreCase))
17414if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
17439if (HeaderNames.GrpcStatus.Equals(key, StringComparison.OrdinalIgnoreCase))
17464if (HeaderNames.GrpcMessage.Equals(key, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (7)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Microsoft.AspNetCore.Server.Kestrel.Tests (4)
Microsoft.AspNetCore.Shared.Tests (127)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (123)
1051if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1057if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1063if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1067if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1071if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1077if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1081if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1087if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1091if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1095if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1099if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1105if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1109if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1113if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1117if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1121if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1127if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1131if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1137if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1143if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1147if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1151if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1157if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1163if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1167if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1173if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1177if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1181if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1185if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1189if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1195if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1199if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1205if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1209if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1215if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1219if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1223if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1229if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1233if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1239if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1243if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1257if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1264if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1271if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1276if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1281if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1288if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1293if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1300if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1305if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1310if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1315if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1322if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1327if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1332if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1337if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1342if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1349if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1354if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1361if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1368if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1373if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1378if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1385if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1392if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1397if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1404if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1409if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1414if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1419if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1424if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1431if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1436if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1443if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1448if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1455if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1460if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1465if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1472if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1477if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1484if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1489if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1505if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1512if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1519if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1524if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1529if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1536if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1541if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1548if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1553if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1558if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1563if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1570if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1575if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1580if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1585if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1590if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1597if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1602if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1609if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1616if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1621if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1626if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1633if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1640if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1645if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1652if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1657if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1662if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1667if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1672if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1679if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1684if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1691if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1696if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1703if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1708if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1713if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1720if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1725if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1732if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1737if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.SignalR.Core (2)
Microsoft.AspNetCore.SignalR.Tests (1)
Microsoft.AspNetCore.SpaServices.Extensions (3)
Microsoft.AspNetCore.StaticAssets (11)
Development\StaticAssetDescriptorExtensions.cs (5)
16if (string.Equals(header.Name, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
29if (string.Equals(header.Name, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
42if (string.Equals(header.Name, HeaderNames.ETag, StringComparison.OrdinalIgnoreCase))
59if (string.Equals(selector.Name, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
72if (string.Equals(header.Name, HeaderNames.ETag, StringComparison.OrdinalIgnoreCase))
Development\StaticAssetDevelopmentRuntimeHandler.cs (5)
80if (string.Equals(property.Name, "original-resource", StringComparison.OrdinalIgnoreCase))
94if (string.Equals(header.Name, HeaderNames.ETag, StringComparison.OrdinalIgnoreCase))
311if (string.Equals(responseHeader.Name, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
313if (!string.Equals(responseHeader.Value, "no-cache", StringComparison.OrdinalIgnoreCase))
338if (string.Equals(property.Name, "integrity", StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.TestHost (3)
Microsoft.AspNetCore.Testing (1)
Microsoft.AspNetCore.WebSockets (4)
Microsoft.AspNetCore.WebSockets.ConformanceTests (2)
Microsoft.Build.Framework (24)
Microsoft.Build.Tasks.CodeAnalysis (41)
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (7)
459if ((RoslynString.IsNullOrEmpty(platform) || platform.Equals("anycpu", StringComparison.OrdinalIgnoreCase)) && Prefer32Bit)
653if (var.StartsWith("LIB=", StringComparison.OrdinalIgnoreCase))
857if (string.Compare(TargetType, "library", StringComparison.OrdinalIgnoreCase) == 0)
861else if (string.Compare(TargetType, "module", StringComparison.OrdinalIgnoreCase) == 0)
1048if (string.Compare((string?)_store[nameof(DebugType)], "none", StringComparison.OrdinalIgnoreCase) == 0)
1196if (!string.Equals(TargetType, "library", StringComparison.OrdinalIgnoreCase)
1197&& !string.Equals(TargetType, "module", StringComparison.OrdinalIgnoreCase))
src\Compilers\Core\MSBuildTask\Utilities.cs (12)
93String.Compare(parameterValue, "true", StringComparison.OrdinalIgnoreCase) == 0 ||
94String.Compare(parameterValue, "on", StringComparison.OrdinalIgnoreCase) == 0 ||
95String.Compare(parameterValue, "yes", StringComparison.OrdinalIgnoreCase) == 0 ||
96String.Compare(parameterValue, "!false", StringComparison.OrdinalIgnoreCase) == 0 ||
97String.Compare(parameterValue, "!off", StringComparison.OrdinalIgnoreCase) == 0 ||
98String.Compare(parameterValue, "!no", StringComparison.OrdinalIgnoreCase) == 0;
105String.Compare(parameterValue, "false", StringComparison.OrdinalIgnoreCase) == 0 ||
106String.Compare(parameterValue, "off", StringComparison.OrdinalIgnoreCase) == 0 ||
107String.Compare(parameterValue, "no", StringComparison.OrdinalIgnoreCase) == 0 ||
108String.Compare(parameterValue, "!true", StringComparison.OrdinalIgnoreCase) == 0 ||
109String.Compare(parameterValue, "!on", StringComparison.OrdinalIgnoreCase) == 0 ||
110String.Compare(parameterValue, "!yes", StringComparison.OrdinalIgnoreCase) == 0;
src\Compilers\Core\MSBuildTask\Vbc.cs (16)
309if (!desiredLocation.EndsWith(".pdb", StringComparison.OrdinalIgnoreCase))
355(0 == String.Compare(twoLetterPrefix, "0x", StringComparison.OrdinalIgnoreCase)) ||
356(0 == String.Compare(twoLetterPrefix, "&h", StringComparison.OrdinalIgnoreCase))
453if (0 == String.Compare(this.VBRuntimePath, this.VBRuntime, StringComparison.OrdinalIgnoreCase))
460if (0 == String.Compare(vbRuntimeSwitch, "EMBED", StringComparison.OrdinalIgnoreCase))
464else if (0 == String.Compare(vbRuntimeSwitch, "NONE", StringComparison.OrdinalIgnoreCase))
468else if (0 == String.Compare(vbRuntimeSwitch, "DEFAULT", StringComparison.OrdinalIgnoreCase))
483(0 == String.Compare(this.Verbosity, "quiet", StringComparison.OrdinalIgnoreCase)) ||
484(0 == String.Compare(this.Verbosity, "verbose", StringComparison.OrdinalIgnoreCase))
505if (0 != String.Compare("Sub Main", this.MainEntryPoint, StringComparison.OrdinalIgnoreCase))
610if ((0 != String.Compare(Verbosity, "normal", StringComparison.OrdinalIgnoreCase)) &&
611(0 != String.Compare(Verbosity, "quiet", StringComparison.OrdinalIgnoreCase)) &&
612(0 != String.Compare(Verbosity, "verbose", StringComparison.OrdinalIgnoreCase)))
643singleLine.IndexOf("warning", StringComparison.OrdinalIgnoreCase) == -1 &&
644singleLine.IndexOf("error", StringComparison.OrdinalIgnoreCase) == -1)
963if (!String.IsNullOrEmpty(PreferredUILang) && !String.Equals(PreferredUILang, System.Globalization.CultureInfo.CurrentUICulture.Name, StringComparison.OrdinalIgnoreCase))
Microsoft.Build.Tasks.CodeAnalysis.Sdk (41)
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (7)
459if ((RoslynString.IsNullOrEmpty(platform) || platform.Equals("anycpu", StringComparison.OrdinalIgnoreCase)) && Prefer32Bit)
653if (var.StartsWith("LIB=", StringComparison.OrdinalIgnoreCase))
857if (string.Compare(TargetType, "library", StringComparison.OrdinalIgnoreCase) == 0)
861else if (string.Compare(TargetType, "module", StringComparison.OrdinalIgnoreCase) == 0)
1048if (string.Compare((string?)_store[nameof(DebugType)], "none", StringComparison.OrdinalIgnoreCase) == 0)
1196if (!string.Equals(TargetType, "library", StringComparison.OrdinalIgnoreCase)
1197&& !string.Equals(TargetType, "module", StringComparison.OrdinalIgnoreCase))
src\Compilers\Core\MSBuildTask\Utilities.cs (12)
93String.Compare(parameterValue, "true", StringComparison.OrdinalIgnoreCase) == 0 ||
94String.Compare(parameterValue, "on", StringComparison.OrdinalIgnoreCase) == 0 ||
95String.Compare(parameterValue, "yes", StringComparison.OrdinalIgnoreCase) == 0 ||
96String.Compare(parameterValue, "!false", StringComparison.OrdinalIgnoreCase) == 0 ||
97String.Compare(parameterValue, "!off", StringComparison.OrdinalIgnoreCase) == 0 ||
98String.Compare(parameterValue, "!no", StringComparison.OrdinalIgnoreCase) == 0;
105String.Compare(parameterValue, "false", StringComparison.OrdinalIgnoreCase) == 0 ||
106String.Compare(parameterValue, "off", StringComparison.OrdinalIgnoreCase) == 0 ||
107String.Compare(parameterValue, "no", StringComparison.OrdinalIgnoreCase) == 0 ||
108String.Compare(parameterValue, "!true", StringComparison.OrdinalIgnoreCase) == 0 ||
109String.Compare(parameterValue, "!on", StringComparison.OrdinalIgnoreCase) == 0 ||
110String.Compare(parameterValue, "!yes", StringComparison.OrdinalIgnoreCase) == 0;
src\Compilers\Core\MSBuildTask\Vbc.cs (16)
309if (!desiredLocation.EndsWith(".pdb", StringComparison.OrdinalIgnoreCase))
355(0 == String.Compare(twoLetterPrefix, "0x", StringComparison.OrdinalIgnoreCase)) ||
356(0 == String.Compare(twoLetterPrefix, "&h", StringComparison.OrdinalIgnoreCase))
453if (0 == String.Compare(this.VBRuntimePath, this.VBRuntime, StringComparison.OrdinalIgnoreCase))
460if (0 == String.Compare(vbRuntimeSwitch, "EMBED", StringComparison.OrdinalIgnoreCase))
464else if (0 == String.Compare(vbRuntimeSwitch, "NONE", StringComparison.OrdinalIgnoreCase))
468else if (0 == String.Compare(vbRuntimeSwitch, "DEFAULT", StringComparison.OrdinalIgnoreCase))
483(0 == String.Compare(this.Verbosity, "quiet", StringComparison.OrdinalIgnoreCase)) ||
484(0 == String.Compare(this.Verbosity, "verbose", StringComparison.OrdinalIgnoreCase))
505if (0 != String.Compare("Sub Main", this.MainEntryPoint, StringComparison.OrdinalIgnoreCase))
610if ((0 != String.Compare(Verbosity, "normal", StringComparison.OrdinalIgnoreCase)) &&
611(0 != String.Compare(Verbosity, "quiet", StringComparison.OrdinalIgnoreCase)) &&
612(0 != String.Compare(Verbosity, "verbose", StringComparison.OrdinalIgnoreCase)))
643singleLine.IndexOf("warning", StringComparison.OrdinalIgnoreCase) == -1 &&
644singleLine.IndexOf("error", StringComparison.OrdinalIgnoreCase) == -1)
963if (!String.IsNullOrEmpty(PreferredUILang) && !String.Equals(PreferredUILang, System.Globalization.CultureInfo.CurrentUICulture.Name, StringComparison.OrdinalIgnoreCase))
Microsoft.Cci.Extensions (3)
Microsoft.CodeAnalysis (57)
CommandLine\CommandLineParser.cs (13)
252part.Substring(0, versionParameterDesignatorLength).Equals(versionParameterDesignator, StringComparison.OrdinalIgnoreCase) &&
658if (!string.Equals(newArg, "/noconfig", StringComparison.OrdinalIgnoreCase) && !string.Equals(newArg, "-noconfig", StringComparison.OrdinalIgnoreCase))
791if (!arg.StartsWith(optionName, StringComparison.OrdinalIgnoreCase))
872else if (string.Equals(rawAccessibility, "public", StringComparison.OrdinalIgnoreCase))
876else if (string.Equals(rawAccessibility, "private", StringComparison.OrdinalIgnoreCase))
1138isScriptFile = !extension.Span.Equals(RegularFileExtension.AsSpan(), StringComparison.OrdinalIgnoreCase);
1238if (string.Equals("sha1", arg, StringComparison.OrdinalIgnoreCase))
1243if (string.Equals("sha256", arg, StringComparison.OrdinalIgnoreCase))
1366if (value.StartsWith("0x", StringComparison.OrdinalIgnoreCase))
1370else if (value.StartsWith("0", StringComparison.OrdinalIgnoreCase))
1404if (value.StartsWith("0x", StringComparison.OrdinalIgnoreCase))
1408else if (value.StartsWith("0", StringComparison.OrdinalIgnoreCase))
MetadataReference\AssemblyIdentity.DisplayName.cs (13)
274if (string.Equals(propertyName, "Version", StringComparison.OrdinalIgnoreCase))
298else if (string.Equals(propertyName, "Culture", StringComparison.OrdinalIgnoreCase) ||
299string.Equals(propertyName, "Language", StringComparison.OrdinalIgnoreCase))
313culture = string.Equals(propertyValue, InvariantCultureDisplay, StringComparison.OrdinalIgnoreCase) ? null : propertyValue;
316else if (string.Equals(propertyName, "PublicKey", StringComparison.OrdinalIgnoreCase))
343else if (string.Equals(propertyName, "PublicKeyToken", StringComparison.OrdinalIgnoreCase))
366else if (string.Equals(propertyName, "Retargetable", StringComparison.OrdinalIgnoreCase))
380if (string.Equals(propertyValue, "Yes", StringComparison.OrdinalIgnoreCase))
384else if (string.Equals(propertyValue, "No", StringComparison.OrdinalIgnoreCase))
395else if (string.Equals(propertyName, "ContentType", StringComparison.OrdinalIgnoreCase))
409if (string.Equals(propertyValue, "WindowsRuntime", StringComparison.OrdinalIgnoreCase))
682if (string.Equals(value, "null", StringComparison.OrdinalIgnoreCase) ||
683string.Equals(value, "neutral", StringComparison.OrdinalIgnoreCase))
Microsoft.CodeAnalysis.Analyzers (52)
MetaAnalyzers\ReleaseTrackingHelper.cs (10)
71if (lineText.StartsWith(ReleasePrefix, StringComparison.OrdinalIgnoreCase))
96if (lineText.StartsWith(TableTitleNewRules, StringComparison.OrdinalIgnoreCase))
101else if (lineText.StartsWith(TableTitleRemovedRules, StringComparison.OrdinalIgnoreCase))
106else if (lineText.StartsWith(TableTitleChangedRules, StringComparison.OrdinalIgnoreCase))
161if (lineText.StartsWith("## ", StringComparison.OrdinalIgnoreCase))
165else if (lineText.StartsWith("### ", StringComparison.OrdinalIgnoreCase))
211if (string.Equals(category, oldCategory, StringComparison.OrdinalIgnoreCase) &&
290if (category.Equals(UndetectedText, StringComparison.OrdinalIgnoreCase))
304if (string.Equals(severityPart, DisabledText, StringComparison.OrdinalIgnoreCase))
308else if (severityPart.Equals(UndetectedText, StringComparison.OrdinalIgnoreCase))
Microsoft.CodeAnalysis.AnalyzerUtilities (23)
Microsoft.CodeAnalysis.BannedApiAnalyzers (21)
Microsoft.CodeAnalysis.CodeStyle (20)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp (9)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
Compilation\SymbolSearchTests.cs (9)
157Test(compilation, n => n.IndexOf("my", StringComparison.OrdinalIgnoreCase) >= 0, includeNamespace: false, includeType: false, includeMember: true, count: 4);
158Test(compilation, n => n.IndexOf("my", StringComparison.OrdinalIgnoreCase) >= 0, includeNamespace: false, includeType: true, includeMember: false, count: 4);
159Test(compilation, n => n.IndexOf("my", StringComparison.OrdinalIgnoreCase) >= 0, includeNamespace: false, includeType: true, includeMember: true, count: 8);
160Test(compilation, n => n.IndexOf("my", StringComparison.OrdinalIgnoreCase) >= 0, includeNamespace: true, includeType: false, includeMember: false, count: 1);
161Test(compilation, n => n.IndexOf("my", StringComparison.OrdinalIgnoreCase) >= 0, includeNamespace: true, includeType: false, includeMember: true, count: 5);
162Test(compilation, n => n.IndexOf("my", StringComparison.OrdinalIgnoreCase) >= 0, includeNamespace: true, includeType: true, includeMember: false, count: 5);
163Test(compilation, n => n.IndexOf("my", StringComparison.OrdinalIgnoreCase) >= 0, includeNamespace: true, includeType: true, includeMember: true, count: 9);
165Test(compilation, n => n.IndexOf("enum", StringComparison.OrdinalIgnoreCase) >= 0, includeNamespace: true, includeType: true, includeMember: true, count: 2);
190Test(compilation, n => n.IndexOf("M", StringComparison.OrdinalIgnoreCase) >= 0, includeNamespace: false, includeType: false, includeMember: true, count: 3);
Microsoft.CodeAnalysis.CSharp.Workspaces (10)
Rename\CSharpRenameRewriterLanguageService.cs (5)
954string.Compare(renameSymbol.Name, "Current", StringComparison.OrdinalIgnoreCase) == 0;
959(string.Compare(renameSymbol.Name, WellKnownMemberNames.MoveNextMethodName, StringComparison.OrdinalIgnoreCase) == 0 ||
960string.Compare(renameSymbol.Name, WellKnownMemberNames.GetEnumeratorMethodName, StringComparison.OrdinalIgnoreCase) == 0 ||
961string.Compare(renameSymbol.Name, WellKnownMemberNames.GetAwaiter, StringComparison.OrdinalIgnoreCase) == 0 ||
962string.Compare(renameSymbol.Name, WellKnownMemberNames.DeconstructMethodName, StringComparison.OrdinalIgnoreCase) == 0));
Microsoft.CodeAnalysis.EditorFeatures (5)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (7)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Microsoft.CodeAnalysis.Extensions.Package (3)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (2)
Microsoft.CodeAnalysis.Features (37)
Microsoft.CodeAnalysis.InteractiveHost (4)
Microsoft.CodeAnalysis.LanguageServer (3)
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (20)
Microsoft.CodeAnalysis.PublicApiAnalyzers (20)
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers.UnitTests (1)
Microsoft.CodeAnalysis.Remote.Workspaces (3)
Microsoft.CodeAnalysis.ResxSourceGenerator (21)
Microsoft.CodeAnalysis.Scripting (2)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (7)
Microsoft.CodeAnalysis.UnitTests (5)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.Workspaces (35)
Microsoft.CodeAnalysis.Workspaces.Desktop (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (23)
MSBuild\ProjectFile\ProjectFile.cs (6)
343if (normalizedPath.StartsWith(projectDirectory, StringComparison.OrdinalIgnoreCase))
438item = references.FirstOrDefault(it => string.Compare(it.EvaluatedInclude, shortAssemblyName, StringComparison.OrdinalIgnoreCase) == 0);
443item = references.FirstOrDefault(it => string.Compare(it.EvaluatedInclude, fullAssemblyName, StringComparison.OrdinalIgnoreCase) == 0);
459var items = references.Where(it => it.EvaluatedInclude.StartsWith(partialName, StringComparison.OrdinalIgnoreCase)).ToList();
469=> item.Metadata.FirstOrDefault(m => string.Equals(m.Name, MetadataNames.HintPath, StringComparison.OrdinalIgnoreCase))?.EvaluatedValue ?? string.Empty;
523item ??= references.First(it => string.Compare(projectName, it.GetMetadataValue(MetadataNames.Name), StringComparison.OrdinalIgnoreCase) == 0);
MSBuild\VisualBasic\VisualBasicCommandLineArgumentReader.cs (5)
88if (string.Equals("binary", optionCompare, StringComparison.OrdinalIgnoreCase))
92else if (string.Equals("text", optionCompare, StringComparison.OrdinalIgnoreCase))
110if (string.Equals("default", vbRuntime, StringComparison.OrdinalIgnoreCase))
114else if (string.Equals("embed", vbRuntime, StringComparison.OrdinalIgnoreCase))
118else if (string.Equals("none", vbRuntime, StringComparison.OrdinalIgnoreCase))
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (4)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (4)
Microsoft.Data.Analysis (2)
Microsoft.Data.Analysis.Tests (1)
Microsoft.DotNet.Arcade.Sdk (3)
Microsoft.DotNet.ArcadeLogging (1)
Microsoft.DotNet.Build.Manifest (16)
BuildModelFactory.cs (14)
87Where(i => !string.Equals(i.GetMetadata("ExcludeFromManifest"), "true", StringComparison.OrdinalIgnoreCase));
110.Where(i => i.GetMetadata(ArtifactKindMetadata).Equals(nameof(ArtifactKind.Blob), StringComparison.OrdinalIgnoreCase))
115.Where(i => i.GetMetadata(ArtifactKindMetadata).Equals(nameof(ArtifactKind.Package), StringComparison.OrdinalIgnoreCase))
120.Where(i => i.GetMetadata(ArtifactKindMetadata).Equals(nameof(ArtifactKind.Pdb), StringComparison.OrdinalIgnoreCase))
273if (!string.Equals(refIdentity.AzureDevOpsAccount, identity.AzureDevOpsAccount, StringComparison.OrdinalIgnoreCase))
277if (!string.Equals(refIdentity.AzureDevOpsBranch, identity.AzureDevOpsBranch, StringComparison.OrdinalIgnoreCase))
289if (!string.Equals(refIdentity.AzureDevOpsBuildNumber, identity.AzureDevOpsBuildNumber, StringComparison.OrdinalIgnoreCase))
293if (!string.Equals(refIdentity.AzureDevOpsProject, identity.AzureDevOpsProject, StringComparison.OrdinalIgnoreCase))
297if (!string.Equals(refIdentity.AzureDevOpsRepository, identity.AzureDevOpsRepository, StringComparison.OrdinalIgnoreCase))
301if (!string.Equals(refIdentity.Branch, identity.Branch, StringComparison.OrdinalIgnoreCase))
305if (!string.Equals(refIdentity.BuildId, identity.BuildId, StringComparison.OrdinalIgnoreCase))
309if (!string.Equals(refIdentity.InitialAssetsLocation, identity.InitialAssetsLocation, StringComparison.OrdinalIgnoreCase))
321if (!string.Equals(refIdentity.ProductVersion, identity.ProductVersion, StringComparison.OrdinalIgnoreCase))
329if (!string.Equals(refIdentity.VersionStamp, identity.VersionStamp, StringComparison.OrdinalIgnoreCase))
Microsoft.DotNet.Build.Manifest.Tests (1)
Microsoft.DotNet.Build.Tasks.Feed (26)
Microsoft.DotNet.Build.Tasks.Installers (15)
src\CreateWixBuildWixpack.cs (14)
733int ifStart = input.IndexOf("<?if ", pos, StringComparison.OrdinalIgnoreCase);
734int ifdefStart = input.IndexOf("<?ifdef ", pos, StringComparison.OrdinalIgnoreCase);
735int ifndefStart = input.IndexOf("<?ifndef ", pos, StringComparison.OrdinalIgnoreCase);
768int ifEnd = input.IndexOf("?>", nextBlockStart, StringComparison.OrdinalIgnoreCase);
781int endifStart = input.IndexOf("<?endif?>", searchPos, StringComparison.OrdinalIgnoreCase);
793int elseifStart = input.IndexOf("<?elseif", nextTagStart, StringComparison.OrdinalIgnoreCase);
794int elseStart = input.IndexOf("<?else?>", nextTagStart, StringComparison.OrdinalIgnoreCase);
802int elseifEnd = input.IndexOf("?>", elseifStart, StringComparison.OrdinalIgnoreCase);
863int tagEnd = input.IndexOf("?>", nextBlockStart, StringComparison.OrdinalIgnoreCase);
868if (variableName.StartsWith("$(var.", StringComparison.OrdinalIgnoreCase) && variableName.EndsWith(")"))
886int endifStart = input.IndexOf("<?endif?>", tagEnd + 2, StringComparison.OrdinalIgnoreCase);
961if (varName.StartsWith("var.", StringComparison.OrdinalIgnoreCase))
966else if (varName.StartsWith("sys.", StringComparison.OrdinalIgnoreCase))
985return string.Equals(actualValue, value, StringComparison.OrdinalIgnoreCase);
Microsoft.DotNet.Build.Tasks.Packaging (15)
Microsoft.DotNet.Build.Tasks.Packaging.Tests (4)
Microsoft.DotNet.Build.Tasks.VisualStudio (1)
Microsoft.DotNet.Build.Tasks.Workloads (2)
Microsoft.DotNet.CodeAnalysis (6)
Microsoft.DotNet.GenAPI (3)
Microsoft.DotNet.Helix.JobSender (2)
Microsoft.DotNet.Helix.Sdk (6)
FindDotNetCliPackage.cs (6)
285if (string.Equals(Channel, "lts", StringComparison.OrdinalIgnoreCase))
289else if (string.Equals(Channel, "current", StringComparison.OrdinalIgnoreCase))
298if (string.Equals(Version, "latest", StringComparison.OrdinalIgnoreCase))
303if (string.Equals(PackageType, "sdk", StringComparison.OrdinalIgnoreCase))
307else if (string.Equals(PackageType, "aspnetcore-runtime", StringComparison.OrdinalIgnoreCase))
311else if (string.Equals(PackageType, "runtime", StringComparison.OrdinalIgnoreCase))
Microsoft.DotNet.NuGetRepack.Tasks (2)
Microsoft.DotNet.RemoteExecutor (3)
Microsoft.DotNet.SharedFramework.Sdk (5)
Microsoft.DotNet.SignCheckLibrary (13)
Verification\AuthentiCode.cs (6)
198if (String.Equals(unsignedAttribute.Oid.Value, WinCrypt.szOID_RSA_counterSign, StringComparison.OrdinalIgnoreCase))
204if (String.Equals(signedAttribute.Oid.Value, WinCrypt.szOID_RSA_signingTime, StringComparison.OrdinalIgnoreCase))
222else if (String.Equals(unsignedAttribute.Oid.Value, WinCrypt.szOID_RFC3161_counterSign, StringComparison.OrdinalIgnoreCase))
226else if (String.Equals(unsignedAttribute.Oid.Value, WinCrypt.szOID_NESTED_SIGNATURE, StringComparison.OrdinalIgnoreCase))
236if (String.Equals(nestedUnsignedAttribute.Oid.Value, WinCrypt.szOID_RFC3161_counterSign, StringComparison.OrdinalIgnoreCase))
258if (String.Equals(rfc3161Message.ContentInfo.ContentType.Value, WinCrypt.szOID_TIMESTAMP_TOKEN, StringComparison.OrdinalIgnoreCase))
Microsoft.DotNet.SignTool (34)
Microsoft.DotNet.SourceBuild.Tasks (1)
Microsoft.DotNet.XliffTasks (8)
Microsoft.DotNet.XUnitAssert.Tests (60)
MemoryAssertsTests.cs (12)
58 Assert.Contains("WORLD".AsMemory(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
64 Assert.Contains("WORLD".Memoryify(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase);
223 var ex = Record.Exception(() => Assert.DoesNotContain("WORLD".AsMemory(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase));
238 var ex = Record.Exception(() => Assert.DoesNotContain("WORLD".Memoryify(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase));
477 Assert.EndsWith("WORLD!".AsMemory(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
478 Assert.EndsWith("WORLD!".AsMemory(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase);
479 Assert.EndsWith("WORLD!".Memoryify(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
480 Assert.EndsWith("WORLD!".Memoryify(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase);
894 Assert.StartsWith("HELLO".AsMemory(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
895 Assert.StartsWith("HELLO".AsMemory(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase);
896 Assert.StartsWith("HELLO".Memoryify(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
897 Assert.StartsWith("HELLO".Memoryify(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase);
SpanAssertsTests.cs (12)
58 Assert.Contains("WORLD".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
64 Assert.Contains("WORLD".Spanify(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase);
223 var ex = Record.Exception(() => Assert.DoesNotContain("WORLD".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase));
238 var ex = Record.Exception(() => Assert.DoesNotContain("WORLD".Spanify(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase));
477 Assert.EndsWith("WORLD!".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
478 Assert.EndsWith("WORLD!".AsSpan(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase);
479 Assert.EndsWith("WORLD!".Spanify(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
480 Assert.EndsWith("WORLD!".Spanify(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase);
894 Assert.StartsWith("HELLO".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
895 Assert.StartsWith("HELLO".AsSpan(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase);
896 Assert.StartsWith("HELLO".Spanify(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
897 Assert.StartsWith("HELLO".Spanify(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase);
StringAssertsTests.cs (36)
133 Assert.Contains("WORLD", "Hello, world!", StringComparison.OrdinalIgnoreCase);
135 Assert.Contains("WORLD".Memoryify(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase);
136 Assert.Contains("WORLD".AsMemory(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase);
137 Assert.Contains("WORLD".Memoryify(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
138 Assert.Contains("WORLD".AsMemory(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
139 Assert.Contains("WORLD".Spanify(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase);
140 Assert.Contains("WORLD".AsSpan(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase);
141 Assert.Contains("WORLD".Spanify(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
142 Assert.Contains("WORLD".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
324 verify(() => Assert.DoesNotContain("WORLD", "Hello, world!", StringComparison.OrdinalIgnoreCase));
326 verify(() => Assert.DoesNotContain("WORLD".Memoryify(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase));
327 verify(() => Assert.DoesNotContain("WORLD".AsMemory(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase));
328 verify(() => Assert.DoesNotContain("WORLD".Memoryify(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase));
329 verify(() => Assert.DoesNotContain("WORLD".AsMemory(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase));
330 verify(() => Assert.DoesNotContain("WORLD".Spanify(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase));
331 verify(() => Assert.DoesNotContain("WORLD".AsSpan(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase));
332 verify(() => Assert.DoesNotContain("WORLD".Spanify(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase));
333 verify(() => Assert.DoesNotContain("WORLD".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase));
505 Assert.EndsWith("WORLD!", "Hello, world!", StringComparison.OrdinalIgnoreCase);
507 Assert.EndsWith("WORLD!".Memoryify(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase);
508 Assert.EndsWith("WORLD!".AsMemory(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase);
509 Assert.EndsWith("WORLD!".Memoryify(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
510 Assert.EndsWith("WORLD!".AsMemory(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
511 Assert.EndsWith("WORLD!".Spanify(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase);
512 Assert.EndsWith("WORLD!".AsSpan(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase);
513 Assert.EndsWith("WORLD!".Spanify(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
514 Assert.EndsWith("WORLD!".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
907 Assert.StartsWith("HELLO", "Hello, world!", StringComparison.OrdinalIgnoreCase);
909 Assert.StartsWith("HELLO".Memoryify(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase);
910 Assert.StartsWith("HELLO".AsMemory(), "Hello, world!".Memoryify(), StringComparison.OrdinalIgnoreCase);
911 Assert.StartsWith("HELLO".Memoryify(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
912 Assert.StartsWith("HELLO".AsMemory(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
913 Assert.StartsWith("HELLO".Spanify(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase);
914 Assert.StartsWith("HELLO".AsSpan(), "Hello, world!".Spanify(), StringComparison.OrdinalIgnoreCase);
915 Assert.StartsWith("HELLO".Spanify(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
916 Assert.StartsWith("HELLO".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
Microsoft.DotNet.XUnitExtensions (2)
Microsoft.DotNet.XUnitV3Extensions (2)
Microsoft.Extensions.AI.Abstractions (7)
Microsoft.Extensions.AI.AzureAIInference (3)
Microsoft.Extensions.AI.Evaluation (2)
Microsoft.Extensions.AI.Evaluation.Console (2)
Microsoft.Extensions.AI.Evaluation.Reporting (2)
Microsoft.Extensions.AI.Evaluation.Safety (6)
Microsoft.Extensions.AI.Integration.Tests (20)
ChatClientIntegrationTests.cs (17)
59Assert.Contains("whale", response.Text, StringComparison.OrdinalIgnoreCase);
113Assert.Contains("one small step", responseText, StringComparison.OrdinalIgnoreCase);
114Assert.Contains("one giant leap", responseText, StringComparison.OrdinalIgnoreCase);
192Assert.True(response.Text.IndexOf("net", StringComparison.OrdinalIgnoreCase) >= 0, response.Text);
210Assert.True(response.Text.IndexOf("hello", StringComparison.OrdinalIgnoreCase) >= 0, response.Text);
1164response.Text.IndexOf("hiking", StringComparison.OrdinalIgnoreCase) >= 0 ||
1165response.Text.IndexOf("hike", StringComparison.OrdinalIgnoreCase) >= 0,
1206response.Text.IndexOf("arr", StringComparison.OrdinalIgnoreCase) >= 0 ||
1207response.Text.IndexOf("aye", StringComparison.OrdinalIgnoreCase) >= 0 ||
1208response.Text.IndexOf("matey", StringComparison.OrdinalIgnoreCase) >= 0 ||
1209response.Text.IndexOf("ye", StringComparison.OrdinalIgnoreCase) >= 0,
1256Assert.True(response.Text.IndexOf("Miami", StringComparison.OrdinalIgnoreCase) >= 0, $"Expected 'Miami' in response: {response.Text}");
1258response.Text.IndexOf("sunny", StringComparison.OrdinalIgnoreCase) >= 0 ||
1259response.Text.IndexOf("better", StringComparison.OrdinalIgnoreCase) >= 0 ||
1260response.Text.IndexOf("warm", StringComparison.OrdinalIgnoreCase) >= 0,
1304responseText.IndexOf("software", StringComparison.OrdinalIgnoreCase) >= 0 ||
1305responseText.IndexOf("engineer", StringComparison.OrdinalIgnoreCase) >= 0,
Microsoft.Extensions.AI.OpenAI (7)
Microsoft.Extensions.AI.OpenAI.Tests (1)
Microsoft.Extensions.AI.Tests (1)
Microsoft.Extensions.ApiDescription.Client (1)
Microsoft.Extensions.ApiDescription.Client.Tests (4)
Microsoft.Extensions.Configuration (2)
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.Xml (2)
Microsoft.Extensions.DependencyModel (7)
Resolution\AppBaseCompilationAssemblyResolver.cs (5)
48bool isProject = string.Equals(library.Type, "project", StringComparison.OrdinalIgnoreCase) ||
49string.Equals(library.Type, "msbuildproject", StringComparison.OrdinalIgnoreCase);
51bool isPackage = string.Equals(library.Type, "package", StringComparison.OrdinalIgnoreCase);
52bool isReferenceAssembly = string.Equals(library.Type, "referenceassembly", StringComparison.OrdinalIgnoreCase);
56!string.Equals(library.Type, "reference", StringComparison.OrdinalIgnoreCase))
Microsoft.Extensions.Diagnostics (9)
Microsoft.Extensions.Diagnostics.ExceptionSummarization (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (3)
Microsoft.Extensions.FileProviders.Embedded (2)
Microsoft.Extensions.FileProviders.Physical (4)
Microsoft.Extensions.FileSystemGlobbing (8)
Microsoft.Extensions.Hosting (5)
Microsoft.Extensions.Hosting.Abstractions (2)
Microsoft.Extensions.Hosting.WindowsServices (1)
Microsoft.Extensions.Http.Diagnostics (5)
Microsoft.Extensions.Logging (2)
Microsoft.Extensions.Logging.Configuration (2)
Microsoft.Extensions.Logging.Console (2)
Microsoft.Extensions.Logging.EventSource (1)
Microsoft.Extensions.Logging.Generators (13)
Microsoft.Extensions.Options.ConfigurationExtensions (1)
Microsoft.Extensions.Options.SourceGeneration (3)
Microsoft.Extensions.Primitives (2)
Microsoft.Extensions.ServiceDiscovery (1)
Microsoft.Extensions.ServiceDiscovery.Dns (3)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests.Fuzzing (2)
Microsoft.Extensions.Telemetry (6)
Microsoft.Extensions.Validation.GeneratorTests (2)
Microsoft.Extensions.Validation.ValidationsGenerator (2)
Microsoft.Gen.ComplianceReports (1)
Microsoft.Gen.ContextualOptions (1)
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
Microsoft.Gen.Logging (13)
Microsoft.Gen.Logging.Unit.Tests (1)
Microsoft.Gen.MetadataExtractor (1)
Microsoft.Gen.Metrics (2)
Microsoft.Gen.Metrics.Unit.Tests (1)
Microsoft.Gen.MetricsReports (1)
Microsoft.Interop.ComInterfaceGenerator (5)
Microsoft.Interop.LibraryImportGenerator (3)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
Microsoft.Interop.SourceGeneration (1)
Microsoft.Maui (19)
Converters\FlexEnumsConverters.cs (17)
26 if (strValue.Equals("flex-start", StringComparison.OrdinalIgnoreCase))
28 if (strValue.Equals("flex-end", StringComparison.OrdinalIgnoreCase))
30 if (strValue.Equals("space-between", StringComparison.OrdinalIgnoreCase))
32 if (strValue.Equals("space-around", StringComparison.OrdinalIgnoreCase))
65 if (strValue.Equals("row-reverse", StringComparison.OrdinalIgnoreCase))
67 if (strValue.Equals("column-reverse", StringComparison.OrdinalIgnoreCase))
100 if (strValue.Equals("flex-start", StringComparison.OrdinalIgnoreCase))
102 if (strValue.Equals("flex-end", StringComparison.OrdinalIgnoreCase))
104 if (strValue.Equals("space-between", StringComparison.OrdinalIgnoreCase))
106 if (strValue.Equals("space-around", StringComparison.OrdinalIgnoreCase))
139 if (strValue.Equals("flex-start", StringComparison.OrdinalIgnoreCase))
141 if (strValue.Equals("flex-end", StringComparison.OrdinalIgnoreCase))
174 if (strValue.Equals("flex-start", StringComparison.OrdinalIgnoreCase))
176 if (strValue.Equals("flex-end", StringComparison.OrdinalIgnoreCase))
209 if (strValue.Equals("wrap-reverse", StringComparison.OrdinalIgnoreCase))
247 if (strValue.Equals("auto", StringComparison.OrdinalIgnoreCase))
273 if (!strValue.EndsWith("%", StringComparison.OrdinalIgnoreCase))
Microsoft.Maui.Controls (47)
TextAlignment.cs (11)
21 if (strValue.Equals("Start", StringComparison.OrdinalIgnoreCase) || strValue.Equals("left", StringComparison.OrdinalIgnoreCase))
23 if (strValue.Equals("top", StringComparison.OrdinalIgnoreCase))
25 if (strValue.Equals("right", StringComparison.OrdinalIgnoreCase))
27 if (strValue.Equals("bottom", StringComparison.OrdinalIgnoreCase))
29 if (strValue.Equals("center", StringComparison.OrdinalIgnoreCase))
31 if (strValue.Equals("middle", StringComparison.OrdinalIgnoreCase))
33 if (strValue.Equals("End", StringComparison.OrdinalIgnoreCase) || strValue.Equals("right", StringComparison.OrdinalIgnoreCase))
35 if (strValue.Equals("Center", StringComparison.OrdinalIgnoreCase) || strValue.Equals("center", StringComparison.OrdinalIgnoreCase))
VisualElement\VisualElement.cs (14)
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))
2446 if (strValue.Equals(bool.TrueString, StringComparison.OrdinalIgnoreCase))
2448 if (strValue.Equals("visible", StringComparison.OrdinalIgnoreCase))
2450 if (strValue.Equals(bool.FalseString, StringComparison.OrdinalIgnoreCase))
2452 if (strValue.Equals("hidden", StringComparison.OrdinalIgnoreCase))
2454 if (strValue.Equals("collapse", StringComparison.OrdinalIgnoreCase))
Microsoft.Maui.Controls.Build.Tasks (6)
Microsoft.Maui.Controls.DesignTools (5)
Microsoft.Maui.Controls.SourceGen (5)
Microsoft.Maui.Controls.Xaml (9)
Microsoft.Maui.Essentials (2)
Microsoft.Maui.Graphics (8)
Microsoft.Maui.Resizetizer (2)
Microsoft.ML.AutoML (1)
Microsoft.ML.Core (2)
Microsoft.ML.CpuMath.PerformanceTests (1)
Microsoft.ML.CpuMath.UnitTests (1)
Microsoft.ML.Data (11)
Microsoft.ML.InternalCodeAnalyzer (3)
Microsoft.ML.Parquet (1)
Microsoft.ML.ResultProcessor (3)
Microsoft.ML.Samples (2)
Microsoft.ML.Sweeper (2)
Microsoft.ML.Tests (4)
Microsoft.ML.Tokenizers (8)
Microsoft.ML.Tokenizers.Tests (5)
Microsoft.ML.Transforms (2)
Microsoft.Net.Http.Headers (58)
Microsoft.VisualBasic.Core (33)
Microsoft\VisualBasic\FileIO\FileSystem.vb (12)
92(file.EndsWith(IO.Path.DirectorySeparatorChar, StringComparison.OrdinalIgnoreCase) Or
93file.EndsWith(IO.Path.AltDirectorySeparatorChar, StringComparison.OrdinalIgnoreCase)) Then
686StringComparison.OrdinalIgnoreCase), "Invalid FullNewPath")
723StringComparison.OrdinalIgnoreCase), "Invalid FullNewPath")
925If TargetDirectoryFullPath.Equals(SourceDirectoryFullPath, StringComparison.OrdinalIgnoreCase) Then
935SourceDirectoryFullPath, StringComparison.OrdinalIgnoreCase) Then
1130sourceFileFullPath.Equals(destinationFileFullPath, StringComparison.OrdinalIgnoreCase) Then
1468If Not GetParentPath(FullPath).Equals(Path, StringComparison.OrdinalIgnoreCase) Then
1540Return String.Equals(IO.Path.GetPathRoot(Path1), IO.Path.GetPathRoot(Path2), StringComparison.OrdinalIgnoreCase)
1561Return String.Equals(Path, IO.Path.GetPathRoot(Path), StringComparison.OrdinalIgnoreCase)
1576If Path.Equals(IO.Path.GetPathRoot(Path), StringComparison.OrdinalIgnoreCase) Then
2226Return New String(CharBuffer).Contains(m_SearchText, StringComparison.OrdinalIgnoreCase)
Microsoft\VisualBasic\Strings.vb (16)
1078If String.Equals(Style, NAMEDFORMAT_FIXED, StringComparison.OrdinalIgnoreCase) Then
1090If String.Equals(Style, NAMEDFORMAT_YES_NO, StringComparison.OrdinalIgnoreCase) Then
1096If String.Equals(Style, NAMEDFORMAT_ON_OFF, StringComparison.OrdinalIgnoreCase) Then
1107If String.Equals(Style, NAMEDFORMAT_PERCENT, StringComparison.OrdinalIgnoreCase) Then
1120If String.Equals(Style, NAMEDFORMAT_STANDARD, StringComparison.OrdinalIgnoreCase) Then
1125If String.Equals(Style, NAMEDFORMAT_CURRENCY, StringComparison.OrdinalIgnoreCase) Then
1138If String.Equals(Style, NAMEDFORMAT_LONG_TIME, StringComparison.OrdinalIgnoreCase) Then
1144If String.Equals(Style, NAMEDFORMAT_LONG_DATE, StringComparison.OrdinalIgnoreCase) Then
1159If String.Equals(Style, NAMEDFORMAT_TRUE_FALSE, StringComparison.OrdinalIgnoreCase) Then
1165If String.Equals(Style, NAMEDFORMAT_SHORT_TIME, StringComparison.OrdinalIgnoreCase) Then
1171If String.Equals(Style, NAMEDFORMAT_SHORT_DATE, StringComparison.OrdinalIgnoreCase) Then
1177If String.Equals(Style, NAMEDFORMAT_SCIENTIFIC, StringComparison.OrdinalIgnoreCase) Then
1197If String.Equals(Style, NAMEDFORMAT_MEDIUM_TIME, StringComparison.OrdinalIgnoreCase) Then
1203If String.Equals(Style, NAMEDFORMAT_MEDIUM_DATE, StringComparison.OrdinalIgnoreCase) Then
1212If String.Equals(Style, NAMEDFORMAT_GENERAL_DATE, StringComparison.OrdinalIgnoreCase) Then
1221If String.Equals(Style, NAMEDFORMAT_GENERAL_NUMBER, StringComparison.OrdinalIgnoreCase) Then
Microsoft.VisualStudio.LanguageServices (32)
Microsoft.VisualStudio.LanguageServices.Implementation (5)
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Microsoft.Web.Xdt.Extensions (3)
Mvc.Api.Analyzers.Test (1)
Mvc.RoutingWebSite (3)
NegotiateAuthSample (1)
PresentationBuildTasks (170)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (6)
613Guid hashGuid = !string.IsNullOrEmpty(ChecksumAlgorithm) && ChecksumAlgorithm.Equals("SHA256", StringComparison.OrdinalIgnoreCase)
1353return IsLanguageCSharp || (CompilerInfo != null && string.Equals(CompilerInfo.GetLanguages()[0], JSCRIPT, StringComparison.OrdinalIgnoreCase));
1360return CompilerInfo == null || !string.Equals(CompilerInfo.GetLanguages()[0], JSHARP, StringComparison.OrdinalIgnoreCase);
1601if (TargetPath.StartsWith(SourceFileInfo.SourcePath, StringComparison.OrdinalIgnoreCase))
2098_isLangCSharp = string.Equals(language, CSHARP, StringComparison.OrdinalIgnoreCase);
2107_isLangVB = string.Equals(language, VB, StringComparison.OrdinalIgnoreCase);
src\Microsoft.DotNet.Wpf\src\PresentationCore\System\Windows\Media\Knowncolors.cs (141)
286if (colorString.Equals("Red", StringComparison.OrdinalIgnoreCase))
288if (colorString.Equals("Tan", StringComparison.OrdinalIgnoreCase))
295if (colorString.Equals("Aqua", StringComparison.OrdinalIgnoreCase))
299if (colorString.Equals("Blue", StringComparison.OrdinalIgnoreCase))
303if (colorString.Equals("Cyan", StringComparison.OrdinalIgnoreCase))
307if (colorString.Equals("Gold", StringComparison.OrdinalIgnoreCase))
309if (colorString.Equals("Gray", StringComparison.OrdinalIgnoreCase))
313if (colorString.Equals("Lime", StringComparison.OrdinalIgnoreCase))
317if (colorString.Equals("Navy", StringComparison.OrdinalIgnoreCase))
321if (colorString.Equals("Peru", StringComparison.OrdinalIgnoreCase))
323if (colorString.Equals("Pink", StringComparison.OrdinalIgnoreCase))
325if (colorString.Equals("Plum", StringComparison.OrdinalIgnoreCase))
329if (colorString.Equals("Snow", StringComparison.OrdinalIgnoreCase))
333if (colorString.Equals("Teal", StringComparison.OrdinalIgnoreCase))
342if (colorString.Equals("Azure", StringComparison.OrdinalIgnoreCase))
346if (colorString.Equals("Beige", StringComparison.OrdinalIgnoreCase))
348if (colorString.Equals("Black", StringComparison.OrdinalIgnoreCase))
350if (colorString.Equals("Brown", StringComparison.OrdinalIgnoreCase))
354if (colorString.Equals("Coral", StringComparison.OrdinalIgnoreCase))
358if (colorString.Equals("Green", StringComparison.OrdinalIgnoreCase))
362if (colorString.Equals("Ivory", StringComparison.OrdinalIgnoreCase))
366if (colorString.Equals("Khaki", StringComparison.OrdinalIgnoreCase))
370if (colorString.Equals("Linen", StringComparison.OrdinalIgnoreCase))
374if (colorString.Equals("Olive", StringComparison.OrdinalIgnoreCase))
378if (colorString.Equals("Wheat", StringComparison.OrdinalIgnoreCase))
380if (colorString.Equals("White", StringComparison.OrdinalIgnoreCase))
389if (colorString.Equals("Bisque", StringComparison.OrdinalIgnoreCase))
393if (colorString.Equals("Indigo", StringComparison.OrdinalIgnoreCase))
397if (colorString.Equals("Maroon", StringComparison.OrdinalIgnoreCase))
401if (colorString.Equals("Orange", StringComparison.OrdinalIgnoreCase))
403if (colorString.Equals("Orchid", StringComparison.OrdinalIgnoreCase))
407if (colorString.Equals("Purple", StringComparison.OrdinalIgnoreCase))
411if (colorString.Equals("Salmon", StringComparison.OrdinalIgnoreCase))
413if (colorString.Equals("Sienna", StringComparison.OrdinalIgnoreCase))
415if (colorString.Equals("Silver", StringComparison.OrdinalIgnoreCase))
419if (colorString.Equals("Tomato", StringComparison.OrdinalIgnoreCase))
423if (colorString.Equals("Violet", StringComparison.OrdinalIgnoreCase))
427if (colorString.Equals("Yellow", StringComparison.OrdinalIgnoreCase))
436if (colorString.Equals("Crimson", StringComparison.OrdinalIgnoreCase))
440if (colorString.Equals("DarkRed", StringComparison.OrdinalIgnoreCase))
442if (colorString.Equals("DimGray", StringComparison.OrdinalIgnoreCase))
446if (colorString.Equals("Fuchsia", StringComparison.OrdinalIgnoreCase))
450if (colorString.Equals("HotPink", StringComparison.OrdinalIgnoreCase))
454if (colorString.Equals("Magenta", StringComparison.OrdinalIgnoreCase))
458if (colorString.Equals("OldLace", StringComparison.OrdinalIgnoreCase))
462if (colorString.Equals("SkyBlue", StringComparison.OrdinalIgnoreCase))
466if (colorString.Equals("Thistle", StringComparison.OrdinalIgnoreCase))
475if (colorString.Equals("Cornsilk", StringComparison.OrdinalIgnoreCase))
479if (colorString.Equals("DarkBlue", StringComparison.OrdinalIgnoreCase))
481if (colorString.Equals("DarkCyan", StringComparison.OrdinalIgnoreCase))
483if (colorString.Equals("DarkGray", StringComparison.OrdinalIgnoreCase))
485if (colorString.Equals("DeepPink", StringComparison.OrdinalIgnoreCase))
489if (colorString.Equals("Honeydew", StringComparison.OrdinalIgnoreCase))
493if (colorString.Equals("Lavender", StringComparison.OrdinalIgnoreCase))
497if (colorString.Equals("Moccasin", StringComparison.OrdinalIgnoreCase))
501if (colorString.Equals("SeaGreen", StringComparison.OrdinalIgnoreCase))
503if (colorString.Equals("SeaShell", StringComparison.OrdinalIgnoreCase))
512if (colorString.Equals("AliceBlue", StringComparison.OrdinalIgnoreCase))
516if (colorString.Equals("BurlyWood", StringComparison.OrdinalIgnoreCase))
520if (colorString.Equals("CadetBlue", StringComparison.OrdinalIgnoreCase))
522if (colorString.Equals("Chocolate", StringComparison.OrdinalIgnoreCase))
526if (colorString.Equals("DarkGreen", StringComparison.OrdinalIgnoreCase))
528if (colorString.Equals("DarkKhaki", StringComparison.OrdinalIgnoreCase))
532if (colorString.Equals("Firebrick", StringComparison.OrdinalIgnoreCase))
536if (colorString.Equals("Gainsboro", StringComparison.OrdinalIgnoreCase))
538if (colorString.Equals("Goldenrod", StringComparison.OrdinalIgnoreCase))
542if (colorString.Equals("IndianRed", StringComparison.OrdinalIgnoreCase))
546if (colorString.Equals("LawnGreen", StringComparison.OrdinalIgnoreCase))
548if (colorString.Equals("LightBlue", StringComparison.OrdinalIgnoreCase))
550if (colorString.Equals("LightCyan", StringComparison.OrdinalIgnoreCase))
552if (colorString.Equals("LightGray", StringComparison.OrdinalIgnoreCase))
554if (colorString.Equals("LightPink", StringComparison.OrdinalIgnoreCase))
556if (colorString.Equals("LimeGreen", StringComparison.OrdinalIgnoreCase))
560if (colorString.Equals("MintCream", StringComparison.OrdinalIgnoreCase))
562if (colorString.Equals("MistyRose", StringComparison.OrdinalIgnoreCase))
566if (colorString.Equals("OliveDrab", StringComparison.OrdinalIgnoreCase))
568if (colorString.Equals("OrangeRed", StringComparison.OrdinalIgnoreCase))
572if (colorString.Equals("PaleGreen", StringComparison.OrdinalIgnoreCase))
574if (colorString.Equals("PeachPuff", StringComparison.OrdinalIgnoreCase))
578if (colorString.Equals("RosyBrown", StringComparison.OrdinalIgnoreCase))
580if (colorString.Equals("RoyalBlue", StringComparison.OrdinalIgnoreCase))
584if (colorString.Equals("SlateBlue", StringComparison.OrdinalIgnoreCase))
586if (colorString.Equals("SlateGray", StringComparison.OrdinalIgnoreCase))
588if (colorString.Equals("SteelBlue", StringComparison.OrdinalIgnoreCase))
592if (colorString.Equals("Turquoise", StringComparison.OrdinalIgnoreCase))
601if (colorString.Equals("Aquamarine", StringComparison.OrdinalIgnoreCase))
605if (colorString.Equals("BlueViolet", StringComparison.OrdinalIgnoreCase))
609if (colorString.Equals("Chartreuse", StringComparison.OrdinalIgnoreCase))
613if (colorString.Equals("DarkOrange", StringComparison.OrdinalIgnoreCase))
615if (colorString.Equals("DarkOrchid", StringComparison.OrdinalIgnoreCase))
617if (colorString.Equals("DarkSalmon", StringComparison.OrdinalIgnoreCase))
619if (colorString.Equals("DarkViolet", StringComparison.OrdinalIgnoreCase))
621if (colorString.Equals("DodgerBlue", StringComparison.OrdinalIgnoreCase))
625if (colorString.Equals("GhostWhite", StringComparison.OrdinalIgnoreCase))
629if (colorString.Equals("LightCoral", StringComparison.OrdinalIgnoreCase))
631if (colorString.Equals("LightGreen", StringComparison.OrdinalIgnoreCase))
635if (colorString.Equals("MediumBlue", StringComparison.OrdinalIgnoreCase))
639if (colorString.Equals("PapayaWhip", StringComparison.OrdinalIgnoreCase))
641if (colorString.Equals("PowderBlue", StringComparison.OrdinalIgnoreCase))
645if (colorString.Equals("SandyBrown", StringComparison.OrdinalIgnoreCase))
649if (colorString.Equals("WhiteSmoke", StringComparison.OrdinalIgnoreCase))
658if (colorString.Equals("DarkMagenta", StringComparison.OrdinalIgnoreCase))
660if (colorString.Equals("DeepSkyBlue", StringComparison.OrdinalIgnoreCase))
664if (colorString.Equals("FloralWhite", StringComparison.OrdinalIgnoreCase))
666if (colorString.Equals("ForestGreen", StringComparison.OrdinalIgnoreCase))
670if (colorString.Equals("GreenYellow", StringComparison.OrdinalIgnoreCase))
674if (colorString.Equals("LightSalmon", StringComparison.OrdinalIgnoreCase))
676if (colorString.Equals("LightYellow", StringComparison.OrdinalIgnoreCase))
680if (colorString.Equals("NavajoWhite", StringComparison.OrdinalIgnoreCase))
684if (colorString.Equals("SaddleBrown", StringComparison.OrdinalIgnoreCase))
686if (colorString.Equals("SpringGreen", StringComparison.OrdinalIgnoreCase))
690if (colorString.Equals("Transparent", StringComparison.OrdinalIgnoreCase))
694if (colorString.Equals("YellowGreen", StringComparison.OrdinalIgnoreCase))
703if (colorString.Equals("AntiqueWhite", StringComparison.OrdinalIgnoreCase))
707if (colorString.Equals("DarkSeaGreen", StringComparison.OrdinalIgnoreCase))
711if (colorString.Equals("LightSkyBlue", StringComparison.OrdinalIgnoreCase))
713if (colorString.Equals("LemonChiffon", StringComparison.OrdinalIgnoreCase))
717if (colorString.Equals("MediumOrchid", StringComparison.OrdinalIgnoreCase))
719if (colorString.Equals("MediumPurple", StringComparison.OrdinalIgnoreCase))
721if (colorString.Equals("MidnightBlue", StringComparison.OrdinalIgnoreCase))
730if (colorString.Equals("DarkSlateBlue", StringComparison.OrdinalIgnoreCase))
732if (colorString.Equals("DarkSlateGray", StringComparison.OrdinalIgnoreCase))
734if (colorString.Equals("DarkGoldenrod", StringComparison.OrdinalIgnoreCase))
736if (colorString.Equals("DarkTurquoise", StringComparison.OrdinalIgnoreCase))
740if (colorString.Equals("LightSeaGreen", StringComparison.OrdinalIgnoreCase))
742if (colorString.Equals("LavenderBlush", StringComparison.OrdinalIgnoreCase))
746if (colorString.Equals("PaleGoldenrod", StringComparison.OrdinalIgnoreCase))
748if (colorString.Equals("PaleTurquoise", StringComparison.OrdinalIgnoreCase))
750if (colorString.Equals("PaleVioletRed", StringComparison.OrdinalIgnoreCase))
759if (colorString.Equals("BlanchedAlmond", StringComparison.OrdinalIgnoreCase))
763if (colorString.Equals("CornflowerBlue", StringComparison.OrdinalIgnoreCase))
767if (colorString.Equals("DarkOliveGreen", StringComparison.OrdinalIgnoreCase))
771if (colorString.Equals("LightSlateGray", StringComparison.OrdinalIgnoreCase))
773if (colorString.Equals("LightSteelBlue", StringComparison.OrdinalIgnoreCase))
777if (colorString.Equals("MediumSeaGreen", StringComparison.OrdinalIgnoreCase))
783if (colorString.Equals("MediumSlateBlue", StringComparison.OrdinalIgnoreCase))
785if (colorString.Equals("MediumTurquoise", StringComparison.OrdinalIgnoreCase))
787if (colorString.Equals("MediumVioletRed", StringComparison.OrdinalIgnoreCase))
791if (colorString.Equals("MediumAquamarine", StringComparison.OrdinalIgnoreCase))
795if (colorString.Equals("MediumSpringGreen", StringComparison.OrdinalIgnoreCase))
799if (colorString.Equals("LightGoldenrodYellow", StringComparison.OrdinalIgnoreCase))
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlTypeMapper.cs (5)
390if (AssemblyWB == null && string.Equals(asmName, _assemblyNames[0], StringComparison.OrdinalIgnoreCase))
394else if (AssemblyPC == null && string.Equals(asmName, _assemblyNames[1], StringComparison.OrdinalIgnoreCase))
398else if (AssemblyPF == null && string.Equals(asmName, _assemblyNames[2], StringComparison.OrdinalIgnoreCase))
402else if (string.Equals(asmName, "SYSTEM.XML", StringComparison.OrdinalIgnoreCase))
407else if (string.Equals(asmName, "SYSTEM", StringComparison.OrdinalIgnoreCase))
PresentationCore (248)
System\Windows\FontStretches.cs (10)
73if (s.Equals("Normal", StringComparison.OrdinalIgnoreCase))
78if (s.Equals("Medium", StringComparison.OrdinalIgnoreCase))
86if (s.Equals("Expanded", StringComparison.OrdinalIgnoreCase))
94if (s.Equals("Condensed", StringComparison.OrdinalIgnoreCase))
102if (s.Equals("SemiExpanded", StringComparison.OrdinalIgnoreCase))
110if (s.Equals("SemiCondensed", StringComparison.OrdinalIgnoreCase))
115if (s.Equals("ExtraExpanded", StringComparison.OrdinalIgnoreCase))
120if (s.Equals("UltraExpanded", StringComparison.OrdinalIgnoreCase))
128if (s.Equals("UltraCondensed", StringComparison.OrdinalIgnoreCase))
133if (s.Equals("ExtraCondensed", StringComparison.OrdinalIgnoreCase))
System\Windows\FontWeights.cs (16)
102if (s.Equals("Bold", StringComparison.OrdinalIgnoreCase))
107if (s.Equals("Thin", StringComparison.OrdinalIgnoreCase))
115if (s.Equals("Black", StringComparison.OrdinalIgnoreCase))
120if (s.Equals("Light", StringComparison.OrdinalIgnoreCase))
125if (s.Equals("Heavy", StringComparison.OrdinalIgnoreCase))
133if (s.Equals("Normal", StringComparison.OrdinalIgnoreCase))
138if (s.Equals("Medium", StringComparison.OrdinalIgnoreCase))
146if (s.Equals("Regular", StringComparison.OrdinalIgnoreCase))
154if (s.Equals("SemiBold", StringComparison.OrdinalIgnoreCase))
159if (s.Equals("DemiBold", StringComparison.OrdinalIgnoreCase))
167if (s.Equals("ExtraBold", StringComparison.OrdinalIgnoreCase))
172if (s.Equals("UltraBold", StringComparison.OrdinalIgnoreCase))
180if (s.Equals("ExtraLight", StringComparison.OrdinalIgnoreCase))
185if (s.Equals("UltraLight", StringComparison.OrdinalIgnoreCase))
190if (s.Equals("ExtraBlack", StringComparison.OrdinalIgnoreCase))
195if (s.Equals("UltraBlack", StringComparison.OrdinalIgnoreCase))
System\Windows\Input\Command\MouseActionConverter.cs (8)
62_ when mouseActionToken.Equals("None", StringComparison.OrdinalIgnoreCase) => MouseAction.None,
63_ when mouseActionToken.Equals("LeftClick", StringComparison.OrdinalIgnoreCase) => MouseAction.LeftClick,
64_ when mouseActionToken.Equals("RightClick", StringComparison.OrdinalIgnoreCase) => MouseAction.RightClick,
65_ when mouseActionToken.Equals("MiddleClick", StringComparison.OrdinalIgnoreCase) => MouseAction.MiddleClick,
66_ when mouseActionToken.Equals("WheelClick", StringComparison.OrdinalIgnoreCase) => MouseAction.WheelClick,
67_ when mouseActionToken.Equals("LeftDoubleClick", StringComparison.OrdinalIgnoreCase) => MouseAction.LeftDoubleClick,
68_ when mouseActionToken.Equals("RightDoubleClick", StringComparison.OrdinalIgnoreCase) => MouseAction.RightDoubleClick,
69_ when mouseActionToken.Equals("MiddleDoubleClick", StringComparison.OrdinalIgnoreCase) => MouseAction.MiddleDoubleClick,
System\Windows\Media\Knowncolors.cs (142)
252if ((trimmedString.StartsWith(Parsers.s_ContextColor, StringComparison.OrdinalIgnoreCase)))
286if (colorString.Equals("Red", StringComparison.OrdinalIgnoreCase))
288if (colorString.Equals("Tan", StringComparison.OrdinalIgnoreCase))
295if (colorString.Equals("Aqua", StringComparison.OrdinalIgnoreCase))
299if (colorString.Equals("Blue", StringComparison.OrdinalIgnoreCase))
303if (colorString.Equals("Cyan", StringComparison.OrdinalIgnoreCase))
307if (colorString.Equals("Gold", StringComparison.OrdinalIgnoreCase))
309if (colorString.Equals("Gray", StringComparison.OrdinalIgnoreCase))
313if (colorString.Equals("Lime", StringComparison.OrdinalIgnoreCase))
317if (colorString.Equals("Navy", StringComparison.OrdinalIgnoreCase))
321if (colorString.Equals("Peru", StringComparison.OrdinalIgnoreCase))
323if (colorString.Equals("Pink", StringComparison.OrdinalIgnoreCase))
325if (colorString.Equals("Plum", StringComparison.OrdinalIgnoreCase))
329if (colorString.Equals("Snow", StringComparison.OrdinalIgnoreCase))
333if (colorString.Equals("Teal", StringComparison.OrdinalIgnoreCase))
342if (colorString.Equals("Azure", StringComparison.OrdinalIgnoreCase))
346if (colorString.Equals("Beige", StringComparison.OrdinalIgnoreCase))
348if (colorString.Equals("Black", StringComparison.OrdinalIgnoreCase))
350if (colorString.Equals("Brown", StringComparison.OrdinalIgnoreCase))
354if (colorString.Equals("Coral", StringComparison.OrdinalIgnoreCase))
358if (colorString.Equals("Green", StringComparison.OrdinalIgnoreCase))
362if (colorString.Equals("Ivory", StringComparison.OrdinalIgnoreCase))
366if (colorString.Equals("Khaki", StringComparison.OrdinalIgnoreCase))
370if (colorString.Equals("Linen", StringComparison.OrdinalIgnoreCase))
374if (colorString.Equals("Olive", StringComparison.OrdinalIgnoreCase))
378if (colorString.Equals("Wheat", StringComparison.OrdinalIgnoreCase))
380if (colorString.Equals("White", StringComparison.OrdinalIgnoreCase))
389if (colorString.Equals("Bisque", StringComparison.OrdinalIgnoreCase))
393if (colorString.Equals("Indigo", StringComparison.OrdinalIgnoreCase))
397if (colorString.Equals("Maroon", StringComparison.OrdinalIgnoreCase))
401if (colorString.Equals("Orange", StringComparison.OrdinalIgnoreCase))
403if (colorString.Equals("Orchid", StringComparison.OrdinalIgnoreCase))
407if (colorString.Equals("Purple", StringComparison.OrdinalIgnoreCase))
411if (colorString.Equals("Salmon", StringComparison.OrdinalIgnoreCase))
413if (colorString.Equals("Sienna", StringComparison.OrdinalIgnoreCase))
415if (colorString.Equals("Silver", StringComparison.OrdinalIgnoreCase))
419if (colorString.Equals("Tomato", StringComparison.OrdinalIgnoreCase))
423if (colorString.Equals("Violet", StringComparison.OrdinalIgnoreCase))
427if (colorString.Equals("Yellow", StringComparison.OrdinalIgnoreCase))
436if (colorString.Equals("Crimson", StringComparison.OrdinalIgnoreCase))
440if (colorString.Equals("DarkRed", StringComparison.OrdinalIgnoreCase))
442if (colorString.Equals("DimGray", StringComparison.OrdinalIgnoreCase))
446if (colorString.Equals("Fuchsia", StringComparison.OrdinalIgnoreCase))
450if (colorString.Equals("HotPink", StringComparison.OrdinalIgnoreCase))
454if (colorString.Equals("Magenta", StringComparison.OrdinalIgnoreCase))
458if (colorString.Equals("OldLace", StringComparison.OrdinalIgnoreCase))
462if (colorString.Equals("SkyBlue", StringComparison.OrdinalIgnoreCase))
466if (colorString.Equals("Thistle", StringComparison.OrdinalIgnoreCase))
475if (colorString.Equals("Cornsilk", StringComparison.OrdinalIgnoreCase))
479if (colorString.Equals("DarkBlue", StringComparison.OrdinalIgnoreCase))
481if (colorString.Equals("DarkCyan", StringComparison.OrdinalIgnoreCase))
483if (colorString.Equals("DarkGray", StringComparison.OrdinalIgnoreCase))
485if (colorString.Equals("DeepPink", StringComparison.OrdinalIgnoreCase))
489if (colorString.Equals("Honeydew", StringComparison.OrdinalIgnoreCase))
493if (colorString.Equals("Lavender", StringComparison.OrdinalIgnoreCase))
497if (colorString.Equals("Moccasin", StringComparison.OrdinalIgnoreCase))
501if (colorString.Equals("SeaGreen", StringComparison.OrdinalIgnoreCase))
503if (colorString.Equals("SeaShell", StringComparison.OrdinalIgnoreCase))
512if (colorString.Equals("AliceBlue", StringComparison.OrdinalIgnoreCase))
516if (colorString.Equals("BurlyWood", StringComparison.OrdinalIgnoreCase))
520if (colorString.Equals("CadetBlue", StringComparison.OrdinalIgnoreCase))
522if (colorString.Equals("Chocolate", StringComparison.OrdinalIgnoreCase))
526if (colorString.Equals("DarkGreen", StringComparison.OrdinalIgnoreCase))
528if (colorString.Equals("DarkKhaki", StringComparison.OrdinalIgnoreCase))
532if (colorString.Equals("Firebrick", StringComparison.OrdinalIgnoreCase))
536if (colorString.Equals("Gainsboro", StringComparison.OrdinalIgnoreCase))
538if (colorString.Equals("Goldenrod", StringComparison.OrdinalIgnoreCase))
542if (colorString.Equals("IndianRed", StringComparison.OrdinalIgnoreCase))
546if (colorString.Equals("LawnGreen", StringComparison.OrdinalIgnoreCase))
548if (colorString.Equals("LightBlue", StringComparison.OrdinalIgnoreCase))
550if (colorString.Equals("LightCyan", StringComparison.OrdinalIgnoreCase))
552if (colorString.Equals("LightGray", StringComparison.OrdinalIgnoreCase))
554if (colorString.Equals("LightPink", StringComparison.OrdinalIgnoreCase))
556if (colorString.Equals("LimeGreen", StringComparison.OrdinalIgnoreCase))
560if (colorString.Equals("MintCream", StringComparison.OrdinalIgnoreCase))
562if (colorString.Equals("MistyRose", StringComparison.OrdinalIgnoreCase))
566if (colorString.Equals("OliveDrab", StringComparison.OrdinalIgnoreCase))
568if (colorString.Equals("OrangeRed", StringComparison.OrdinalIgnoreCase))
572if (colorString.Equals("PaleGreen", StringComparison.OrdinalIgnoreCase))
574if (colorString.Equals("PeachPuff", StringComparison.OrdinalIgnoreCase))
578if (colorString.Equals("RosyBrown", StringComparison.OrdinalIgnoreCase))
580if (colorString.Equals("RoyalBlue", StringComparison.OrdinalIgnoreCase))
584if (colorString.Equals("SlateBlue", StringComparison.OrdinalIgnoreCase))
586if (colorString.Equals("SlateGray", StringComparison.OrdinalIgnoreCase))
588if (colorString.Equals("SteelBlue", StringComparison.OrdinalIgnoreCase))
592if (colorString.Equals("Turquoise", StringComparison.OrdinalIgnoreCase))
601if (colorString.Equals("Aquamarine", StringComparison.OrdinalIgnoreCase))
605if (colorString.Equals("BlueViolet", StringComparison.OrdinalIgnoreCase))
609if (colorString.Equals("Chartreuse", StringComparison.OrdinalIgnoreCase))
613if (colorString.Equals("DarkOrange", StringComparison.OrdinalIgnoreCase))
615if (colorString.Equals("DarkOrchid", StringComparison.OrdinalIgnoreCase))
617if (colorString.Equals("DarkSalmon", StringComparison.OrdinalIgnoreCase))
619if (colorString.Equals("DarkViolet", StringComparison.OrdinalIgnoreCase))
621if (colorString.Equals("DodgerBlue", StringComparison.OrdinalIgnoreCase))
625if (colorString.Equals("GhostWhite", StringComparison.OrdinalIgnoreCase))
629if (colorString.Equals("LightCoral", StringComparison.OrdinalIgnoreCase))
631if (colorString.Equals("LightGreen", StringComparison.OrdinalIgnoreCase))
635if (colorString.Equals("MediumBlue", StringComparison.OrdinalIgnoreCase))
639if (colorString.Equals("PapayaWhip", StringComparison.OrdinalIgnoreCase))
641if (colorString.Equals("PowderBlue", StringComparison.OrdinalIgnoreCase))
645if (colorString.Equals("SandyBrown", StringComparison.OrdinalIgnoreCase))
649if (colorString.Equals("WhiteSmoke", StringComparison.OrdinalIgnoreCase))
658if (colorString.Equals("DarkMagenta", StringComparison.OrdinalIgnoreCase))
660if (colorString.Equals("DeepSkyBlue", StringComparison.OrdinalIgnoreCase))
664if (colorString.Equals("FloralWhite", StringComparison.OrdinalIgnoreCase))
666if (colorString.Equals("ForestGreen", StringComparison.OrdinalIgnoreCase))
670if (colorString.Equals("GreenYellow", StringComparison.OrdinalIgnoreCase))
674if (colorString.Equals("LightSalmon", StringComparison.OrdinalIgnoreCase))
676if (colorString.Equals("LightYellow", StringComparison.OrdinalIgnoreCase))
680if (colorString.Equals("NavajoWhite", StringComparison.OrdinalIgnoreCase))
684if (colorString.Equals("SaddleBrown", StringComparison.OrdinalIgnoreCase))
686if (colorString.Equals("SpringGreen", StringComparison.OrdinalIgnoreCase))
690if (colorString.Equals("Transparent", StringComparison.OrdinalIgnoreCase))
694if (colorString.Equals("YellowGreen", StringComparison.OrdinalIgnoreCase))
703if (colorString.Equals("AntiqueWhite", StringComparison.OrdinalIgnoreCase))
707if (colorString.Equals("DarkSeaGreen", StringComparison.OrdinalIgnoreCase))
711if (colorString.Equals("LightSkyBlue", StringComparison.OrdinalIgnoreCase))
713if (colorString.Equals("LemonChiffon", StringComparison.OrdinalIgnoreCase))
717if (colorString.Equals("MediumOrchid", StringComparison.OrdinalIgnoreCase))
719if (colorString.Equals("MediumPurple", StringComparison.OrdinalIgnoreCase))
721if (colorString.Equals("MidnightBlue", StringComparison.OrdinalIgnoreCase))
730if (colorString.Equals("DarkSlateBlue", StringComparison.OrdinalIgnoreCase))
732if (colorString.Equals("DarkSlateGray", StringComparison.OrdinalIgnoreCase))
734if (colorString.Equals("DarkGoldenrod", StringComparison.OrdinalIgnoreCase))
736if (colorString.Equals("DarkTurquoise", StringComparison.OrdinalIgnoreCase))
740if (colorString.Equals("LightSeaGreen", StringComparison.OrdinalIgnoreCase))
742if (colorString.Equals("LavenderBlush", StringComparison.OrdinalIgnoreCase))
746if (colorString.Equals("PaleGoldenrod", StringComparison.OrdinalIgnoreCase))
748if (colorString.Equals("PaleTurquoise", StringComparison.OrdinalIgnoreCase))
750if (colorString.Equals("PaleVioletRed", StringComparison.OrdinalIgnoreCase))
759if (colorString.Equals("BlanchedAlmond", StringComparison.OrdinalIgnoreCase))
763if (colorString.Equals("CornflowerBlue", StringComparison.OrdinalIgnoreCase))
767if (colorString.Equals("DarkOliveGreen", StringComparison.OrdinalIgnoreCase))
771if (colorString.Equals("LightSlateGray", StringComparison.OrdinalIgnoreCase))
773if (colorString.Equals("LightSteelBlue", StringComparison.OrdinalIgnoreCase))
777if (colorString.Equals("MediumSeaGreen", StringComparison.OrdinalIgnoreCase))
783if (colorString.Equals("MediumSlateBlue", StringComparison.OrdinalIgnoreCase))
785if (colorString.Equals("MediumTurquoise", StringComparison.OrdinalIgnoreCase))
787if (colorString.Equals("MediumVioletRed", StringComparison.OrdinalIgnoreCase))
791if (colorString.Equals("MediumAquamarine", StringComparison.OrdinalIgnoreCase))
795if (colorString.Equals("MediumSpringGreen", StringComparison.OrdinalIgnoreCase))
799if (colorString.Equals("LightGoldenrodYellow", StringComparison.OrdinalIgnoreCase))
System\Windows\Media\PixelFormat.cs (27)
196_ when pixelFormatString.Equals("Default", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Default,
197_ when pixelFormatString.Equals("Extended", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Extended,
198_ when pixelFormatString.Equals("Indexed1", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Indexed1,
199_ when pixelFormatString.Equals("Indexed2", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Indexed2,
200_ when pixelFormatString.Equals("Indexed4", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Indexed4,
201_ when pixelFormatString.Equals("Indexed8", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Indexed8,
202_ when pixelFormatString.Equals("BlackWhite", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.BlackWhite,
203_ when pixelFormatString.Equals("Gray2", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Gray2,
204_ when pixelFormatString.Equals("Gray4", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Gray4,
205_ when pixelFormatString.Equals("Gray8", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Gray8,
206_ when pixelFormatString.Equals("Bgr555", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Bgr555,
207_ when pixelFormatString.Equals("Bgr565", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Bgr565,
208_ when pixelFormatString.Equals("Bgr24", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Bgr24,
209_ when pixelFormatString.Equals("Rgb24", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Rgb24,
210_ when pixelFormatString.Equals("Bgr101010", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Bgr101010,
211_ when pixelFormatString.Equals("Bgr32", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Bgr32,
212_ when pixelFormatString.Equals("Bgra32", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Bgra32,
213_ when pixelFormatString.Equals("Pbgra32", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Pbgra32,
214_ when pixelFormatString.Equals("Rgb48", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Rgb48,
215_ when pixelFormatString.Equals("Rgba64", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Rgba64,
216_ when pixelFormatString.Equals("Prgba64", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Prgba64,
217_ when pixelFormatString.Equals("Gray16", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Gray16,
218_ when pixelFormatString.Equals("Gray32Float", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Gray32Float,
219_ when pixelFormatString.Equals("Rgb128Float", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Rgb128Float,
220_ when pixelFormatString.Equals("Rgba128Float", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Rgba128Float,
221_ when pixelFormatString.Equals("Prgba128Float", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Prgba128Float,
222_ when pixelFormatString.Equals("Cmyk32", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.Cmyk32,
System\Windows\Navigation\BaseUriHelper.cs (13)
140string.Equals(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase) &&
145StringComparison.OrdinalIgnoreCase);
162Debug.Assert(uri is not null && uri.IsAbsoluteUri && string.Equals(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase) && IsPackApplicationUri(uri));
179Debug.Assert(string.Equals(partName, uri.GetComponents(UriComponents.Path, UriFormat.UriEscaped), StringComparison.OrdinalIgnoreCase));
259if (firstSegment.EndsWith(COMPONENT, StringComparison.OrdinalIgnoreCase))
287if (assemblyInfo[i].StartsWith(VERSION, StringComparison.OrdinalIgnoreCase))
316if (component.EndsWith(COMPONENT, StringComparison.OrdinalIgnoreCase))
329return ReflectionUtils.GetAssemblyPartialName(assembly).Equals(assemblyName, StringComparison.OrdinalIgnoreCase);
347if (Uri.Compare(sUri, SiteOfOriginBaseUri, UriComponents.Scheme, UriFormat.UriEscaped, StringComparison.OrdinalIgnoreCase) == 0)
350if (string.Equals(packageUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped), _packageSiteOfOriginBaseUriEscaped, StringComparison.OrdinalIgnoreCase))
361Invariant.Assert(packUri.IsAbsoluteUri && string.Equals(packUri.Scheme, PackAppBaseUri.Scheme, StringComparison.OrdinalIgnoreCase));
382string.Equals(uri.Scheme, Uri.UriSchemeFile, StringComparison.OrdinalIgnoreCase) &&
383string.Compare(uri.OriginalString, 0, Uri.UriSchemeFile, 0, Uri.UriSchemeFile.Length, StringComparison.OrdinalIgnoreCase) != 0)
PresentationFramework (89)
MS\Internal\Controls\WebBrowserEvent.cs (5)
75if ((_parent.NavigatingToAboutBlank) && !string.Equals(urlString, WebBrowser.AboutBlankUriString, StringComparison.OrdinalIgnoreCase))
166Invariant.Assert(_parent.NavigatingToAboutBlank && string.Equals((string)url, WebBrowser.AboutBlankUriString, StringComparison.OrdinalIgnoreCase));
194Invariant.Assert(string.Equals(urlString, WebBrowser.AboutBlankUriString, StringComparison.OrdinalIgnoreCase));
222Invariant.Assert(string.Equals(urlString, WebBrowser.AboutBlankUriString, StringComparison.OrdinalIgnoreCase));
239return _parent.NavigatingToAboutBlank && !string.Equals(urlString, WebBrowser.AboutBlankUriString, StringComparison.OrdinalIgnoreCase);
System\Windows\Documents\XamlToRtfWriter.cs (25)
2238if (string.Equals(".png", imageFormatName, StringComparison.OrdinalIgnoreCase))
2242if (string.Equals(".jpeg", imageFormatName, StringComparison.OrdinalIgnoreCase) ||
2243string.Equals(".jpg", imageFormatName, StringComparison.OrdinalIgnoreCase))
2247if (string.Equals(".gif", imageFormatName, StringComparison.OrdinalIgnoreCase))
2251if (string.Equals(".tif", imageFormatName, StringComparison.OrdinalIgnoreCase) ||
2252string.Equals(".tiff", imageFormatName, StringComparison.OrdinalIgnoreCase))
2256if (string.Equals(".bmp", imageFormatName, StringComparison.OrdinalIgnoreCase))
2260if (string.Equals(".dib", imageFormatName, StringComparison.OrdinalIgnoreCase))
2272if (string.Equals("Fill", imageStretch, StringComparison.OrdinalIgnoreCase))
2276else if (string.Equals("UniformToFill", imageStretch, StringComparison.OrdinalIgnoreCase))
2289if (string.Equals("UpOnly", imageStretchDirection, StringComparison.OrdinalIgnoreCase))
2293else if (string.Equals("DownOnly", imageStretchDirection, StringComparison.OrdinalIgnoreCase))
2721if (string.Equals(name, ">", StringComparison.OrdinalIgnoreCase))
2725else if (string.Equals(name, "<", StringComparison.OrdinalIgnoreCase))
2729else if (string.Equals(name, "&", StringComparison.OrdinalIgnoreCase))
2733else if (name.StartsWith("&#x", StringComparison.OrdinalIgnoreCase))
2747else if (name.StartsWith("&#", StringComparison.OrdinalIgnoreCase))
2876if (string.Equals(valueString, "Normal", StringComparison.OrdinalIgnoreCase))
2880else if (string.Equals(valueString, "Bold", StringComparison.OrdinalIgnoreCase))
2896if (string.Equals(valueString, "Italic", StringComparison.OrdinalIgnoreCase))
3467if (string.Equals(entries[i].Name, name, StringComparison.OrdinalIgnoreCase))
3673if (decoration.Contains("Underline", StringComparison.OrdinalIgnoreCase))
3677if (decoration.Contains("Strikethrough", StringComparison.OrdinalIgnoreCase))
3690if (string.Equals("RightToLeft", dirName, StringComparison.OrdinalIgnoreCase))
3695else if (string.Equals("LeftToRight", dirName, StringComparison.OrdinalIgnoreCase))
PresentationUI (12)
RazorPagesWebSite (2)
ReachFramework (11)
Replay (1)
Roslyn.Diagnostics.Analyzers (20)
Roslyn.Diagnostics.CSharp.Analyzers (6)
Roslyn.VisualStudio.DiagnosticsWindow (1)
Roslyn.VisualStudio.Next.UnitTests (8)
RoutingWebSite (1)
RulesetToEditorconfigConverter.UnitTests (1)
ScenarioTests.Common.Tests (1)
Security.TransportSecurity.IntegrationTests (3)
ServerComparison.TestSites (2)
SignalR.Client.FunctionalTestApp (1)
SocialWeather (1)
StaticFilesAuth (4)
Swaggatherer (6)
System.CodeDom (10)
Microsoft\VisualBasic\VBCodeGenerator.cs (6)
1561&& meth.Name.Equals(e.Name, StringComparison.OrdinalIgnoreCase)
1612if (e.ReturnType.BaseType.Length == 0 || string.Equals(e.ReturnType.BaseType, typeof(void).FullName, StringComparison.OrdinalIgnoreCase))
1721&& prop.Name.Equals(e.Name, StringComparison.OrdinalIgnoreCase)
1765if (e.Parameters.Count > 0 && string.Equals(e.Name, "Item", StringComparison.OrdinalIgnoreCase))
1957if (del.ReturnType.BaseType.Length > 0 && !string.Equals(del.ReturnType.BaseType, "System.Void", StringComparison.OrdinalIgnoreCase))
1965if (del.ReturnType.BaseType.Length > 0 && !string.Equals(del.ReturnType.BaseType, "System.Void", StringComparison.OrdinalIgnoreCase))
System.Collections.Immutable (10)
System.ComponentModel.Annotations (6)
System.ComponentModel.Primitives (1)
System.ComponentModel.TypeConverter (8)
System.Configuration.ConfigurationManager (10)
System\Configuration\ClientSettingsStore.cs (6)
274string.Equals(filename, ConfigurationManagerInternalFactory.Instance.MachineConfigPath, StringComparison.OrdinalIgnoreCase) ||
275string.Equals(filename, ConfigurationManagerInternalFactory.Instance.ApplicationConfigUri, StringComparison.OrdinalIgnoreCase) ||
276string.Equals(filename, ConfigurationManagerInternalFactory.Instance.ExeLocalConfigPath, StringComparison.OrdinalIgnoreCase) ||
277string.Equals(filename, ConfigurationManagerInternalFactory.Instance.ExeRoamingConfigPath, StringComparison.OrdinalIgnoreCase);
314if (string.Equals(streamName, ConfigurationManagerInternalFactory.Instance.ExeLocalConfigPath, StringComparison.OrdinalIgnoreCase) ||
315string.Equals(streamName, ConfigurationManagerInternalFactory.Instance.ExeRoamingConfigPath, StringComparison.OrdinalIgnoreCase))
System\Configuration\UrlPath.cs (2)
39if (string.Compare(dir, 0, subdir, 0, lDir, StringComparison.OrdinalIgnoreCase) != 0)
87if (string.Compare(path, 0, subpath, 0, lPath, StringComparison.OrdinalIgnoreCase) != 0)
System.Console (2)
System.Data.Common (19)
System\Data\DataTable.cs (2)
3720if (length >= 5 && string.Compare(current, length - 4, " ASC", 0, 4, StringComparison.OrdinalIgnoreCase) == 0)
3724else if (length >= 6 && string.Compare(current, length - 5, " DESC", 0, 5, StringComparison.OrdinalIgnoreCase) == 0)
System.Data.Odbc (6)
System.Diagnostics.DiagnosticSource (18)
System.Diagnostics.FileVersionInfo (2)
System.Diagnostics.Process (3)
System.Drawing.Common (14)
System\Drawing\ImageFormatConverter.cs (12)
47if (strFormat.Equals("Bmp", StringComparison.OrdinalIgnoreCase))
49else if (strFormat.Equals("Emf", StringComparison.OrdinalIgnoreCase))
51else if (strFormat.Equals("Exif", StringComparison.OrdinalIgnoreCase))
53else if (strFormat.Equals("Gif", StringComparison.OrdinalIgnoreCase))
55else if (strFormat.Equals("Icon", StringComparison.OrdinalIgnoreCase))
57else if (strFormat.Equals("Jpeg", StringComparison.OrdinalIgnoreCase))
59else if (strFormat.Equals("MemoryBmp", StringComparison.OrdinalIgnoreCase))
61else if (strFormat.Equals("Png", StringComparison.OrdinalIgnoreCase))
63else if (strFormat.Equals("Tiff", StringComparison.OrdinalIgnoreCase))
65else if (strFormat.Equals("Wmf", StringComparison.OrdinalIgnoreCase))
67else if (strFormat.Equals("Heif", StringComparison.OrdinalIgnoreCase))
69else if (strFormat.Equals("Webp", StringComparison.OrdinalIgnoreCase))
System.Drawing.Common.Tests (1)
System.Drawing.Primitives (3)
System.Formats.Tar (1)
System.IO.Compression.ZipFile (1)
System.IO.FileSystem.DriveInfo (1)
System.IO.FileSystem.Watcher (1)
System.IO.Packaging (12)
System.IO.Pipes (1)
System.Linq.Expressions (4)
System.Net.Http (71)
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.Digest.cs (13)
49if (!algorithm!.Equals(Sha256, StringComparison.OrdinalIgnoreCase) &&
50!algorithm.Equals(Md5, StringComparison.OrdinalIgnoreCase) &&
51!algorithm.Equals(Sha256Sess, StringComparison.OrdinalIgnoreCase) &&
52!algorithm.Equals(MD5Sess, StringComparison.OrdinalIgnoreCase))
142if (algorithm.EndsWith("sess", StringComparison.OrdinalIgnoreCase))
219if (algorithm.StartsWith(Sha256, StringComparison.OrdinalIgnoreCase))
255return key.Equals(Realm, StringComparison.OrdinalIgnoreCase) || key.Equals(Nonce, StringComparison.OrdinalIgnoreCase) ||
256key.Equals(Opaque, StringComparison.OrdinalIgnoreCase) || key.Equals(Qop, StringComparison.OrdinalIgnoreCase);
404!key.Equals(Opaque, StringComparison.OrdinalIgnoreCase) &&
405!key.Equals(Domain, StringComparison.OrdinalIgnoreCase) &&
406!key.Equals(Realm, StringComparison.OrdinalIgnoreCase))
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs (8)
133if (value.StartsWith("http://", StringComparison.OrdinalIgnoreCase))
137else if (value.StartsWith("https://", StringComparison.OrdinalIgnoreCase))
143else if (value.StartsWith("socks4://", StringComparison.OrdinalIgnoreCase))
148else if (value.StartsWith("socks5://", StringComparison.OrdinalIgnoreCase))
153else if (value.StartsWith("socks4a://", StringComparison.OrdinalIgnoreCase))
265string.Compare(s, 1, input.Host, 0, input.Host.Length, StringComparison.OrdinalIgnoreCase) == 0)
269else if (input.Host.EndsWith(s, StringComparison.OrdinalIgnoreCase))
277if (string.Equals(s, input.Host, StringComparison.OrdinalIgnoreCase))
System\Net\Http\SocketsHttpHandler\HttpUtilities.SocketsHttpHandler.cs (9)
13string.Equals(scheme, "http", StringComparison.OrdinalIgnoreCase) || IsNonSecureWebSocketScheme(scheme);
16string.Equals(scheme, "https", StringComparison.OrdinalIgnoreCase) || IsSecureWebSocketScheme(scheme);
19string.Equals(scheme, "ws", StringComparison.OrdinalIgnoreCase);
22string.Equals(scheme, "wss", StringComparison.OrdinalIgnoreCase);
25string.Equals(scheme, "http", StringComparison.OrdinalIgnoreCase) || string.Equals(scheme, "https", StringComparison.OrdinalIgnoreCase) || IsSocksScheme(scheme);
28string.Equals(scheme, "socks5", StringComparison.OrdinalIgnoreCase) ||
29string.Equals(scheme, "socks4a", StringComparison.OrdinalIgnoreCase) ||
30string.Equals(scheme, "socks4", StringComparison.OrdinalIgnoreCase);
System.Net.HttpListener (25)
System\Net\HttpListener.cs (2)
116if (string.Compare(uriPrefix, 0, "http://", 0, 7, StringComparison.OrdinalIgnoreCase) == 0)
120else if (string.Compare(uriPrefix, 0, "https://", 0, 8, StringComparison.OrdinalIgnoreCase) == 0)
System\Net\Managed\HttpListenerRequest.Managed.cs (6)
182_isChunked = (t_encoding != null && string.Equals(t_encoding, "chunked", StringComparison.OrdinalIgnoreCase));
193if (string.Equals(_method, "POST", StringComparison.OrdinalIgnoreCase) ||
194string.Equals(_method, "PUT", StringComparison.OrdinalIgnoreCase))
201if (string.Equals(Headers[HttpKnownHeaderNames.Expect], "100-continue", StringComparison.OrdinalIgnoreCase))
220if (name.Equals("content-length", StringComparison.OrdinalIgnoreCase))
240else if (name.Equals("transfer-encoding", StringComparison.OrdinalIgnoreCase))
System.Net.Mail (13)
System\Net\Mail\SmtpConnection.Auth.cs (7)
49SizeOfAuthExtension, StringComparison.OrdinalIgnoreCase) == 0)
56if (string.Equals(authType, AuthLogin, StringComparison.OrdinalIgnoreCase))
60else if (string.Equals(authType, AuthNtlm, StringComparison.OrdinalIgnoreCase))
64else if (string.Equals(authType, AuthGssapi, StringComparison.OrdinalIgnoreCase))
70else if (string.Compare(extension, 0, "dsn ", 0, 3, StringComparison.OrdinalIgnoreCase) == 0)
74else if (string.Compare(extension, 0, "STARTTLS", 0, 8, StringComparison.OrdinalIgnoreCase) == 0)
78else if (string.Compare(extension, 0, "SMTPUTF8", 0, 8, StringComparison.OrdinalIgnoreCase) == 0)
System.Net.NameResolution (1)
System.Net.Ping (1)
System.Net.Primitives (18)
System\Net\CredentialCache.cs (8)
30&& !((string.Equals(authType, NegotiationInfoClass.NTLM, StringComparison.OrdinalIgnoreCase))
31|| (string.Equals(authType, NegotiationInfoClass.Kerberos, StringComparison.OrdinalIgnoreCase))
32|| (string.Equals(authType, NegotiationInfoClass.Negotiate, StringComparison.OrdinalIgnoreCase)))
56&& !((string.Equals(authenticationType, NegotiationInfoClass.NTLM, StringComparison.OrdinalIgnoreCase))
57|| (string.Equals(authenticationType, NegotiationInfoClass.Kerberos, StringComparison.OrdinalIgnoreCase))
58|| (string.Equals(authenticationType, NegotiationInfoClass.Negotiate, StringComparison.OrdinalIgnoreCase)))
373string.Equals(AuthenticationType, other.AuthenticationType, StringComparison.OrdinalIgnoreCase) &&
374string.Equals(Host, other.Host, StringComparison.OrdinalIgnoreCase) &&
System.Net.Quic (2)
System.Net.Requests (13)
System\Net\HttpWebRequest.cs (9)
468fChunked = (value.Contains(ChunkedHeader, StringComparison.OrdinalIgnoreCase));
605fKeepAlive = (value.Contains("keep-alive", StringComparison.OrdinalIgnoreCase));
606fClose = (value.Contains("close", StringComparison.OrdinalIgnoreCase));
660fContinue100 = (value.Contains(ContinueHeader, StringComparison.OrdinalIgnoreCase));
1077if (string.Equals(HttpMethod.Get.Method, _originVerb, StringComparison.OrdinalIgnoreCase) ||
1078string.Equals(HttpMethod.Head.Method, _originVerb, StringComparison.OrdinalIgnoreCase) ||
1079string.Equals("CONNECT", _originVerb, StringComparison.OrdinalIgnoreCase))
1569if (!string.Equals(curRange.Substring(0, curRange.IndexOf('=')), rangeSpecifier, StringComparison.OrdinalIgnoreCase))
1617if (string.Equals(header, contentHeaderName, StringComparison.OrdinalIgnoreCase))
System.Net.Security (10)
System.Net.Sockets (1)
System.Net.WebClient (2)
System.Net.WebHeaderCollection (1)
System.Net.WebProxy (1)
System.Net.WebSockets.Client (3)
System.Private.CoreLib (98)
src\libraries\Common\src\System\Reflection\AssemblyNameParser.cs (12)
200if (attributeValue.Equals("Yes", StringComparison.OrdinalIgnoreCase))
204else if (attributeValue.Equals("No", StringComparison.OrdinalIgnoreCase))
220if (attributeValue.Equals("WindowsRuntime", StringComparison.OrdinalIgnoreCase))
245=> candidate.Equals(attributeKind, StringComparison.OrdinalIgnoreCase);
292if (attributeValue.Equals("Neutral", StringComparison.OrdinalIgnoreCase))
304if (attributeValue.Equals("null", StringComparison.OrdinalIgnoreCase) || attributeValue == string.Empty)
331_ when attributeValue.Equals("msil", StringComparison.OrdinalIgnoreCase) => ProcessorArchitecture.MSIL,
332_ when attributeValue.Equals("x86", StringComparison.OrdinalIgnoreCase) => ProcessorArchitecture.X86,
333_ when attributeValue.Equals("ia64", StringComparison.OrdinalIgnoreCase) => ProcessorArchitecture.IA64,
334_ when attributeValue.Equals("amd64", StringComparison.OrdinalIgnoreCase) => ProcessorArchitecture.Amd64,
335_ when attributeValue.Equals("arm", StringComparison.OrdinalIgnoreCase) => ProcessorArchitecture.Arm,
336_ when attributeValue.Equals("msil", StringComparison.OrdinalIgnoreCase) => ProcessorArchitecture.MSIL,
src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (4)
62StringComparison.OrdinalIgnoreCase => IndexOfCharOrdinalIgnoreCase(value),
260StringComparison.Ordinal or StringComparison.OrdinalIgnoreCase => Ordinal.IndexOf(this, value, startIndex, count, comparisonType == StringComparison.OrdinalIgnoreCase),
385StringComparison.Ordinal or StringComparison.OrdinalIgnoreCase => CompareInfo.Invariant.LastIndexOf(this, value, startIndex, count, GetCompareOptionsFromOrdinalStringComparison(comparisonType)),
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (6)
654if (string.Equals(id, UtcId, StringComparison.OrdinalIgnoreCase))
682if (dateTime.Kind == DateTimeKind.Local && string.Equals(sourceTimeZoneId, Local.Id, StringComparison.OrdinalIgnoreCase))
692else if (dateTime.Kind == DateTimeKind.Utc && string.Equals(sourceTimeZoneId, Utc.Id, StringComparison.OrdinalIgnoreCase))
859string.Equals(_id, other._id, StringComparison.OrdinalIgnoreCase) &&
1020HasIanaId = hasIanaId || _id.Equals(UtcId, StringComparison.OrdinalIgnoreCase);
2138if (!id.Equals(UtcId, StringComparison.OrdinalIgnoreCase))
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.cs (8)
39return string.Equals(id, "Etc/UTC", StringComparison.OrdinalIgnoreCase) ||
40string.Equals(id, "Etc/UCT", StringComparison.OrdinalIgnoreCase) ||
41string.Equals(id, "Etc/Universal", StringComparison.OrdinalIgnoreCase) ||
42string.Equals(id, "Etc/Zulu", StringComparison.OrdinalIgnoreCase);
45return string.Equals(id, "UCT", StringComparison.OrdinalIgnoreCase) ||
46string.Equals(id, "UTC", StringComparison.OrdinalIgnoreCase) ||
47string.Equals(id, "Universal", StringComparison.OrdinalIgnoreCase);
50return string.Equals(id, "Zulu", StringComparison.OrdinalIgnoreCase);
System.Private.CoreLib.Generators (2)
System.Private.DataContractSerialization (1)
System.Private.Uri (21)
System\Uri.cs (19)
1797if (string.Equals(_string, other._string, IsUncOrDosPath ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal))
1888return string.Equals(selfUrl, otherUrl, IsUncOrDosPath ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal);
1965if (uriString.StartsWith("https:", StringComparison.OrdinalIgnoreCase))
1970else if (uriString.StartsWith("http:", StringComparison.OrdinalIgnoreCase))
3759if (scheme.Equals("ws", StringComparison.OrdinalIgnoreCase)) return UriParser.WsUri;
3763if (scheme.Equals("wss", StringComparison.OrdinalIgnoreCase)) return UriParser.WssUri;
3764if (scheme.Equals("ftp", StringComparison.OrdinalIgnoreCase)) return UriParser.FtpUri;
3768if (scheme.Equals("http", StringComparison.OrdinalIgnoreCase)) return UriParser.HttpUri;
3769if (scheme.Equals("file", StringComparison.OrdinalIgnoreCase)) return UriParser.FileUri;
3770if (scheme.Equals("uuid", StringComparison.OrdinalIgnoreCase)) return UriParser.UuidUri;
3771if (scheme.Equals("nntp", StringComparison.OrdinalIgnoreCase)) return UriParser.NntpUri;
3772if (scheme.Equals("ldap", StringComparison.OrdinalIgnoreCase)) return UriParser.LdapUri;
3773if (scheme.Equals("news", StringComparison.OrdinalIgnoreCase)) return UriParser.NewsUri;
3777if (scheme.Equals("https", StringComparison.OrdinalIgnoreCase)) return UriParser.HttpsUri;
3781if (scheme.Equals("mailto", StringComparison.OrdinalIgnoreCase)) return UriParser.MailToUri;
3782if (scheme.Equals("gopher", StringComparison.OrdinalIgnoreCase)) return UriParser.GopherUri;
3783if (scheme.Equals("telnet", StringComparison.OrdinalIgnoreCase)) return UriParser.TelnetUri;
3787if (scheme.Equals("net.tcp", StringComparison.OrdinalIgnoreCase)) return UriParser.NetTcpUri;
3791if (scheme.Equals("net.pipe", StringComparison.OrdinalIgnoreCase)) return UriParser.NetPipeUri;
System.Private.Windows.Core (6)
System.Private.Xml (32)
System\Xml\Core\XmlTextReaderImpl.cs (7)
3229if (string.Equals(newEncodingName, "ucs-2", StringComparison.OrdinalIgnoreCase) ||
3230string.Equals(newEncodingName, "utf-16", StringComparison.OrdinalIgnoreCase) ||
3231string.Equals(newEncodingName, "iso-10646-ucs-2", StringComparison.OrdinalIgnoreCase) ||
3232string.Equals(newEncodingName, "ucs-4", StringComparison.OrdinalIgnoreCase))
3236!string.Equals(newEncodingName, "ucs-4", StringComparison.OrdinalIgnoreCase))
3251if (string.Equals(newEncodingName, "utf-8", StringComparison.OrdinalIgnoreCase))
6210if (string.Equals(target, "xml", StringComparison.OrdinalIgnoreCase))
System\Xml\Xsl\XsltOld\ContainerAction.cs (6)
902string.Equals(langName, "jscript", StringComparison.OrdinalIgnoreCase) ||
903string.Equals(langName, "javascript", StringComparison.OrdinalIgnoreCase)
909string.Equals(langName, "c#", StringComparison.OrdinalIgnoreCase) ||
910string.Equals(langName, "csharp", StringComparison.OrdinalIgnoreCase)
916string.Equals(langName, "vb", StringComparison.OrdinalIgnoreCase) ||
917string.Equals(langName, "visualbasic", StringComparison.OrdinalIgnoreCase)
System.Private.Xml.Linq (1)
System.Reflection.Context (3)
System.Reflection.Emit (3)
System.Reflection.Metadata (17)
System.Reflection.MetadataLoadContext (5)
System.Resources.Extensions (2)
System.Runtime.Caching (3)
System.Runtime.Serialization.Schema (3)
System.Security.Claims (4)
System.Security.Cryptography (23)
System.Security.Cryptography.Pkcs (2)
System.Security.Cryptography.Xml (5)
System.Security.Permissions (2)
System.ServiceModel.Http (26)
System\ServiceModel\Channels\HttpChannelFactory.cs (17)
482if (string.Compare(via.Scheme, "ws", StringComparison.OrdinalIgnoreCase) != 0)
1179if (string.Compare(name, "accept", StringComparison.OrdinalIgnoreCase) == 0)
1183else if (string.Compare(name, "connection", StringComparison.OrdinalIgnoreCase) == 0)
1185if (value.IndexOf("keep-alive", StringComparison.OrdinalIgnoreCase) != -1)
1194else if (string.Compare(name, "SOAPAction", StringComparison.OrdinalIgnoreCase) == 0)
1209else if (string.Compare(name, "content-length", StringComparison.OrdinalIgnoreCase) == 0)
1213else if (string.Compare(name, "content-type", StringComparison.OrdinalIgnoreCase) == 0)
1217else if (string.Compare(name, "expect", StringComparison.OrdinalIgnoreCase) == 0)
1219if (value.ToUpperInvariant().IndexOf("100-CONTINUE", StringComparison.OrdinalIgnoreCase) != -1)
1228else if (string.Compare(name, "referer", StringComparison.OrdinalIgnoreCase) == 0)
1234else if (string.Compare(name, "transfer-encoding", StringComparison.OrdinalIgnoreCase) == 0)
1236if (value.ToUpperInvariant().IndexOf("CHUNKED", StringComparison.OrdinalIgnoreCase) != -1)
1245else if (string.Compare(name, "user-agent", StringComparison.OrdinalIgnoreCase) == 0)
1249else if (string.Compare(name, "if-modified-since", StringComparison.OrdinalIgnoreCase) == 0)
1262else if (string.Compare(name, "date", StringComparison.OrdinalIgnoreCase) == 0)
1266else if (string.Compare(name, "proxy-connection", StringComparison.OrdinalIgnoreCase) == 0)
1270else if (string.Compare(name, "range", StringComparison.OrdinalIgnoreCase) == 0)
System.ServiceModel.NetFramingBase (1)
System.ServiceModel.NetTcp (1)
System.ServiceModel.Primitives (23)
Internals\System\Xml\XmlMtomReader.cs (9)
200if (string.Compare(MtomGlobals.MediaType, header.MediaType, StringComparison.OrdinalIgnoreCase) != 0
201|| string.Compare(MtomGlobals.MediaSubtype, header.MediaSubtype, StringComparison.OrdinalIgnoreCase) != 0)
225if (string.Compare(MtomGlobals.XopMediaType, header.MediaType, StringComparison.OrdinalIgnoreCase) != 0
226|| string.Compare(MtomGlobals.XopMediaSubtype, header.MediaSubtype, StringComparison.OrdinalIgnoreCase) != 0)
236if (string.Compare(charset, expectedEncodings[i].WebName, StringComparison.OrdinalIgnoreCase) == 0)
245if (string.Compare(charset, "utf-16LE", StringComparison.OrdinalIgnoreCase) == 0)
249if (string.Compare(expectedEncodings[i].WebName, Encoding.Unicode.WebName, StringComparison.OrdinalIgnoreCase) == 0)
256else if (string.Compare(charset, "utf-16BE", StringComparison.OrdinalIgnoreCase) == 0)
260if (string.Compare(expectedEncodings[i].WebName, Encoding.BigEndianUnicode.WebName, StringComparison.OrdinalIgnoreCase) == 0)
System.Text.Encoding.CodePages (1)
System.Text.Json (3)
System.Text.Json.SourceGeneration (2)
System.Text.RegularExpressions (7)
System.Text.RegularExpressions.Generator (9)
System.Web.HttpUtility (1)
System.Windows.Forms (38)
System.Windows.Forms.Analyzers (1)
System.Windows.Forms.Design (12)
System.Windows.Forms.Primitives (1)
System.Windows.Forms.Primitives.TestUtilities (3)
System.Windows.Forms.Tests (2)
System.Xaml (1)
TaskUsageLogger (4)
Templates.Blazor.Tests (9)
Templates.Blazor.WebAssembly.Auth.Tests (10)
Templates.Blazor.WebAssembly.Tests (10)
Templates.Mvc.Tests (12)
Templates.Tests (10)
Test.Utilities (19)
Text.Analyzers (24)
UIAutomationClient (4)
UIAutomationClientSideProviders (23)
MS\Internal\AutomationProxies\WindowsTooltip.cs (5)
175return string.Equals(className, "tooltips_class32", StringComparison.OrdinalIgnoreCase) ||
176string.Equals(className, CLASS_TITLEBAR_TOOLTIP, StringComparison.OrdinalIgnoreCase) ||
177string.Equals(className, "VBBubble", StringComparison.OrdinalIgnoreCase);
184if (string.Equals(className, CLASS_TITLEBAR_TOOLTIP, StringComparison.OrdinalIgnoreCase))
188else if (string.Equals(className, "VBBubble", StringComparison.OrdinalIgnoreCase))
VBCSCompiler (1)
Wasm.Performance.ConsoleHost (4)
xunit.assert (2)
xunit.console (15)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\Resolution\AppBaseCompilationAssemblyResolver.cs (5)
37var isProject = string.Equals(library.Type, "project", StringComparison.OrdinalIgnoreCase) ||
38string.Equals(library.Type, "msbuildproject", StringComparison.OrdinalIgnoreCase);
40var isPackage = string.Equals(library.Type, "package", StringComparison.OrdinalIgnoreCase);
41var isReferenceAssembly = string.Equals(library.Type, "referenceassembly", StringComparison.OrdinalIgnoreCase);
45!string.Equals(library.Type, "reference", StringComparison.OrdinalIgnoreCase))