1759 references to Equals
aspire (10)
Aspire.Azure.AI.Inference (1)
Aspire.Azure.AI.OpenAI (1)
Aspire.Azure.Messaging.EventHubs (2)
Aspire.Azure.Messaging.ServiceBus (2)
Aspire.Azure.Messaging.WebPubSub (1)
Aspire.Azure.Security.KeyVault.Tests (2)
Aspire.Azure.Storage.Queues (1)
Aspire.Dashboard (2)
Aspire.Hosting (3)
Aspire.Hosting.Azure.AIFoundry (1)
Aspire.Hosting.Azure.AppContainers (1)
Aspire.Hosting.Azure.AppService (1)
Aspire.Hosting.Azure.CosmosDB (1)
Aspire.Hosting.Docker (1)
Aspire.Hosting.Keycloak.Tests (2)
Aspire.Hosting.Kubernetes (1)
Aspire.Hosting.Tests (1)
Aspire.Microsoft.Azure.Cosmos (1)
Aspire.Microsoft.EntityFrameworkCore.Cosmos (1)
Aspire.Milvus.Client.Tests (1)
Aspire.OpenAI (1)
Aspire.Qdrant.Client.Tests (1)
AutobahnTestApp (1)
Certificate.Optional.Sample (1)
Crossgen2Tasks (1)
dotnet-svcutil.xmlserializer (5)
dotnet-svcutil-lib (31)
dotnet-svcutil-lib.Tests (4)
dotnet-user-jwts (1)
dotnet-user-secrets (1)
GenerateDocumentationAndConfigFiles (13)
GetDocument.Insider (2)
http2cat (2)
IIS.FunctionalTests (4)
IIS.LongTests (3)
IIS.NewHandler.FunctionalTests (3)
IIS.NewShim.FunctionalTests (3)
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (3)
illink (5)
ILLink.RoslynAnalyzer (12)
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)
InMemory.FunctionalTests (3)
installer.tasks (1)
Metrics (11)
Metrics.Legacy (11)
Microsoft.Analyzers.Extra.Tests (1)
Microsoft.Analyzers.Local.Tests (1)
Microsoft.AspNetCore.Antiforgery (1)
Microsoft.AspNetCore.App.Analyzers (2)
Microsoft.AspNetCore.App.UnitTests (5)
Microsoft.AspNetCore.Authentication.OpenIdConnect (3)
Microsoft.AspNetCore.Components (7)
Microsoft.AspNetCore.Components.Endpoints (17)
Microsoft.AspNetCore.Components.Tests (1)
Microsoft.AspNetCore.Components.Web (4)
Microsoft.AspNetCore.Components.WebAssembly (2)
Microsoft.AspNetCore.Components.WebAssembly.Server (3)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.Diagnostics (1)
Microsoft.AspNetCore.HeaderParsing (1)
Microsoft.AspNetCore.Hosting (5)
Microsoft.AspNetCore.Http.Abstractions (3)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Http.Extensions.Tests (3)
Microsoft.AspNetCore.Http.Microbenchmarks (2)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
Microsoft.AspNetCore.HttpsPolicy (1)
Microsoft.AspNetCore.InternalTesting (2)
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (2)
Microsoft.AspNetCore.Mvc.ApiExplorer (6)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (6)
Microsoft.AspNetCore.Mvc.Core (7)
Microsoft.AspNetCore.Mvc.Core.Test (6)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (6)
DataAnnotationsMetadataProviderTest.cs (6)
1029var groupTwo = Assert.Single(enumNameAndGroup, e => e.Value.Equals("2", StringComparison.Ordinal));
1049var groupTwo = Assert.Single(enumNameAndGroup, e => e.Value.Equals("2", StringComparison.Ordinal));
1069var groupThree = Assert.Single(enumNameAndGroup, e => e.Value.Equals("3", StringComparison.Ordinal));
1088var groupThree = Assert.Single(enumNameAndGroup, e => e.Value.Equals("3", StringComparison.Ordinal));
1747return x.Key.Name.Equals(y.Key.Name, StringComparison.Ordinal)
1748&& x.Key.Group.Equals(y.Key.Group, StringComparison.Ordinal);
Microsoft.AspNetCore.Mvc.FunctionalTests (4)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Microsoft.AspNetCore.Mvc.TagHelpers (2)
Microsoft.AspNetCore.Mvc.Testing (3)
Microsoft.AspNetCore.Mvc.ViewFeatures (9)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Microsoft.AspNetCore.OpenApi (7)
Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests (2)
Microsoft.AspNetCore.Rewrite (6)
Microsoft.AspNetCore.Routing (18)
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))
Microsoft.AspNetCore.Server.HttpSys (2)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Microsoft.AspNetCore.Server.IIS (9)
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Microsoft.AspNetCore.Server.Kestrel.Core (373)
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.Session.Tests (8)
SessionTests.cs (8)
879var sessionLogMessage = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).Single();
884var sessionMiddlewareLogMessage = sink.Writes.Where(message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal)).Single();
942var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList();
950var sessionMiddlewareLogs = sink.Writes.Where(message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal)).ToList();
1009var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList();
1017Assert.DoesNotContain(sink.Writes, message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal));
1073var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList();
1081Assert.DoesNotContain(sink.Writes, message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal));
Microsoft.AspNetCore.Shared.Tests (1)
Microsoft.AspNetCore.SignalR.Core (1)
Microsoft.AspNetCore.StaticAssets (1)
Microsoft.AspNetCore.TestHost (3)
Microsoft.Build.Framework (6)
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
Microsoft.CodeAnalysis (9)
Microsoft.CodeAnalysis.Analyzers (30)
Microsoft.CodeAnalysis.AnalyzerUtilities (15)
Microsoft.CodeAnalysis.BannedApiAnalyzers (11)
Microsoft.CodeAnalysis.CodeStyle (6)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp (3)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
Microsoft.CodeAnalysis.Features (21)
Microsoft.CodeAnalysis.InteractiveHost (1)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (11)
Microsoft.CodeAnalysis.PublicApiAnalyzers (11)
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (11)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (8)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.Data.Analysis (1)
Microsoft.DotNet.Build.Manifest (4)
Microsoft.DotNet.Build.Tasks.Feed (9)
Microsoft.DotNet.Build.Tasks.Packaging (11)
Microsoft.DotNet.Build.Tasks.Packaging.Tests (4)
Microsoft.DotNet.Build.Tasks.Workloads (1)
Microsoft.DotNet.CodeAnalysis (3)
Microsoft.DotNet.GenAPI (3)
Microsoft.DotNet.RemoteExecutor (1)
Microsoft.DotNet.SharedFramework.Sdk (2)
Microsoft.DotNet.SignTool (26)
Microsoft.DotNet.SourceBuild.Tasks (1)
Microsoft.DotNet.XliffTasks (6)
Microsoft.Extensions.AI.AzureAIInference (2)
Microsoft.Extensions.AI.Evaluation.Safety (4)
Microsoft.Extensions.AI.OpenAI (5)
Microsoft.Extensions.Diagnostics (3)
Microsoft.Extensions.Diagnostics.ExceptionSummarization (3)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.Logging.Configuration (2)
Microsoft.Extensions.Logging.Console (2)
Microsoft.Extensions.Logging.EventSource (1)
Microsoft.Extensions.Logging.Generators (4)
Microsoft.Extensions.Options.SourceGeneration (2)
Microsoft.Extensions.ServiceDiscovery.Dns (1)
Microsoft.Extensions.Telemetry (2)
Microsoft.Extensions.Telemetry.Abstractions (2)
Microsoft.Extensions.Validation.GeneratorTests (2)
Microsoft.Gen.ComplianceReports.Unit.Tests (2)
Microsoft.Gen.ContextualOptions.Unit.Tests (2)
Microsoft.Gen.Logging (5)
Microsoft.Gen.Logging.Unit.Tests (2)
Microsoft.Gen.MetadataExtractor.Unit.Tests (2)
Microsoft.Gen.Metrics.Unit.Tests (2)
Microsoft.Gen.MetricsReports.Unit.Tests (2)
Microsoft.Interop.ComInterfaceGenerator (4)
Microsoft.Interop.LibraryImportGenerator (2)
Microsoft.JSInterop (1)
Microsoft.Maui (17)
Converters\FlexEnumsConverters.cs (16)
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))
Microsoft.Maui.Controls (48)
FontSizeConverter.cs (20)
32 if (value.Equals(nameof(NamedSize.Default), sc))
34 else if (value.Equals(nameof(NamedSize.Micro), sc))
36 else if (value.Equals(nameof(NamedSize.Small), sc))
38 else if (value.Equals(nameof(NamedSize.Medium), sc))
40 else if (value.Equals(nameof(NamedSize.Large), sc))
42 else if (value.Equals(nameof(NamedSize.Body), sc))
44 else if (value.Equals(nameof(NamedSize.Caption), sc))
46 else if (value.Equals(nameof(NamedSize.Header), sc))
48 else if (value.Equals(nameof(NamedSize.Subtitle), sc))
50 else if (value.Equals(nameof(NamedSize.Title), sc))
76 if (strValue.Equals(nameof(NamedSize.Default), StringComparison.Ordinal))
78 if (strValue.Equals(nameof(NamedSize.Micro), StringComparison.Ordinal))
80 if (strValue.Equals(nameof(NamedSize.Small), StringComparison.Ordinal))
82 if (strValue.Equals(nameof(NamedSize.Medium), StringComparison.Ordinal))
84 if (strValue.Equals(nameof(NamedSize.Large), StringComparison.Ordinal))
86 if (strValue.Equals(nameof(NamedSize.Body), StringComparison.Ordinal))
88 if (strValue.Equals(nameof(NamedSize.Caption), StringComparison.Ordinal))
90 if (strValue.Equals(nameof(NamedSize.Header), StringComparison.Ordinal))
92 if (strValue.Equals(nameof(NamedSize.Subtitle), StringComparison.Ordinal))
94 if (strValue.Equals(nameof(NamedSize.Title), StringComparison.Ordinal))
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))
Microsoft.Maui.Controls.Build.Tasks (2)
Microsoft.Maui.Controls.DesignTools (3)
Microsoft.Maui.Controls.SourceGen (1)
Microsoft.Maui.Essentials (2)
Microsoft.Maui.Graphics (10)
Microsoft.Maui.Graphics.Text.Markdig (1)
Microsoft.Maui.Resizetizer (1)
Microsoft.ML.Data (6)
Microsoft.ML.Parquet (1)
Microsoft.ML.Tests (4)
Microsoft.ML.Tokenizers (7)
Microsoft.ML.Tokenizers.Tests (4)
Microsoft.VisualBasic.Core (7)
Microsoft.VisualStudio.LanguageServices (11)
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Microsoft.VisualStudio.LanguageServices.Xaml (1)
PresentationBuildTasks (145)
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))
PresentationCore (199)
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\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))
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,
PresentationFramework (27)
System\Windows\Documents\FixedSchema.cs (11)
42if (!encoding.Equals(Encoding.Unicode.WebName, StringComparison.OrdinalIgnoreCase) &&
43!encoding.Equals(Encoding.UTF8.WebName, StringComparison.OrdinalIgnoreCase))
400return namespaceUri.Equals(_xpsS0SchemaNamespace, StringComparison.Ordinal);
414if (attrName.Equals("Source", StringComparison.Ordinal) ||
415attrName.Equals("FontUri", StringComparison.Ordinal))
419else if (attrName.Equals("ImageSource", StringComparison.Ordinal))
433else if (attrName.Equals("Color", StringComparison.Ordinal) ||
434attrName.Equals("Fill", StringComparison.Ordinal) ||
435attrName.Equals("Stroke", StringComparison.Ordinal))
692if (attrName.Equals("Source", StringComparison.Ordinal)) // Cannot chain remote ResourceDictionary parts.
736return namespaceUri.Equals(_xpsDocStructureSchemaNamespace, StringComparison.Ordinal);
PresentationUI (13)
ReachFramework (6)
Roslyn.Diagnostics.Analyzers (16)
Roslyn.Diagnostics.CSharp.Analyzers (1)
System.CodeDom (4)
System.Console (1)
System.Diagnostics.DiagnosticSource (4)
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.IO.Packaging (1)
System.Linq.Expressions (3)
System.Net.Http (14)
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.Digest.cs (11)
49if (!algorithm!.Equals(Sha256, StringComparison.OrdinalIgnoreCase) &&
50!algorithm.Equals(Md5, StringComparison.OrdinalIgnoreCase) &&
51!algorithm.Equals(Sha256Sess, StringComparison.OrdinalIgnoreCase) &&
52!algorithm.Equals(MD5Sess, 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.HttpListener (6)
System.Net.Mail (5)
System.Net.NameResolution (1)
System.Net.Ping (1)
System.Net.Primitives (1)
System.Net.Security (1)
System.Net.Sockets (1)
System.Net.WebSockets.Client (1)
System.Private.CoreLib (30)
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,
System.Private.DataContractSerialization (1)
System.Private.Uri (1)
System.Private.Windows.Core (1)
System.Private.Xml (5)
System.Reflection.Emit (2)
System.Reflection.Metadata (15)
System.Reflection.MetadataLoadContext (5)
System.Security.Cryptography (16)
System.ServiceModel.Http (3)
System.ServiceModel.NetTcp (1)
System.ServiceModel.Primitives (5)
System.ServiceModel.Syndication (1)
System.Text.Json (3)
System.Text.Json.SourceGeneration (1)
System.Text.RegularExpressions.Generator (4)
System.Windows.Controls.Ribbon (1)
System.Windows.Forms (2)
System.Windows.Forms.IntegrationTests.Common (1)
System.Windows.Forms.Primitives.TestUtilities (3)
System.Windows.Input.Manipulations (1)
System.Xaml (1)
Test.Utilities (11)
Text.Analyzers (12)
UIAutomationClient (1)
UIAutomationClientSideProviders (1)
UIAutomationProvider (1)
UIAutomationTypes (1)
WindowsFormsIntegration (1)
xunit.assert (2)
xunit.console (1)