3593 references to Equals
aspire (24)
Backchannel\ExtensionRpcTarget.cs (3)
33if (!string.Equals(token, configuration[KnownConfigNames.ExtensionToken], StringComparisons.CliInputOrOutput)) 43if (!string.Equals(token, configuration[KnownConfigNames.ExtensionToken], StringComparisons.CliInputOrOutput)) 53if (!string.Equals(token, configuration[KnownConfigNames.ExtensionToken], StringComparisons.CliInputOrOutput))
Commands\BaseCommand.cs (5)
57if (string.Equals(ex.Message, ErrorStrings.ProjectFileNotAppHostProject, StringComparisons.CliInputOrOutput)) 62if (string.Equals(ex.Message, ErrorStrings.ProjectFileDoesntExist, StringComparisons.CliInputOrOutput)) 67if (string.Equals(ex.Message, ErrorStrings.MultipleProjectFilesFound, StringComparisons.CliInputOrOutput)) 72if (string.Equals(ex.Message, ErrorStrings.NoProjectFileFound, StringComparisons.CliInputOrOutput)) 77if (string.Equals(ex.Message, ErrorStrings.AppHostsMayNotBeBuildable, StringComparisons.CliInputOrOutput))
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))
Packaging\TemporaryNuGetConfig.cs (1)
78var sourceInfo = distinctSources.First(s => string.Equals(s.Source, sourceGroup.Key, StringComparison.OrdinalIgnoreCase));
src\Shared\LocaleHelpers.cs (1)
49.Any(c => string.Equals(c.Name, cultureName, StringComparison.OrdinalIgnoreCase));
Templating\DotNetTemplateFactory.cs (7)
126var choice when string.Equals(choice, TemplatingStrings.Yes, StringComparisons.CliInputOrOutput) => true, 127var choice when string.Equals(choice, TemplatingStrings.No, StringComparisons.CliInputOrOutput) => false, 151if (string.Equals(createTestProject, TemplatingStrings.No, StringComparisons.CliInputOrOutput)) 166if (testFramework is { } && !string.Equals(testFramework, TemplatingStrings.None, StringComparisons.CliInputOrOutput)) 423if (string.Equals(choice, TemplatingStrings.Yes, StringComparisons.CliInputOrOutput)) 437if (string.Equals(updateChoice, TemplatingStrings.Yes, StringComparisons.CliInputOrOutput)) 452.FirstOrDefault(f => string.Equals(f.Name, "nuget.config", StringComparison.OrdinalIgnoreCase));
Aspire.Confluent.Kafka (1)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\Shared\PropertyFetcher.AOT.cs (1)
101var property = type.DeclaredProperties.FirstOrDefault(p => string.Equals(p.Name, propertyName, StringComparison.OrdinalIgnoreCase)) ?? type.GetProperty(propertyName);
Aspire.Dashboard (37)
Components\Controls\ResourceDetails.razor.cs (3)
120if (!string.Equals(Resource.Name, _resource?.Name, StringComparisons.ResourceName)) 205.Where(r => string.Equals(r.DisplayName, resourceRelationships.Key, StringComparisons.ResourceName)) 235if (string.Equals(resourceRelationships.Key, Resource.DisplayName, StringComparisons.ResourceName))
Components\Controls\SpanDetails.razor.cs (1)
93if (!string.Equals(ViewModel.Span.SpanId, _viewModel?.Span.SpanId, StringComparisons.OtlpSpanId))
Components\Pages\ConsoleLogs.razor.cs (2)
257if (ResourceName is not null && PageViewModel.SelectedResource is null && changeType == ResourceViewModelChangeType.Upsert && string.Equals(ResourceName, resource.Name, StringComparisons.ResourceName)) 853if (string.Equals(PageViewModel.SelectedResource.Id?.InstanceId, resource.Name, StringComparisons.ResourceName))
Components\Pages\Resources.razor.cs (4)
274if (string.Equals(SelectedResource?.Name, resource.Name, StringComparisons.ResourceName)) 612if (string.Equals(SelectedResource?.Name, resource.Name, StringComparisons.ResourceName)) 678if (string.Equals(item.DisplayName, resource.DisplayName, StringComparisons.ResourceName)) 692=> string.Equals(resource.Name, SelectedResource?.Name, StringComparisons.ResourceName) ? "selected-row resource-row" : "resource-row";
DashboardEndpointsBuilder.cs (1)
55var newLanguage = GlobalizationHelpers.OrderedLocalizedCultures.SingleOrDefault(c => string.Equals(c.Name, language, StringComparisons.CultureName));
DashboardWebApplication.cs (2)
716if (string.Equals(rule.Thumbprint, certThumbprint, StringComparison.OrdinalIgnoreCase)) 892private static bool IsHttpsOrNull(BindingAddress? address) => address == null || string.Equals(address.Scheme, "https", StringComparison.Ordinal);
Model\BrowserLinkOutgoingPeerResolver.cs (2)
42if (Uri.TryCreate(url, UriKind.Absolute, out var uri) && string.Equals(uri.Host, "localhost", StringComparisons.UrlHost)) 47if (Guid.TryParse(parts[0], out _) && string.Equals(parts[1], lastSegment, StringComparisons.UrlPath))
Model\Otlp\ResourcesSelectHelpers.cs (2)
20var instanceIdMatches = allowedMatches.Where(e => string.Equals(name, e.Id?.InstanceId, StringComparisons.ResourceName)).ToList(); 28var replicaSetMatches = allowedMatches.Where(e => e.Id?.Type != OtlpResourceType.Instance && string.Equals(name, e.Id?.ReplicaSetName, StringComparisons.ResourceName)).ToList();
Model\Otlp\TelemetryFilter.cs (3)
61FilterCondition.Equals => (a, b) => string.Equals(a, b, StringComparisons.OtlpFieldValue), 67FilterCondition.NotEqual => (a, b) => !string.Equals(a, b, StringComparisons.OtlpFieldValue), 187if (!string.Equals(Value, other.Value, StringComparison.OrdinalIgnoreCase))
Model\ResourceGraph\ResourceGraphMapper.cs (1)
26.Where(r => string.Equals(r.DisplayName, resourceRelationships.Key, StringComparisons.ResourceName))
Model\ResourceOutgoingPeerResolver.cs (3)
142return string.Equals(value1, value2, StringComparison.Ordinal); 207if (string.Equals(endpoint, value, StringComparison.OrdinalIgnoreCase)) 217if (string.Equals(transformedEndpoint, value, StringComparison.OrdinalIgnoreCase))
Model\ResourceViewModel.cs (2)
166if (string.Equals(item.DisplayName, resource.DisplayName, StringComparisons.ResourceName)) 188var resourcesWithDisplayName = resourceByName.Values.Where(r => string.Equals(resourceName, r.DisplayName, StringComparisons.ResourceName)).ToList();
Model\TargetLocationInterceptor.cs (1)
36if (string.Equals(path, ResourcesPath, StringComparisons.UrlPath))
Otlp\Http\OtlpHttpEndpointsBuilder.cs (2)
80if (string.Equals(mt.MediaType, JsonContentType, StringComparison.OrdinalIgnoreCase)) 86if (string.Equals(mt.MediaType, ProtobufContentType, StringComparison.OrdinalIgnoreCase))
Otlp\Model\OtlpResource.cs (3)
265if (string.Equals(item.ResourceName, resource.ResourceName, StringComparisons.ResourceName)) 341if (!string.Equals(x[i].Key, y[i].Key, StringComparisons.OtlpAttribute)) 345if (!string.Equals(x[i].Value, y[i].Value, StringComparisons.OtlpAttribute))
Otlp\Model\OtlpSpan.cs (1)
163if (string.Equals(rpcSystem, "grpc", StringComparison.OrdinalIgnoreCase))
Otlp\Storage\ResourceKey.cs (2)
10if (string.Equals(name, instanceId, StringComparisons.ResourceName)) 83return string.Equals(Name, name, StringComparisons.ResourceName);
Otlp\Storage\TelemetryRepository.cs (1)
117results = results.Where(a => string.Equals(a.ResourceKey.Name, name, StringComparisons.ResourceName));
src\Shared\LocaleHelpers.cs (1)
49.Any(c => string.Equals(c.Name, cultureName, StringComparison.OrdinalIgnoreCase));
Aspire.Hosting (35)
ApplicationModel\ResourceNotificationService.cs (4)
131if (string.Equals(resourceName, resourceEvent.Resource.Name, StringComparisons.ResourceName) 445if (string.Equals(resourceName, resourceEvent.Resource.Name, StringComparisons.ResourceName) && predicate(resourceEvent)) 489foreach (var matchingResource in _resourceNotificationStates.Where(s => string.Equals(s.Value.Resource.Name, resourceId, StringComparisons.ResourceName))) 608if (!string.IsNullOrWhiteSpace(previousStateText) && !string.Equals(previousStateText, newStateText, StringComparison.OrdinalIgnoreCase))
Dashboard\DashboardLifecycleHook.cs (5)
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)) 542if (string.Equals(configuration["AppHost:ResourceService:AuthMode"], nameof(ResourceServiceAuthMode.ApiKey), StringComparison.OrdinalIgnoreCase) 643.Where(r => !string.Equals(r.Name, KnownResourceNames.AspireDashboard, StringComparisons.ResourceName))
Dashboard\DashboardServiceHost.cs (1)
170if (string.Equals(scheme, "https", StringComparison.Ordinal))
Dcp\DcpDependencyCheck.cs (2)
214if (string.Equals(containerRuntime, "docker", StringComparison.OrdinalIgnoreCase)) 219else if (string.Equals(containerRuntime, "podman", StringComparison.OrdinalIgnoreCase))
Dcp\DcpExecutor.cs (3)
888if (string.Equals("localhost", endpoint.TargetHost, StringComparison.OrdinalIgnoreCase)) 1686var s when string.Equals(s, "localhost", StringComparison.OrdinalIgnoreCase) => ("localhost", EndpointBindingMode.SingleAddress), // Explicitly set to localhost 1797.SingleOrDefault(r => string.Equals(r.DcpResource.Metadata.Name, resourceName, StringComparisons.ResourceName));
Dcp\DcpOptions.cs (1)
204return assemblyMetadata?.FirstOrDefault(m => string.Equals(m.Key, key, StringComparison.OrdinalIgnoreCase))?.Value;
Dcp\Model\ModelCommon.cs (2)
204if (!string.Equals(ServiceName, other.ServiceName, StringComparison.Ordinal)) { return false; } 207if (!string.Equals(Address, other.Address, StringComparison.Ordinal)) { return false; }
Dcp\ResourceSnapshotBuilder.cs (3)
251var urlsForEndpoint = endpointUrls.Where(u => string.Equals(endpointName, u.Endpoint?.EndpointName, StringComparisons.EndpointAnnotationName)).ToList(); 263var resourceRunning = string.Equals(resourceState, KnownResourceStates.Running, StringComparisons.ResourceState); 296var isFromSpec = specSource?.Any(e => string.Equals(e.Name, env.Name, StringComparison.Ordinal)) is true or null;
DistributedApplicationBuilder.cs (2)
562if (Resources.FirstOrDefault(r => string.Equals(r.Name, resource.Name, StringComparisons.ResourceName)) is { } existingResource) 635assemblyMetadata?.FirstOrDefault(a => string.Equals(a.Key, key, StringComparison.OrdinalIgnoreCase))?.Value;
DistributedApplicationBuilderExtensions.cs (1)
64var resource = builder.Resources.FirstOrDefault(r => string.Equals(r.Name, name, StringComparison.OrdinalIgnoreCase));
DistributedApplicationOptions.cs (1)
123return assemblyMetadata?.FirstOrDefault(m => string.Equals(m.Key, key, StringComparison.OrdinalIgnoreCase))?.Value;
ExternalServiceBuilderExtensions.cs (1)
157if (urlSnapshots.Any(u => string.Equals(u.Url, uri.ToString(), StringComparisons.Url)))
ProjectResourceBuilderExtensions.cs (3)
476var url = context.Urls.FirstOrDefault(u => string.Equals(u.Endpoint?.EndpointName, endpoint.Name, StringComparisons.EndpointAnnotationName)); 535projectResource.Annotations.OfType<EndpointAnnotation>().FirstOrDefault(sb => sb.UriScheme == scheme || string.Equals(sb.Name, scheme, StringComparisons.EndpointAnnotationName)); 853if (string.Equals(host, "localhost", StringComparison.OrdinalIgnoreCase))
ResourceBuilderExtensions.cs (3)
703if (builder.Resource.Annotations.OfType<EndpointAnnotation>().Any(sb => string.Equals(sb.Name, annotation.Name, StringComparisons.EndpointAnnotationName))) 1984matchingEndpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, name, StringComparisons.EndpointAnnotationName)); 2010matchingEndpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, scheme, StringComparisons.EndpointAnnotationUriScheme));
src\Shared\CustomResourceSnapshotExtensions.cs (2)
17if (string.Equals(property.Name, name, StringComparisons.ResourcePropertyName)) 46if (string.Equals(existingProperty.Name, newValue.Name, StringComparisons.ResourcePropertyName))
src\Shared\LocaleHelpers.cs (1)
49.Any(c => string.Equals(c.Name, cultureName, StringComparison.OrdinalIgnoreCase));
Aspire.Hosting.Azure (2)
src\Shared\CustomResourceSnapshotExtensions.cs (2)
17if (string.Equals(property.Name, name, StringComparisons.ResourcePropertyName)) 46if (string.Equals(existingProperty.Name, newValue.Name, StringComparisons.ResourcePropertyName))
Aspire.Hosting.Azure.Storage (2)
AzureStorageExtensions.cs (2)
341if (string.Equals(name, builder.Resource.Name + "-blobs", StringComparisons.ResourceName)) 480if (string.Equals(name, builder.Resource.Name + "-queues", StringComparisons.ResourceName))
Aspire.Hosting.Azure.Tests (1)
AzureWebPubSubExtensionsTests.cs (1)
151var hub = infrastructure.GetProvisionableResources().OfType<WebPubSubHub>().First(i => string.Equals(i.BicepIdentifier, "abc", StringComparison.OrdinalIgnoreCase));
Aspire.Hosting.PostgreSQL (1)
PostgresBuilderExtensions.cs (1)
85if (builder.Resources.FirstOrDefault(n => string.Equals(n.Name, name, StringComparisons.ResourceName)) is PostgresDatabaseResource postgreDatabase)
Aspire.Hosting.RabbitMQ (1)
RabbitMQBuilderExtensions.cs (1)
159&& string.Equals(containerAnnotations[0].Image, RabbitMQContainerImageTags.Image, StringComparison.OrdinalIgnoreCase))
Aspire.Hosting.Testing (3)
DistributedApplicationFactory.cs (1)
335return assemblyMetadata?.FirstOrDefault(m => string.Equals(m.Key, key, StringComparison.OrdinalIgnoreCase))?.Value;
DistributedApplicationHostingTestingExtensions.cs (1)
80var resource = resources.SingleOrDefault(r => string.Equals(r.Name, resourceName, StringComparison.OrdinalIgnoreCase));
DistributedApplicationTestingBuilder.cs (1)
371return assemblyMetadata?.FirstOrDefault(m => string.Equals(m.Key, "dcpclipath", StringComparison.OrdinalIgnoreCase))?.Value;
Aspire.Hosting.Testing.Tests (1)
tests\Aspire.Hosting.Tests\Utils\LoggerNotificationExtensions.cs (1)
134if (resourceName != null && !string.Equals(resourceEvent.Resource.Name, resourceName, StringComparison.OrdinalIgnoreCase))
Aspire.Hosting.Tests (9)
Dashboard\DashboardLifecycleHookTests.cs (2)
90var dashboardResource = model.Resources.Single(r => string.Equals(r.Name, KnownResourceNames.AspireDashboard, StringComparisons.ResourceName)); 138var dashboardResource = model.Resources.Single(r => string.Equals(r.Name, KnownResourceNames.AspireDashboard, StringComparisons.ResourceName));
Helpers\DashboardServiceDataExtensions.cs (1)
34if (string.Equals(resourceName, resource.Name, StringComparisons.ResourceName)
Utils\LoggerNotificationExtensions.cs (1)
134if (resourceName != null && !string.Equals(resourceEvent.Resource.Name, resourceName, StringComparison.OrdinalIgnoreCase))
Utils\StringComparersTests.cs (1)
78if (!string.Equals(comparerKind, comparisonKind, StringComparison.Ordinal))
WithEndpointTests.cs (4)
29.Where(e => string.Equals(e.Name, "mybinding", EndpointAnnotationName)).Single(); 46.Where(e => string.Equals(e.Name, "mybinding", EndpointAnnotationName)).Single(); 81.Where(e => string.Equals(e.Name, "mybinding", EndpointAnnotationName)).Single(); 608.Where(e => string.Equals(e.Name, "mybinding", EndpointAnnotationName)).Single();
Aspire.Microsoft.Data.SqlClient (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Shared\DiagnosticSourceInstrumentation\PropertyFetcher.cs (1)
97var property = type.DeclaredProperties.FirstOrDefault(p => string.Equals(p.Name, propertyName, StringComparison.OrdinalIgnoreCase)) ?? type.GetProperty(propertyName);
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Shared\DiagnosticSourceInstrumentation\PropertyFetcher.cs (1)
97var property = type.DeclaredProperties.FirstOrDefault(p => string.Equals(p.Name, propertyName, StringComparison.OrdinalIgnoreCase)) ?? type.GetProperty(propertyName);
Aspire.Playground.Tests (1)
tests\Aspire.Hosting.Tests\Utils\LoggerNotificationExtensions.cs (1)
134if (resourceName != null && !string.Equals(resourceEvent.Resource.Name, resourceName, StringComparison.OrdinalIgnoreCase))
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Shared\PropertyFetcher.AOT.cs (1)
103var property = type.DeclaredProperties.FirstOrDefault(p => string.Equals(p.Name, propertyName, StringComparison.OrdinalIgnoreCase)) ?? type.GetProperty(propertyName);
AutobahnTestApp (1)
Program.cs (1)
27if (string.Equals(webHostBuilder.GetSetting("server"), "Microsoft.AspNetCore.Server.HttpSys", System.StringComparison.Ordinal))
blazor-devserver (2)
Server\Startup.cs (2)
46if (string.Equals(fileExtension, ".js", StringComparison.OrdinalIgnoreCase) || string.Equals(fileExtension, ".mjs", StringComparison.OrdinalIgnoreCase))
BuildBoss (1)
ProjectCheckerUtil.cs (1)
126if (string.Equals(internalsVisibleTo.LoadsWithinVisualStudio, "false", StringComparison.OrdinalIgnoreCase))
CatalogDb (1)
ResetDbExtensions.cs (1)
18if (!string.Equals(key, $"Key {resetDbKey}", StringComparison.Ordinal))
ClientSample (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
Tcp\TcpHubConnectionBuilderExtensions.cs (1)
20if (!string.Equals(uri.Scheme, "net.tcp", StringComparison.Ordinal))
CodeGenerator (2)
src\Servers\Kestrel\shared\KnownHeaders.cs (2)
1508Header = headers.SingleOrDefault(knownHeader => string.Equals(knownHeader.Name, g.Key, StringComparison.OrdinalIgnoreCase)), 1529Header = headers.SingleOrDefault(knownHeader => string.Equals(knownHeader.Name, g.Key, StringComparison.OrdinalIgnoreCase)),
CookieSample (1)
Program.cs (1)
25if (authData != null && string.Equals(authData.AuthenticationSchemes, "Bearer", StringComparison.Ordinal))
CreateDefaultBuilderApp (5)
Program.cs (5)
47if (!string.Equals(contentRoot, context.HostingEnvironment.ContentRootPath, StringComparison.Ordinal)) 53if (!string.Equals("settingsValue", context.Configuration["settingsKey"], StringComparison.Ordinal)) 59if (!string.Equals("devSettingsValue", context.Configuration["devSettingsKey"], StringComparison.Ordinal)) 67if (!string.Equals("envValue", context.Configuration["envKey"], StringComparison.Ordinal)) 73if (!string.Equals("cliValue", context.Configuration["cliKey"], StringComparison.Ordinal))
CreateDefaultBuilderOfTApp (6)
Program.cs (6)
41if (responseMessage == null && !string.Equals("example.com,127.0.0.1", hosts, StringComparison.Ordinal)) 58if (!string.Equals(contentRoot, context.HostingEnvironment.ContentRootPath, StringComparison.Ordinal)) 64if (!string.Equals("settingsValue", context.Configuration["settingsKey"], StringComparison.Ordinal)) 70if (!string.Equals("devSettingsValue", context.Configuration["devSettingsKey"], StringComparison.Ordinal)) 78if (!string.Equals("envValue", context.Configuration["envKey"], StringComparison.Ordinal)) 84if (!string.Equals("cliValue", context.Configuration["cliKey"], StringComparison.Ordinal))
Crossgen2Tasks (2)
RunReadyToRunCompiler.cs (1)
232if (IsPdbCompilation && string.Equals(Path.GetFileName(reference.ItemSpec), Path.GetFileName(_outputR2RImage), StringComparison.OrdinalIgnoreCase))
ShimFilesSimulatingLogicInSdkRepo\SimpleItemUtilities.cs (1)
37return string.Equals(value, expectedValue, StringComparison.OrdinalIgnoreCase);
dotnet-dev-certs (14)
Program.cs (1)
172if (noPassword.HasValue() && !(format.HasValue() && string.Equals(format.Value(), "PEM", StringComparison.OrdinalIgnoreCase)))
src\Shared\CertificateGeneration\CertificateManager.cs (4)
114if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 189.Any(e => string.Equals(oid, e.Oid?.Value, StringComparison.Ordinal)); 201.Where(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal)) 478if (!string.Equals(certificate.Subject, Subject, StringComparison.Ordinal) || // Kestrel requires this
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
src\Tools\Shared\CommandLine\DebugHelper.cs (1)
19if (args.Length > 0 && string.Equals("--debug", args[0], StringComparison.OrdinalIgnoreCase))
dotnet-getdocument (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
src\Tools\Shared\CommandLine\DebugHelper.cs (1)
19if (args.Length > 0 && string.Equals("--debug", args[0], StringComparison.OrdinalIgnoreCase))
dotnet-openapi (14)
Commands\BaseCommand.cs (2)
156var fileItems = items.Where(i => string.Equals(GetFullPath(i.EvaluatedInclude), GetFullPath(sourceFile), StringComparison.Ordinal)); 167i => string.Equals(i.GetMetadataValue(SourceUrlAttrName), sourceUrl, StringComparison.Ordinal)))
Commands\RefreshCommand.cs (1)
47if (string.Equals(attrUrl, url, StringComparison.Ordinal))
Commands\RemoveCommand.cs (2)
60if (string.Equals(include, sourceFile, StringComparison.OrdinalIgnoreCase) 61|| string.Equals(sourceUrl, sourceFile, StringComparison.OrdinalIgnoreCase))
DebugMode.cs (1)
15if (args.Length > 0 && string.Equals("--debug", args[0], StringComparison.OrdinalIgnoreCase))
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
src\Tools\Shared\CommandLine\DebugHelper.cs (1)
19if (args.Length > 0 && string.Equals("--debug", args[0], StringComparison.OrdinalIgnoreCase))
dotnet-sql-cache (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
src\Tools\Shared\CommandLine\DebugHelper.cs (1)
19if (args.Length > 0 && string.Equals("--debug", args[0], StringComparison.OrdinalIgnoreCase))
dotnet-svcutil-lib (30)
CodeDomFixup\ConfigToCode.cs (20)
101if (string.Equals(clientType.BaseTypes[0].BaseType, ConfigToCodeConstants.ClientBaseOfTBaseName, StringComparison.Ordinal)) 105else if (string.Equals(clientType.BaseTypes[0].BaseType, ConfigToCodeConstants.DuplexClientBaseOfTBaseName, StringComparison.Ordinal)) 129else if (ctor.Parameters.Count == 1 && !string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 137else if (ctor.Parameters.Count == 1 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 153else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 207else if (ctor.Parameters.Count == 1 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 236else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal) 237&& string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 265else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal) && 266string.Equals(ctor.Parameters[1].Type.BaseType, typeof(EndpointAddress).FullName, StringComparison.Ordinal)) 337else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 366else if (ctor.Parameters.Count == 3 && string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal) 367&& string.Equals(ctor.Parameters[2].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 394else if (ctor.Parameters.Count == 3 && string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal) 395&& string.Equals(ctor.Parameters[2].Type.BaseType, typeof(EndpointAddress).FullName, StringComparison.Ordinal)) 440if (string.Equals(baseType.BaseType, ConfigToCodeConstants.ClientBaseOfTBaseName, StringComparison.Ordinal) && baseType.TypeArguments.Count == 1) 444else if (string.Equals(baseType.BaseType, ConfigToCodeConstants.DuplexClientBaseOfTBaseName, StringComparison.Ordinal) && baseType.TypeArguments.Count == 1) 457if (type.BaseTypes.Count > 0 && string.Equals(clientTypeName, type.BaseTypes[0].BaseType, StringComparison.Ordinal)) 470if (string.Equals(baseType.BaseType, ConfigToCodeConstants.ClientBaseOfTBaseName, StringComparison.Ordinal) 471|| string.Equals(baseType.BaseType, ConfigToCodeConstants.DuplexClientBaseOfTBaseName, StringComparison.Ordinal))
CodeDomFixup\WcfCodeGenerationExtension.cs (1)
114return string.Equals("vb", xsdImporter.Options.CodeProvider.FileExtension, StringComparison.OrdinalIgnoreCase);
FrameworkFork\Microsoft.Xml\Xml\Core\SecureStringHasher.cs (1)
50return String.Equals(x, y, StringComparison.Ordinal);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (2)
56if ((value is HttpRequestMessageProperty && string.Equals(key, HttpRequestMessageProperty.Name, StringComparison.OrdinalIgnoreCase)) || 57(value is HttpResponseMessageProperty && string.Equals(key, HttpResponseMessageProperty.Name, StringComparison.OrdinalIgnoreCase)))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportBindingElement.cs (1)
242if (!String.Equals(this.MulticastInterfaceId, udpTransport.MulticastInterfaceId, StringComparison.OrdinalIgnoreCase))
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (3)
906if (!String.Equals(parent._request.Body.WrapperName, defaultName.EncodedName, StringComparison.Ordinal)) 914if (!String.Equals(parent._response.Body.WrapperName, TypeLoader.GetBodyWrapperResponseName(defaultName).EncodedName, StringComparison.Ordinal)) 942return overrideValue == null || String.Equals(overrideValue, defaultValue, StringComparison.Ordinal);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
288return string.Equals(this.EncodedName, xmlName.EncodedName, StringComparison.Ordinal);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (1)
528!String.Equals(method1.Name, method2.Name, StringComparison.Ordinal) ||
dotnet-user-jwts (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
src\Tools\Shared\CommandLine\DebugHelper.cs (1)
19if (args.Length > 0 && string.Equals("--debug", args[0], StringComparison.OrdinalIgnoreCase))
dotnet-user-secrets (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
src\Tools\Shared\CommandLine\DebugHelper.cs (1)
19if (args.Length > 0 && string.Equals("--debug", args[0], StringComparison.OrdinalIgnoreCase))
GenerateDocumentationAndConfigFiles (11)
Program.cs (1)
1456!string.Equals(rule.Category, category, StringComparison.OrdinalIgnoreCase))
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\RoslynAnalyzers\Microsoft.CodeAnalysis.Analyzers\Core\MetaAnalyzers\ReleaseTrackingHelper.cs (2)
211if (string.Equals(category, oldCategory, StringComparison.OrdinalIgnoreCase) && 304if (string.Equals(severityPart, DisabledText, StringComparison.OrdinalIgnoreCase))
src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (1)
250if (string.Equals(parsedWord, word, StringComparison.OrdinalIgnoreCase))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
GetDocument.Insider (9)
Commands\GetDocumentCommandWorker.cs (1)
400if (string.Equals(DefaultDocumentName, documentName, StringComparison.Ordinal))
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
src\Tools\Shared\CommandLine\DebugHelper.cs (1)
19if (args.Length > 0 && string.Equals("--debug", args[0], StringComparison.OrdinalIgnoreCase))
Identity.ExternalClaims (1)
Pages\Account\Manage\ManageNavPages.cs (1)
34return string.Equals(activePage, page, StringComparison.OrdinalIgnoreCase) ? "active" : null;
IdentitySample.PasskeyConformance (1)
InMemoryUserStore.cs (1)
38=> Task.FromResult(_users.Values.FirstOrDefault(u => string.Equals(u.NormalizedUserName, normalizedUserName, StringComparison.Ordinal)));
IdentitySample.PasskeyUI (1)
InMemoryUserStore.cs (1)
38=> Task.FromResult(_users.Values.FirstOrDefault(u => string.Equals(u.NormalizedUserName, normalizedUserName, StringComparison.Ordinal)));
ILLink.RoslynAnalyzer (4)
AnalyzerOptionsExtensions.cs (1)
27if (!string.Equals(propertyValue?.Trim(), "true", System.StringComparison.OrdinalIgnoreCase))
RequiresAnalyzerBase.cs (1)
447string.Equals(attr.ConstructorArguments[1].Value?.ToString(), "True", StringComparison.OrdinalIgnoreCase));
RequiresAssemblyFilesAnalyzer.cs (2)
58if (!string.Equals(isSingleFileAnalyzerEnabled?.Trim(), "true", StringComparison.OrdinalIgnoreCase)) 62if (string.Equals(includesAllContent?.Trim(), "true", StringComparison.OrdinalIgnoreCase))
Infrastructure.Common (3)
ConditionalTestDetectors.cs (2)
126return !String.Equals(computerName, logonServer, StringComparison.OrdinalIgnoreCase) && 127!String.Equals(computerName, userDomain, StringComparison.OrdinalIgnoreCase);
OSHelper.cs (1)
146if (string.Equals(MicrosoftWindowsName, CurrentOSDescription, StringComparison.OrdinalIgnoreCase))
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\HPackHeaderWriter.cs (1)
189return string.Equals(name, "Content-Disposition", StringComparison.OrdinalIgnoreCase);
InProcessWebSite (2)
Startup.cs (2)
257if (string.Equals("NTLM", ctx.User.Identity.AuthenticationType, StringComparison.Ordinal)) 1095if (string.Equals("NTLM", context.User.Identity.AuthenticationType, StringComparison.Ordinal))
installer.tasks (1)
StaticFileRegeneration\TpnSection.cs (1)
14string.Equals(x.Header.Name, y.Header.Name, StringComparison.OrdinalIgnoreCase);
InteropWebsite (1)
TestServiceImpl.cs (1)
137var encoding = context.GetHttpContext().Request.Headers.SingleOrDefault(h => string.Equals(h.Key, "grpc-encoding", StringComparison.OrdinalIgnoreCase)).Value.SingleOrDefault();
Metrics (8)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (1)
250if (string.Equals(parsedWord, word, StringComparison.OrdinalIgnoreCase))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
Metrics.Legacy (8)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (1)
250if (string.Equals(parsedWord, word, StringComparison.OrdinalIgnoreCase))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.Analyzers.Extra (1)
CallAnalysis\Fixers\LegacyLoggingFixer.FixDetails.cs (1)
172if (string.Equals(doc.Name, targetName, StringComparison.OrdinalIgnoreCase))
Microsoft.Analyzers.Local (1)
ApiLifecycle\ModelLoader.cs (1)
32if (assemblyName.EndsWith(fileName, StringComparison.OrdinalIgnoreCase) && string.Equals(fileExtension, ".json", StringComparison.OrdinalIgnoreCase))
Microsoft.Arcade.Common (1)
CommandFactory.cs (1)
59return !string.Equals(extension, ".exe", StringComparison.Ordinal);
Microsoft.AspNetCore (27)
ConfigureHostBuilder.cs (4)
75if (!string.Equals(previousApplicationName, _configuration[HostDefaults.ApplicationKey], StringComparison.OrdinalIgnoreCase)) 80if (!string.Equals(previousContentRootConfig, _configuration[HostDefaults.ContentRootKey], StringComparison.OrdinalIgnoreCase) 81&& !string.Equals(previousContentRoot, HostingPathResolver.ResolvePath(_configuration[HostDefaults.ContentRootKey]), StringComparison.OrdinalIgnoreCase)) 86if (!string.Equals(previousEnvironment, _configuration[HostDefaults.EnvironmentKey], StringComparison.OrdinalIgnoreCase))
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))
ForwardedHeadersOptionsSetup.cs (1)
22if (!string.Equals("true", _configuration["ForwardedHeaders_Enabled"], StringComparison.OrdinalIgnoreCase))
ForwardedHeadersStartupFilter.cs (1)
21if (!string.Equals("true", _configuration["ForwardedHeaders_Enabled"], StringComparison.OrdinalIgnoreCase))
WebApplicationBuilder.cs (1)
259if (!OperatingSystem.IsWindows() || !string.Equals(cwd, System.Environment.SystemDirectory, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Analyzers (4)
OptionsFacts.cs (1)
17string.Equals(item.Property.Name, SymbolNames.MvcOptions.EnableEndpointRoutingPropertyName, StringComparison.Ordinal))
StartupFacts.cs (3)
138if (string.Equals(symbol.Name, SymbolNames.SignalRAppBuilderExtensions.UseSignalRMethodName, StringComparison.Ordinal) || 139string.Equals(symbol.Name, SymbolNames.HubEndpointRouteBuilderExtensions.MapHubMethodName, StringComparison.Ordinal) || 140string.Equals(symbol.Name, SymbolNames.ComponentEndpointRouteBuilderExtensions.MapBlazorHubMethodName, StringComparison.Ordinal))
Microsoft.AspNetCore.Antiforgery (4)
Internal\DefaultAntiforgery.cs (1)
384if (!string.Equals(pragmaHeader[0], "no-cache", StringComparison.OrdinalIgnoreCase))
Internal\DefaultClaimUidExtractor.cs (3)
56claim => string.Equals("sub", claim.Type, StringComparison.Ordinal)); 68claim => string.Equals(ClaimTypes.NameIdentifier, claim.Type, StringComparison.Ordinal)); 80claim => string.Equals(ClaimTypes.Upn, claim.Type, StringComparison.Ordinal));
Microsoft.AspNetCore.App.Analyzers (13)
Infrastructure\AmbiguousRoutePatternComparer.cs (1)
92return string.Equals(s1, s2, StringComparison.OrdinalIgnoreCase);
Infrastructure\RoutePattern\RoutePatternParser.cs (1)
275if (!routeParameters.Any(p => string.Equals(p.Name, name, StringComparison.OrdinalIgnoreCase)))
Infrastructure\RoutePattern\RoutePatternTree.cs (1)
41if (string.Equals(parameter.Name, name, StringComparison.OrdinalIgnoreCase))
Mvc\DetectAmbiguousActionRoutes.cs (3)
69if (string.Equals(name, "action", StringComparison.OrdinalIgnoreCase)) 84if (string.Equals(name, "action", StringComparison.OrdinalIgnoreCase)) 143(!HasActionToken || string.Equals(ActionName, other.ActionName, StringComparison.OrdinalIgnoreCase)) &&
RouteEmbeddedLanguage\RoutePatternAnalyzer.cs (2)
123if (string.Equals(routeParameter.Name, routeParameterName, StringComparison.OrdinalIgnoreCase)) 134var parameterSymbol = resolvedParameterSymbols.FirstOrDefault(s => string.Equals(s.RouteParameterName, routeParameter.Name, StringComparison.OrdinalIgnoreCase));
RouteEmbeddedLanguage\RoutePatternHighlighter.cs (1)
63foreach (var matchingParameter in resolvedParameters.Where(s => string.Equals(s.RouteParameterName, parameterName, StringComparison.OrdinalIgnoreCase)))
src\Shared\RoslynUtils\SymbolExtensions.cs (1)
285if (string.Equals(namedArgument.Key, argumentName, StringComparison.Ordinal))
WebApplicationBuilder\WebApplicationBuilderAnalyzer.cs (3)
284.Where(node => string.Equals(node.Identifier.Value as string, operation.TargetMethod.Name, StringComparison.Ordinal)) 343if (!string.Equals(methodSymbol.Name, disallowedMethodName, StringComparison.Ordinal)) 364if (string.Equals(disallowedMethodName, "UseEndpoints", StringComparison.Ordinal))
Microsoft.AspNetCore.App.Analyzers.Test (1)
TestDiagnosticAnalyzer.cs (1)
157if (!project.MetadataReferences.Any(c => string.Equals(Path.GetFileNameWithoutExtension(c.Display), Path.GetFileNameWithoutExtension(assembly), StringComparison.OrdinalIgnoreCase)))
Microsoft.AspNetCore.App.UnitTests (3)
SharedFxTests.cs (1)
179if (string.Equals(name, "aspnetcorev2_inprocess", StringComparison.Ordinal))
TestData.cs (2)
348public static bool VerifyAncmBinary() => string.Equals(GetTestDataValue("VerifyAncmBinary"), "true", StringComparison.OrdinalIgnoreCase); 350public static bool VerifyPackageAssemblyVersions() => string.Equals(GetTestDataValue("VerifyPackageAssemblyVersions"), "true", StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Authentication (6)
AuthenticationHandler.cs (1)
209return string.Equals(target, Scheme.Name, StringComparison.Ordinal)
RemoteAuthenticationHandler.cs (2)
206&& string.Equals(Scheme.Name, authenticatedScheme, StringComparison.Ordinal)) 273if (!string.Equals(correlationCookie, CorrelationMarker, StringComparison.Ordinal))
RemoteAuthenticationOptions.cs (1)
41if (string.Equals(scheme, SignInScheme, StringComparison.Ordinal))
TicketSerializer.cs (2)
254if (string.Equals(value, defaultValue, StringComparison.Ordinal)) 267if (string.Equals(value, DefaultStringPlaceholder, StringComparison.Ordinal))
Microsoft.AspNetCore.Authentication.Cookies (2)
CookieAuthenticationEvents.cs (2)
110return string.Equals(request.Query[HeaderNames.XRequestedWith], "XMLHttpRequest", StringComparison.Ordinal) || 111string.Equals(request.Headers.XRequestedWith, "XMLHttpRequest", StringComparison.Ordinal);
Microsoft.AspNetCore.Authentication.OAuth (3)
ClaimActionCollection.cs (1)
27var itemsToRemove = Actions.Where(map => string.Equals(claimType, map.ClaimType, StringComparison.OrdinalIgnoreCase)).ToList();
MapAllClaimsAction.cs (2)
31var duplicate = identity.FindFirst(c => string.Equals(c.Type, pair.Name, StringComparison.OrdinalIgnoreCase) 32&& string.Equals(c.Value, claimValue, StringComparison.Ordinal)) != null;
Microsoft.AspNetCore.Authentication.OpenIdConnect (11)
OpenIdConnectHandler.cs (7)
173if (!string.Equals(sid, message.Sid, StringComparison.Ordinal)) 190if (!string.Equals(iss, message.Iss, StringComparison.Ordinal)) 439if (!string.Equals(Options.ResponseType, OpenIdConnectResponseType.Code, StringComparison.Ordinal) || 440!string.Equals(Options.ResponseMode, OpenIdConnectResponseMode.Query, StringComparison.Ordinal)) 736if (string.Equals(authorizationResponse.Error, "access_denied", StringComparison.Ordinal)) 880if (!string.Equals(jwt.Subject, tokenEndpointJwt.Subject, StringComparison.Ordinal)) 999else if (!string.Equals(contentMediaType, "application/json", StringComparison.OrdinalIgnoreCase))
UniqueJsonKeyClaimAction.cs (4)
39var claim = identity.FindFirst(c => string.Equals(c.Type, ClaimType, StringComparison.OrdinalIgnoreCase)); 40if (claim != null && string.Equals(claim.Value, value, StringComparison.Ordinal)) 50&& string.Equals(shortType, ClaimType, StringComparison.OrdinalIgnoreCase); 52if (claim != null && string.Equals(claim.Value, value, StringComparison.Ordinal))
Microsoft.AspNetCore.Authentication.Test (7)
OpenIdConnect\OpenIdConnectChallengeTests.cs (3)
974if (string.Equals("/tokens", request.RequestUri.AbsolutePath, StringComparison.Ordinal)) 982if (string.Equals("/user", request.RequestUri.AbsolutePath, StringComparison.Ordinal)) 986if (string.Equals("/par", request.RequestUri.AbsolutePath, StringComparison.Ordinal))
OpenIdConnect\OpenIdConnectEventTests.cs (2)
1393if (string.Equals("/tokens", request.RequestUri.AbsolutePath, StringComparison.Ordinal)) 1401if (string.Equals("/user", request.RequestUri.AbsolutePath, StringComparison.Ordinal))
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (2)
1388if (string.Equals("/tokens", request.RequestUri.AbsolutePath, StringComparison.Ordinal)) 1396if (string.Equals("/user", request.RequestUri.AbsolutePath, StringComparison.Ordinal))
Microsoft.AspNetCore.Authentication.Twitter (3)
TwitterHandler.cs (3)
90if (!string.Equals(returnedToken, requestToken.Token, StringComparison.Ordinal)) 278if (!string.Equals(responseParameters["oauth_callback_confirmed"], "true", StringComparison.Ordinal)) 358var contentTypeIsJson = string.Equals(response.Content.Headers.ContentType?.MediaType ?? "", "application/json", StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationHandler.cs (1)
71&& string.Equals(Request.Query[WsFederationConstants.WsFederationParameterNames.Wa],
Microsoft.AspNetCore.Authorization (3)
ClaimsAuthorizationRequirement.cs (2)
60if (string.Equals(claim.Type, requirement.ClaimType, StringComparison.OrdinalIgnoreCase)) 71if (string.Equals(claim.Type, requirement.ClaimType, StringComparison.OrdinalIgnoreCase)
NameAuthorizationRequirement.cs (1)
46if (string.Equals(identity.Name, requirement.RequiredName, StringComparison.Ordinal))
Microsoft.AspNetCore.Components (22)
CascadingValue.cs (1)
140|| string.Equals(requestedName, Name, StringComparison.OrdinalIgnoreCase); // Also match on name
CascadingValueSource.cs (1)
149|| string.Equals(requestedName, _name, StringComparison.OrdinalIgnoreCase); // Also match on name
ParameterView.cs (3)
139if (string.Equals(directParameterEnumerator.Current.Name, parameterName, StringComparison.Ordinal)) 198if (!string.Equals(oldFrame.AttributeNameField, newFrame.AttributeNameField, StringComparison.Ordinal)) 237if (string.Equals(oldFrame.AttributeNameField, newFrame.AttributeNameField, StringComparison.Ordinal))
Reflection\ComponentProperties.cs (1)
105if (string.Equals(parameterName, writers.CaptureUnmatchedValuesPropertyName, StringComparison.OrdinalIgnoreCase))
Rendering\SimplifiedStringHashComparer.cs (1)
22return string.Equals(x, y, StringComparison.OrdinalIgnoreCase);
RenderTree\RenderTreeDiffBuilder.cs (5)
440string.Equals(oldAttributeName, newAttributeName, StringComparison.Ordinal)) 584if (!string.Equals(oldText, newText, StringComparison.Ordinal)) 597if (!string.Equals(oldMarkup, newMarkup, StringComparison.Ordinal)) 610if (string.Equals(oldElementName, newElementName, StringComparison.Ordinal)) 735|| !string.Equals(oldFrame.NamedEventAssignedName, newFrame.NamedEventAssignedName, StringComparison.Ordinal))
Routing\RouteTableFactory.cs (2)
180if (string.Equals(parsed.RawText, template, StringComparison.OrdinalIgnoreCase)) 334!string.Equals(leftLiteral.Content, rightLiteral.Content, StringComparison.OrdinalIgnoreCase))
src\Components\Shared\src\RootTypeCache.cs (2)
81public bool Equals(Key other) => string.Equals(Assembly, other.Assembly, StringComparison.Ordinal) && 82string.Equals(Type, other.Type, StringComparison.Ordinal);
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (3)
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))
src\Http\Routing\src\Patterns\RoutePattern.cs (1)
148if (string.Equals(parameter.Name, name, StringComparison.OrdinalIgnoreCase))
src\Http\Routing\src\Patterns\RoutePatternFactory.cs (1)
506if (string.Equals(kvp.Key, parameters[i].Name, StringComparison.OrdinalIgnoreCase))
src\Http\Routing\src\RouteValueEqualityComparer.cs (1)
42return string.Equals(stringX, stringY, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Components.Analyzers (2)
ComponentFacts.cs (1)
66if (string.Equals(kvp.Key, ComponentsApi.ParameterAttribute.CaptureUnmatchedValues, StringComparison.Ordinal))
ComponentInternalUsageDiagnosticAnalzyer.cs (1)
44if (@namespace == null || !string.Equals(NamespaceParts[i], @namespace.Name, StringComparison.Ordinal))
Microsoft.AspNetCore.Components.Endpoints (14)
Assets\ImportMapDefinition.cs (2)
92if (string.Equals(property.Name, "integrity", StringComparison.OrdinalIgnoreCase)) 96else if (string.Equals(property.Name, "label", StringComparison.OrdinalIgnoreCase))
DependencyInjection\DefaultRazorComponentsServiceOptionsConfiguration.cs (2)
25options.DetailedErrors = string.Equals(value, "true", StringComparison.OrdinalIgnoreCase) || 26string.Equals(value, "1", StringComparison.OrdinalIgnoreCase);
Discovery\ComponentBuilder.cs (1)
48return string.Equals(AssemblyName, name, StringComparison.Ordinal);
Discovery\PageComponentBuilder.cs (1)
50return string.Equals(AssemblyName, source, StringComparison.Ordinal);
FormMapping\Metadata\FormDataMetadataFactory.cs (1)
193.FirstOrDefault(p => string.Equals(p.Name, property.Name, StringComparison.OrdinalIgnoreCase));
Rendering\EndpointHtmlRenderer.EventDispatch.cs (4)
161&& string.Equals(change.EventType, "onsubmit", StringComparison.Ordinal)) 185&& string.Equals(change.EventType, "onsubmit", StringComparison.Ordinal)) 225if (!string.Equals(frame.NamedEventType, eventType, StringComparison.Ordinal)) 236if (candidate.AttributeEventHandlerId > 0 && string.Equals(candidate.AttributeName, eventType, StringComparison.OrdinalIgnoreCase))
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
331return accept.Count == 1 && string.Equals(accept[0]!, "text/html; blazor-enhanced-nav=on", StringComparison.Ordinal);
src\Shared\Components\ComponentMarker.cs (2)
142=> string.Equals(LocationHash, other.LocationHash, StringComparison.Ordinal) 143&& string.Equals(FormattedComponentKey, other.FormattedComponentKey, StringComparison.Ordinal);
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
src\Components\Shared\src\WebRootComponentParameters.cs (4)
41if (!string.Equals(definition.Name, otherDefinition.Name, StringComparison.Ordinal) || 42!string.Equals(definition.TypeName, otherDefinition.TypeName, StringComparison.Ordinal) || 43!string.Equals(definition.Assembly, otherDefinition.Assembly, StringComparison.Ordinal)) 53if (!string.Equals(jsonValue.GetRawText(), otherJsonValue.GetRawText(), StringComparison.Ordinal))
Microsoft.AspNetCore.Components.Forms (2)
FieldIdentifier.cs (1)
95string.Equals(otherIdentifier.FieldName, FieldName, StringComparison.Ordinal);
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (1)
193if (string.Equals(defaultMember.MemberName, property.Name, StringComparison.Ordinal) &&
Microsoft.AspNetCore.Components.Forms.Tests (2)
EditContextTest.cs (1)
345return string.Equals(Property, other?.Property, StringComparison.Ordinal);
FieldIdentifierTest.cs (1)
296return string.Equals(Property, other?.Property, StringComparison.Ordinal);
Microsoft.AspNetCore.Components.QuickGrid (1)
Infrastructure\AsyncQueryExecutorSupplier.cs (1)
57=> queryableProviderType.GetInterfaces().Any(x => string.Equals(x.FullName, "Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider", StringComparison.Ordinal)) == true;
Microsoft.AspNetCore.Components.SdkAnalyzers (2)
ComponentFacts.cs (1)
66if (string.Equals(kvp.Key, ComponentsApi.ParameterAttribute.CaptureUnmatchedValues, StringComparison.Ordinal))
ComponentInternalUsageDiagnosticAnalzyer.cs (1)
44if (@namespace == null || !string.Equals(NamespaceParts[i], @namespace.Name, StringComparison.Ordinal))
Microsoft.AspNetCore.Components.Server (16)
Circuits\CircuitOptionsJSInteropDetailedErrorsConfiguration.cs (2)
22options.DetailedErrors = string.Equals(value, "true", StringComparison.OrdinalIgnoreCase) || 23string.Equals(value, "1", StringComparison.OrdinalIgnoreCase);
Circuits\CircuitRegistry.cs (2)
125if (!string.Equals(circuitHost.Client.ConnectionId, connectionId, StringComparison.Ordinal)) 350if (!string.Equals(circuitHost.Client.ConnectionId, connectionId, StringComparison.Ordinal))
src\Components\Shared\src\ComponentParametersTypeCache.cs (2)
76public bool Equals(Key other) => string.Equals(Assembly, other.Assembly, StringComparison.Ordinal) && 77string.Equals(Type, other.Type, StringComparison.Ordinal);
src\Components\Shared\src\RootTypeCache.cs (2)
81public bool Equals(Key other) => string.Equals(Assembly, other.Assembly, StringComparison.Ordinal) && 82string.Equals(Type, other.Type, StringComparison.Ordinal);
src\Components\Shared\src\WebRootComponentManager.cs (2)
187if (!string.Equals(_key.LocationHash, newKey.Value.LocationHash, StringComparison.Ordinal) || 188!string.Equals(_key.FormattedComponentKey, newKey.Value.FormattedComponentKey, StringComparison.Ordinal))
src\Components\Shared\src\WebRootComponentParameters.cs (4)
41if (!string.Equals(definition.Name, otherDefinition.Name, StringComparison.Ordinal) || 42!string.Equals(definition.TypeName, otherDefinition.TypeName, StringComparison.Ordinal) || 43!string.Equals(definition.Assembly, otherDefinition.Assembly, StringComparison.Ordinal)) 53if (!string.Equals(jsonValue.GetRawText(), otherJsonValue.GetRawText(), StringComparison.Ordinal))
src\Shared\Components\ComponentMarker.cs (2)
142=> string.Equals(LocationHash, other.LocationHash, StringComparison.Ordinal) 143&& string.Equals(FormattedComponentKey, other.FormattedComponentKey, StringComparison.Ordinal);
Microsoft.AspNetCore.Components.Server.Tests (9)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\MessagePackHubProtocolTestBase.cs (1)
280Assert.True(string.Equals(actual, testData.Binary, StringComparison.Ordinal), $"Binary encoding changed from{Environment.NewLine} [{testData.Binary}]{Environment.NewLine} to{Environment.NewLine} [{actual}]{Environment.NewLine}Please verify the MsgPack output and update the baseline");
src\SignalR\common\SignalR.Common\test\Internal\Protocol\TestHubMessageEqualityComparer.cs (8)
36return string.Equals(cancelItemMessage.InvocationId, ((CancelInvocationMessage)y).InvocationId, StringComparison.Ordinal); 54&& string.Equals(x.InvocationId, y.InvocationId, StringComparison.Ordinal) 55&& string.Equals(x.Error, y.Error, StringComparison.Ordinal) 63&& string.Equals(x.InvocationId, y.InvocationId, StringComparison.Ordinal) 70&& string.Equals(x.InvocationId, y.InvocationId, StringComparison.Ordinal) 71&& string.Equals(x.Target, y.Target, StringComparison.Ordinal) 79&& string.Equals(x.InvocationId, y.InvocationId, StringComparison.Ordinal) 80&& string.Equals(x.Target, y.Target, StringComparison.Ordinal)
Microsoft.AspNetCore.Components.Tests (3)
CascadingParameterTest.cs (1)
968if (string.Equals(RenderWhenEqualTo, CascadingParameter.ToString(), StringComparison.OrdinalIgnoreCase))
Routing\TemplateParserTests.cs (2)
311string.Equals(xParameterPart.Name, yParameterPart.Name, StringComparison.OrdinalIgnoreCase) && 315string.Equals(xLiteralPart.Content, yLiteralPart.Content, StringComparison.OrdinalIgnoreCase),
Microsoft.AspNetCore.Components.Web (10)
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) 120&& string.Equals(capturedValueAttribute, _closestSelectValueAsString, StringComparison.Ordinal)) 130var isSelect = string.Equals(frame.ElementName, "select", StringComparison.OrdinalIgnoreCase); 143else if (string.Equals(frame.ElementNameField, "script", StringComparison.OrdinalIgnoreCase)) 206if (string.Equals(namedEventFrame.NamedEventType, "onsubmit", StringComparison.Ordinal) 210if (string.Equals(enclosingElementFrame.ElementName, "form", StringComparison.OrdinalIgnoreCase))
Image\Image.cs (1)
269return a is not null && b is not null && string.Equals(a.CacheKey, b.CacheKey, StringComparison.Ordinal);
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (1)
193if (string.Equals(defaultMember.MemberName, property.Name, StringComparison.Ordinal) &&
Microsoft.AspNetCore.Components.WebAssembly (15)
Hosting\WebAssemblyHostBuilder.cs (2)
113if (string.Equals(ama.Key, "Microsoft.AspNetCore.Components.Routing.RegexConstraintSupport", StringComparison.Ordinal)) 115if (ama.Value != null && string.Equals((string?)ama.Value, "true", StringComparison.OrdinalIgnoreCase))
Hosting\WebAssemblyHostEnvironmentExtensions.cs (1)
59return string.Equals(
src\Components\Shared\src\ComponentParametersTypeCache.cs (2)
76public bool Equals(Key other) => string.Equals(Assembly, other.Assembly, StringComparison.Ordinal) && 77string.Equals(Type, other.Type, StringComparison.Ordinal);
src\Components\Shared\src\RootTypeCache.cs (2)
81public bool Equals(Key other) => string.Equals(Assembly, other.Assembly, StringComparison.Ordinal) && 82string.Equals(Type, other.Type, StringComparison.Ordinal);
src\Components\Shared\src\WebRootComponentManager.cs (2)
187if (!string.Equals(_key.LocationHash, newKey.Value.LocationHash, StringComparison.Ordinal) || 188!string.Equals(_key.FormattedComponentKey, newKey.Value.FormattedComponentKey, StringComparison.Ordinal))
src\Components\Shared\src\WebRootComponentParameters.cs (4)
41if (!string.Equals(definition.Name, otherDefinition.Name, StringComparison.Ordinal) || 42!string.Equals(definition.TypeName, otherDefinition.TypeName, StringComparison.Ordinal) || 43!string.Equals(definition.Assembly, otherDefinition.Assembly, StringComparison.Ordinal)) 53if (!string.Equals(jsonValue.GetRawText(), otherJsonValue.GetRawText(), StringComparison.Ordinal))
src\Shared\Components\ComponentMarker.cs (2)
142=> string.Equals(LocationHash, other.LocationHash, StringComparison.Ordinal) 143&& string.Equals(FormattedComponentKey, other.FormattedComponentKey, StringComparison.Ordinal);
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Components.WebView (4)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (4)
137files.RemoveWhere(f => string.Equals(match.Path, f.Name, _fsComparison)); 140files.Add(string.Equals(child.Key, match.Path, _fsComparison) ? file : 189if (!file.Exists || string.Equals(subpath, Normalize(match.Path), _fsComparison)) 303public bool Equals(IFileInfo? x, IFileInfo? y) => string.Equals(x?.Name, y?.Name, _fsComparison);
Microsoft.AspNetCore.Components.WebView.Maui (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
158 if (string.Equals(".css", Path.GetExtension(relativePath), StringComparison.Ordinal))
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
158 if (string.Equals(".css", Path.GetExtension(relativePath), StringComparison.Ordinal))
Microsoft.AspNetCore.Components.WebView.Wpf (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
158 if (string.Equals(".css", Path.GetExtension(relativePath), StringComparison.Ordinal))
Microsoft.AspNetCore.CookiePolicy (1)
ResponseCookiesWrapper.cs (1)
57_hasConsent = string.Equals(cookie, Options.ConsentCookieValue, StringComparison.Ordinal);
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsPolicyBuilder.cs (1)
73!string.Equals(uri.IdnHost, uri.Host, StringComparison.Ordinal))
Microsoft.AspNetCore.DataProtection (5)
Internal\ContainerUtils.cs (2)
112return string.Equals(value, "1", StringComparison.Ordinal) || 113string.Equals(value, "true", StringComparison.OrdinalIgnoreCase);
RegistryPolicyResolver.cs (3)
82if (string.Equals(encryptionType, "CNG-CBC", StringComparison.OrdinalIgnoreCase)) 86else if (string.Equals(encryptionType, "CNG-GCM", StringComparison.OrdinalIgnoreCase)) 90else if (string.Equals(encryptionType, "Managed", StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.DeveloperCertificates.XPlat (5)
src\Shared\CertificateGeneration\CertificateManager.cs (4)
114if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 189.Any(e => string.Equals(oid, e.Oid?.Value, StringComparison.Ordinal)); 201.Where(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal)) 478if (!string.Equals(certificate.Subject, Subject, StringComparison.Ordinal) || // Kestrel requires this
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (1)
MigrationsEndPointMiddleware.cs (1)
113var contextType = registeredContexts.FirstOrDefault(c => string.Equals(contextTypeName, c.AssemblyQualifiedName, StringComparison.Ordinal));
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Latency\LatencyContextControlExtensions.cs (1)
16if (string.Equals(checkpoint.Name, checkpointName, StringComparison.Ordinal))
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (1)
412if (!string.Equals(body, "*", StringComparison.Ordinal))
src\Grpc\JsonTranscoding\src\Shared\X509CertificateHelpers.cs (1)
58if (string.Equals(keyval[0], X509SubjectAlternativeNameConstants.Identifier, StringComparison.Ordinal))
Microsoft.AspNetCore.Grpc.Swagger (1)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (1)
412if (!string.Equals(body, "*", StringComparison.Ordinal))
Microsoft.AspNetCore.HostFiltering (3)
MiddlewareConfigurationManager.cs (3)
86return string.Equals("*", host, StringComparison.Ordinal) // HttpSys wildcard 87|| string.Equals("[::]", host, StringComparison.Ordinal) // Kestrel wildcard, IPv6 Any 88|| string.Equals("0.0.0.0", host, StringComparison.Ordinal);// IPv4 Any
Microsoft.AspNetCore.Hosting (8)
Internal\HostingTelemetryHelpers.cs (2)
54if (string.Equals(scheme, "http", StringComparison.OrdinalIgnoreCase)) 59else if (string.Equals(scheme, "https", StringComparison.OrdinalIgnoreCase))
Internal\WebHostUtilities.cs (2)
10return string.Equals("true", value, StringComparison.OrdinalIgnoreCase) 11|| string.Equals("1", value, StringComparison.OrdinalIgnoreCase);
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (4)
137files.RemoveWhere(f => string.Equals(match.Path, f.Name, _fsComparison)); 140files.Add(string.Equals(child.Key, match.Path, _fsComparison) ? file : 189if (!file.Exists || string.Equals(subpath, Normalize(match.Path), _fsComparison)) 303public bool Equals(IFileInfo? x, IFileInfo? y) => string.Equals(x?.Name, y?.Name, _fsComparison);
Microsoft.AspNetCore.Hosting.Abstractions (1)
HostingEnvironmentExtensions.cs (1)
60return string.Equals(
Microsoft.AspNetCore.Http (8)
BindingAddress.cs (4)
141return string.Equals(Scheme, other.Scheme, StringComparison.OrdinalIgnoreCase) 142&& string.Equals(Host, other.Host, StringComparison.OrdinalIgnoreCase) 225if (string.Equals(scheme, "http", StringComparison.OrdinalIgnoreCase)) 229else if (string.Equals(scheme, "https", StringComparison.OrdinalIgnoreCase))
Features\QueryFeature.cs (1)
60if (_parsedValues == null || !string.Equals(_original, current, StringComparison.Ordinal))
FormFileCollection.cs (2)
19if (string.Equals(name, file.Name, StringComparison.OrdinalIgnoreCase)) 35if (string.Equals(name, file.Name, StringComparison.OrdinalIgnoreCase))
Internal\DefaultHttpRequest.cs (1)
111get { return string.Equals(Https, Scheme, StringComparison.OrdinalIgnoreCase); }
Microsoft.AspNetCore.Http.Abstractions (11)
Extensions\UseMiddlewareExtensions.cs (2)
71if (string.Equals(method.Name, InvokeMethodName, StringComparison.Ordinal) || string.Equals(method.Name, InvokeAsyncMethodName, StringComparison.Ordinal))
FragmentString.cs (1)
117return string.Equals(_value, other._value, StringComparison.Ordinal);
HostString.cs (1)
287return string.Equals(_value, other._value, StringComparison.OrdinalIgnoreCase);
PathString.cs (1)
400return string.Equals(Value, other.Value, comparisonType);
QueryString.cs (1)
220return string.Equals(Value, other.Value, StringComparison.Ordinal);
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.Connections.Client (1)
HttpConnection.cs (1)
644if (string.Equals(header.Key, Constants.UserAgent, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Http.Extensions (7)
HeaderDictionaryTypeExtensions.cs (2)
268if (string.Equals("TryParse", methodInfo.Name, StringComparison.Ordinal) && 305if (string.Equals("TryParseList", methodInfo.Name, StringComparison.Ordinal)
src\Components\Endpoints\src\FormMapping\Metadata\FormDataMetadataFactory.cs (1)
193.FirstOrDefault(p => string.Equals(p.Name, property.Name, StringComparison.OrdinalIgnoreCase));
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (3)
183if (!string.Equals(typeFullName, coerceableFSharpTypeName, StringComparison.Ordinal)) 255&& string.Equals(type1.Namespace, type2.Namespace, StringComparison.Ordinal) 256&& string.Equals(type1.Name, type2.Name, StringComparison.Ordinal);
src\Shared\ParameterBindingMethodCache.cs (1)
728return Type == other.Type && string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Http.Extensions.Tests (2)
HeaderDictionaryTypeExtensionsTest.cs (2)
292if (string.Equals("valid", value, StringComparison.Ordinal)) 306if (string.Equals("valid", value, StringComparison.Ordinal))
Microsoft.AspNetCore.Http.RequestDelegateGenerator (4)
src\Shared\RoslynUtils\SymbolExtensions.cs (1)
285if (string.Equals(namedArgument.Key, argumentName, StringComparison.Ordinal))
StaticRouteHandlerModel\Endpoint.cs (1)
118if (!string.Equals(a.Response?.WrappedResponseTypeDisplayName, b.Response?.WrappedResponseTypeDisplayName, StringComparison.Ordinal) ||
StaticRouteHandlerModel\EndpointResponse.cs (1)
110string.Equals(otherEndpointResponse.ContentType, ContentType, StringComparison.OrdinalIgnoreCase);
StaticRouteHandlerModel\Model\ParameterLookupKey.cs (1)
31string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.HttpLogging (1)
MediaTypeHelpers.cs (1)
51if (string.Equals(encoding.WebName,
Microsoft.AspNetCore.HttpOverrides (3)
ForwardedHeadersMiddleware.cs (3)
101return (string.Equals("*", host, StringComparison.Ordinal) // HttpSys wildcard 102|| string.Equals("[::]", host, StringComparison.Ordinal) // Kestrel wildcard, IPv6 Any 103|| string.Equals("0.0.0.0", host, StringComparison.Ordinal)); // IPv4 Any
Microsoft.AspNetCore.HttpsPolicy (1)
HstsMiddleware.cs (1)
86if (string.Equals(host, _excludedHosts[i], StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Identity (10)
PasskeyHandler.cs (7)
443if (userHandle is not null && !string.Equals(originalUserId, userHandle, StringComparison.Ordinal)) 558if (!string.Equals(ExpectedType, credential.Type, StringComparison.Ordinal)) 585if (!string.Equals(expectedType, clientData.Type, StringComparison.Ordinal)) 608if (!string.Equals("supported", status, StringComparison.Ordinal) && 609!string.Equals("present", status, StringComparison.Ordinal) && 610!string.Equals("not-supported", status, StringComparison.Ordinal)) 639if (string.Equals("required", originalUserVerificationRequirement, StringComparison.Ordinal) && !authenticatorData.IsUserVerified)
Passkeys\AuthenticatorSelectionCriteria.cs (1)
37public bool RequireResidentKey => string.Equals("required", ResidentKey, StringComparison.Ordinal);
SignInManager.cs (2)
562if (!string.Equals(PasskeyOperations.Attestation, passkeyInfo.Operation, StringComparison.Ordinal)) 606if (!string.Equals(PasskeyOperations.Assertion, passkeyInfo.Operation, StringComparison.Ordinal))
Microsoft.AspNetCore.Identity.FunctionalTests (3)
Infrastructure\ServerFactory.cs (3)
123string.Equals(assemblyName, frameworkAssembly, StringComparison.OrdinalIgnoreCase); 131if (partsToRemove.Any(p => string.Equals( 147string.Equals(p.Name, part.Name, StringComparison.OrdinalIgnoreCase)))
Microsoft.AspNetCore.Identity.InMemory.Test (1)
InMemoryStore.cs (1)
123Roles.SingleOrDefault(r => String.Equals(r.NormalizedName, roleName, StringComparison.OrdinalIgnoreCase)));
Microsoft.AspNetCore.Identity.Test (1)
IdentityUIScriptsTest.cs (1)
138.FirstOrDefault(attr => string.Equals("asp-fallback-src", attr.Name, StringComparison.OrdinalIgnoreCase));
Microsoft.AspNetCore.Identity.UI (5)
Areas\Identity\Pages\V4\Account\Manage\ManageNavPages.cs (2)
118return string.Equals(activePage, page, StringComparison.OrdinalIgnoreCase) ? "active" : null; 177return string.Equals(activePage, page, StringComparison.OrdinalIgnoreCase) ? "page" : null;
Areas\Identity\Pages\V5\Account\Manage\ManageNavPages.cs (2)
118return string.Equals(activePage, page, StringComparison.OrdinalIgnoreCase) ? "active" : null; 177return string.Equals(activePage, page, StringComparison.OrdinalIgnoreCase) ? "page" : null;
IdentityDefaultUIConfigureOptions.cs (1)
53if (string.Equals(IdentityConstants.ApplicationScheme, name, StringComparison.Ordinal))
Microsoft.AspNetCore.InternalTesting (1)
xunit\EnvironmentVariableSkipConditionAttribute.cs (1)
56var hasMatched = _values.Any(value => string.Equals(value, _currentValue, StringComparison.OrdinalIgnoreCase));
Microsoft.AspNetCore.InternalTesting.Tests (1)
EnvironmentVariableSkipConditionTest.cs (1)
166if (string.Equals(name, _varName, System.StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.JsonPatch (1)
Internal\PocoAdapter.cs (1)
213.FirstOrDefault(p => string.Equals(p.PropertyName, segment, StringComparison.OrdinalIgnoreCase));
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Internal\PocoAdapter.cs (1)
209.FirstOrDefault(p => string.Equals(p.Name, segment, ExtractStringComparison(serializerOptions)));
Microsoft.AspNetCore.Mvc.Abstractions (6)
ModelBinding\BindingSource.cs (1)
208return string.Equals(other?.Id, Id, StringComparison.Ordinal);
ModelBinding\ModelMetadata.cs (2)
146string.Equals(p.ParameterName, metadata.PropertyName, StringComparison.Ordinal) 673string.Equals(p.Name, parameter.ParameterName, StringComparison.Ordinal) &&
ModelBinding\ModelPropertyCollection.cs (1)
42if (string.Equals(property.PropertyName, propertyName, StringComparison.Ordinal))
ModelBinding\ValueProviderResult.cs (1)
107if (!string.Equals(x[i], y[i], StringComparison.Ordinal))
src\Shared\ParameterBindingMethodCache.cs (1)
728return Type == other.Type && string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.Analyzers (6)
AvoidHtmlPartialAnalyzer.cs (2)
29if (string.Equals(SymbolNames.PartialMethod, method.Name, StringComparison.Ordinal)) 36else if (string.Equals(SymbolNames.RenderPartialMethod, method.Name, StringComparison.Ordinal))
TopLevelParameterNameAnalyzer.cs (4)
118if (string.Equals(parameterName, propertyName, StringComparison.OrdinalIgnoreCase)) 163if (string.Equals(namedArgument.Key, nameProperty, StringComparison.Ordinal) && 186if (string.Equals(namedArgument.Key, "BinderType", StringComparison.Ordinal) && 198if (string.Equals(constructorParameters[i].Name, "binderType", StringComparison.Ordinal))
Microsoft.AspNetCore.Mvc.Api.Analyzers (5)
SymbolApiConventionMatcher.cs (3)
113return string.Equals(name, conventionName, StringComparison.Ordinal); 135return string.Equals(name, conventionName, StringComparison.Ordinal); 160return string.Equals(name, conventionName, StringComparison.Ordinal);
SymbolApiResponseMetadataProvider.cs (2)
193if (string.Equals(namedArgument.Key, StatusCodeProperty, StringComparison.Ordinal) && 211if (string.Equals(parameter.Name, StatusCodeConstructorParameter, StringComparison.Ordinal) &&
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
322.FirstOrDefault(rp => string.Equals(rp.Name, parameter.Name, StringComparison.OrdinalIgnoreCase));
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (3)
DefaultApiDescriptionProviderTest.cs (3)
50p => string.Equals(p.Name, "category", StringComparison.OrdinalIgnoreCase)); 52p => string.Equals(p.Name, "group", StringComparison.OrdinalIgnoreCase)); 54p => string.Equals(p.Name, "any", StringComparison.OrdinalIgnoreCase));
Microsoft.AspNetCore.Mvc.Core (22)
ActionConstraints\HttpMethodActionConstraint.cs (1)
74if (string.Equals(supportedMethod, method, StringComparison.OrdinalIgnoreCase))
ApiExplorer\ApiConventionMatcher.cs (3)
88return string.Equals(name, conventionName, StringComparison.Ordinal); 115return string.Equals(name, conventionName, StringComparison.Ordinal); 145return string.Equals(name, conventionName, StringComparison.Ordinal);
ApplicationParts\RelatedAssemblyAttribute.cs (1)
83if (string.Equals(assemblyName, attribute.AssemblyFileName, StringComparison.OrdinalIgnoreCase))
Formatters\TextInputFormatter.cs (1)
95if (string.Equals(
Formatters\TextOutputFormatter.cs (1)
183if (string.Equals(encoding.WebName, Encoding.UTF8.WebName, StringComparison.OrdinalIgnoreCase) &&
ModelBinding\Binders\EnumTypeModelBinder.cs (1)
85return !string.Equals(underlying, converted, StringComparison.OrdinalIgnoreCase);
ModelBinding\Binders\FormFileModelBinder.cs (3)
71!string.Equals(modelName, bindingContext.OriginalModelName, StringComparison.Ordinal) && 184if (string.Equals(name, file.Name, StringComparison.OrdinalIgnoreCase)) 199if (string.Equals(name, file.Name, StringComparison.OrdinalIgnoreCase))
ModelBinding\ElementalValueProvider.cs (1)
32if (string.Equals(key, Key, StringComparison.OrdinalIgnoreCase))
ModelBinding\Metadata\DefaultBindingMetadataProvider.cs (1)
128string.Equals(property.Name, parameter.Name, StringComparison.Ordinal) &&
ModelBinding\ModelBindingHelper.cs (1)
354return (metadata) => string.Equals(metadata.PropertyName, propertyName, StringComparison.Ordinal);
ModelBinding\SuppressChildValidationMetadataProvider.cs (1)
92if (string.Equals(type.FullName, FullTypeName, StringComparison.Ordinal))
Routing\AttributeRoute.cs (2)
211if (string.Equals(kvp.Key, parameter.Name, StringComparison.OrdinalIgnoreCase)) 266return string.Equals(
Routing\KnownRouteValueConstraint.cs (1)
54if (string.Equals(value, existingValue, StringComparison.OrdinalIgnoreCase))
Routing\NormalizedRouteValue.cs (1)
42if (string.Equals(normalizedValue, stringRouteValue, StringComparison.OrdinalIgnoreCase))
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (3)
183if (!string.Equals(typeFullName, coerceableFSharpTypeName, StringComparison.Ordinal)) 255&& string.Equals(type1.Namespace, type2.Namespace, StringComparison.Ordinal) 256&& string.Equals(type1.Name, type2.Name, StringComparison.Ordinal);
Microsoft.AspNetCore.Mvc.Core.Test (18)
ControllerBaseTest.cs (6)
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);
Controllers\ControllerBinderDelegateProviderTest.cs (1)
1394return other != null && string.Equals(Name, other.Name, StringComparison.Ordinal);
DependencyInjection\MvcCoreServiceCollectionExtensionsTest.cs (1)
208part => string.Equals(assemblyName.Name, part.Name, StringComparison.Ordinal));
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (2)
1368!string.Equals("Excluded1", m.PropertyName, StringComparison.OrdinalIgnoreCase) && 1369!string.Equals("Excluded2", m.PropertyName, StringComparison.OrdinalIgnoreCase);
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (2)
1543!string.Equals("Excluded1", m.PropertyName, StringComparison.OrdinalIgnoreCase) && 1544!string.Equals("Excluded2", m.PropertyName, StringComparison.OrdinalIgnoreCase);
ModelBinding\Binders\DictionaryModelBinderTest.cs (1)
717string.Equals(Name, other.Name, StringComparison.Ordinal);
ModelBinding\ModelBindingHelperTest.cs (4)
184string.Equals(m.PropertyName, "IncludedProperty", StringComparison.OrdinalIgnoreCase) || 185string.Equals(m.PropertyName, "MyProperty", StringComparison.OrdinalIgnoreCase); 514string.Equals(m.PropertyName, "IncludedProperty", StringComparison.OrdinalIgnoreCase) || 515string.Equals(m.PropertyName, "MyProperty", StringComparison.OrdinalIgnoreCase);
ModelBinding\ParameterBinderTest.cs (1)
818return other != null && string.Equals(Name, other.Name, StringComparison.Ordinal);
Microsoft.AspNetCore.Mvc.Cors (2)
CorsHttpMethodActionConstraint.cs (1)
42if (string.Equals(supportedMethod, accessControlRequestMethod, StringComparison.OrdinalIgnoreCase))
DisableCorsAuthorizationFilter.cs (1)
28if (string.Equals(
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataAnnotationsModelValidator.cs (1)
111var newMemberName = string.Equals(resultMemberName, memberName, StringComparison.Ordinal) ?
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
ModelMetadataProviderTest.cs (1)
326metadata => string.Equals("HiddenInput", metadata.TemplateHint, StringComparison.Ordinal),
ModelValidationResultComparer.cs (2)
23return string.Equals(x.MemberName, y.MemberName, StringComparison.Ordinal) && 24string.Equals(x.Message, y.Message, StringComparison.Ordinal);
Microsoft.AspNetCore.Mvc.Formatters.Xml (5)
ProblemDetailsWrapper.cs (1)
104if (string.Equals(name, EmptyKey, StringComparison.Ordinal))
SerializableErrorWrapper.cs (1)
69if (string.Equals(EmptyKey, key, StringComparison.Ordinal))
ValidationProblemDetailsWrapper.cs (2)
43if (string.Equals(name, ErrorKey, StringComparison.Ordinal)) 65if (string.Equals(EmptyKey, key, StringComparison.Ordinal))
XmlSerializerInputFormatter.cs (1)
147string.Equals("Microsoft.GeneratedCode", exception.InnerException.Source, StringComparison.InvariantCulture))
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
XmlAssert.cs (2)
51return string.Equals(expected.Version, actual.Version, StringComparison.OrdinalIgnoreCase) 52&& string.Equals(expected.Encoding, actual.Encoding, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.FunctionalTests (4)
Infrastructure\ResourceFile.cs (2)
219if (!string.Equals(normalizedPreviousContent, normalizedContent, StringComparison.Ordinal)) 240if (string.Equals(fullName, resourceName, StringComparison.Ordinal))
src\Mvc\Mvc.Formatters.Xml\test\XmlAssert.cs (2)
51return string.Equals(expected.Version, actual.Version, StringComparison.OrdinalIgnoreCase) 52&& string.Equals(expected.Encoding, actual.Encoding, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
ValidationIntegrationTests.cs (1)
116e => string.Equals(e.Key, "AccountId", StringComparison.OrdinalIgnoreCase)).Value;
ValidationWithRecordIntegrationTests.cs (1)
108e => string.Equals(e.Key, "AccountId", StringComparison.OrdinalIgnoreCase)).Value;
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
NewtonsoftJsonInputFormatter.cs (1)
279addMember = !string.Equals(path, member, StringComparison.Ordinal);
Microsoft.AspNetCore.Mvc.Razor (8)
RazorView.cs (1)
222renderedLayouts.Any(l => string.Equals(l.Path, layoutPage.Path, StringComparison.Ordinal)))
TagHelpers\UrlResolutionTagHelper.cs (2)
157if (!string.Equals(attribute.Name, attributeName, StringComparison.OrdinalIgnoreCase)) 316if (!string.Equals(src, key, StringComparison.Ordinal))
ViewLocationCacheKey.cs (5)
88!string.Equals(ViewName, y.ViewName, StringComparison.Ordinal) || 89!string.Equals(ControllerName, y.ControllerName, StringComparison.Ordinal) || 90!string.Equals(AreaName, y.AreaName, StringComparison.Ordinal) || 91!string.Equals(PageName, y.PageName, StringComparison.Ordinal)) 111!string.Equals(item.Value, yValue, StringComparison.Ordinal))
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (14)
ChecksumValidator.cs (5)
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) ||
CompilationFailedExceptionFactory.cs (5)
62if (string.Equals(assemblyName, sourceFilePath, StringComparison.Ordinal)) 75string.Equals(CS0234, g.Id, StringComparison.OrdinalIgnoreCase) || 76string.Equals(CS0246, g.Id, StringComparison.OrdinalIgnoreCase))) 98if (string.IsNullOrEmpty(filePath) || string.Equals(codeDocument.Source.FilePath, filePath, StringComparison.Ordinal)) 104sourceDocument = codeDocument.Imports.FirstOrDefault(f => string.Equals(f.FilePath, filePath, StringComparison.Ordinal));
FileProviderRazorProjectFileSystem.cs (1)
64else if (string.Equals(RazorFileExtension, Path.GetExtension(fileInfo.Name), StringComparison.OrdinalIgnoreCase))
RazorProjectPageRouteModelProvider.cs (2)
56if (context.RouteModels.Any(m => string.Equals(relativePath, m.RelativePath, StringComparison.OrdinalIgnoreCase))) 85if (context.RouteModels.Any(m => string.Equals(relativePath, m.RelativePath, StringComparison.OrdinalIgnoreCase)))
src\Mvc\Mvc.RazorPages\src\ApplicationModels\PageRouteModelFactory.cs (1)
65string.Equals(IndexFileName, fileName, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Mvc.Razor.Test (1)
src\Shared\Razor\CaseSensitiveBoundAttributeComparer.cs (1)
29string.Equals(attributeX.Name, attributeY.Name, StringComparison.Ordinal) &&
Microsoft.AspNetCore.Mvc.RazorPages (9)
ApplicationModels\PageConventionCollection.cs (6)
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) &&
ApplicationModels\PageRouteModelFactory.cs (1)
65string.Equals(IndexFileName, fileName, StringComparison.OrdinalIgnoreCase))
Infrastructure\DefaultPageHandlerMethodSelector.cs (2)
93string.Equals(handler.HttpMethod, httpMethod, StringComparison.OrdinalIgnoreCase)) 109string.Equals(handler.HttpMethod, fuzzyHttpMethod, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Mvc.TagHelpers (32)
Cache\CacheTagKey.cs (5)
199return string.Equals(other.Key, Key, StringComparison.Ordinal) && 203string.Equals(other._varyBy, _varyBy, StringComparison.Ordinal) && 209(!_varyByUser || string.Equals(other._username, _username, StringComparison.Ordinal))) && 359if (!string.Equals(values1[i].Key, values2[i].Key, StringComparison.Ordinal) || 360!string.Equals(values1[i].Value, values2[i].Value, StringComparison.Ordinal))
FormTagHelper.cs (2)
204if (string.Equals(Method ?? "get", "get", StringComparison.OrdinalIgnoreCase)) 305if (string.Equals(Method, "get", StringComparison.OrdinalIgnoreCase))
GlobbingUrlBuilder.cs (4)
90if (!string.Equals(staticUrl, globbedUrls[i], StringComparison.Ordinal)) 180if (string.Equals(x, y, StringComparison.Ordinal)) 352return string.Equals(Include, other.Include, StringComparison.Ordinal) && 353string.Equals(Exclude, other.Exclude, StringComparison.Ordinal);
InputTagHelper.cs (6)
405string.Equals("week", inputType, StringComparison.OrdinalIgnoreCase) && 423string.Equals( 475if (string.Equals("month", inputType, StringComparison.OrdinalIgnoreCase)) 480else if (string.Equals("decimal", inputTypeHint, StringComparison.OrdinalIgnoreCase) && 481string.Equals("text", inputType, StringComparison.Ordinal) && 497string.Equals(nameof(DateTimeOffset), inputTypeHint, StringComparison.OrdinalIgnoreCase))
LinkTagHelper.cs (5)
327if (string.Equals(Href, url, StringComparison.OrdinalIgnoreCase)) 380if (string.Equals(attribute.Name, HrefAttributeName, StringComparison.OrdinalIgnoreCase)) 385if (SuppressFallbackIntegrity && string.Equals(attribute.Name, IntegrityAttributeName, StringComparison.OrdinalIgnoreCase)) 426var hasRelStylesheet = string.Equals("stylesheet", stringValue, StringComparison.Ordinal); 501if (string.Equals(attribute.Name, HrefAttributeName, StringComparison.OrdinalIgnoreCase))
ResourceCollectionUtilities.cs (2)
26if (!string.Equals(src, value, StringComparison.Ordinal)) 43if (!string.Equals(src, relativePath, StringComparison.Ordinal))
ScriptTagHelper.cs (3)
243if (string.Equals(Type, "importmap", StringComparison.OrdinalIgnoreCase)) 340if (string.Equals(url, Src, StringComparison.OrdinalIgnoreCase)) 379if (SuppressFallbackIntegrity && string.Equals(IntegrityAttributeName, attribute.Name, StringComparison.OrdinalIgnoreCase))
TagHelperOutputExtensions.cs (5)
58if (string.Equals( 96else if (string.Equals(attribute.Key, "class", StringComparison.OrdinalIgnoreCase)) 166if (string.Equals(currentClassValue, encodedClassValue, StringComparison.Ordinal)) 224if (string.Equals(currentClassValue, encodedClassValue, StringComparison.Ordinal)) 331if (string.Equals(name, attributes[i].Name, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
src\Shared\Razor\CaseSensitiveBoundAttributeComparer.cs (1)
29string.Equals(attributeX.Name, attributeY.Name, StringComparison.Ordinal) &&
Microsoft.AspNetCore.Mvc.Testing (3)
WebApplicationFactory.cs (3)
459.Where(a => string.Equals(a.Key, tEntryPointAssemblyFullName, StringComparison.OrdinalIgnoreCase) || 460string.Equals(a.Key, tEntryPointAssemblyName, StringComparison.OrdinalIgnoreCase)) 496.Where(library => library.Dependencies.Any(d => string.Equals(d.Name, entryPointAssemblyName, StringComparison.Ordinal)));
Microsoft.AspNetCore.Mvc.ViewFeatures (38)
AttributeDictionary.cs (4)
207return string.Equals(item.Value, Get(index).Value, StringComparison.OrdinalIgnoreCase); 263else if (string.Equals(item.Value, Get(index).Value, StringComparison.OrdinalIgnoreCase)) 395if (string.Equals(item, _attributes.Get(i).Key, StringComparison.OrdinalIgnoreCase)) 500if (string.Equals(item, _attributes.Get(i).Value, StringComparison.OrdinalIgnoreCase))
DefaultHtmlGenerator.cs (13)
445isChecked = string.Equals( 462string.Equals(model.ToString(), valueString, StringComparison.OrdinalIgnoreCase); 1015.Where(kvp => string.Equals(integerString, kvp.Value, StringComparison.Ordinal)) 1214isChecked = string.Equals(modelStateValue, valueParameter, StringComparison.Ordinal); 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);
ExpressionHelper.cs (2)
96lastIsModel = string.Equals("model", name, StringComparison.OrdinalIgnoreCase); 255if ((string.Equals(defaultMember.MemberName, property.Name, StringComparison.Ordinal) &&
ExpressionMetadataProvider.cs (1)
46if (string.Equals(propertyName, "Model", StringComparison.Ordinal) &&
HtmlHelper.cs (1)
1411return string.Equals(expression, "model", StringComparison.OrdinalIgnoreCase) ? string.Empty : expression;
LambdaExpressionComparer.cs (1)
60if (!string.Equals(memberName1, memberName2, StringComparison.Ordinal))
ModelExplorer.cs (2)
192if (string.Equals( 241if (string.Equals(name, property.Metadata.PropertyName, StringComparison.Ordinal))
ModelExplorerExtensions.cs (1)
57if (string.Equals(kvp.Value, enumStringValue, StringComparison.Ordinal))
NameAndIdProvider.cs (4)
48string.Equals(previousNameAndId.FullName, fullName, StringComparison.Ordinal)) 58if (string.Equals(fullName, sanitizedId, StringComparison.Ordinal)) 147string.Equals(previousNameAndId.HtmlFieldPrefix, htmlFieldPrefix, StringComparison.Ordinal) && 148string.Equals(previousNameAndId.Expression, expression, StringComparison.Ordinal))
PartialViewResultExecutor.cs (1)
182if (string.Equals(normalizedValue, stringRouteValue, StringComparison.OrdinalIgnoreCase))
Rendering\MultiSelectList.cs (1)
232if (string.Equals(_groups[index].Name, groupName, StringComparison.CurrentCulture))
Rendering\TagBuilder.cs (1)
242if (string.Equals(key, "id", StringComparison.OrdinalIgnoreCase) &&
TemplateBuilder.cs (2)
96else if ((string.Equals("week", _templateName, StringComparison.OrdinalIgnoreCase) || 97string.Equals("week", viewData.ModelMetadata.DataTypeName, StringComparison.OrdinalIgnoreCase)))
ViewComponents\DefaultViewComponentDescriptorProvider.cs (3)
68string.Equals(method.Name, AsyncMethodName, StringComparison.Ordinal) || 69string.Equals(method.Name, SyncMethodName, StringComparison.Ordinal)) 84if (string.Equals(selectedMethod.Name, AsyncMethodName, StringComparison.Ordinal))
ViewResultExecutor.cs (1)
182if (string.Equals(normalizedValue, stringRouteValue, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (7)
DefaultEditorTemplatesTest.cs (4)
260It.Is<string>(s => string.Equals("Property1", s, StringComparison.Ordinal) || 261string.Equals("Property2", s, StringComparison.Ordinal)), 267It.Is<string>(s => string.Equals("Property1", s, StringComparison.Ordinal) || 268string.Equals("Property2", s, StringComparison.Ordinal)),
RemoteAttributeTest.cs (3)
97keyValuePair => string.Equals(keyValuePair.Key, "action", StringComparison.Ordinal)) 115keyValuePair => string.Equals(keyValuePair.Key, "controller", StringComparison.Ordinal)) 135keyValuePair => string.Equals(keyValuePair.Key, "area", StringComparison.Ordinal))
Microsoft.AspNetCore.OpenApi (4)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (3)
183if (!string.Equals(typeFullName, coerceableFSharpTypeName, StringComparison.Ordinal)) 255&& string.Equals(type1.Namespace, type2.Namespace, StringComparison.Ordinal) 256&& string.Equals(type1.Name, type2.Name, StringComparison.Ordinal);
src\Shared\ParameterBindingMethodCache.cs (1)
728return Type == other.Type && string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.OpenApi.Build.Tests (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.OpenApi.SourceGenerators (2)
Helpers\DocumentationCommentXmlNames.cs (2)
49return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 54return string.Equals(name1, name2, StringComparison.Ordinal);
Microsoft.AspNetCore.OutputCaching (3)
OutputCacheEntry.cs (1)
30if (string.Equals(key, header.Name, StringComparison.OrdinalIgnoreCase))
OutputCacheKeyProvider.cs (1)
197if (varyQueryKeys.Count == 1 && string.Equals(varyQueryKeys[0], "*", StringComparison.Ordinal) && context.HttpContext.Request.Query.Count > 0)
Policies\VaryByQueryPolicy.cs (1)
50if (context.CacheVaryByRules.QueryKeys.Count == 1 && string.Equals(context.CacheVaryByRules.QueryKeys[0], "*", StringComparison.Ordinal))
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
245if (string.Equals("https", ((IHttpRequestFeature)this).Scheme, StringComparison.OrdinalIgnoreCase)
Microsoft.AspNetCore.Owin.Tests (1)
OwinExtensionTests.cs (1)
147kvp => string.Equals(typeof(HttpContext).FullName, kvp.Key, StringComparison.Ordinal))
Microsoft.AspNetCore.RateLimiting (2)
DefaultKeyTypeEqualityComparer.cs (2)
16return string.Equals(x.PolicyName, y.PolicyName, StringComparison.Ordinal); 23return string.Equals(x.PolicyName, y.PolicyName, StringComparison.Ordinal) && xKey.Equals(yKey);
Microsoft.AspNetCore.Razor (2)
TagHelpers\ReadOnlyTagHelperAttributeList.cs (1)
179return string.Equals(name, attribute.Name, StringComparison.OrdinalIgnoreCase);
TagHelpers\TagHelperAttribute.cs (1)
75string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase) &&
Microsoft.AspNetCore.Razor.Runtime.Test (1)
src\Shared\Razor\CaseSensitiveBoundAttributeComparer.cs (1)
29string.Equals(attributeX.Name, attributeY.Name, StringComparison.Ordinal) &&
Microsoft.AspNetCore.Razor.Test (1)
src\Shared\Razor\CaseSensitiveBoundAttributeComparer.cs (1)
29string.Equals(attributeX.Name, attributeY.Name, StringComparison.Ordinal) &&
Microsoft.AspNetCore.ResponseCaching (3)
ResponseCachingKeyProvider.cs (1)
132if (varyByRules.QueryKeys.Count == 1 && string.Equals(varyByRules.QueryKeys[0], "*", StringComparison.Ordinal))
ResponseCachingMiddleware.cs (1)
314if (!string.Equals(header.Key, HeaderNames.Age, StringComparison.OrdinalIgnoreCase))
ResponseCachingPolicyProvider.cs (1)
102if (varyHeader.Count == 1 && string.Equals(varyHeader, "*", StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.ResponseCompression (2)
ResponseCompressionBody.cs (1)
213if (string.Equals(varyValues[i], HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
ResponseCompressionProvider.cs (1)
280return string.Equals(EncodingName, other.EncodingName, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Rewrite (1)
UrlMatches\ExactMatch.cs (1)
20var pathMatch = string.Equals(pattern, _stringMatch, _ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal);
Microsoft.AspNetCore.Routing (17)
Matching\AcceptsMatcherPolicy.cs (1)
81if (string.Equals("*/*", metadata.ContentTypes[j], StringComparison.Ordinal))
Matching\ContentEncodingNegotiationMatcherPolicy.cs (2)
90if (matchedEncoding != null && string.Equals(negotiationValue, matchedEncoding, StringComparison.OrdinalIgnoreCase)) 113if (matchedEncoding != null && string.Equals(negotiationValue, matchedEncoding, StringComparison.OrdinalIgnoreCase))
Matching\HostMatcherPolicy.cs (5)
340else if (string.Equals("https", httpContext.Request.Scheme, StringComparison.OrdinalIgnoreCase)) 344else if (string.Equals("http", httpContext.Request.Scheme, StringComparison.OrdinalIgnoreCase)) 418public bool MatchesHost => !string.Equals(Host, WildcardHost, StringComparison.Ordinal); 442return string.Equals(Host, other.Host, StringComparison.Ordinal) && Port == other.Port; 455return string.Equals(host, Host, StringComparison.OrdinalIgnoreCase);
Matching\HttpMethodMatcherPolicy.cs (2)
212if (!string.Equals(AnyMethod, httpMethod, StringComparison.OrdinalIgnoreCase)) 367if (string.Equals(httpMethod, AnyMethod, StringComparison.OrdinalIgnoreCase))
Matching\NegotiationMatcherPolicy.cs (1)
250if (string.Equals(metadata, DefaultNegotiationValue, StringComparison.OrdinalIgnoreCase))
Patterns\RoutePattern.cs (1)
148if (string.Equals(parameter.Name, name, StringComparison.OrdinalIgnoreCase))
Patterns\RoutePatternFactory.cs (1)
506if (string.Equals(kvp.Key, parameters[i].Name, StringComparison.OrdinalIgnoreCase))
RouteValueEqualityComparer.cs (1)
42return string.Equals(stringX, stringY, StringComparison.OrdinalIgnoreCase);
Template\RouteTemplate.cs (1)
123if (string.Equals(parameter.Name, name, StringComparison.OrdinalIgnoreCase))
Template\TemplateBinder.cs (1)
659return string.Equals(sa, sb, StringComparison.OrdinalIgnoreCase);
Tree\TreeRouter.cs (1)
108!string.Equals(
Microsoft.AspNetCore.Routing.Microbenchmarks (3)
EndpointRoutingBenchmarkBase.cs (1)
88if (!string.Equals(expectedUrl, actualUrl, stringComparison))
Matching\TrivialMatcher.cs (2)
28if (string.Equals(_endpoint.RoutePattern.RawText, path, StringComparison.OrdinalIgnoreCase)) 40if (string.Equals(_endpoint.RoutePattern.RawText, path, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Routing.Tests (5)
Patterns\RoutePatternParserTest.cs (1)
654if (!string.Equals(x.RawText, y.RawText, StringComparison.Ordinal))
Template\TemplateParserTests.cs (4)
823if (!string.Equals(x.TemplateText, y.TemplateText, StringComparison.Ordinal)) 872!String.Equals(x.Name, y.Name, StringComparison.Ordinal) || 873!String.Equals(x.Name, y.Name, StringComparison.Ordinal) || 893c => string.Equals(c.Constraint, xconstraint.Constraint, StringComparison.Ordinal)))
Microsoft.AspNetCore.Server.HttpSys (170)
RequestProcessing\Request.cs (1)
69if (KnownMethod == HTTP_VERB.HttpVerbOPTIONS && string.Equals(RawUrl, "*", StringComparison.Ordinal))
RequestProcessing\Response.cs (1)
481return string.Equals(knownValue, input.ToString().Trim(), StringComparison.OrdinalIgnoreCase);
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (164)
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)) 1752if (string.Equals(key, HeaderNames.TE, StringComparison.Ordinal)) 1764if (string.Equals(key, HeaderNames.Via, StringComparison.Ordinal)) 1776if (string.Equals(key, HeaderNames.Date, StringComparison.Ordinal)) 1786if (string.Equals(key, HeaderNames.From, StringComparison.Ordinal)) 1796if (string.Equals(key, HeaderNames.Host, StringComparison.Ordinal)) 1808if (string.Equals(key, HeaderNames.Allow, StringComparison.Ordinal)) 1818if (string.Equals(key, HeaderNames.Range, StringComparison.Ordinal)) 1830if (string.Equals(key, HeaderNames.Accept, StringComparison.Ordinal)) 1840if (string.Equals(key, HeaderNames.Cookie, StringComparison.Ordinal)) 1850if (string.Equals(key, HeaderNames.Expect, StringComparison.Ordinal)) 1860if (string.Equals(key, HeaderNames.Pragma, StringComparison.Ordinal)) 1872if (string.Equals(key, HeaderNames.Expires, StringComparison.Ordinal)) 1882if (string.Equals(key, HeaderNames.Referer, StringComparison.Ordinal)) 1892if (string.Equals(key, HeaderNames.Trailer, StringComparison.Ordinal)) 1902if (string.Equals(key, HeaderNames.Upgrade, StringComparison.Ordinal)) 1912if (string.Equals(key, HeaderNames.Warning, StringComparison.Ordinal)) 1924if (string.Equals(key, HeaderNames.IfMatch, StringComparison.Ordinal)) 1934if (string.Equals(key, HeaderNames.IfRange, StringComparison.Ordinal)) 1946if (string.Equals(key, HeaderNames.Translate, StringComparison.Ordinal)) 1958if (string.Equals(key, HeaderNames.Connection, StringComparison.Ordinal)) 1968if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.Ordinal)) 1978if (string.Equals(key, HeaderNames.UserAgent, StringComparison.Ordinal)) 1990if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.Ordinal)) 2002if (string.Equals(key, HeaderNames.ContentType, StringComparison.Ordinal)) 2012if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.Ordinal)) 2024if (string.Equals(key, HeaderNames.Authorization, StringComparison.Ordinal)) 2034if (string.Equals(key, HeaderNames.CacheControl, StringComparison.Ordinal)) 2044if (string.Equals(key, HeaderNames.ContentRange, StringComparison.Ordinal)) 2054if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.Ordinal)) 2064if (string.Equals(key, HeaderNames.LastModified, StringComparison.Ordinal)) 2076if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.Ordinal)) 2086if (string.Equals(key, HeaderNames.ContentLength, StringComparison.Ordinal)) 2098if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.Ordinal)) 2108if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.Ordinal)) 2120if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.Ordinal)) 2130if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.Ordinal)) 2140if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.Ordinal)) 2152if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.Ordinal)) 2162if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.Ordinal)) 2174if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.Ordinal)) 2184if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.Ordinal))
UrlPrefix.cs (3)
55if (string.Equals(Constants.HttpScheme, scheme, StringComparison.OrdinalIgnoreCase)) 60else if (string.Equals(Constants.HttpsScheme, scheme, StringComparison.OrdinalIgnoreCase)) 194return string.Equals(FullPrefix, Convert.ToString(obj, CultureInfo.InvariantCulture), StringComparison.OrdinalIgnoreCase);
UrlPrefixCollection.cs (1)
95&& string.Equals(host, prefix.HostAndPort, StringComparison.OrdinalIgnoreCase)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
RequestBodyTests.cs (2)
221if (string.Equals(header.Key, "Content-Length", StringComparison.OrdinalIgnoreCase)) 249if (string.Equals(header.Key, headerName, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Server.IIS (166)
Core\IISHttpContext.cs (2)
174if (KnownMethod == HTTP_VERB.HttpVerbOPTIONS && string.Equals(RawTarget, "*", StringComparison.Ordinal)) 587if (string.Equals(ConnectionClose, HttpResponseHeaders[HeaderNames.Connection], StringComparison.OrdinalIgnoreCase))
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (164)
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)) 1752if (string.Equals(key, HeaderNames.TE, StringComparison.Ordinal)) 1764if (string.Equals(key, HeaderNames.Via, StringComparison.Ordinal)) 1776if (string.Equals(key, HeaderNames.Date, StringComparison.Ordinal)) 1786if (string.Equals(key, HeaderNames.From, StringComparison.Ordinal)) 1796if (string.Equals(key, HeaderNames.Host, StringComparison.Ordinal)) 1808if (string.Equals(key, HeaderNames.Allow, StringComparison.Ordinal)) 1818if (string.Equals(key, HeaderNames.Range, StringComparison.Ordinal)) 1830if (string.Equals(key, HeaderNames.Accept, StringComparison.Ordinal)) 1840if (string.Equals(key, HeaderNames.Cookie, StringComparison.Ordinal)) 1850if (string.Equals(key, HeaderNames.Expect, StringComparison.Ordinal)) 1860if (string.Equals(key, HeaderNames.Pragma, StringComparison.Ordinal)) 1872if (string.Equals(key, HeaderNames.Expires, StringComparison.Ordinal)) 1882if (string.Equals(key, HeaderNames.Referer, StringComparison.Ordinal)) 1892if (string.Equals(key, HeaderNames.Trailer, StringComparison.Ordinal)) 1902if (string.Equals(key, HeaderNames.Upgrade, StringComparison.Ordinal)) 1912if (string.Equals(key, HeaderNames.Warning, StringComparison.Ordinal)) 1924if (string.Equals(key, HeaderNames.IfMatch, StringComparison.Ordinal)) 1934if (string.Equals(key, HeaderNames.IfRange, StringComparison.Ordinal)) 1946if (string.Equals(key, HeaderNames.Translate, StringComparison.Ordinal)) 1958if (string.Equals(key, HeaderNames.Connection, StringComparison.Ordinal)) 1968if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.Ordinal)) 1978if (string.Equals(key, HeaderNames.UserAgent, StringComparison.Ordinal)) 1990if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.Ordinal)) 2002if (string.Equals(key, HeaderNames.ContentType, StringComparison.Ordinal)) 2012if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.Ordinal)) 2024if (string.Equals(key, HeaderNames.Authorization, StringComparison.Ordinal)) 2034if (string.Equals(key, HeaderNames.CacheControl, StringComparison.Ordinal)) 2044if (string.Equals(key, HeaderNames.ContentRange, StringComparison.Ordinal)) 2054if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.Ordinal)) 2064if (string.Equals(key, HeaderNames.LastModified, StringComparison.Ordinal)) 2076if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.Ordinal)) 2086if (string.Equals(key, HeaderNames.ContentLength, StringComparison.Ordinal)) 2098if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.Ordinal)) 2108if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.Ordinal)) 2120if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.Ordinal)) 2130if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.Ordinal)) 2140if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.Ordinal)) 2152if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.Ordinal)) 2162if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.Ordinal)) 2174if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.Ordinal)) 2184if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.Ordinal))
Microsoft.AspNetCore.Server.IISIntegration (4)
IISMiddleware.cs (3)
103if (!string.Equals(_pairingToken, httpContext.Request.Headers[MSAspNetCoreToken], StringComparison.Ordinal)) 113string.Equals(ANCMShutdownEventHeaderValue, httpContext.Request.Headers[MSAspNetCoreEvent], StringComparison.OrdinalIgnoreCase)) 121if (Debugger.IsAttached && string.Equals("DEBUG", httpContext.Request.Method, StringComparison.OrdinalIgnoreCase))
WebHostBuilderIISExtensions.cs (1)
70if (!string.Equals(authType, "anonymous", StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Common\Tfm.cs (1)
24return string.Equals(tfm1, tfm2, StringComparison.OrdinalIgnoreCase);
xunit\SkipIfEnvironmentVariableNotEnabled.cs (1)
26return string.Equals(Environment.GetEnvironmentVariable(_environmentVariableName), "true", StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (4)
IISExpressDeployer.cs (4)
196if (string.Equals(dataArgs.Data, UnableToStartIISExpressMessage, StringComparison.Ordinal)) 201else if (string.Equals(dataArgs.Data, FailedToInitializeBindingsMessage, StringComparison.Ordinal)) 205else if (string.Equals(dataArgs.Data, IISExpressRunningMessage, StringComparison.Ordinal)) 512if (!string.Equals(className, "IISEXPRESS", StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Server.Kestrel.Core (17)
CertificateLoader.cs (1)
96if (string.Equals(oid.Value, ServerAuthenticationOid, StringComparison.Ordinal))
Internal\AddressBinder.cs (1)
148if (string.Equals(host, "localhost", StringComparison.OrdinalIgnoreCase))
Internal\Http2\Http2Stream.cs (1)
299!string.Equals(headerScheme, Scheme, StringComparison.OrdinalIgnoreCase))
Internal\Http3\Http3Stream.cs (3)
888if (string.Equals(HttpRequestHeaders.HeaderProtocol, WebTransportSession.WebTransportProtocolValue, StringComparison.Ordinal)) 891if (((AspNetCore.Http.IHeaderDictionary)HttpRequestHeaders).TryGetValue(WebTransportSession.CurrentSupportedVersion, out var version) && string.Equals(version, WebTransportSession.VersionEnabledIndicator, StringComparison.Ordinal)) 1063!string.Equals(headerScheme, Scheme, StringComparison.OrdinalIgnoreCase))
src\Servers\Kestrel\shared\HPackHeaderWriter.cs (1)
189return string.Equals(name, "Content-Disposition", StringComparison.OrdinalIgnoreCase);
src\Shared\CertificateGeneration\CertificateManager.cs (4)
114if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 189.Any(e => string.Equals(oid, e.Oid?.Value, StringComparison.Ordinal)); 201.Where(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal)) 478if (!string.Equals(certificate.Subject, Subject, StringComparison.Ordinal) || // Kestrel requires this
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
src\Shared\Hpack\DynamicHPackEncoder.cs (3)
178string.Equals(value, e.Value, StringComparison.Ordinal) && 179string.Equals(name, e.Name, StringComparison.Ordinal)) 197if (e.Hash == hash && string.Equals(name, e.Name, StringComparison.Ordinal))
Systemd\KestrelServerOptionsSystemdExtensions.cs (1)
39if (string.Equals(Environment.ProcessId.ToString(CultureInfo.InvariantCulture), Environment.GetEnvironmentVariable(ListenPidEnvVar), StringComparison.Ordinal))
TlsConfigurationLoader.cs (1)
183return string.Equals(certificate.Subject, CertificateManager.LocalhostHttpsDistinguishedName, StringComparison.Ordinal) &&
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
src\Servers\Kestrel\shared\HPackHeaderWriter.cs (1)
189return string.Equals(name, "Content-Disposition", StringComparison.OrdinalIgnoreCase);
src\Servers\Kestrel\shared\KnownHeaders.cs (2)
1508Header = headers.SingleOrDefault(knownHeader => string.Equals(knownHeader.Name, g.Key, StringComparison.OrdinalIgnoreCase)), 1529Header = headers.SingleOrDefault(knownHeader => string.Equals(knownHeader.Name, g.Key, StringComparison.OrdinalIgnoreCase)),
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\HPackHeaderWriter.cs (1)
189return string.Equals(name, "Content-Disposition", StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Shared.Tests (177)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
src\Shared\Hpack\DynamicHPackEncoder.cs (3)
178string.Equals(value, e.Value, StringComparison.Ordinal) && 179string.Equals(name, e.Name, StringComparison.Ordinal)) 197if (e.Hash == hash && string.Equals(name, e.Name, StringComparison.Ordinal))
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (164)
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)) 1752if (string.Equals(key, HeaderNames.TE, StringComparison.Ordinal)) 1764if (string.Equals(key, HeaderNames.Via, StringComparison.Ordinal)) 1776if (string.Equals(key, HeaderNames.Date, StringComparison.Ordinal)) 1786if (string.Equals(key, HeaderNames.From, StringComparison.Ordinal)) 1796if (string.Equals(key, HeaderNames.Host, StringComparison.Ordinal)) 1808if (string.Equals(key, HeaderNames.Allow, StringComparison.Ordinal)) 1818if (string.Equals(key, HeaderNames.Range, StringComparison.Ordinal)) 1830if (string.Equals(key, HeaderNames.Accept, StringComparison.Ordinal)) 1840if (string.Equals(key, HeaderNames.Cookie, StringComparison.Ordinal)) 1850if (string.Equals(key, HeaderNames.Expect, StringComparison.Ordinal)) 1860if (string.Equals(key, HeaderNames.Pragma, StringComparison.Ordinal)) 1872if (string.Equals(key, HeaderNames.Expires, StringComparison.Ordinal)) 1882if (string.Equals(key, HeaderNames.Referer, StringComparison.Ordinal)) 1892if (string.Equals(key, HeaderNames.Trailer, StringComparison.Ordinal)) 1902if (string.Equals(key, HeaderNames.Upgrade, StringComparison.Ordinal)) 1912if (string.Equals(key, HeaderNames.Warning, StringComparison.Ordinal)) 1924if (string.Equals(key, HeaderNames.IfMatch, StringComparison.Ordinal)) 1934if (string.Equals(key, HeaderNames.IfRange, StringComparison.Ordinal)) 1946if (string.Equals(key, HeaderNames.Translate, StringComparison.Ordinal)) 1958if (string.Equals(key, HeaderNames.Connection, StringComparison.Ordinal)) 1968if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.Ordinal)) 1978if (string.Equals(key, HeaderNames.UserAgent, StringComparison.Ordinal)) 1990if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.Ordinal)) 2002if (string.Equals(key, HeaderNames.ContentType, StringComparison.Ordinal)) 2012if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.Ordinal)) 2024if (string.Equals(key, HeaderNames.Authorization, StringComparison.Ordinal)) 2034if (string.Equals(key, HeaderNames.CacheControl, StringComparison.Ordinal)) 2044if (string.Equals(key, HeaderNames.ContentRange, StringComparison.Ordinal)) 2054if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.Ordinal)) 2064if (string.Equals(key, HeaderNames.LastModified, StringComparison.Ordinal)) 2076if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.Ordinal)) 2086if (string.Equals(key, HeaderNames.ContentLength, StringComparison.Ordinal)) 2098if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.Ordinal)) 2108if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.Ordinal)) 2120if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.Ordinal)) 2130if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.Ordinal)) 2140if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.Ordinal)) 2152if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.Ordinal)) 2162if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.Ordinal)) 2174if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.Ordinal)) 2184if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.Ordinal))
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (3)
183if (!string.Equals(typeFullName, coerceableFSharpTypeName, StringComparison.Ordinal)) 255&& string.Equals(type1.Namespace, type2.Namespace, StringComparison.Ordinal) 256&& string.Equals(type1.Name, type2.Name, StringComparison.Ordinal);
Microsoft.AspNetCore.SignalR.Client.Core (4)
Internal\SerializedHubMessage.cs (4)
127if (string.Equals(item.ProtocolName, protocolName, StringComparison.Ordinal)) 140if (string.Equals(_cachedItem1.ProtocolName, protocolName, StringComparison.Ordinal)) 146if (string.Equals(_cachedItem2.ProtocolName, protocolName, StringComparison.Ordinal)) 156if (string.Equals(serializedMessage.ProtocolName, protocolName, StringComparison.Ordinal))
Microsoft.AspNetCore.SignalR.Common.Tests (10)
Internal\Protocol\CustomObject.cs (1)
37return string.Equals(StringProp, right.StringProp, StringComparison.Ordinal) &&
Internal\Protocol\MessagePackHubProtocolTestBase.cs (1)
280Assert.True(string.Equals(actual, testData.Binary, StringComparison.Ordinal), $"Binary encoding changed from{Environment.NewLine} [{testData.Binary}]{Environment.NewLine} to{Environment.NewLine} [{actual}]{Environment.NewLine}Please verify the MsgPack output and update the baseline");
Internal\Protocol\TestHubMessageEqualityComparer.cs (8)
36return string.Equals(cancelItemMessage.InvocationId, ((CancelInvocationMessage)y).InvocationId, StringComparison.Ordinal); 54&& string.Equals(x.InvocationId, y.InvocationId, StringComparison.Ordinal) 55&& string.Equals(x.Error, y.Error, StringComparison.Ordinal) 63&& string.Equals(x.InvocationId, y.InvocationId, StringComparison.Ordinal) 70&& string.Equals(x.InvocationId, y.InvocationId, StringComparison.Ordinal) 71&& string.Equals(x.Target, y.Target, StringComparison.Ordinal) 79&& string.Equals(x.InvocationId, y.InvocationId, StringComparison.Ordinal) 80&& string.Equals(x.Target, y.Target, StringComparison.Ordinal)
Microsoft.AspNetCore.SignalR.Core (8)
DefaultHubLifetimeManager.cs (1)
288return SendToAllConnections(methodName, args, (connection, state) => string.Equals(connection.UserIdentifier, (string)state!, StringComparison.Ordinal), userId, cancellationToken);
SerializedHubMessage.cs (4)
125if (string.Equals(item.ProtocolName, protocolName, StringComparison.Ordinal)) 138if (string.Equals(_cachedItem1.ProtocolName, protocolName, StringComparison.Ordinal)) 144if (string.Equals(_cachedItem2.ProtocolName, protocolName, StringComparison.Ordinal)) 154if (string.Equals(serializedMessage.ProtocolName, protocolName, StringComparison.Ordinal))
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (3)
183if (!string.Equals(typeFullName, coerceableFSharpTypeName, StringComparison.Ordinal)) 255&& string.Equals(type1.Namespace, type2.Namespace, StringComparison.Ordinal) 256&& string.Equals(type1.Name, type2.Name, StringComparison.Ordinal);
Microsoft.AspNetCore.SignalR.Tests (1)
HttpHeaderConnectionHandler.cs (1)
26var headerValues = headers.FirstOrDefault(h => string.Equals(h.Key, headerName, StringComparison.OrdinalIgnoreCase)).Value.ToArray();
Microsoft.AspNetCore.SpaServices.Extensions (3)
Proxying\ConditionalProxyMiddleware.cs (1)
37_pathPrefixIsRoot = string.Equals(_pathPrefix, "/", StringComparison.Ordinal);
Proxying\SpaProxy.cs (2)
197if (string.Equals(uriBuilder.Scheme, "https", StringComparison.OrdinalIgnoreCase)) 201else if (string.Equals(uriBuilder.Scheme, "http", StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.StaticAssets (13)
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))
Infrastructure\StaticAssetsEndpointDataSourceHelper.cs (2)
25if (string.Equals(staticAssetsDataSource.ManifestPath, staticAssetsManifestPath, StringComparison.Ordinal)) 46string.Equals(staticAssetsDataSource.ManifestPath, manifestPath, StringComparison.Ordinal))
StaticAssetsManifest.cs (1)
56public bool IsBuildManifest() => string.Equals(ManifestType, "Build", StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.TestHost (1)
ClientHandler.cs (1)
160if (string.Equals(header.Key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.TestHost.Tests (1)
TestServerTests.cs (1)
336Assert.Contains(serverAddressesFeature.Addresses, s => string.Equals(s, url, StringComparison.Ordinal));
Microsoft.AspNetCore.WebSockets (4)
WebSocketMiddleware.cs (4)
244if (string.Equals(value, Constants.Headers.UpgradeWebSocket, StringComparison.OrdinalIgnoreCase)) 264if (string.Equals(value, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase)) 296&& string.Equals(protocol, Constants.Headers.UpgradeWebSocket, StringComparison.OrdinalIgnoreCase) 305if (string.Equals(value, Constants.Headers.SupportedVersion, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.WebSockets.ConformanceTests (5)
Autobahn\AutobahnCaseResult.cs (1)
28return behaviors.Any(b => string.Equals(b, ActualBehavior, StringComparison.Ordinal));
Autobahn\AutobahnExpectations.cs (1)
41if (!string.Equals(caseResult.ActualBehavior, "INFORMATIONAL", StringComparison.Ordinal))
Autobahn\AutobahnServerResult.cs (1)
28Ssl = string.Equals(splat[1], "SSL", StringComparison.Ordinal);
SkipIfWsTestNotPresentAttribute.cs (2)
17string.Equals(Environment.GetEnvironmentVariable("TRAVIS"), "true", StringComparison.OrdinalIgnoreCase) || 18string.Equals(Environment.GetEnvironmentVariable("APPVEYOR"), "true", StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.WebUtilities (2)
MultipartReaderStream.cs (2)
319if (string.Equals("--", remainder, StringComparison.Ordinal)) 323Debug.Assert(stream.FinalBoundaryFound || string.Equals(string.Empty, remainder, StringComparison.Ordinal), "Un-expected data found on the boundary line: " + remainder);
Microsoft.Authentication.WebAssembly.Msal (1)
MsalDefaultOptionsConfiguration.cs (1)
46if (string.Equals(name, Options.DefaultName, StringComparison.Ordinal))
Microsoft.Build.Framework (9)
EncodingUtilities.cs (1)
320return string.Equals(Environment.GetEnvironmentVariable("DOTNET_CLI_FORCE_UTF8_ENCODING"), "true", StringComparison.OrdinalIgnoreCase);
Profiler\EvaluationLocation.cs (1)
239string.Equals(File, other.File, StringComparison.OrdinalIgnoreCase) &&
Sdk\SdkReference.cs (3)
66return string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase) && 67string.Equals(Version, other.Version, StringComparison.OrdinalIgnoreCase) && 68string.Equals(MinimumVersion, other.MinimumVersion, StringComparison.OrdinalIgnoreCase);
TargetStartedEventArgs.cs (1)
181if (string.Equals(projectFile, targetFile, StringComparison.OrdinalIgnoreCase))
Telemetry\TaskOrTargetTelemetryKey.cs (1)
94=> string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase) &&
Traits.cs (2)
303_logPropertiesAndItemsAfterEvaluation = variable == "1" || string.Equals(variable, "true", StringComparison.OrdinalIgnoreCase); 598if (string.Equals(param.GetType().ToString(), param.ToString(), StringComparison.Ordinal) &&
Microsoft.Build.Tasks.CodeAnalysis (4)
src\Compilers\Core\MSBuildTask\Csc.cs (1)
669if (!string.IsNullOrEmpty(PreferredUILang) && !string.Equals(PreferredUILang, System.Globalization.CultureInfo.CurrentUICulture.Name, StringComparison.OrdinalIgnoreCase))
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (2)
1196if (!string.Equals(TargetType, "library", StringComparison.OrdinalIgnoreCase) 1197&& !string.Equals(TargetType, "module", StringComparison.OrdinalIgnoreCase))
src\Compilers\Core\MSBuildTask\Vbc.cs (1)
963if (!String.IsNullOrEmpty(PreferredUILang) && !String.Equals(PreferredUILang, System.Globalization.CultureInfo.CurrentUICulture.Name, StringComparison.OrdinalIgnoreCase))
Microsoft.Build.Tasks.CodeAnalysis.Sdk (4)
src\Compilers\Core\MSBuildTask\Csc.cs (1)
669if (!string.IsNullOrEmpty(PreferredUILang) && !string.Equals(PreferredUILang, System.Globalization.CultureInfo.CurrentUICulture.Name, StringComparison.OrdinalIgnoreCase))
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (2)
1196if (!string.Equals(TargetType, "library", StringComparison.OrdinalIgnoreCase) 1197&& !string.Equals(TargetType, "module", StringComparison.OrdinalIgnoreCase))
src\Compilers\Core\MSBuildTask\Vbc.cs (1)
963if (!String.IsNullOrEmpty(PreferredUILang) && !String.Equals(PreferredUILang, System.Globalization.CultureInfo.CurrentUICulture.Name, StringComparison.OrdinalIgnoreCase))
Microsoft.Cci.Extensions (3)
Filters\AttributeMarkedFilter.cs (1)
41return !definition.Attributes.Any(a => String.Equals(a.Type.FullName(), _attributeName, StringComparison.Ordinal));
Filters\ExcludeCompilerGeneratedCciFilter.cs (2)
59if (string.Equals(CompilerGeneratedTypeName, attribute.Type.FullName(), StringComparison.Ordinal)) 80a => string.Equals(a.Type.FullName(), CompilerGeneratedTypeName, StringComparison.Ordinal));
Microsoft.CodeAnalysis (47)
Collections\IdentifierCollection.cs (2)
69if (!string.Equals(identifier, strValue, StringComparison.Ordinal)) 123return string.Equals(identifier, spelling, StringComparison.Ordinal);
CommandLine\CommandLineParser.cs (7)
658if (!string.Equals(newArg, "/noconfig", StringComparison.OrdinalIgnoreCase) && !string.Equals(newArg, "-noconfig", StringComparison.OrdinalIgnoreCase)) 872else if (string.Equals(rawAccessibility, "public", StringComparison.OrdinalIgnoreCase)) 876else if (string.Equals(rawAccessibility, "private", StringComparison.OrdinalIgnoreCase)) 1238if (string.Equals("sha1", arg, StringComparison.OrdinalIgnoreCase)) 1243if (string.Equals("sha256", arg, StringComparison.OrdinalIgnoreCase)) 1275bool singleDotPattern = string.Equals(pattern, ".", StringComparison.Ordinal);
Compilation\CompilationOptions.cs (5)
628string.Equals(this.CryptoKeyContainer, other.CryptoKeyContainer, StringComparison.Ordinal) && 629string.Equals(this.CryptoKeyFile, other.CryptoKeyFile, StringComparison.Ordinal) && 633string.Equals(this.MainTypeName, other.MainTypeName, StringComparison.Ordinal) && 636string.Equals(this.ModuleName, other.ModuleName, StringComparison.Ordinal) && 641string.Equals(this.ScriptClassName, other.ScriptClassName, StringComparison.Ordinal) &&
Desktop\AssemblyPortabilityPolicy.cs (4)
91string.Equals(enableAttribute, "false", StringComparison.OrdinalIgnoreCase) ? false : 92string.Equals(enableAttribute, "true", StringComparison.OrdinalIgnoreCase) ? true : 97if (string.Equals(pkt, "31bf3856ad364e35", StringComparison.OrdinalIgnoreCase)) 101else if (string.Equals(pkt, "7cec85d7bea7798e", StringComparison.OrdinalIgnoreCase))
Diagnostic\FileLinePositionSpan.cs (1)
102string.Equals(Path, other.Path, StringComparison.Ordinal);
DiagnosticAnalyzer\AnalyzerDriver.cs (2)
1347return root.DescendantTokens().Any(static token => string.Equals(token.ValueText, "GeneratedCode", StringComparison.Ordinal) || 1348string.Equals(token.ValueText, nameof(GeneratedCodeAttribute), StringComparison.Ordinal));
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
567if (string.Equals(referencedAssemblyName.Name, runningCompilerAssemblyName.Name, StringComparison.OrdinalIgnoreCase)
FileKey.cs (1)
64string.Equals(this.FullPath, other.FullPath, StringComparison.OrdinalIgnoreCase);
FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
MetadataReader\PEModule.cs (1)
3993return string.Equals(metadataReader.GetString(nameHandle), name, 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))
MetadataReference\AssemblyIdentityExtensions.cs (1)
27string.Equals(identity.Name, WindowsRuntimeIdentitySimpleName, StringComparison.OrdinalIgnoreCase);
SourceFileResolver.cs (1)
143string.Equals(_baseDirectory, other._baseDirectory, StringComparison.Ordinal) &&
SwitchConstantValueHelper.cs (1)
124return string.Equals(firstString, second as string, System.StringComparison.Ordinal);
Symbols\Attributes\CommonAttributeData.cs (1)
183if (string.Equals(namedArguments[i].Key, name, StringComparison.Ordinal))
Syntax\SyntaxTreeComparer.cs (1)
27return string.Equals(x.FilePath, y.FilePath, StringComparison.OrdinalIgnoreCase) &&
XmlFileResolver.cs (1)
99return string.Equals(_baseDirectory, other._baseDirectory, StringComparison.Ordinal);
Microsoft.CodeAnalysis.Analyzers (15)
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_ReleaseTracking.cs (1)
303if (category != null && !string.Equals(category, releaseTrackingLine.Category, StringComparison.OrdinalIgnoreCase) ||
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_ResourceStringsFormat.cs (2)
27if (string.Equals(".resx", Path.GetExtension(file.Path), StringComparison.OrdinalIgnoreCase)) 60if (string.Equals(resourceFileName, fileName, StringComparison.OrdinalIgnoreCase))
MetaAnalyzers\Fixers\AnalyzerReleaseTrackingFix.cs (1)
114TextDocument? additionalDocument = project.AdditionalDocuments.FirstOrDefault(doc => string.Equals(doc.Name, name, StringComparison.OrdinalIgnoreCase));
MetaAnalyzers\Fixers\DefineDiagnosticDescriptorArgumentsCorrectlyFix.cs (1)
149additionalDocuments.FirstOrDefault(a => string.Equals(a.FilePath, path, StringComparison.Ordinal)) is { } additionalDocument)
MetaAnalyzers\ReleaseTrackingHelper.cs (2)
211if (string.Equals(category, oldCategory, StringComparison.OrdinalIgnoreCase) && 304if (string.Equals(severityPart, DisabledText, StringComparison.OrdinalIgnoreCase))
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (1)
250if (string.Equals(parsedWord, word, StringComparison.OrdinalIgnoreCase))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.AnalyzerUtilities (8)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (1)
250if (string.Equals(parsedWord, word, StringComparison.OrdinalIgnoreCase))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.BannedApiAnalyzers (9)
RestrictedInternalsVisibleToAnalyzer.cs (1)
154!string.Equals(assemblyName, compilation.Assembly.Name, StringComparison.OrdinalIgnoreCase))
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (1)
250if (string.Equals(parsedWord, word, StringComparison.OrdinalIgnoreCase))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.CodeStyle (7)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
263: string.Equals(ctorParameter.Name, parameterName, StringComparison.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.CSharp (20)
Emitter\Model\PEModuleBuilder.cs (1)
180!string.Equals(refIdentity.CultureName, asmIdentity.CultureName, StringComparison.OrdinalIgnoreCase))
Parser\Lexer.cs (1)
1615Debug.Assert(string.Equals(info.Text.Substring(0, objectAddressOffset + 1), "@0x", StringComparison.OrdinalIgnoreCase));
Symbols\Attributes\SourceAttributeData.cs (1)
300if (!string.Equals(namedType.MetadataName, targetInfo.Name, System.StringComparison.Ordinal) ||
Symbols\Extensions\SourceExtensionImplementationMethodSymbol.cs (1)
178Debug.Assert(string.Equals(result, withIncludes, System.StringComparison.Ordinal));
Symbols\Metadata\PE\MetadataDecoder.cs (1)
159if (string.Equals(m.Name, moduleName, StringComparison.OrdinalIgnoreCase))
Symbols\Metadata\PE\PEParameterSymbol.cs (2)
908&& string.Equals(extensionParameterName, name, StringComparison.Ordinal)) 914var param = parameters.FirstOrDefault(static (p, name) => string.Equals(p.Name, name, StringComparison.Ordinal), name);
Symbols\MissingMetadataTypeSymbol.cs (3)
394return string.Equals(MetadataName, other.MetadataName, StringComparison.Ordinal) && 396string.Equals(_namespaceName, other.NamespaceName, StringComparison.Ordinal) && 463return (object?)other != null && string.Equals(MetadataName, other.MetadataName, StringComparison.Ordinal) &&
Symbols\MissingModuleSymbol.cs (1)
242return (object)other != null && assembly.Equals(other.assembly, compareKind) && string.Equals(_name, other._name, StringComparison.OrdinalIgnoreCase);
Symbols\Source\SourceAssemblySymbol.cs (1)
980if (!string.Equals(fileName, moduleName, StringComparison.OrdinalIgnoreCase))
Symbols\Source\SourceComplexParameterSymbol.cs (2)
1364if (string.Equals(extensionParameter?.Name, name, StringComparison.Ordinal)) 1376var parameter = containingSymbolParameters.FirstOrDefault(static (param, name) => string.Equals(param.Name, name, StringComparison.Ordinal), name);
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
441string.Equals(_name, other._name, StringComparison.Ordinal) &&
Symbols\Tuples\TupleTypeSymbol.cs (1)
473if (number > 0 && string.Equals(name, TupleMemberName(number), StringComparison.Ordinal))
Symbols\TypeSymbolExtensions.cs (1)
1782return string.Equals(container.ToDisplayString(SymbolDisplayFormat.QualifiedNameOnlyFormat), qualifiedName, comparison);
Symbols\UnboundGenericType.cs (1)
113return (object?)other != null && string.Equals(other._name, _name, StringComparison.Ordinal) && object.Equals(other._errorInfo, _errorInfo);
Syntax\SyntaxFactory.cs (2)
1205if (rewrittenToken.IsKind(SyntaxKind.LessThanToken) && string.Equals("<", rewrittenToken.Text, StringComparison.Ordinal)) 1208if (rewrittenToken.IsKind(SyntaxKind.GreaterThanToken) && string.Equals(">", rewrittenToken.Text, StringComparison.Ordinal))
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Completion\CompletionProviders\SnippetCompletionProviderTests.cs (2)
155=> string.Equals(shortcut, SnippetShortcut, StringComparison.OrdinalIgnoreCase) || 156string.Equals(shortcut, PreProcessorSnippetShortcut, StringComparison.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Attributes\AttributeTests_Assembly.cs (2)
1023.Where(a => string.Equals(a.AttributeClass.Name, attrTypeName, StringComparison.Ordinal)); 1036.Where(a => string.Equals(a.AttributeClass.Name, attrTypeName, StringComparison.Ordinal));
Attributes\AttributeTests_Dynamic.cs (1)
521var synthesizedDynamicAttributes = attributes.Where((attr) => string.Equals(attr.AttributeClass.Name, "DynamicAttribute", StringComparison.Ordinal));
Attributes\AttributeTests_Tuples.cs (1)
618var synthesizedTupleElementNamesAttr = attributes.Where(attr => string.Equals(attr.AttributeClass.Name, "TupleElementNamesAttribute", StringComparison.Ordinal));
Microsoft.CodeAnalysis.EditorFeatures (4)
EditorConfigSettings\Updater\SettingsUpdateHelper.cs (1)
182string.Equals(key, optionName, StringComparison.OrdinalIgnoreCase))
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
424!string.Equals(_filterText, typedChar.ToString(), StringComparison.OrdinalIgnoreCase) &&
Peek\PeekableItemSource.cs (1)
47if (!string.Equals(session.RelationshipName, PredefinedPeekRelationships.Definitions.Name, StringComparison.OrdinalIgnoreCase))
RenameTracking\RenameTrackingTaggerProvider.TrackingSession.cs (1)
269if (!string.Equals(OriginalName, newName, comparison) &&
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\MethodDebugInfo.Native.cs (1)
39string.Equals(LocalName, other.LocalName, StringComparison.Ordinal);
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (2)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (1)
832return string.Equals(nameA, nameB, StringComparison.Ordinal);
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (1)
527if (!string.Equals(declaredTypeNameNoTupleElementNames, runtimeTypeName, StringComparison.Ordinal)) // Names will reflect "dynamic", types will not.
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (5)
Debugger\Engine\DkmClrType.cs (2)
300if (string.Equals(argumentType, "System.String", System.StringComparison.Ordinal)) 306else if (string.Equals(argumentType, "System.Type", System.StringComparison.Ordinal))
Debugger\Engine\DkmClrValue.cs (1)
706if (string.Equals(module.Name, moduleName, StringComparison.OrdinalIgnoreCase))
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (1)
832return string.Equals(nameA, nameB, StringComparison.Ordinal);
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (1)
527if (!string.Equals(declaredTypeNameNoTupleElementNames, runtimeTypeName, StringComparison.Ordinal)) // Names will reflect "dynamic", types will not.
Microsoft.CodeAnalysis.Extensions.Package (2)
Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
LanguageServices\FSharpVisualStudioWorkspaceExtensions.cs (1)
24var projects = workspace.CurrentSolution.Projects.Where(p => string.Equals(p.OutputFilePath, filePath, StringComparison.OrdinalIgnoreCase)).ToList();
Microsoft.CodeAnalysis.Features (12)
AddMissingReference\AddMissingReferenceCodeAction.cs (1)
54string.Equals(missingAssemblyIdentity.Name, candidateProject.AssemblyName, StringComparison.OrdinalIgnoreCase))
CodeFixes\Configuration\ConfigurationUpdater.cs (2)
528foundMatch = string.Equals(diagId, _diagnostic.Id, StringComparison.OrdinalIgnoreCase); 546foundMatch = string.Equals(category, _categoryToBulkConfigure, StringComparison.OrdinalIgnoreCase);
Completion\Providers\AbstractContextVariableArgumentProvider.cs (3)
70&& !string.Equals(candidate.Name, context.Parameter.Name, StringComparison.OrdinalIgnoreCase)) 158if (string.Equals(bestSymbol.Name, context.Parameter.Name, StringComparison.OrdinalIgnoreCase)) 159return string.Equals(symbol.Name, context.Parameter.Name, StringComparison.OrdinalIgnoreCase);
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.SymbolComputer.cs (1)
408if (filterReceiverTypeName.Length > 0 && !string.Equals(filterReceiverTypeName, GetReceiverTypeName(method.Parameters[0].Type), StringComparison.Ordinal))
EditAndContinue\EditSession.cs (1)
1517Debug.Assert(string.Equals(oldSpan.Path, newSpan.Path,
EditAndContinue\SourceFileSpan.cs (2)
65=> Span.Equals(other.Span) && string.Equals(Path, other.Path, StringComparison.Ordinal); 86=> Span.Contains(span.Span) && string.Equals(Path, span.Path, StringComparison.Ordinal);
PdbSourceDocument\SourceLinkMap.cs (1)
199else if (string.Equals(path, file.Path, StringComparison.OrdinalIgnoreCase))
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
263: string.Equals(ctorParameter.Name, parameterName, StringComparison.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.InteractiveHost (2)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
Microsoft.CodeAnalysis.LanguageServer.Protocol (18)
Handler\InlineCompletions\XmlSnippetParser.CodeSnippet.cs (8)
69var matchingSnippet = snippets.Value.Single(s => string.Equals(s.Title, snippetTitle, StringComparison.OrdinalIgnoreCase)); 168editableAttribute == null || string.Equals(editableAttribute.Value, "true", StringComparison.Ordinal) || string.Equals(editableAttribute.Value, "1", StringComparison.Ordinal))); 193if (string.Equals(_code[currentCharIndex].ToString(CultureInfo.CurrentCulture), _delimiter, StringComparison.Ordinal)) 214if (string.Equals(_code[currentCharIndex].ToString(CultureInfo.CurrentCulture), _delimiter, StringComparison.Ordinal)) 228if (string.Equals(fieldName, Selected, StringComparison.Ordinal)) 234else if (string.Equals(fieldName, End, StringComparison.Ordinal)) 283return _tokens.FirstOrDefault(t => string.Equals(t.ID, fieldName, StringComparison.Ordinal));
Protocol\Diagnostic.cs (2)
148&& string.Equals(this.Source, other.Source, StringComparison.Ordinal) 149&& string.Equals(this.Message, other.Message, StringComparison.Ordinal)
Protocol\Extensions\VSProjectContext.cs (2)
81return string.Equals(this.Label, other.Label, StringComparison.Ordinal) 82&& string.Equals(this.Id, other.Id, StringComparison.Ordinal)
Protocol\Internal\Efficiency\OptimizedVSCompletionListJsonConverter.cs (3)
178if (completionItem.SortText != null && !string.Equals(completionItem.SortText, label, StringComparison.Ordinal)) 183if (completionItem.FilterText != null && !string.Equals(completionItem.FilterText, label, StringComparison.Ordinal)) 188if (completionItem.InsertText != null && !string.Equals(completionItem.InsertText, label, StringComparison.Ordinal))
Protocol\Internal\VSInternalIconMapping.cs (1)
120if (!string.Equals(current[i], other[i], StringComparison.Ordinal))
Protocol\Internal\VSInternalKindAndModifier.cs (2)
67string.Equals(this.Kind, other.Kind, StringComparison.Ordinal) && 103if (!string.Equals(modifiers[i], this.Modifier[i], StringComparison.Ordinal))
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (8)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (1)
250if (string.Equals(parsedWord, word, StringComparison.OrdinalIgnoreCase))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.PublicApiAnalyzers (8)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (1)
250if (string.Equals(parsedWord, word, StringComparison.OrdinalIgnoreCase))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (1)
DeclarePublicApiFix.cs (1)
124TextDocument? additionalDocument = project.AdditionalDocuments.FirstOrDefault(doc => string.Equals(doc.Name, name, StringComparison.OrdinalIgnoreCase));
Microsoft.CodeAnalysis.ResxSourceGenerator (8)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (1)
250if (string.Equals(parsedWord, word, StringComparison.OrdinalIgnoreCase))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.Test.Utilities (3)
Assert\AssertEx.cs (1)
207if (string.Equals(expected, actual, StringComparison.Ordinal))
Metadata\MetadataValidation.cs (1)
53if (string.Equals(GetAttributeName(metadataReader, caHandle), attributeClassName, StringComparison.Ordinal))
Platform\Custom\SigningTestHelpers.cs (1)
87return string.Equals(
Microsoft.CodeAnalysis.UnitTests (1)
CachingLookupTests.cs (1)
65where string.Equals(GetKey(n, ignoreCase), key, ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal)
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\MissingModuleSymbol.vb (1)
214Return other IsNot Nothing AndAlso m_Assembly.Equals(other.m_Assembly) AndAlso String.Equals(_name, other._name, StringComparison.OrdinalIgnoreCase)
Symbols\MissingNamespaceSymbol.vb (1)
82Return other IsNot Nothing AndAlso String.Equals(_name, other._name, StringComparison.Ordinal) AndAlso _containingSymbol.Equals(other._containingSymbol)
Microsoft.CodeAnalysis.Workspaces (22)
Rename\ConflictEngine\ConflictResolver.cs (5)
238string.Equals(s.MetadataName, renamedSymbol.MetadataName, StringComparison.Ordinal)); 264string.Equals(s.MetadataName, renamedSymbol.MetadataName, StringComparison.Ordinal)); 273string.Equals(s.MetadataName, renamedSymbol.MetadataName, StringComparison.Ordinal)); 422if (string.Equals(oldMetadataName, newMetadataName, StringComparison.Ordinal)) 452return string.Equals(newMetadataName, oldMetadataName, StringComparison.Ordinal);
Rename\RenameUtilities.cs (1)
201if (string.Equals(member.MetadataName, symbol.MetadataName, StringComparison.Ordinal) && member is IMethodSymbol && !member.Equals(symbol))
Shared\TestHooks\AsynchronousOperationListenerProvider.cs (4)
208s_enabled = string.Equals(enabled, "1", StringComparison.OrdinalIgnoreCase) || string.Equals(enabled, "True", StringComparison.OrdinalIgnoreCase); 229_enableDiagnosticTokens = string.Equals(enabled, "1", StringComparison.OrdinalIgnoreCase) || string.Equals(enabled, "True", StringComparison.OrdinalIgnoreCase);
Shared\Utilities\BloomFilter_Serialization.cs (1)
58if (!string.Equals(version, SerializationFormat, StringComparison.Ordinal))
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
Utilities\SpellChecker.cs (1)
51if (string.Equals(formatVersion, SerializationFormat, StringComparison.Ordinal))
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
929if (!provider.Metadata.Extensions.Any(e => string.Equals(e, extension, StringComparison.OrdinalIgnoreCase)))
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (2)
568&& string.Equals(peReference.FilePath, outputPath, StringComparison.OrdinalIgnoreCase)) 659if (string.Equals(convertedReference.path, outputPath, StringComparison.OrdinalIgnoreCase) &&
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\MSBuildProjectLoader.Worker.AnalyzerReferencePathComparer.cs (1)
22=> string.Equals(x?.FullPath, y?.FullPath, StringComparison.OrdinalIgnoreCase);
src\Workspaces\MSBuild\BuildHost\Rpc\Contracts\MonoMSBuildDiscovery.cs (1)
159s_monoMSBuildDirectory = versionDirectory.EnumerateDirectories().SingleOrDefault(d => string.Equals(d.Name, "bin", StringComparison.OrdinalIgnoreCase))?.FullName;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (16)
MSBuild\ProjectFile\CommandLineArgumentReader.cs (2)
231if (prefer32bit && (RoslynString.IsNullOrWhiteSpace(platform) || string.Equals("anycpu", platform, StringComparison.OrdinalIgnoreCase))) 259if (string.Equals(alias, "global", StringComparison.OrdinalIgnoreCase))
MSBuild\ProjectFile\Conversions.cs (2)
16&& (string.Equals(bool.TrueString, value, StringComparison.OrdinalIgnoreCase) || 17string.Equals("On", value, StringComparison.OrdinalIgnoreCase));
MSBuild\ProjectFile\Extensions.cs (1)
72!string.Equals(referenceOutputAssemblyText, bool.FalseString, StringComparison.OrdinalIgnoreCase);
MSBuild\ProjectFile\ProjectFile.cs (1)
469=> item.Metadata.FirstOrDefault(m => string.Equals(m.Name, MetadataNames.HintPath, StringComparison.OrdinalIgnoreCase))?.EvaluatedValue ?? string.Empty;
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))
Rpc\Contracts\MonoMSBuildDiscovery.cs (1)
159s_monoMSBuildDirectory = versionDirectory.EnumerateDirectories().SingleOrDefault(d => string.Equals(d.Name, "bin", StringComparison.OrdinalIgnoreCase))?.FullName;
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
FindAllDeclarationsTests.TestSolutionsAndProject.cs (1)
70string.Equals(actualResult, expectedResult, StringComparison.Ordinal),
Microsoft.Data.Analysis (1)
DataFrame.IO.cs (1)
30if (string.Equals(columnValue, "null", StringComparison.OrdinalIgnoreCase))
Microsoft.Data.Analysis.Tests (1)
DataFrame.IOTests.cs (1)
1657if (string.IsNullOrEmpty(item) || string.Equals(item, "null", StringComparison.OrdinalIgnoreCase))
Microsoft.DotNet.Arcade.Sdk (2)
src\InstallDotNetCore.cs (2)
102if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows) && string.Equals("x86", architecture, StringComparison.OrdinalIgnoreCase)) 193else if (!string.IsNullOrWhiteSpace(Platform) && !string.Equals(Platform, "AnyCpu", StringComparison.OrdinalIgnoreCase))
Microsoft.DotNet.Build.Manifest (11)
BuildModelFactory.cs (11)
87Where(i => !string.Equals(i.GetMetadata("ExcludeFromManifest"), "true", 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.Tasks.Feed (1)
src\PublishArtifactsInManifestBase.cs (1)
1196if (!blobAsset.Attributes.TryGetValue("Category", out categories) || string.Equals(categories, "NONE", StringComparison.OrdinalIgnoreCase))
Microsoft.DotNet.Build.Tasks.Installers (3)
src\CreateWixBuildWixpack.cs (3)
981return string.Equals(actualValue, value, StringComparison.Ordinal); 983return !string.Equals(actualValue, value, StringComparison.Ordinal); 985return string.Equals(actualValue, value, StringComparison.OrdinalIgnoreCase);
Microsoft.DotNet.Build.Tasks.Workloads (1)
Extensions.cs (1)
26if (string.Equals(metadataName, name, StringComparison.OrdinalIgnoreCase))
Microsoft.DotNet.Helix.JobSender (2)
JobDefinition.cs (2)
313if (string.Equals(reason, "PullRequest", StringComparison.OrdinalIgnoreCase)) 319if (string.Equals(teamProject, "internal", StringComparison.OrdinalIgnoreCase))
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 (1)
src\NuGetVersionUpdater.cs (1)
273if (string.Equals(name?.Value, "DotnetTool", StringComparison.OrdinalIgnoreCase))
Microsoft.DotNet.SignCheckLibrary (11)
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))
Verification\Exclusions.cs (1)
197return String.Equals(pattern, value, StringComparison.OrdinalIgnoreCase);
Verification\Jar\JarManifestFileBase.cs (1)
95ZipArchiveEntry manifestArchiveEntry = archive.Entries.First(a => String.Equals(a.FullName, ManifestPath, StringComparison.OrdinalIgnoreCase));
Verification\SignatureVerificationManager.cs (3)
248if (zipArchive.Entries.Any(z => String.Equals(Path.GetExtension(z.FullName), "nuspec", StringComparison.OrdinalIgnoreCase))) 253else if (zipArchive.Entries.Any(z => String.Equals(Path.GetExtension(z.FullName), "vsixmanifest", StringComparison.OrdinalIgnoreCase))) 258else if (zipArchive.Entries.Any(z => String.Equals(z.FullName, "META-INF/MANIFEST.MF", StringComparison.OrdinalIgnoreCase)))
Microsoft.DotNet.SignTool (1)
src\ExplicitCertificateKey.cs (1)
51string.Equals(PublicKeyToken, other.PublicKeyToken, StringComparison.OrdinalIgnoreCase) &&
Microsoft.DotNet.SourceBuild.Tasks (2)
src\UsageReport\Usage.cs (2)
101string.Equals(AssetsFile, other.AssetsFile, StringComparison.Ordinal) && 102string.Equals(RuntimePackageRid, other.RuntimePackageRid, StringComparison.Ordinal);
Microsoft.DotNet.XliffTasks (2)
Tasks\GatherTranslatedSource.cs (1)
28bool preserveFileName = string.Equals(xlf.GetMetadata(MetadataKey.XlfPreserveFileName), "true", StringComparison.OrdinalIgnoreCase);
Tasks\GatherXlf.cs (1)
53bool preserveFileName = string.Equals(source.GetMetadata(MetadataKey.XlfPreserveFileName), "true", StringComparison.OrdinalIgnoreCase);
Microsoft.DotNet.XUnitExtensions (13)
src\Microsoft.DotNet.XUnitExtensions.Shared\CoreClrConfigurationDetection.cs (13)
15public static bool IsJitStress => !string.Equals(GetEnvironmentVariableValue("JitStress"), "0", StringComparison.InvariantCulture); 16public static bool IsJitStressRegs => !string.Equals(GetEnvironmentVariableValue("JitStressRegs"), "0", StringComparison.InvariantCulture); 17public static bool IsJitMinOpts => string.Equals(GetEnvironmentVariableValue("JITMinOpts"), "1", StringComparison.InvariantCulture); 18public static bool IsTailCallStress => string.Equals(GetEnvironmentVariableValue("TailcallStress"), "1", StringComparison.InvariantCulture); 19public static bool IsZapDisable => string.Equals(GetEnvironmentVariableValue("ZapDisable"), "1", StringComparison.InvariantCulture); 22public static bool IsTieredCompilation => string.Equals(GetEnvironmentVariableValue("TieredCompilation", "1"), "1", StringComparison.InvariantCulture); 23public static bool IsHeapVerify => string.Equals(GetEnvironmentVariableValue("HeapVerify"), "1", StringComparison.InvariantCulture); 25public static bool IsGCStress => !string.Equals(GetEnvironmentVariableValue("GCStress"), "0", StringComparison.InvariantCulture); 49string.Equals(assemblyConfigurationAttribute.Configuration, configuration, StringComparison.InvariantCulture); 55return string.Equals(value, first.ToLowerInvariant(), StringComparison.InvariantCulture) || 56string.Equals(value, second.ToLowerInvariant(), StringComparison.InvariantCulture) || 57string.Equals(value, "0xf", StringComparison.InvariantCulture) || 58string.Equals(value, "f", StringComparison.InvariantCulture);
Microsoft.DotNet.XUnitV3Extensions (13)
src\Microsoft.DotNet.XUnitExtensions.Shared\CoreClrConfigurationDetection.cs (13)
15public static bool IsJitStress => !string.Equals(GetEnvironmentVariableValue("JitStress"), "0", StringComparison.InvariantCulture); 16public static bool IsJitStressRegs => !string.Equals(GetEnvironmentVariableValue("JitStressRegs"), "0", StringComparison.InvariantCulture); 17public static bool IsJitMinOpts => string.Equals(GetEnvironmentVariableValue("JITMinOpts"), "1", StringComparison.InvariantCulture); 18public static bool IsTailCallStress => string.Equals(GetEnvironmentVariableValue("TailcallStress"), "1", StringComparison.InvariantCulture); 19public static bool IsZapDisable => string.Equals(GetEnvironmentVariableValue("ZapDisable"), "1", StringComparison.InvariantCulture); 22public static bool IsTieredCompilation => string.Equals(GetEnvironmentVariableValue("TieredCompilation", "1"), "1", StringComparison.InvariantCulture); 23public static bool IsHeapVerify => string.Equals(GetEnvironmentVariableValue("HeapVerify"), "1", StringComparison.InvariantCulture); 25public static bool IsGCStress => !string.Equals(GetEnvironmentVariableValue("GCStress"), "0", StringComparison.InvariantCulture); 49string.Equals(assemblyConfigurationAttribute.Configuration, configuration, StringComparison.InvariantCulture); 55return string.Equals(value, first.ToLowerInvariant(), StringComparison.InvariantCulture) || 56string.Equals(value, second.ToLowerInvariant(), StringComparison.InvariantCulture) || 57string.Equals(value, "0xf", StringComparison.InvariantCulture) || 58string.Equals(value, "f", StringComparison.InvariantCulture);
Microsoft.Extensions.AI.Abstractions (3)
ChatCompletion\ChatRole.cs (1)
81=> string.Equals(Value, other.Value, StringComparison.OrdinalIgnoreCase);
SpeechToText\SpeechToTextResponseUpdateKind.cs (1)
83=> string.Equals(Value, other.Value, StringComparison.OrdinalIgnoreCase);
src\Shared\JsonSchemaExporter\JsonSchemaExporter.ReflectionHelpers.cs (1)
412public bool Equals(ParameterLookupKey other) => Type == other.Type && string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.Extensions.AI.Evaluation (1)
Utilities\ModelInfo.cs (1)
97if (string.Equals(host, LocalMachineHost, StringComparison.OrdinalIgnoreCase))
Microsoft.Extensions.AI.Evaluation.Console (1)
src\Libraries\Microsoft.Extensions.AI.Evaluation\Utilities\ModelInfo.cs (1)
97if (string.Equals(host, LocalMachineHost, StringComparison.OrdinalIgnoreCase))
Microsoft.Extensions.AI.Evaluation.Reporting (1)
src\Libraries\Microsoft.Extensions.AI.Evaluation\Utilities\ModelInfo.cs (1)
97if (string.Equals(host, LocalMachineHost, StringComparison.OrdinalIgnoreCase))
Microsoft.Extensions.AI.Evaluation.Safety (2)
ContentSafetyService.cs (1)
291string.Equals(supportedCapability, capability, StringComparison.Ordinal))
src\Libraries\Microsoft.Extensions.AI.Evaluation\Utilities\ModelInfo.cs (1)
97if (string.Equals(host, LocalMachineHost, StringComparison.OrdinalIgnoreCase))
Microsoft.Extensions.AI.OpenAI.Tests (1)
IntegrationTestHelpers.cs (1)
24if (string.Equals(mode, "AzureOpenAI", StringComparison.OrdinalIgnoreCase))
Microsoft.Extensions.AI.Templates.Tests (3)
AIChatWebExecutionTests.cs (2)
132if (string.Equals(name, options[i], StringComparison.Ordinal) && 133string.Equals(value, options[i + 1], StringComparison.Ordinal))
Infrastructure\Project.cs (1)
28else if (!string.Equals(value, _startupProjectRelativePath, StringComparison.Ordinal))
Microsoft.Extensions.ApiDescription.Client.Tests (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
Microsoft.Extensions.Configuration.Xml (2)
XmlStreamConfigurationProvider.cs (2)
97if (string.Equals(parent.SingleChild.SiblingName, element.SiblingName, StringComparison.OrdinalIgnoreCase)) 237if (string.Equals(reader.LocalName, Consts.NameAttributeKey, StringComparison.OrdinalIgnoreCase))
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))
Resolution\PackageCompilationAssemblyResolver.cs (1)
74!string.Equals(library.Type, "package", StringComparison.OrdinalIgnoreCase))
Resolution\ReferenceAssemblyPathResolver.cs (1)
48if (!string.Equals(library.Type, "referenceassembly", StringComparison.OrdinalIgnoreCase))
Microsoft.Extensions.Diagnostics (4)
Metrics\Configuration\MetricsConfigureOptions.cs (2)
83if (string.Equals(DefaultKey, meterName, StringComparison.OrdinalIgnoreCase)) 102if (string.Equals(DefaultKey, instrumentName, StringComparison.OrdinalIgnoreCase))
Metrics\ListenerSubscription.cs (2)
149&& !string.Equals(rule.ListenerName, listenerName, StringComparison.OrdinalIgnoreCase)) 156&& !string.Equals(rule.InstrumentName, instrument.Name, StringComparison.OrdinalIgnoreCase))
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Linux\LinuxNetworkMetricsTests.cs (1)
121if (tag.Key == tagKey && string.Equals(tag.Value as string, tagValue, StringComparison.Ordinal))
Microsoft.Extensions.FileProviders.Embedded (5)
EmbeddedFileProvider.cs (1)
146if (subpath.Length != 0 && !string.Equals(subpath, "/", StringComparison.Ordinal))
Manifest\ManifestParser.cs (4)
41if (!string.Equals("1.0", version, StringComparison.Ordinal)) 70if (string.Equals(entriesList[i].Name, entriesList[j].Name, StringComparison.OrdinalIgnoreCase)) 89if (string.Equals(element.Name.LocalName, "File", StringComparison.Ordinal)) 97if (string.Equals(element.Name.LocalName, "Directory", StringComparison.Ordinal))
Microsoft.Extensions.FileProviders.Embedded.Tests (2)
FileInfoComparer.cs (2)
28string.Equals(x.Name, y.Name, StringComparison.Ordinal) && 29string.Equals(x.PhysicalPath, y.PhysicalPath, StringComparison.Ordinal);
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalFileProvider.cs (2)
191bool pollForChanges = string.Equals(environmentValue, "1", StringComparison.Ordinal) || 192string.Equals(environmentValue, "true", StringComparison.OrdinalIgnoreCase);
Microsoft.Extensions.FileSystemGlobbing (7)
Abstractions\DirectoryInfoWrapper.cs (1)
72bool isParentPath = string.Equals(name, "..", StringComparison.Ordinal);
FilePatternMatch.cs (2)
54return string.Equals(other.Path, Path, StringComparison.OrdinalIgnoreCase) && 55string.Equals(other.Stem, Stem, StringComparison.OrdinalIgnoreCase);
InMemoryDirectoryInfo.cs (1)
132if (string.Equals(path, "..", StringComparison.Ordinal))
Internal\PathSegments\LiteralPathSegment.cs (2)
28return string.Equals(Value, value, _comparisonType); 35string.Equals(other.Value, Value, _comparisonType);
Internal\PathSegments\ParentPathSegment.cs (1)
16return string.Equals(LiteralParent, value, StringComparison.Ordinal);
Microsoft.Extensions.Hosting (5)
HostApplicationBuilder.cs (4)
290if (!string.Equals(previousApplicationName, config[HostDefaults.ApplicationKey], StringComparison.OrdinalIgnoreCase)) 294if (!string.Equals(previousEnvironment, config[HostDefaults.EnvironmentKey], StringComparison.OrdinalIgnoreCase)) 301if (!string.Equals(previousContentRootConfig, currentContentRootConfig, StringComparison.OrdinalIgnoreCase) && 302!string.Equals(previousContentRootPath, HostBuilder.ResolveContentRootPath(currentContentRootConfig, AppContext.BaseDirectory), StringComparison.OrdinalIgnoreCase))
HostingHostBuilderExtensions.cs (1)
228!string.Equals(cwd, Environment.SystemDirectory, StringComparison.OrdinalIgnoreCase))
Microsoft.Extensions.Hosting.Abstractions (2)
HostEnvironmentEnvExtensions.cs (1)
61return string.Equals(
HostingEnvironmentExtensions.cs (1)
62return string.Equals(
Microsoft.Extensions.Hosting.WindowsServices (1)
WindowsServiceHelpers.cs (1)
46return string.Equals("services", parent.ProcessName, StringComparison.OrdinalIgnoreCase);
Microsoft.Extensions.Options.ConfigurationExtensions (1)
OptionsBuilderConfigurationExtensions.cs (1)
75IConfiguration section = string.Equals("", configSectionPath, StringComparison.OrdinalIgnoreCase)
Microsoft.Extensions.Primitives (2)
StringValues.cs (2)
319if (string.Equals(values[i], item, StringComparison.Ordinal)) 330return string.Equals(Unsafe.As<string>(value), item, StringComparison.Ordinal) ? 0 : -1;
Microsoft.Extensions.ServiceDiscovery (1)
ServiceDiscoveryOptions.cs (1)
52if (string.Equals(s, allowed, StringComparison.OrdinalIgnoreCase))
Microsoft.Extensions.ServiceDiscovery.Dns (2)
Resolver\DnsResolver.cs (2)
114if (string.Equals(name, "localhost", StringComparison.OrdinalIgnoreCase)) 156if (string.Equals(name, "localhost", StringComparison.OrdinalIgnoreCase))
Microsoft.Extensions.ServiceDiscovery.Dns.Tests.Fuzzing (2)
Fuzzers\WriteDomainNameRoundTripFuzzer.cs (1)
38if (!string.Equals(s_idnMapping.GetAscii(domainName).TrimEnd('.'), readName, StringComparison.OrdinalIgnoreCase))
Program.cs (1)
39IFuzzer? fuzzer = fuzzers.FirstOrDefault(f => string.Equals(f.Name, arg, StringComparison.OrdinalIgnoreCase));
Microsoft.Extensions.Validation.ValidationsGenerator (4)
Extensions\ISymbolExtensions.cs (1)
26if (string.Equals(namedArgument.Key, "Name", StringComparison.Ordinal))
Extensions\ITypeSymbolExtensions.cs (1)
113.FirstOrDefault(p => string.Equals(p.Name, propertyName, System.StringComparison.OrdinalIgnoreCase));
Parsers\ValidationsGenerator.TypesParser.cs (1)
160.FirstOrDefault(p => string.Equals(p.Name, parameter.Name, System.StringComparison.OrdinalIgnoreCase));
src\Shared\RoslynUtils\SymbolExtensions.cs (1)
285if (string.Equals(namedArgument.Key, argumentName, StringComparison.Ordinal))
Microsoft.Gen.ComplianceReports (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
145return string.Equals(generateFiles, bool.TrueString, StringComparison.OrdinalIgnoreCase);
Microsoft.Gen.ContextualOptions (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
145return string.Equals(generateFiles, bool.TrueString, StringComparison.OrdinalIgnoreCase);
Microsoft.Gen.Logging (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
145return string.Equals(generateFiles, bool.TrueString, StringComparison.OrdinalIgnoreCase);
Microsoft.Gen.MetadataExtractor (2)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
587if (!string.Equals(returnType.Name, returnType.ToString(), StringComparison.Ordinal))
src\Generators\Shared\GeneratorUtilities.cs (1)
145return string.Equals(generateFiles, bool.TrueString, StringComparison.OrdinalIgnoreCase);
Microsoft.Gen.Metrics (2)
Parser.cs (1)
587if (!string.Equals(returnType.Name, returnType.ToString(), StringComparison.Ordinal))
src\Generators\Shared\GeneratorUtilities.cs (1)
145return string.Equals(generateFiles, bool.TrueString, StringComparison.OrdinalIgnoreCase);
Microsoft.Gen.MetricsReports (2)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
587if (!string.Equals(returnType.Name, returnType.ToString(), StringComparison.Ordinal))
src\Generators\Shared\GeneratorUtilities.cs (1)
145return string.Equals(generateFiles, bool.TrueString, StringComparison.OrdinalIgnoreCase);
Microsoft.JSInterop (1)
Infrastructure\DotNetDispatcher.cs (1)
176if (string.Equals(DisposeDotNetObjectReferenceMethodName, methodIdentifier, StringComparison.Ordinal))
Microsoft.Maui (1)
Primitives\Font.cs (1)
90 return string.Equals(Family, other.Family, StringComparison.Ordinal)
Microsoft.Maui.Controls (5)
AnimatableKey.cs (1)
92 if (!string.Equals(Handle, other.Handle, StringComparison.Ordinal))
StyleSheets\Selector.cs (2)
201 string.Equals(styleable.NameAndBases[0], ElementName, StringComparison.OrdinalIgnoreCase); 215 if (string.Equals(styleable.NameAndBases[i], ElementName, StringComparison.OrdinalIgnoreCase))
StyleSheets\Style.cs (1)
73 if (string.Equals(decl.Value, "initial", StringComparison.OrdinalIgnoreCase))
VisualStateManager.cs (1)
420 if (string.Equals(state.Name, name, StringComparison.Ordinal))
Microsoft.Maui.Controls.Build.Tasks (2)
ModuleDefinitionExtensions.cs (2)
110 string.Equals(pd.Name, propertyName, caseSensitive ? StringComparison.InvariantCulture : StringComparison.InvariantCultureIgnoreCase) 242 string.Equals(fd.Name, fieldName, caseSensitive ? StringComparison.InvariantCulture : StringComparison.InvariantCultureIgnoreCase)
Microsoft.Maui.Controls.Maps (2)
Pin.cs (2)
172 return string.Equals(Label, other.Label, StringComparison.Ordinal) && 174 string.Equals(Address, other.Address, StringComparison.Ordinal);
Microsoft.Maui.Essentials (2)
Types\DeviceIdiom.shared.cs (1)
70 string.Equals(deviceIdiom, other, StringComparison.Ordinal);
Types\DevicePlatform.shared.cs (1)
93 string.Equals(devicePlatform, other, StringComparison.Ordinal);
Microsoft.Maui.Graphics (1)
Text\XmlAttributedTextWriter.cs (1)
86 if (!string.Equals(value, defaultValue, StringComparison.Ordinal))
Microsoft.ML.Core (1)
ComponentModel\ComponentCatalog.cs (1)
900return aliases.Any(a => string.Equals(name, a, StringComparison.OrdinalIgnoreCase));
Microsoft.ML.CpuMath.PerformanceTests (1)
PerformanceTests.cs (1)
57if (string.Equals(cpumathSeed, "random", StringComparison.OrdinalIgnoreCase))
Microsoft.ML.Data (9)
Commands\DataCommand.cs (4)
356string.Equals(ext, ".txt", StringComparison.OrdinalIgnoreCase) || 357string.Equals(ext, ".tlc", StringComparison.OrdinalIgnoreCase); 358var isBinary = string.Equals(ext, ".idv", StringComparison.OrdinalIgnoreCase); 359var isTranspose = string.Equals(ext, ".tdv", StringComparison.OrdinalIgnoreCase);
Commands\SaveDataCommand.cs (2)
65var isBinary = string.Equals(ext, ".idv", StringComparison.OrdinalIgnoreCase); 66var isTranspose = string.Equals(ext, ".tdv", StringComparison.OrdinalIgnoreCase);
EntryPoints\InputBuilder.cs (1)
96return aliases.Any(a => string.Equals(name, a, StringComparison.OrdinalIgnoreCase));
Transforms\ValueToKeyMappingTransformer.cs (2)
413bool isBinary = string.Equals(ext, ".idv", StringComparison.OrdinalIgnoreCase); 414bool isTranspose = string.Equals(ext, ".tdv", StringComparison.OrdinalIgnoreCase);
Microsoft.ML.Transforms (2)
Text\StopWordsRemovingTransformer.cs (2)
791bool isBinary = string.Equals(ext, ".idv", StringComparison.OrdinalIgnoreCase); 792bool isTranspose = string.Equals(ext, ".tdv", StringComparison.OrdinalIgnoreCase);
Microsoft.VisualBasic.Core (25)
Microsoft\VisualBasic\DateAndTime.vb (3)
83Return String.Equals(langName, "zh", StringComparison.OrdinalIgnoreCase) OrElse _ 84String.Equals(langName, "ko", StringComparison.OrdinalIgnoreCase) OrElse _ 85String.Equals(langName, "ja", StringComparison.OrdinalIgnoreCase)
Microsoft\VisualBasic\FileIO\FileSystem.vb (2)
1540Return String.Equals(IO.Path.GetPathRoot(Path1), IO.Path.GetPathRoot(Path2), StringComparison.OrdinalIgnoreCase) 1561Return String.Equals(Path, IO.Path.GetPathRoot(Path), StringComparison.OrdinalIgnoreCase)
Microsoft\VisualBasic\FileIO\TextFieldParser.vb (1)
1238If String.Equals(Token.Trim(), """", StringComparison.Ordinal) Then
Microsoft\VisualBasic\Interaction.vb (1)
516If String.Equals(Environment.MachineName, ServerName, StringComparison.OrdinalIgnoreCase) Then
Microsoft\VisualBasic\Strings.vb (18)
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 1674If Not System.String.Equals("$", nfi.CurrencySymbol, System.StringComparison.Ordinal) Then 1751If Not System.String.Equals("-", nfi.NegativeSign, System.StringComparison.Ordinal) Then
Microsoft.VisualStudio.LanguageServices (8)
DesignerAttribute\VisualStudioDesignerAttributeService.cs (1)
221if (string.Equals(currentStringValue, data.Category, StringComparison.OrdinalIgnoreCase))
Diagnostics\VisualStudioDiagnosticAnalyzerProvider.cs (1)
121return string.Equals(content_ContentTypeName, contentTypeName, StringComparison.InvariantCultureIgnoreCase);
DocumentationComments\VisualStudioDocumentationProvider.cs (1)
64string.Equals(_filePath, other._filePath, StringComparison.OrdinalIgnoreCase);
Library\ObjectBrowser\ObjectList.cs (3)
622if (string.Equals(matchName, name, StringComparison.Ordinal)) 630if (string.Equals(matchName, name, StringComparison.Ordinal)) 850if (string.Equals(data.bstrFile, metadataReference.FilePath, StringComparison.OrdinalIgnoreCase))
src\Compilers\Core\Portable\FileKey.cs (1)
64string.Equals(this.FullPath, other.FullPath, StringComparison.OrdinalIgnoreCase);
Venus\ContainedDocument.cs (1)
1080return string.Equals(razorTag, tag, StringComparison.OrdinalIgnoreCase) && (!checkAt || snapshot[start - 1] == RazorExplicit);
Microsoft.VisualStudio.LanguageServices.Implementation (2)
CodeModel\RootCodeModel.cs (1)
65if (document.FilePath != null && string.Equals(absoluteFilePath, document.FilePath, StringComparison.OrdinalIgnoreCase))
SolutionExplorer\DiagnosticItem\CpsDiagnosticItemSource.cs (1)
127return project.AnalyzerReferences.FirstOrDefault(r => string.Equals(r.FullPath, _analyzerFilePath, StringComparison.OrdinalIgnoreCase));
Microsoft.Web.Xdt.Extensions (2)
InsertOrAppendAttribute.cs (2)
94if (string.Equals(att.Name, AttributeName, StringComparison.OrdinalIgnoreCase)) 111if (string.Equals(att.Name, AttributeName, StringComparison.OrdinalIgnoreCase))
Mvc.Api.Analyzers.Test (1)
Infrastructure\MvcDiagnosticAnalyzerRunner.cs (1)
37if (!project.MetadataReferences.Any(c => string.Equals(Path.GetFileNameWithoutExtension(c.Display), Path.GetFileNameWithoutExtension(assembly), StringComparison.OrdinalIgnoreCase)))
NegotiateAuthSample (1)
Program.cs (1)
19if (string.Equals("HttpSys", webBuilder.GetSetting("server"), StringComparison.OrdinalIgnoreCase))
PresentationBuildTasks (495)
Microsoft\Build\Tasks\Windows\FileClassifier.cs (1)
329if (!string.Equals(localizableString, "false", StringComparison.OrdinalIgnoreCase))
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (3)
84if (!string.Equals(IncludePackageReferencesDuringMarkupCompilation, "false", StringComparison.OrdinalIgnoreCase)) 629if (root.ChildNodes[i] is XmlElement nodeGroup && string.Equals(nodeGroup.Name, groupName, StringComparison.OrdinalIgnoreCase)) 640if (nodeGroup.ChildNodes[j] is XmlElement nodeItem && string.Equals(nodeItem.Name, sItemName, StringComparison.OrdinalIgnoreCase))
Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (2)
1534if (string.Equals(localTypeXamlFile, xamlInputFullPath, StringComparison.OrdinalIgnoreCase)) 1711if (!string.Equals(strLocalizable, "false", StringComparison.OrdinalIgnoreCase))
MS\Internal\MarkupCompiler\MarkupCompiler.cs (4)
1353return IsLanguageCSharp || (CompilerInfo != null && string.Equals(CompilerInfo.GetLanguages()[0], JSCRIPT, StringComparison.OrdinalIgnoreCase)); 1360return CompilerInfo == null || !string.Equals(CompilerInfo.GetLanguages()[0], JSHARP, StringComparison.OrdinalIgnoreCase); 2098_isLangCSharp = string.Equals(language, CSHARP, StringComparison.OrdinalIgnoreCase); 2107_isLangVB = string.Equals(language, VB, StringComparison.OrdinalIgnoreCase);
MS\Internal\MarkupCompiler\ParserExtension.cs (1)
497_isInternalRoot = !string.Equals("public", xmlReader.Value.Trim(), StringComparison.OrdinalIgnoreCase);
MS\Internal\Tasks\CompilerWrapper.cs (1)
259if (string.Equals(asmReference.AssemblyName, assemblyName, StringComparison.OrdinalIgnoreCase))
MS\Internal\Tasks\IncrementalCompileAnalyzer.cs (2)
348IsSettingModified = !string.Equals(textSource, textTarget, StringComparison.OrdinalIgnoreCase); 424if (string.Equals(xamlfile.Path, CompilerLocalReference.LocalMarkupPages[j].FilePath, StringComparison.OrdinalIgnoreCase))
src\Microsoft.DotNet.Wpf\src\PresentationFramework\MS\Internal\Globalization\LocalizationComments.cs (1)
362if (string.Equals(enumName, _enumNames[i], StringComparison.Ordinal))
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\KnownTypes.cs (471)
2801if (string.Equals(fieldName, "Text", StringComparison.Ordinal)) 2805if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 2809if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 2813if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 2817if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 2821if (string.Equals(fieldName, "Storyboard", StringComparison.Ordinal)) 2825if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 2829if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 2833if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 2837if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 2841if (string.Equals(fieldName, "Background", StringComparison.Ordinal)) 2843if (string.Equals(fieldName, "BorderBrush", StringComparison.Ordinal)) 2845if (string.Equals(fieldName, "BorderThickness", StringComparison.Ordinal)) 2847if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 2851if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 2855if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 2859if (string.Equals(fieldName, "Command", StringComparison.Ordinal)) 2861if (string.Equals(fieldName, "CommandParameter", StringComparison.Ordinal)) 2863if (string.Equals(fieldName, "CommandTarget", StringComparison.Ordinal)) 2865if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 2867if (string.Equals(fieldName, "IsPressed", StringComparison.Ordinal)) 2871if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 2875if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 2879if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 2883if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 2887if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 2891if (string.Equals(fieldName, "MaxWidth", StringComparison.Ordinal)) 2893if (string.Equals(fieldName, "MinWidth", StringComparison.Ordinal)) 2895if (string.Equals(fieldName, "Width", StringComparison.Ordinal)) 2899if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 2903if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 2907if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 2909if (string.Equals(fieldName, "ContentTemplate", StringComparison.Ordinal)) 2911if (string.Equals(fieldName, "ContentTemplateSelector", StringComparison.Ordinal)) 2913if (string.Equals(fieldName, "HasContent", StringComparison.Ordinal)) 2917if (string.Equals(fieldName, "Focusable", StringComparison.Ordinal)) 2921if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 2923if (string.Equals(fieldName, "ContentSource", StringComparison.Ordinal)) 2925if (string.Equals(fieldName, "ContentTemplate", StringComparison.Ordinal)) 2927if (string.Equals(fieldName, "ContentTemplateSelector", StringComparison.Ordinal)) 2929if (string.Equals(fieldName, "RecognizesAccessKey", StringComparison.Ordinal)) 2933if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 2937if (string.Equals(fieldName, "Background", StringComparison.Ordinal)) 2939if (string.Equals(fieldName, "BorderBrush", StringComparison.Ordinal)) 2941if (string.Equals(fieldName, "BorderThickness", StringComparison.Ordinal)) 2943if (string.Equals(fieldName, "FontFamily", StringComparison.Ordinal)) 2945if (string.Equals(fieldName, "FontSize", StringComparison.Ordinal)) 2947if (string.Equals(fieldName, "FontStretch", StringComparison.Ordinal)) 2949if (string.Equals(fieldName, "FontStyle", StringComparison.Ordinal)) 2951if (string.Equals(fieldName, "FontWeight", StringComparison.Ordinal)) 2953if (string.Equals(fieldName, "Foreground", StringComparison.Ordinal)) 2955if (string.Equals(fieldName, "HorizontalContentAlignment", StringComparison.Ordinal)) 2957if (string.Equals(fieldName, "IsTabStop", StringComparison.Ordinal)) 2959if (string.Equals(fieldName, "Padding", StringComparison.Ordinal)) 2961if (string.Equals(fieldName, "TabIndex", StringComparison.Ordinal)) 2963if (string.Equals(fieldName, "Template", StringComparison.Ordinal)) 2965if (string.Equals(fieldName, "VerticalContentAlignment", StringComparison.Ordinal)) 2969if (string.Equals(fieldName, "VisualTree", StringComparison.Ordinal)) 2973if (string.Equals(fieldName, "VisualTree", StringComparison.Ordinal)) 2977if (string.Equals(fieldName, "Setters", StringComparison.Ordinal)) 2981if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 2985if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 2989if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 2991if (string.Equals(fieldName, "Dock", StringComparison.Ordinal)) 2993if (string.Equals(fieldName, "LastChildFill", StringComparison.Ordinal)) 2997if (string.Equals(fieldName, "Document", StringComparison.Ordinal)) 3001if (string.Equals(fieldName, "Document", StringComparison.Ordinal)) 3005if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3009if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3013if (string.Equals(fieldName, "Actions", StringComparison.Ordinal)) 3017if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3021if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 3025if (string.Equals(fieldName, "Pages", StringComparison.Ordinal)) 3029if (string.Equals(fieldName, "References", StringComparison.Ordinal)) 3033if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3037if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 3041if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 3045if (string.Equals(fieldName, "Document", StringComparison.Ordinal)) 3049if (string.Equals(fieldName, "Document", StringComparison.Ordinal)) 3053if (string.Equals(fieldName, "Document", StringComparison.Ordinal)) 3057if (string.Equals(fieldName, "Style", StringComparison.Ordinal)) 3061if (string.Equals(fieldName, "FlowDirection", StringComparison.Ordinal)) 3063if (string.Equals(fieldName, "Height", StringComparison.Ordinal)) 3065if (string.Equals(fieldName, "HorizontalAlignment", StringComparison.Ordinal)) 3067if (string.Equals(fieldName, "Margin", StringComparison.Ordinal)) 3069if (string.Equals(fieldName, "MaxHeight", StringComparison.Ordinal)) 3071if (string.Equals(fieldName, "MaxWidth", StringComparison.Ordinal)) 3073if (string.Equals(fieldName, "MinHeight", StringComparison.Ordinal)) 3075if (string.Equals(fieldName, "MinWidth", StringComparison.Ordinal)) 3077if (string.Equals(fieldName, "Name", StringComparison.Ordinal)) 3079if (string.Equals(fieldName, "Style", StringComparison.Ordinal)) 3081if (string.Equals(fieldName, "VerticalAlignment", StringComparison.Ordinal)) 3083if (string.Equals(fieldName, "Width", StringComparison.Ordinal)) 3087if (string.Equals(fieldName, "VisualTree", StringComparison.Ordinal)) 3091if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3095if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3099if (string.Equals(fieldName, "GradientStops", StringComparison.Ordinal)) 3103if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3105if (string.Equals(fieldName, "Column", StringComparison.Ordinal)) 3107if (string.Equals(fieldName, "ColumnSpan", StringComparison.Ordinal)) 3109if (string.Equals(fieldName, "Row", StringComparison.Ordinal)) 3111if (string.Equals(fieldName, "RowSpan", StringComparison.Ordinal)) 3115if (string.Equals(fieldName, "Columns", StringComparison.Ordinal)) 3119if (string.Equals(fieldName, "Header", StringComparison.Ordinal)) 3123if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3127if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3131if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3135if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3137if (string.Equals(fieldName, "HasHeader", StringComparison.Ordinal)) 3139if (string.Equals(fieldName, "Header", StringComparison.Ordinal)) 3141if (string.Equals(fieldName, "HeaderTemplate", StringComparison.Ordinal)) 3143if (string.Equals(fieldName, "HeaderTemplateSelector", StringComparison.Ordinal)) 3147if (string.Equals(fieldName, "HasHeader", StringComparison.Ordinal)) 3149if (string.Equals(fieldName, "Header", StringComparison.Ordinal)) 3151if (string.Equals(fieldName, "HeaderTemplate", StringComparison.Ordinal)) 3153if (string.Equals(fieldName, "HeaderTemplateSelector", StringComparison.Ordinal)) 3155if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3159if (string.Equals(fieldName, "VisualTree", StringComparison.Ordinal)) 3163if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 3165if (string.Equals(fieldName, "NavigateUri", StringComparison.Ordinal)) 3169if (string.Equals(fieldName, "Source", StringComparison.Ordinal)) 3171if (string.Equals(fieldName, "Stretch", StringComparison.Ordinal)) 3175if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3179if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 3183if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 3187if (string.Equals(fieldName, "NameValue", StringComparison.Ordinal)) 3191if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3195if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3199if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3203if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 3207if (string.Equals(fieldName, "ItemContainerStyle", StringComparison.Ordinal)) 3209if (string.Equals(fieldName, "ItemContainerStyleSelector", StringComparison.Ordinal)) 3211if (string.Equals(fieldName, "ItemTemplate", StringComparison.Ordinal)) 3213if (string.Equals(fieldName, "ItemTemplateSelector", StringComparison.Ordinal)) 3215if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3217if (string.Equals(fieldName, "ItemsPanel", StringComparison.Ordinal)) 3219if (string.Equals(fieldName, "ItemsSource", StringComparison.Ordinal)) 3223if (string.Equals(fieldName, "VisualTree", StringComparison.Ordinal)) 3227if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3231if (string.Equals(fieldName, "GradientStops", StringComparison.Ordinal)) 3235if (string.Equals(fieldName, "ListItems", StringComparison.Ordinal)) 3239if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3243if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3247if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 3251if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3255if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3259if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3263if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3267if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3271if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3275if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3279if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3283if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3287if (string.Equals(fieldName, "Bindings", StringComparison.Ordinal)) 3291if (string.Equals(fieldName, "Setters", StringComparison.Ordinal)) 3295if (string.Equals(fieldName, "Setters", StringComparison.Ordinal)) 3299if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3303if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3307if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 3311if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3315if (string.Equals(fieldName, "Background", StringComparison.Ordinal)) 3317if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3321if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 3325if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3329if (string.Equals(fieldName, "Data", StringComparison.Ordinal)) 3333if (string.Equals(fieldName, "Segments", StringComparison.Ordinal)) 3337if (string.Equals(fieldName, "Figures", StringComparison.Ordinal)) 3341if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3345if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3349if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 3351if (string.Equals(fieldName, "IsOpen", StringComparison.Ordinal)) 3353if (string.Equals(fieldName, "Placement", StringComparison.Ordinal)) 3355if (string.Equals(fieldName, "PopupAnimation", StringComparison.Ordinal)) 3359if (string.Equals(fieldName, "Bindings", StringComparison.Ordinal)) 3363if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3367if (string.Equals(fieldName, "GradientStops", StringComparison.Ordinal)) 3371if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3375if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3379if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3383if (string.Equals(fieldName, "Document", StringComparison.Ordinal)) 3385if (string.Equals(fieldName, "IsReadOnly", StringComparison.Ordinal)) 3389if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3393if (string.Equals(fieldName, "Height", StringComparison.Ordinal)) 3395if (string.Equals(fieldName, "MaxHeight", StringComparison.Ordinal)) 3397if (string.Equals(fieldName, "MinHeight", StringComparison.Ordinal)) 3401if (string.Equals(fieldName, "Text", StringComparison.Ordinal)) 3405if (string.Equals(fieldName, "CanContentScroll", StringComparison.Ordinal)) 3407if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3409if (string.Equals(fieldName, "HorizontalScrollBarVisibility", StringComparison.Ordinal)) 3411if (string.Equals(fieldName, "VerticalScrollBarVisibility", StringComparison.Ordinal)) 3415if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 3419if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3423if (string.Equals(fieldName, "Fill", StringComparison.Ordinal)) 3425if (string.Equals(fieldName, "Stroke", StringComparison.Ordinal)) 3427if (string.Equals(fieldName, "StrokeThickness", StringComparison.Ordinal)) 3431if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3435if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3439if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 3443if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3447if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3451if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3455if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3459if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3463if (string.Equals(fieldName, "Setters", StringComparison.Ordinal)) 3467if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3471if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3475if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3479if (string.Equals(fieldName, "RowGroups", StringComparison.Ordinal)) 3483if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 3487if (string.Equals(fieldName, "Cells", StringComparison.Ordinal)) 3491if (string.Equals(fieldName, "Rows", StringComparison.Ordinal)) 3495if (string.Equals(fieldName, "Background", StringComparison.Ordinal)) 3497if (string.Equals(fieldName, "FontFamily", StringComparison.Ordinal)) 3499if (string.Equals(fieldName, "FontSize", StringComparison.Ordinal)) 3501if (string.Equals(fieldName, "FontStretch", StringComparison.Ordinal)) 3503if (string.Equals(fieldName, "FontStyle", StringComparison.Ordinal)) 3505if (string.Equals(fieldName, "FontWeight", StringComparison.Ordinal)) 3507if (string.Equals(fieldName, "Foreground", StringComparison.Ordinal)) 3509if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 3511if (string.Equals(fieldName, "Text", StringComparison.Ordinal)) 3513if (string.Equals(fieldName, "TextDecorations", StringComparison.Ordinal)) 3515if (string.Equals(fieldName, "TextTrimming", StringComparison.Ordinal)) 3517if (string.Equals(fieldName, "TextWrapping", StringComparison.Ordinal)) 3521if (string.Equals(fieldName, "Text", StringComparison.Ordinal)) 3523if (string.Equals(fieldName, "IsReadOnly", StringComparison.Ordinal)) 3527if (string.Equals(fieldName, "Background", StringComparison.Ordinal)) 3529if (string.Equals(fieldName, "FontFamily", StringComparison.Ordinal)) 3531if (string.Equals(fieldName, "FontSize", StringComparison.Ordinal)) 3533if (string.Equals(fieldName, "FontStretch", StringComparison.Ordinal)) 3535if (string.Equals(fieldName, "FontStyle", StringComparison.Ordinal)) 3537if (string.Equals(fieldName, "FontWeight", StringComparison.Ordinal)) 3539if (string.Equals(fieldName, "Foreground", StringComparison.Ordinal)) 3543if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3547if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3551if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3555if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3559if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3563if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3567if (string.Equals(fieldName, "ToolBars", StringComparison.Ordinal)) 3571if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3575if (string.Equals(fieldName, "IsDirectionReversed", StringComparison.Ordinal)) 3577if (string.Equals(fieldName, "Maximum", StringComparison.Ordinal)) 3579if (string.Equals(fieldName, "Minimum", StringComparison.Ordinal)) 3581if (string.Equals(fieldName, "Orientation", StringComparison.Ordinal)) 3583if (string.Equals(fieldName, "Value", StringComparison.Ordinal)) 3585if (string.Equals(fieldName, "ViewportSize", StringComparison.Ordinal)) 3589if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3593if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3597if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3601if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3605if (string.Equals(fieldName, "Setters", StringComparison.Ordinal)) 3609if (string.Equals(fieldName, "ClipToBounds", StringComparison.Ordinal)) 3611if (string.Equals(fieldName, "Focusable", StringComparison.Ordinal)) 3613if (string.Equals(fieldName, "IsEnabled", StringComparison.Ordinal)) 3615if (string.Equals(fieldName, "RenderTransform", StringComparison.Ordinal)) 3617if (string.Equals(fieldName, "Visibility", StringComparison.Ordinal)) 3621if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 3625if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3629if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3633if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3637if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3641if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 3645if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3649if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3653if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3657if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3661if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3665if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3669if (string.Equals(fieldName, "XmlSerializer", StringComparison.Ordinal)) 3678return (string.Equals(propName, "Width", StringComparison.Ordinal) || 3679string.Equals(propName, "MinWidth", StringComparison.Ordinal) || 3680string.Equals(propName, "MaxWidth", StringComparison.Ordinal) || 3681string.Equals(propName, "Height", StringComparison.Ordinal) || 3682string.Equals(propName, "MinHeight", StringComparison.Ordinal) || 3683string.Equals(propName, "MaxHeight", StringComparison.Ordinal)); 3822if (string.Equals(propName, "MinWidth", StringComparison.Ordinal)) 3824else if (string.Equals(propName, "MaxWidth", StringComparison.Ordinal)) 3828if (string.Equals(propName, "MinHeight", StringComparison.Ordinal)) 3830else if (string.Equals(propName, "MaxHeight", StringComparison.Ordinal)) 3844else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 3854else if (string.Equals(propName, "Left", StringComparison.Ordinal)) 3856else if (string.Equals(propName, "Top", StringComparison.Ordinal)) 3858else if (string.Equals(propName, "Right", StringComparison.Ordinal)) 3860else if (string.Equals(propName, "Bottom", StringComparison.Ordinal)) 3866else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3872else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3878else if (string.Equals(propName, "Top", StringComparison.Ordinal)) 3880else if (string.Equals(propName, "Left", StringComparison.Ordinal)) 3882else if (string.Equals(propName, "DialogResult", StringComparison.Ordinal)) 3884else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3890else if (string.Equals(propName, "Top", StringComparison.Ordinal)) 3892else if (string.Equals(propName, "Left", StringComparison.Ordinal)) 3894else if (string.Equals(propName, "DialogResult", StringComparison.Ordinal)) 3896else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3900if (string.Equals(propName, "Culture", StringComparison.Ordinal)) 3906else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3912else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3918else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3924else if (string.Equals(propName, "HorizontalOffset", StringComparison.Ordinal)) 3926else if (string.Equals(propName, "VerticalOffset", StringComparison.Ordinal)) 3928else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3934else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3940else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3946else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3952else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3958else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3964else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3966else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 3984else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3990else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3996else if (string.Equals(propName, "IsChecked", StringComparison.Ordinal)) 3998else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4004else if (string.Equals(propName, "IsChecked", StringComparison.Ordinal)) 4006else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4012else if (string.Equals(propName, "IsSynchronizedWithCurrentItem", StringComparison.Ordinal)) 4014else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4020else if (string.Equals(propName, "MaxDropDownHeight", StringComparison.Ordinal)) 4022else if (string.Equals(propName, "IsSynchronizedWithCurrentItem", StringComparison.Ordinal)) 4024else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4030else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4036else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4044if (string.Equals(propName, "HorizontalOffset", StringComparison.Ordinal)) 4046else if (string.Equals(propName, "VerticalOffset", StringComparison.Ordinal)) 4056else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4062else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4068else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4074else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4080else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4088if (string.Equals(propName, "Width", StringComparison.Ordinal)) 4094else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4112else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4118else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4124else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4130else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4140else if (string.Equals(propName, "Top", StringComparison.Ordinal)) 4142else if (string.Equals(propName, "Bottom", StringComparison.Ordinal)) 4144else if (string.Equals(propName, "Left", StringComparison.Ordinal)) 4146else if (string.Equals(propName, "Right", StringComparison.Ordinal)) 4154if (string.Equals(propName, "Culture", StringComparison.Ordinal)) 4164else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4170else if (string.Equals(propName, "IsSynchronizedWithCurrentItem", StringComparison.Ordinal)) 4172else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4178else if (string.Equals(propName, "IsSynchronizedWithCurrentItem", StringComparison.Ordinal)) 4180else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4186else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4196else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4202else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4208else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4222else if (string.Equals(propName, "HorizontalOffset", StringComparison.Ordinal)) 4224else if (string.Equals(propName, "VerticalOffset", StringComparison.Ordinal)) 4230else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4236else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4242else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4248else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4258else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4264else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4274else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4304else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4310else if (string.Equals(propName, "IsChecked", StringComparison.Ordinal)) 4312else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4318else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4324else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4330else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4336else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4342else if (string.Equals(propName, "IsSynchronizedWithCurrentItem", StringComparison.Ordinal)) 4344else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4350else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4356else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4358else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4364else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4370else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4380else if (string.Equals(propName, "HorizontalOffset", StringComparison.Ordinal)) 4382else if (string.Equals(propName, "VerticalOffset", StringComparison.Ordinal)) 4384else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4388if (string.Equals(propName, "HorizontalOffset", StringComparison.Ordinal)) 4390else if (string.Equals(propName, "VerticalOffset", StringComparison.Ordinal)) 4396else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4402else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4408else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4430else if (string.Equals(propName, "ItemWidth", StringComparison.Ordinal)) 4432else if (string.Equals(propName, "ItemHeight", StringComparison.Ordinal)) 4436if (string.Equals(propName, "ConverterCulture", StringComparison.Ordinal)) 4440if (string.Equals(propName, "Culture", StringComparison.Ordinal)) 4444if (string.Equals(propName, "Culture", StringComparison.Ordinal)) 4448if (string.Equals(propName, "Culture", StringComparison.Ordinal)) 4452if (string.Equals(propName, "ConverterCulture", StringComparison.Ordinal)) 4464if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4468if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4472if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4474else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4478if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4480else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4484if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4486else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4490if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4494if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4502if (string.Equals(propName, "HorizontalOffset", StringComparison.Ordinal)) 4504else if (string.Equals(propName, "VerticalOffset", StringComparison.Ordinal)) 4506else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4508else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4514else if (string.Equals(propName, "Left", StringComparison.Ordinal)) 4516else if (string.Equals(propName, "Top", StringComparison.Ordinal)) 4518else if (string.Equals(propName, "Right", StringComparison.Ordinal)) 4520else if (string.Equals(propName, "Bottom", StringComparison.Ordinal)) 4524if (string.Equals(propName, "Width", StringComparison.Ordinal)) 4526else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4528else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4532if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4534else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4536else if (string.Equals(propName, "ColumnWidth", StringComparison.Ordinal)) 4538else if (string.Equals(propName, "ColumnGap", StringComparison.Ordinal)) 4540else if (string.Equals(propName, "ColumnRuleWidth", StringComparison.Ordinal)) 4542else if (string.Equals(propName, "PageWidth", StringComparison.Ordinal)) 4544else if (string.Equals(propName, "MinPageWidth", StringComparison.Ordinal)) 4546else if (string.Equals(propName, "MaxPageWidth", StringComparison.Ordinal)) 4548else if (string.Equals(propName, "PageHeight", StringComparison.Ordinal)) 4550else if (string.Equals(propName, "MinPageHeight", StringComparison.Ordinal)) 4552else if (string.Equals(propName, "MaxPageHeight", StringComparison.Ordinal)) 4558else if (string.Equals(propName, "FontRenderingEmSize", StringComparison.Ordinal)) 4560else if (string.Equals(propName, "OriginX", StringComparison.Ordinal)) 4562else if (string.Equals(propName, "OriginY", StringComparison.Ordinal)) 4566if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4570if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4574if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4578if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4582if (string.Equals(propName, "MarkerOffset", StringComparison.Ordinal)) 4584else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4586else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4590if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4592else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4600if (string.Equals(propName, "TextIndent", StringComparison.Ordinal)) 4602else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4604else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4608if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4612if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4614else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4618if (string.Equals(propName, "CellSpacing", StringComparison.Ordinal)) 4620else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4622else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4626if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4628else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4632if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4636if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4640if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4646else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4652else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 4658else if (string.Equals(propName, "X1", StringComparison.Ordinal)) 4660else if (string.Equals(propName, "Y1", StringComparison.Ordinal)) 4662else if (string.Equals(propName, "X2", StringComparison.Ordinal)) 4664else if (string.Equals(propName, "Y2", StringComparison.Ordinal)) 4666else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 4672else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 4678else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 4684else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 4690else if (string.Equals(propName, "RadiusX", StringComparison.Ordinal)) 4692else if (string.Equals(propName, "RadiusY", StringComparison.Ordinal)) 4694else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 4698if (string.Equals(propName, "Command", StringComparison.Ordinal)) 4702if (string.Equals(propName, "Gesture", StringComparison.Ordinal)) 4704else if (string.Equals(propName, "Command", StringComparison.Ordinal)) 4708if (string.Equals(propName, "Gesture", StringComparison.Ordinal)) 4710else if (string.Equals(propName, "Command", StringComparison.Ordinal)) 4714if (string.Equals(propName, "CurrentInputLanguage", StringComparison.Ordinal)) 4716else if (string.Equals(propName, "InputLanguage", StringComparison.Ordinal)) 4720if (string.Equals(propName, "CaretStops", StringComparison.Ordinal)) 4722else if (string.Equals(propName, "ClusterMap", StringComparison.Ordinal)) 4724else if (string.Equals(propName, "Characters", StringComparison.Ordinal)) 4726else if (string.Equals(propName, "GlyphIndices", StringComparison.Ordinal)) 4728else if (string.Equals(propName, "AdvanceWidths", StringComparison.Ordinal)) 4730else if (string.Equals(propName, "GlyphOffsets", StringComparison.Ordinal)) 4734if (string.Equals(propName, "CultureOverride", StringComparison.Ordinal))
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (1)
6864return (_ownerType == other.OwnerType && (string.Equals(_name, other.Name, StringComparison.Ordinal)));
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))
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsCache.cs (1)
221if(string.Equals(cinfo.ReflectedType.FullName, fullClrName, StringComparison.Ordinal))
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (2)
649if (string.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 655else if (string.Equals(XmlnsDeclaration, Reader.Prefix, StringComparison.Ordinal))
PresentationCore (35)
MS\Internal\AppModel\CookieHandler.cs (1)
78if (string.Equals(headers.Keys[i], "Set-Cookie", StringComparison.OrdinalIgnoreCase))
MS\Internal\AppModel\SiteOfOriginPart.cs (1)
141if (string.Equals(_absoluteLocation.Scheme, Uri.UriSchemeFile, StringComparison.OrdinalIgnoreCase))
MS\Internal\FontCache\DWriteFactory.cs (1)
71if (string.Equals((localPath.Length > 0 && localPath[localPath.Length - 1] != Path.DirectorySeparatorChar) ? localPath + Path.DirectorySeparatorChar : localPath, Util.WindowsFontsUriObject.LocalPath, StringComparison.OrdinalIgnoreCase))
MS\Internal\FontCache\FamilyCollection.cs (3)
128if (string.Equals(familyName, _legacyArabicFonts[i], StringComparison.OrdinalIgnoreCase)) 257if (string.Equals(_systemCompositeFontsNames[i], familyName, StringComparison.OrdinalIgnoreCase)) 435if (string.Equals(localizedFamilyName.Value, familyName, StringComparison.OrdinalIgnoreCase))
MS\Internal\FontCache\FontCacheUtil.cs (2)
526if (string.Equals(extension, supportedExtension, StringComparison.OrdinalIgnoreCase)) 538return (string.Equals(extension, CompositeFontExtension, StringComparison.OrdinalIgnoreCase));
MS\Internal\FontCache\FontSource.cs (2)
186if (string.Equals(response.ContentType, ObfuscatedContentType, StringComparison.Ordinal)) 262if (String.Equals(response.ContentType, ObfuscatedContentType, StringComparison.Ordinal))
MS\Internal\FontFace\CompositeFontParser.cs (1)
192catch (Exception x) when(string.Equals(x.GetType().FullName, "System.Security.XmlSyntaxException", StringComparison.OrdinalIgnoreCase))
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (2)
402if (!string.Equals(requestedUri.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal) && !string.Equals(requestedUri.Scheme, Uri.UriSchemeHttps, StringComparison.Ordinal))
MS\Internal\IO\Packaging\NetStream.cs (2)
92if (fullStreamLength > 0 && ((string.Equals(uri.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal)) || 93(string.Equals(uri.Scheme, Uri.UriSchemeHttps, StringComparison.Ordinal))))
MS\Internal\IO\Packaging\PseudoWebRequest.cs (1)
326return (string.Equals(_innerUri.Scheme, schemeName, StringComparison.Ordinal));
MS\Internal\WpfWebRequestHelper.cs (3)
50if (string.Equals(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.Ordinal)) 258if (string.Equals(extension, MimeTypeMapper.XamlExtension, StringComparison.OrdinalIgnoreCase) || 259string.Equals(extension, MimeTypeMapper.XbapExtension, StringComparison.OrdinalIgnoreCase))
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
115if (string.Equals(curAsmName.Name, assemblyName.Name, StringComparison.InvariantCultureIgnoreCase) &&
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\BindUriHelper.cs (1)
81return string.Equals(first.Scheme, second.Scheme, StringComparison.OrdinalIgnoreCase) && string.Equals(first.Host, second.Host);
System\IO\Packaging\PackWebRequestFactory.cs (2)
59if (!string.Equals(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.Ordinal)) 137if (string.Equals(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.Ordinal))
System\Windows\Input\Command\MouseBinding.cs (1)
220if (string.Equals(e.PropertyName, "MouseAction", StringComparison.Ordinal))
System\Windows\Markup\XmlLanguage.cs (2)
186if(string.Equals(lowerCaseTag, "und", StringComparison.Ordinal)) 226if (_lowerCaseTag.Length == 0 || string.Equals(_lowerCaseTag, "und", StringComparison.Ordinal))
System\Windows\Media\FontEmbeddingManager.cs (1)
102return String.Equals(x.ToString(), y.ToString(), StringComparison.OrdinalIgnoreCase);
System\Windows\Media\Imaging\BitmapDecoder.cs (1)
1019if (string.Equals(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase))
System\Windows\Navigation\BaseUriHelper.cs (7)
140string.Equals(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase) && 143string.Equals(PackUriHelper.GetPackageUri(uri).GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped), 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)); 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) &&
PresentationFramework (569)
Microsoft\Win32\FileDialog.cs (1)
310if (!string.Equals(value, _filter, StringComparison.Ordinal)) // different filter than what we have stored already
MS\Internal\AppModel\AppModelKnownContentFactory.cs (2)
78if (string.Equals(baseUri.Scheme, BaseUriHelper.PackAppBaseUri.Scheme, StringComparison.OrdinalIgnoreCase)) 146if (string.Equals(baseUri.Scheme, BaseUriHelper.PackAppBaseUri.Scheme, StringComparison.OrdinalIgnoreCase))
MS\Internal\AppModel\AppSecurityManager.cs (1)
76bool fIsMailTo = string.Equals(destinationUri.Scheme, Uri.UriSchemeMailto, StringComparison.OrdinalIgnoreCase);
MS\Internal\AppModel\ResourcePart.cs (2)
116if (string.Equals(Path.GetExtension(_name), ResourceContainer.BamlExt, StringComparison.OrdinalIgnoreCase)) 121if (string.Equals(Path.GetExtension(_name), ResourceContainer.XamlExt, StringComparison.OrdinalIgnoreCase))
MS\Internal\AppModel\ReturnEventSaver.cs (1)
116if (!string.Equals(_returnList[i]._targetTypeName, caller.GetType().AssemblyQualifiedName, StringComparison.Ordinal))
MS\Internal\Controls\CustomCategoryAttribute.cs (2)
25if (string.Equals(value, "Content", StringComparison.Ordinal)) 27else if (string.Equals(value, "Accessibility", StringComparison.Ordinal))
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);
MS\Internal\Data\PropertyPathWorker.cs (1)
442String.Equals(SVI[k].propertyName, propertyName, StringComparison.OrdinalIgnoreCase)))
MS\Internal\Globalization\LocalizationComments.cs (1)
362if (string.Equals(enumName, _enumNames[i], StringComparison.Ordinal))
MS\Internal\IO\Packaging\ContentDescriptor.cs (2)
43return ( string.Equals(BaseName, otherElement.BaseName, StringComparison.Ordinal) 44&& string.Equals(XmlNamespace, otherElement.XmlNamespace, StringComparison.Ordinal) );
MS\Internal\IO\Packaging\XamlFilter.cs (4)
690if (string.Equals(elementFullName.BaseName, _glyphRunName, StringComparison.Ordinal)) 704if (string.Equals(elementFullName.BaseName, _fixedPageName, StringComparison.Ordinal)) 719if (string.Equals(elementFullName.BaseName, _pageContentName, StringComparison.Ordinal)) 773Debug.Assert(string.Equals(_xamlReader.LocalName, _fixedPageName, StringComparison.Ordinal));
MS\Internal\IO\Packaging\XmlGlyphRunInfo.cs (3)
39&& string.Equals(_glyphsNode.LocalName, _glyphRunName, StringComparison.Ordinal) 40&& string.Equals(_glyphsNode.NamespaceURI, ElementTableKey.FixedMarkupNamespace, StringComparison.Ordinal)); 176if (string.Equals(languageString.ToUpperInvariant(), _undeterminedLanguageStringUpper, StringComparison.Ordinal))
MS\Internal\Printing\Win32PrintDialog.cs (1)
105if (String.Equals(e.GetType().FullName, "System.Printing.PrintingNotSupportedException", StringComparison.Ordinal))
MS\Win32\UxThemeWrapper.cs (1)
265if(string.Equals(themeName, "aero", StringComparison.OrdinalIgnoreCase) && Utilities.IsOSWindows8OrNewer)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\BindUriHelper.cs (1)
81return string.Equals(first.Scheme, second.Scheme, StringComparison.OrdinalIgnoreCase) && string.Equals(first.Host, second.Host);
System\Windows\Application.cs (2)
2351if (string.Equals(fileInBamlConvert, fileCurrent, StringComparison.OrdinalIgnoreCase)) 2378if (string.Equals(bamlConvertUriSegments[l - 1], curUriSegments[m - 1], StringComparison.OrdinalIgnoreCase))
System\Windows\Controls\ComboBox.cs (1)
737if (!String.Equals(newText, matchedText, StringComparison.CurrentCulture))
System\Windows\Controls\DataGrid.cs (1)
7173if (string.Equals(Items.SortDescriptions[i].PropertyName, sortPropertyName, StringComparison.Ordinal) &&
System\Windows\Controls\DataGridBoundColumn.cs (3)
210if ((string.Equals(propertyName, "Binding", StringComparison.Ordinal)) || 211(string.Equals(propertyName, "ElementStyle", StringComparison.Ordinal) && !isCellEditing) || 212(string.Equals(propertyName, "EditingElementStyle", StringComparison.Ordinal) && isCellEditing))
System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
121if (element is DataGridCell cell && string.Equals(propertyName, "IsThreeState", StringComparison.Ordinal))
System\Windows\Controls\DataGridClipboardHelper.cs (4)
16bool csv = string.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase); 17if (csv || string.Equals(format, DataFormats.Text, StringComparison.OrdinalIgnoreCase) 18|| string.Equals(format, DataFormats.UnicodeText, StringComparison.OrdinalIgnoreCase)) 42else if (string.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase))
System\Windows\Controls\DataGridColumnCollection.cs (1)
199else if (e.Property == DataGrid.HorizontalScrollOffsetProperty || string.Equals(propertyName, "ViewportWidth", StringComparison.Ordinal))
System\Windows\Controls\DataGridComboBoxColumn.cs (2)
411if ((string.Equals(propertyName, "ElementStyle", StringComparison.Ordinal) && !isCellEditing) || 412(string.Equals(propertyName, "EditingElementStyle", StringComparison.Ordinal) && isCellEditing))
System\Windows\Controls\DataGridHyperlinkColumn.cs (2)
110if (string.Equals(propertyName, "ContentBinding", StringComparison.Ordinal)) 114else if (string.Equals(propertyName, "TargetName", StringComparison.Ordinal))
System\Windows\Controls\DataGridTemplateColumn.cs (4)
209(string.Equals(propertyName, "CellTemplate", StringComparison.Ordinal) || 210string.Equals(propertyName, "CellTemplateSelector", StringComparison.Ordinal))) || 212(string.Equals(propertyName, "CellEditingTemplate", StringComparison.Ordinal) || 213string.Equals(propertyName, "CellEditingTemplateSelector", StringComparison.Ordinal))))
System\Windows\Controls\DatePicker.cs (2)
1198if (string.Equals(selectedDate, s, StringComparison.Ordinal)) 1234if (!string.Equals(Text, s, StringComparison.Ordinal))
System\Windows\Controls\Image.cs (2)
490return string.Equals(property, "Source", StringComparison.Ordinal); 498if (string.Equals(property, "Source", StringComparison.Ordinal))
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (4)
389string.Equals(propertyName, "ViewportWidth", StringComparison.Ordinal) || 390string.Equals(propertyName, "DelayedColumnWidthComputation", StringComparison.Ordinal)) 394else if (string.Equals(propertyName, "RealizedColumnsBlockListForNonVirtualizedRows", StringComparison.Ordinal)) 398else if (string.Equals(propertyName, "RealizedColumnsBlockListForVirtualizedRows", StringComparison.Ordinal))
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (4)
299string.Equals(propertyName, "ViewportWidth", StringComparison.Ordinal) || 300string.Equals(propertyName, "DelayedColumnWidthComputation", StringComparison.Ordinal)) 309else if (string.Equals(propertyName, "RealizedColumnsBlockListForNonVirtualizedRows", StringComparison.Ordinal)) 313else if (string.Equals(propertyName, "RealizedColumnsBlockListForVirtualizedRows", StringComparison.Ordinal))
System\Windows\Controls\Primitives\Popup.cs (1)
3209if (string.Equals(sb.ToString(), WebOCWindowClassName, StringComparison.OrdinalIgnoreCase))
System\Windows\Data\PropertyGroupDescription.cs (1)
232return String.Equals(s1, s2, StringComparison);
System\Windows\Documents\FixedFindEngine.cs (1)
396bool isSideways = string.Equals(sidewaysString, "True", StringComparison.OrdinalIgnoreCase);
System\Windows\Documents\RtfToXamlReader.cs (1)
3742if (string.Equals(lhs_tag, rhs_tag, StringComparison.OrdinalIgnoreCase))
System\windows\Documents\TextEditor.cs (1)
467if (!String.Equals(inputCultureInfo.IetfLanguageTag, language.IetfLanguageTag, StringComparison.OrdinalIgnoreCase))
System\Windows\Documents\TextRangeSerialization.cs (1)
1936if (propertyType == typeof(double) && string.Equals(stringValue, "NaN", StringComparison.OrdinalIgnoreCase))
System\Windows\Documents\TextStore.cs (1)
1363!string.Equals(compositionText, _lastCompositionText, StringComparison.Ordinal))
System\Windows\Documents\XamlToRtfWriter.cs (21)
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, "&gt;", StringComparison.OrdinalIgnoreCase)) 2725else if (string.Equals(name, "&lt;", StringComparison.OrdinalIgnoreCase)) 2729else if (string.Equals(name, "&amp;", 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)) 3690if (string.Equals("RightToLeft", dirName, StringComparison.OrdinalIgnoreCase)) 3695else if (string.Equals("LeftToRight", dirName, StringComparison.OrdinalIgnoreCase))
System\Windows\Markup\BamlMapTable.cs (3)
687return (ownerTypeId == -(short)knownElement && (string.Equals(propertyName, name, StringComparison.Ordinal))); 692return (record.OwnerTypeId == ownerTypeId) && (string.Equals(record.Name, name, StringComparison.Ordinal)); 701return (string.Equals(propertyName, name, StringComparison.Ordinal));
System\Windows\Markup\KnownTypes.cs (471)
2801if (string.Equals(fieldName, "Text", StringComparison.Ordinal)) 2805if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 2809if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 2813if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 2817if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 2821if (string.Equals(fieldName, "Storyboard", StringComparison.Ordinal)) 2825if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 2829if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 2833if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 2837if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 2841if (string.Equals(fieldName, "Background", StringComparison.Ordinal)) 2843if (string.Equals(fieldName, "BorderBrush", StringComparison.Ordinal)) 2845if (string.Equals(fieldName, "BorderThickness", StringComparison.Ordinal)) 2847if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 2851if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 2855if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 2859if (string.Equals(fieldName, "Command", StringComparison.Ordinal)) 2861if (string.Equals(fieldName, "CommandParameter", StringComparison.Ordinal)) 2863if (string.Equals(fieldName, "CommandTarget", StringComparison.Ordinal)) 2865if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 2867if (string.Equals(fieldName, "IsPressed", StringComparison.Ordinal)) 2871if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 2875if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 2879if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 2883if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 2887if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 2891if (string.Equals(fieldName, "MaxWidth", StringComparison.Ordinal)) 2893if (string.Equals(fieldName, "MinWidth", StringComparison.Ordinal)) 2895if (string.Equals(fieldName, "Width", StringComparison.Ordinal)) 2899if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 2903if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 2907if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 2909if (string.Equals(fieldName, "ContentTemplate", StringComparison.Ordinal)) 2911if (string.Equals(fieldName, "ContentTemplateSelector", StringComparison.Ordinal)) 2913if (string.Equals(fieldName, "HasContent", StringComparison.Ordinal)) 2917if (string.Equals(fieldName, "Focusable", StringComparison.Ordinal)) 2921if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 2923if (string.Equals(fieldName, "ContentSource", StringComparison.Ordinal)) 2925if (string.Equals(fieldName, "ContentTemplate", StringComparison.Ordinal)) 2927if (string.Equals(fieldName, "ContentTemplateSelector", StringComparison.Ordinal)) 2929if (string.Equals(fieldName, "RecognizesAccessKey", StringComparison.Ordinal)) 2933if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 2937if (string.Equals(fieldName, "Background", StringComparison.Ordinal)) 2939if (string.Equals(fieldName, "BorderBrush", StringComparison.Ordinal)) 2941if (string.Equals(fieldName, "BorderThickness", StringComparison.Ordinal)) 2943if (string.Equals(fieldName, "FontFamily", StringComparison.Ordinal)) 2945if (string.Equals(fieldName, "FontSize", StringComparison.Ordinal)) 2947if (string.Equals(fieldName, "FontStretch", StringComparison.Ordinal)) 2949if (string.Equals(fieldName, "FontStyle", StringComparison.Ordinal)) 2951if (string.Equals(fieldName, "FontWeight", StringComparison.Ordinal)) 2953if (string.Equals(fieldName, "Foreground", StringComparison.Ordinal)) 2955if (string.Equals(fieldName, "HorizontalContentAlignment", StringComparison.Ordinal)) 2957if (string.Equals(fieldName, "IsTabStop", StringComparison.Ordinal)) 2959if (string.Equals(fieldName, "Padding", StringComparison.Ordinal)) 2961if (string.Equals(fieldName, "TabIndex", StringComparison.Ordinal)) 2963if (string.Equals(fieldName, "Template", StringComparison.Ordinal)) 2965if (string.Equals(fieldName, "VerticalContentAlignment", StringComparison.Ordinal)) 2969if (string.Equals(fieldName, "VisualTree", StringComparison.Ordinal)) 2973if (string.Equals(fieldName, "VisualTree", StringComparison.Ordinal)) 2977if (string.Equals(fieldName, "Setters", StringComparison.Ordinal)) 2981if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 2985if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 2989if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 2991if (string.Equals(fieldName, "Dock", StringComparison.Ordinal)) 2993if (string.Equals(fieldName, "LastChildFill", StringComparison.Ordinal)) 2997if (string.Equals(fieldName, "Document", StringComparison.Ordinal)) 3001if (string.Equals(fieldName, "Document", StringComparison.Ordinal)) 3005if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3009if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3013if (string.Equals(fieldName, "Actions", StringComparison.Ordinal)) 3017if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3021if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 3025if (string.Equals(fieldName, "Pages", StringComparison.Ordinal)) 3029if (string.Equals(fieldName, "References", StringComparison.Ordinal)) 3033if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3037if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 3041if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 3045if (string.Equals(fieldName, "Document", StringComparison.Ordinal)) 3049if (string.Equals(fieldName, "Document", StringComparison.Ordinal)) 3053if (string.Equals(fieldName, "Document", StringComparison.Ordinal)) 3057if (string.Equals(fieldName, "Style", StringComparison.Ordinal)) 3061if (string.Equals(fieldName, "FlowDirection", StringComparison.Ordinal)) 3063if (string.Equals(fieldName, "Height", StringComparison.Ordinal)) 3065if (string.Equals(fieldName, "HorizontalAlignment", StringComparison.Ordinal)) 3067if (string.Equals(fieldName, "Margin", StringComparison.Ordinal)) 3069if (string.Equals(fieldName, "MaxHeight", StringComparison.Ordinal)) 3071if (string.Equals(fieldName, "MaxWidth", StringComparison.Ordinal)) 3073if (string.Equals(fieldName, "MinHeight", StringComparison.Ordinal)) 3075if (string.Equals(fieldName, "MinWidth", StringComparison.Ordinal)) 3077if (string.Equals(fieldName, "Name", StringComparison.Ordinal)) 3079if (string.Equals(fieldName, "Style", StringComparison.Ordinal)) 3081if (string.Equals(fieldName, "VerticalAlignment", StringComparison.Ordinal)) 3083if (string.Equals(fieldName, "Width", StringComparison.Ordinal)) 3087if (string.Equals(fieldName, "VisualTree", StringComparison.Ordinal)) 3091if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3095if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3099if (string.Equals(fieldName, "GradientStops", StringComparison.Ordinal)) 3103if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3105if (string.Equals(fieldName, "Column", StringComparison.Ordinal)) 3107if (string.Equals(fieldName, "ColumnSpan", StringComparison.Ordinal)) 3109if (string.Equals(fieldName, "Row", StringComparison.Ordinal)) 3111if (string.Equals(fieldName, "RowSpan", StringComparison.Ordinal)) 3115if (string.Equals(fieldName, "Columns", StringComparison.Ordinal)) 3119if (string.Equals(fieldName, "Header", StringComparison.Ordinal)) 3123if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3127if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3131if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3135if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3137if (string.Equals(fieldName, "HasHeader", StringComparison.Ordinal)) 3139if (string.Equals(fieldName, "Header", StringComparison.Ordinal)) 3141if (string.Equals(fieldName, "HeaderTemplate", StringComparison.Ordinal)) 3143if (string.Equals(fieldName, "HeaderTemplateSelector", StringComparison.Ordinal)) 3147if (string.Equals(fieldName, "HasHeader", StringComparison.Ordinal)) 3149if (string.Equals(fieldName, "Header", StringComparison.Ordinal)) 3151if (string.Equals(fieldName, "HeaderTemplate", StringComparison.Ordinal)) 3153if (string.Equals(fieldName, "HeaderTemplateSelector", StringComparison.Ordinal)) 3155if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3159if (string.Equals(fieldName, "VisualTree", StringComparison.Ordinal)) 3163if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 3165if (string.Equals(fieldName, "NavigateUri", StringComparison.Ordinal)) 3169if (string.Equals(fieldName, "Source", StringComparison.Ordinal)) 3171if (string.Equals(fieldName, "Stretch", StringComparison.Ordinal)) 3175if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3179if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 3183if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 3187if (string.Equals(fieldName, "NameValue", StringComparison.Ordinal)) 3191if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3195if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3199if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3203if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 3207if (string.Equals(fieldName, "ItemContainerStyle", StringComparison.Ordinal)) 3209if (string.Equals(fieldName, "ItemContainerStyleSelector", StringComparison.Ordinal)) 3211if (string.Equals(fieldName, "ItemTemplate", StringComparison.Ordinal)) 3213if (string.Equals(fieldName, "ItemTemplateSelector", StringComparison.Ordinal)) 3215if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3217if (string.Equals(fieldName, "ItemsPanel", StringComparison.Ordinal)) 3219if (string.Equals(fieldName, "ItemsSource", StringComparison.Ordinal)) 3223if (string.Equals(fieldName, "VisualTree", StringComparison.Ordinal)) 3227if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3231if (string.Equals(fieldName, "GradientStops", StringComparison.Ordinal)) 3235if (string.Equals(fieldName, "ListItems", StringComparison.Ordinal)) 3239if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3243if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3247if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 3251if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3255if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3259if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3263if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3267if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3271if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3275if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3279if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3283if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3287if (string.Equals(fieldName, "Bindings", StringComparison.Ordinal)) 3291if (string.Equals(fieldName, "Setters", StringComparison.Ordinal)) 3295if (string.Equals(fieldName, "Setters", StringComparison.Ordinal)) 3299if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3303if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3307if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 3311if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3315if (string.Equals(fieldName, "Background", StringComparison.Ordinal)) 3317if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3321if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 3325if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3329if (string.Equals(fieldName, "Data", StringComparison.Ordinal)) 3333if (string.Equals(fieldName, "Segments", StringComparison.Ordinal)) 3337if (string.Equals(fieldName, "Figures", StringComparison.Ordinal)) 3341if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3345if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3349if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 3351if (string.Equals(fieldName, "IsOpen", StringComparison.Ordinal)) 3353if (string.Equals(fieldName, "Placement", StringComparison.Ordinal)) 3355if (string.Equals(fieldName, "PopupAnimation", StringComparison.Ordinal)) 3359if (string.Equals(fieldName, "Bindings", StringComparison.Ordinal)) 3363if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3367if (string.Equals(fieldName, "GradientStops", StringComparison.Ordinal)) 3371if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3375if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3379if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3383if (string.Equals(fieldName, "Document", StringComparison.Ordinal)) 3385if (string.Equals(fieldName, "IsReadOnly", StringComparison.Ordinal)) 3389if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3393if (string.Equals(fieldName, "Height", StringComparison.Ordinal)) 3395if (string.Equals(fieldName, "MaxHeight", StringComparison.Ordinal)) 3397if (string.Equals(fieldName, "MinHeight", StringComparison.Ordinal)) 3401if (string.Equals(fieldName, "Text", StringComparison.Ordinal)) 3405if (string.Equals(fieldName, "CanContentScroll", StringComparison.Ordinal)) 3407if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3409if (string.Equals(fieldName, "HorizontalScrollBarVisibility", StringComparison.Ordinal)) 3411if (string.Equals(fieldName, "VerticalScrollBarVisibility", StringComparison.Ordinal)) 3415if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 3419if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3423if (string.Equals(fieldName, "Fill", StringComparison.Ordinal)) 3425if (string.Equals(fieldName, "Stroke", StringComparison.Ordinal)) 3427if (string.Equals(fieldName, "StrokeThickness", StringComparison.Ordinal)) 3431if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3435if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3439if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 3443if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3447if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3451if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3455if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3459if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3463if (string.Equals(fieldName, "Setters", StringComparison.Ordinal)) 3467if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3471if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3475if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3479if (string.Equals(fieldName, "RowGroups", StringComparison.Ordinal)) 3483if (string.Equals(fieldName, "Blocks", StringComparison.Ordinal)) 3487if (string.Equals(fieldName, "Cells", StringComparison.Ordinal)) 3491if (string.Equals(fieldName, "Rows", StringComparison.Ordinal)) 3495if (string.Equals(fieldName, "Background", StringComparison.Ordinal)) 3497if (string.Equals(fieldName, "FontFamily", StringComparison.Ordinal)) 3499if (string.Equals(fieldName, "FontSize", StringComparison.Ordinal)) 3501if (string.Equals(fieldName, "FontStretch", StringComparison.Ordinal)) 3503if (string.Equals(fieldName, "FontStyle", StringComparison.Ordinal)) 3505if (string.Equals(fieldName, "FontWeight", StringComparison.Ordinal)) 3507if (string.Equals(fieldName, "Foreground", StringComparison.Ordinal)) 3509if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 3511if (string.Equals(fieldName, "Text", StringComparison.Ordinal)) 3513if (string.Equals(fieldName, "TextDecorations", StringComparison.Ordinal)) 3515if (string.Equals(fieldName, "TextTrimming", StringComparison.Ordinal)) 3517if (string.Equals(fieldName, "TextWrapping", StringComparison.Ordinal)) 3521if (string.Equals(fieldName, "Text", StringComparison.Ordinal)) 3523if (string.Equals(fieldName, "IsReadOnly", StringComparison.Ordinal)) 3527if (string.Equals(fieldName, "Background", StringComparison.Ordinal)) 3529if (string.Equals(fieldName, "FontFamily", StringComparison.Ordinal)) 3531if (string.Equals(fieldName, "FontSize", StringComparison.Ordinal)) 3533if (string.Equals(fieldName, "FontStretch", StringComparison.Ordinal)) 3535if (string.Equals(fieldName, "FontStyle", StringComparison.Ordinal)) 3537if (string.Equals(fieldName, "FontWeight", StringComparison.Ordinal)) 3539if (string.Equals(fieldName, "Foreground", StringComparison.Ordinal)) 3543if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3547if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3551if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3555if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3559if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3563if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3567if (string.Equals(fieldName, "ToolBars", StringComparison.Ordinal)) 3571if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3575if (string.Equals(fieldName, "IsDirectionReversed", StringComparison.Ordinal)) 3577if (string.Equals(fieldName, "Maximum", StringComparison.Ordinal)) 3579if (string.Equals(fieldName, "Minimum", StringComparison.Ordinal)) 3581if (string.Equals(fieldName, "Orientation", StringComparison.Ordinal)) 3583if (string.Equals(fieldName, "Value", StringComparison.Ordinal)) 3585if (string.Equals(fieldName, "ViewportSize", StringComparison.Ordinal)) 3589if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3593if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3597if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3601if (string.Equals(fieldName, "Items", StringComparison.Ordinal)) 3605if (string.Equals(fieldName, "Setters", StringComparison.Ordinal)) 3609if (string.Equals(fieldName, "ClipToBounds", StringComparison.Ordinal)) 3611if (string.Equals(fieldName, "Focusable", StringComparison.Ordinal)) 3613if (string.Equals(fieldName, "IsEnabled", StringComparison.Ordinal)) 3615if (string.Equals(fieldName, "RenderTransform", StringComparison.Ordinal)) 3617if (string.Equals(fieldName, "Visibility", StringComparison.Ordinal)) 3621if (string.Equals(fieldName, "Inlines", StringComparison.Ordinal)) 3625if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3629if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3633if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3637if (string.Equals(fieldName, "KeyFrames", StringComparison.Ordinal)) 3641if (string.Equals(fieldName, "Child", StringComparison.Ordinal)) 3645if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3649if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3653if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3657if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3661if (string.Equals(fieldName, "Content", StringComparison.Ordinal)) 3665if (string.Equals(fieldName, "Children", StringComparison.Ordinal)) 3669if (string.Equals(fieldName, "XmlSerializer", StringComparison.Ordinal)) 3678return (string.Equals(propName, "Width", StringComparison.Ordinal) || 3679string.Equals(propName, "MinWidth", StringComparison.Ordinal) || 3680string.Equals(propName, "MaxWidth", StringComparison.Ordinal) || 3681string.Equals(propName, "Height", StringComparison.Ordinal) || 3682string.Equals(propName, "MinHeight", StringComparison.Ordinal) || 3683string.Equals(propName, "MaxHeight", StringComparison.Ordinal)); 3822if (string.Equals(propName, "MinWidth", StringComparison.Ordinal)) 3824else if (string.Equals(propName, "MaxWidth", StringComparison.Ordinal)) 3828if (string.Equals(propName, "MinHeight", StringComparison.Ordinal)) 3830else if (string.Equals(propName, "MaxHeight", StringComparison.Ordinal)) 3844else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 3854else if (string.Equals(propName, "Left", StringComparison.Ordinal)) 3856else if (string.Equals(propName, "Top", StringComparison.Ordinal)) 3858else if (string.Equals(propName, "Right", StringComparison.Ordinal)) 3860else if (string.Equals(propName, "Bottom", StringComparison.Ordinal)) 3866else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3872else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3878else if (string.Equals(propName, "Top", StringComparison.Ordinal)) 3880else if (string.Equals(propName, "Left", StringComparison.Ordinal)) 3882else if (string.Equals(propName, "DialogResult", StringComparison.Ordinal)) 3884else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3890else if (string.Equals(propName, "Top", StringComparison.Ordinal)) 3892else if (string.Equals(propName, "Left", StringComparison.Ordinal)) 3894else if (string.Equals(propName, "DialogResult", StringComparison.Ordinal)) 3896else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3900if (string.Equals(propName, "Culture", StringComparison.Ordinal)) 3906else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3912else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3918else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3924else if (string.Equals(propName, "HorizontalOffset", StringComparison.Ordinal)) 3926else if (string.Equals(propName, "VerticalOffset", StringComparison.Ordinal)) 3928else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3934else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3940else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3946else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3952else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3958else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3964else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3966else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 3984else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3990else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 3996else if (string.Equals(propName, "IsChecked", StringComparison.Ordinal)) 3998else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4004else if (string.Equals(propName, "IsChecked", StringComparison.Ordinal)) 4006else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4012else if (string.Equals(propName, "IsSynchronizedWithCurrentItem", StringComparison.Ordinal)) 4014else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4020else if (string.Equals(propName, "MaxDropDownHeight", StringComparison.Ordinal)) 4022else if (string.Equals(propName, "IsSynchronizedWithCurrentItem", StringComparison.Ordinal)) 4024else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4030else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4036else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4044if (string.Equals(propName, "HorizontalOffset", StringComparison.Ordinal)) 4046else if (string.Equals(propName, "VerticalOffset", StringComparison.Ordinal)) 4056else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4062else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4068else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4074else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4080else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4088if (string.Equals(propName, "Width", StringComparison.Ordinal)) 4094else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4112else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4118else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4124else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4130else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4140else if (string.Equals(propName, "Top", StringComparison.Ordinal)) 4142else if (string.Equals(propName, "Bottom", StringComparison.Ordinal)) 4144else if (string.Equals(propName, "Left", StringComparison.Ordinal)) 4146else if (string.Equals(propName, "Right", StringComparison.Ordinal)) 4154if (string.Equals(propName, "Culture", StringComparison.Ordinal)) 4164else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4170else if (string.Equals(propName, "IsSynchronizedWithCurrentItem", StringComparison.Ordinal)) 4172else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4178else if (string.Equals(propName, "IsSynchronizedWithCurrentItem", StringComparison.Ordinal)) 4180else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4186else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4196else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4202else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4208else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4222else if (string.Equals(propName, "HorizontalOffset", StringComparison.Ordinal)) 4224else if (string.Equals(propName, "VerticalOffset", StringComparison.Ordinal)) 4230else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4236else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4242else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4248else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4258else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4264else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4274else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4304else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4310else if (string.Equals(propName, "IsChecked", StringComparison.Ordinal)) 4312else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4318else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4324else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4330else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4336else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4342else if (string.Equals(propName, "IsSynchronizedWithCurrentItem", StringComparison.Ordinal)) 4344else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4350else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4356else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4358else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4364else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4370else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4380else if (string.Equals(propName, "HorizontalOffset", StringComparison.Ordinal)) 4382else if (string.Equals(propName, "VerticalOffset", StringComparison.Ordinal)) 4384else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4388if (string.Equals(propName, "HorizontalOffset", StringComparison.Ordinal)) 4390else if (string.Equals(propName, "VerticalOffset", StringComparison.Ordinal)) 4396else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4402else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4408else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4430else if (string.Equals(propName, "ItemWidth", StringComparison.Ordinal)) 4432else if (string.Equals(propName, "ItemHeight", StringComparison.Ordinal)) 4436if (string.Equals(propName, "ConverterCulture", StringComparison.Ordinal)) 4440if (string.Equals(propName, "Culture", StringComparison.Ordinal)) 4444if (string.Equals(propName, "Culture", StringComparison.Ordinal)) 4448if (string.Equals(propName, "Culture", StringComparison.Ordinal)) 4452if (string.Equals(propName, "ConverterCulture", StringComparison.Ordinal)) 4464if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4468if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4472if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4474else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4478if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4480else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4484if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4486else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4490if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4494if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4502if (string.Equals(propName, "HorizontalOffset", StringComparison.Ordinal)) 4504else if (string.Equals(propName, "VerticalOffset", StringComparison.Ordinal)) 4506else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4508else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4514else if (string.Equals(propName, "Left", StringComparison.Ordinal)) 4516else if (string.Equals(propName, "Top", StringComparison.Ordinal)) 4518else if (string.Equals(propName, "Right", StringComparison.Ordinal)) 4520else if (string.Equals(propName, "Bottom", StringComparison.Ordinal)) 4524if (string.Equals(propName, "Width", StringComparison.Ordinal)) 4526else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4528else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4532if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4534else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4536else if (string.Equals(propName, "ColumnWidth", StringComparison.Ordinal)) 4538else if (string.Equals(propName, "ColumnGap", StringComparison.Ordinal)) 4540else if (string.Equals(propName, "ColumnRuleWidth", StringComparison.Ordinal)) 4542else if (string.Equals(propName, "PageWidth", StringComparison.Ordinal)) 4544else if (string.Equals(propName, "MinPageWidth", StringComparison.Ordinal)) 4546else if (string.Equals(propName, "MaxPageWidth", StringComparison.Ordinal)) 4548else if (string.Equals(propName, "PageHeight", StringComparison.Ordinal)) 4550else if (string.Equals(propName, "MinPageHeight", StringComparison.Ordinal)) 4552else if (string.Equals(propName, "MaxPageHeight", StringComparison.Ordinal)) 4558else if (string.Equals(propName, "FontRenderingEmSize", StringComparison.Ordinal)) 4560else if (string.Equals(propName, "OriginX", StringComparison.Ordinal)) 4562else if (string.Equals(propName, "OriginY", StringComparison.Ordinal)) 4566if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4570if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4574if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4578if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4582if (string.Equals(propName, "MarkerOffset", StringComparison.Ordinal)) 4584else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4586else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4590if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4592else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4600if (string.Equals(propName, "TextIndent", StringComparison.Ordinal)) 4602else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4604else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4608if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4612if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4614else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4618if (string.Equals(propName, "CellSpacing", StringComparison.Ordinal)) 4620else if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4622else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4626if (string.Equals(propName, "LineHeight", StringComparison.Ordinal)) 4628else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4632if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4636if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4640if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4646else if (string.Equals(propName, "FontSize", StringComparison.Ordinal)) 4652else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 4658else if (string.Equals(propName, "X1", StringComparison.Ordinal)) 4660else if (string.Equals(propName, "Y1", StringComparison.Ordinal)) 4662else if (string.Equals(propName, "X2", StringComparison.Ordinal)) 4664else if (string.Equals(propName, "Y2", StringComparison.Ordinal)) 4666else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 4672else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 4678else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 4684else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 4690else if (string.Equals(propName, "RadiusX", StringComparison.Ordinal)) 4692else if (string.Equals(propName, "RadiusY", StringComparison.Ordinal)) 4694else if (string.Equals(propName, "StrokeThickness", StringComparison.Ordinal)) 4698if (string.Equals(propName, "Command", StringComparison.Ordinal)) 4702if (string.Equals(propName, "Gesture", StringComparison.Ordinal)) 4704else if (string.Equals(propName, "Command", StringComparison.Ordinal)) 4708if (string.Equals(propName, "Gesture", StringComparison.Ordinal)) 4710else if (string.Equals(propName, "Command", StringComparison.Ordinal)) 4714if (string.Equals(propName, "CurrentInputLanguage", StringComparison.Ordinal)) 4716else if (string.Equals(propName, "InputLanguage", StringComparison.Ordinal)) 4720if (string.Equals(propName, "CaretStops", StringComparison.Ordinal)) 4722else if (string.Equals(propName, "ClusterMap", StringComparison.Ordinal)) 4724else if (string.Equals(propName, "Characters", StringComparison.Ordinal)) 4726else if (string.Equals(propName, "GlyphIndices", StringComparison.Ordinal)) 4728else if (string.Equals(propName, "AdvanceWidths", StringComparison.Ordinal)) 4730else if (string.Equals(propName, "GlyphOffsets", StringComparison.Ordinal)) 4734if (string.Equals(propName, "CultureOverride", StringComparison.Ordinal))
System\Windows\Markup\XamlTypeMapper.cs (1)
2877if (string.Equals(xmlns, XamlReaderHelper.DefaultNamespaceURI, StringComparison.Ordinal))
System\Windows\Markup\XmlnsCache.cs (1)
355if (string.Equals(xmlnsRequested, xmlns, StringComparison.Ordinal))
System\Windows\Navigation\JournalEntry.cs (1)
325if (string.Equals(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase))
System\Windows\Navigation\NavigationService.cs (2)
215isSame = isSame && string.Equals(aResolved.Fragment, bResolved.Fragment, StringComparison.OrdinalIgnoreCase); 672if (string.Equals(name, fe.Name, StringComparison.OrdinalIgnoreCase))
System\Windows\ThemeMode.cs (1)
76public bool Equals(ThemeMode other) => string.Equals(Value, other.Value, StringComparison.Ordinal);
PresentationUI (15)
MS\Internal\Documents\Application\AddressUtility.cs (1)
30return mailtoUri is not null && string.Equals(mailtoUri.Scheme, Uri.UriSchemeMailto, StringComparison.OrdinalIgnoreCase);
MS\Internal\Documents\Application\DocumentProperties.cs (13)
263(String.Equals(_xpsProperties.Category, _rmProperties.Category, StringComparison.Ordinal) && 264String.Equals(_xpsProperties.ContentStatus, _rmProperties.ContentStatus, StringComparison.Ordinal) && 265String.Equals(_xpsProperties.ContentType, _rmProperties.ContentType, StringComparison.Ordinal) && 266String.Equals(_xpsProperties.Creator, _rmProperties.Creator, StringComparison.Ordinal) && 267String.Equals(_xpsProperties.Description, _rmProperties.Description, StringComparison.Ordinal) && 268String.Equals(_xpsProperties.Identifier, _rmProperties.Identifier, StringComparison.Ordinal) && 269String.Equals(_xpsProperties.Keywords, _rmProperties.Keywords, StringComparison.Ordinal) && 270String.Equals(_xpsProperties.Language, _rmProperties.Language, StringComparison.Ordinal) && 271String.Equals(_xpsProperties.LastModifiedBy, _rmProperties.LastModifiedBy, StringComparison.Ordinal) && 272String.Equals(_xpsProperties.Revision, _rmProperties.Revision, StringComparison.Ordinal) && 273String.Equals(_xpsProperties.Subject, _rmProperties.Subject, StringComparison.Ordinal) && 274String.Equals(_xpsProperties.Title, _rmProperties.Title, StringComparison.Ordinal) && 275String.Equals(_xpsProperties.Version, _rmProperties.Version, StringComparison.Ordinal) &&
MS\Internal\Documents\RightsManagementProvider.cs (1)
915publishLicenseChanged = !string.Equals(
RazorPagesWebSite (2)
Pages\ShortCircuitPageAtAuthFilter.cshtml.cs (1)
22&& string.Equals(expectedTargetName, currentTargetName, StringComparison.OrdinalIgnoreCase);
Pages\ShortCircuitPageAtPageFilter.cshtml.cs (1)
22&& string.Equals(expectedTargetName, currentTargetName, StringComparison.OrdinalIgnoreCase);
RazorWebSite (2)
Services\TestBodyTagHelperComponent.cs (1)
36if (string.Equals(context.TagName, "body", StringComparison.Ordinal) &&
Services\TestHeadTagHelperComponent.cs (1)
14if (string.Equals(context.TagName, "head", StringComparison.Ordinal) && output.Attributes.ContainsName("inject"))
ReachFramework (3)
Packaging\XpsFixedPageReaderWriter.cs (1)
1901if (string.Equals(extension, XpsS0Markup.ObfuscatedFontExt, StringComparison.OrdinalIgnoreCase))
Packaging\XpsManager.cs (1)
1219if (string.Equals(contentType.TypeComponent, "Image", StringComparison.OrdinalIgnoreCase))
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\UriComparer.cs (1)
65return String.Equals(a.ToString(), b.ToString(), StringComparison.Ordinal);
Roslyn.Diagnostics.Analyzers (12)
DoNotCallGetTestAccessor.cs (4)
42if (!string.Equals(context.OwningSymbol.Name, TestAccessorHelper.GetTestAccessorMethodName, StringComparison.Ordinal) 43&& !string.Equals(context.OwningSymbol.ContainingType?.Name, TestAccessorHelper.TestAccessorTypeName, StringComparison.Ordinal)) 55if (string.Equals(memberReference.Member.ContainingType?.Name, TestAccessorHelper.TestAccessorTypeName, StringComparison.Ordinal)) 69else if (string.Equals(invocation.TargetMethod.ContainingType?.Name, TestAccessorHelper.TestAccessorTypeName, StringComparison.Ordinal))
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (1)
250if (string.Equals(parsedWord, word, StringComparison.OrdinalIgnoreCase))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
Roslyn.VisualStudio.Next.UnitTests (4)
Services\ServiceHubServicesTests.cs (4)
1993var project = solution.Projects.First(p => string.Equals(p.Name, projectName, StringComparison.OrdinalIgnoreCase)); 1994var document = project.Documents.First(d => string.Equals(d.Name, documentName, StringComparison.OrdinalIgnoreCase)); 2001var project = solution.Projects.First(p => string.Equals(p.Name, projectName, StringComparison.OrdinalIgnoreCase)); 2003documentName => project.Documents.First(d => string.Equals(d.Name, documentName, StringComparison.OrdinalIgnoreCase)));
ScenarioTests.Common.Tests (1)
ScenarioTestHelpers.cs (1)
42return String.Equals("localhost", serviceUri, StringComparison.OrdinalIgnoreCase);
ServerComparison.TestSites (2)
Program.cs (2)
37if (string.Equals(configuration["server"], "Microsoft.AspNetCore.Server.HttpSys", StringComparison.OrdinalIgnoreCase)) 41if (string.Equals(configuration["environment"] ??
SocialWeather (1)
PersistentConnectionLifeTimeManager.cs (1)
25if (string.Equals(format, "protobuf", StringComparison.OrdinalIgnoreCase))
Sockets.BindTests (3)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (3)
522Assert.Single(LogMessages, log => log.LogLevel == LogLevel.Debug && string.Equals(CoreStrings.FormatBindingToDefaultAddress(Constants.DefaultServerAddress), log.Message, StringComparison.Ordinal)); 638string.Equals(CoreStrings.FormatOverridingWithPreferHostingUrls(nameof(IServerAddressesFeature.PreferHostingUrls), useUrlsAddress), 683string.Equals(CoreStrings.FormatOverridingWithKestrelOptions(useUrlsAddress),
StaticFilesAuth (3)
Startup.cs (3)
52return string.Equals(directory.FullName, basePath, StringComparison.OrdinalIgnoreCase) 53|| string.Equals(directory.FullName, usersPath, StringComparison.OrdinalIgnoreCase) 54|| string.Equals(directory.FullName, userPath, StringComparison.OrdinalIgnoreCase)
Swaggatherer (9)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
SwaggathererApplication.cs (2)
193if (!string.Equals( 203!string.Equals(entry.Method, other.Method, StringComparison.OrdinalIgnoreCase))
System.CodeDom (6)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
1466if (e.Parameters.Count > 0 && string.Equals(e.Name, "Item", StringComparison.OrdinalIgnoreCase))
Microsoft\VisualBasic\VBCodeGenerator.cs (4)
1612if (e.ReturnType.BaseType.Length == 0 || string.Equals(e.ReturnType.BaseType, typeof(void).FullName, 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\CodeDom\Compiler\CodeValidator.cs (1)
287if (e.Parameters.Count > 0 && string.Equals(e.Name, "Item", StringComparison.OrdinalIgnoreCase))
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\CustomValidationAttribute.cs (1)
245.SingleOrDefault(m => string.Equals(m.Name, Method, StringComparison.Ordinal));
System.ComponentModel.Primitives (1)
System\ComponentModel\ComponentCollection.cs (1)
25if (comp != null && comp.Site != null && comp.Site.Name != null && string.Equals(comp.Site.Name, name, StringComparison.OrdinalIgnoreCase))
System.ComponentModel.TypeConverter (6)
System\ComponentModel\Container.cs (1)
232if (s?.Name != null && string.Equals(s.Name, name, StringComparison.OrdinalIgnoreCase) && s.Component != component)
System\ComponentModel\CultureInfoConverter.cs (2)
81if (string.IsNullOrEmpty(text) || string.Equals(text, defaultCultureString, StringComparison.Ordinal)) 91if (info != null && string.Equals(GetCultureName(info), text, StringComparison.Ordinal))
System\ComponentModel\EventDescriptorCollection.cs (2)
177if (string.Equals(_events[i]!.Name, name, StringComparison.OrdinalIgnoreCase)) 188if (string.Equals(_events[i]!.Name, name, StringComparison.Ordinal))
System\ComponentModel\PropertyDescriptorCollection.cs (1)
210if (string.Equals(_properties[i].Name, name, StringComparison.OrdinalIgnoreCase))
System.Configuration.ConfigurationManager (9)
System\Configuration\BaseConfigurationRecord.cs (1)
3645return string.Equals(configKey, ReservedSectionProtectedConfiguration, StringComparison.Ordinal);
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\StringUtil.cs (2)
10return string.Equals(s1 ?? string.Empty, s2 ?? string.Empty, StringComparison.Ordinal); 15return string.Equals(s1, s2, StringComparison.OrdinalIgnoreCase);
System.Data.Common (43)
System\Data\Common\DbConnectionOptions.cs (1)
91(('{' == keyValue[0]) || (0 <= keyValue.IndexOf(';')) || string.Equals(DbConnectionStringKeywords.Driver, keyName, StringComparison.OrdinalIgnoreCase)) &&
System\Data\DataRelation.cs (1)
556if (!string.Equals(parentNs, rel.ParentTable.Namespace, StringComparison.Ordinal))
System\Data\DataSet.cs (11)
207if (string.Equals(attribValue, Keywords.MSD_EXCLUDESCHEMA, StringComparison.OrdinalIgnoreCase)) 211else if (string.Equals(attribValue, Keywords.MSD_INCLUDESCHEMA, StringComparison.OrdinalIgnoreCase)) 3440if (string.Equals(nilAttrib, "true", StringComparison.Ordinal)) 3452if (string.Equals(useDataSetSchemaOnly, "true", StringComparison.Ordinal) || 3453string.Equals(useDataSetSchemaOnly, "1", StringComparison.Ordinal)) 3457else if (!string.Equals(useDataSetSchemaOnly, "false", StringComparison.Ordinal) && 3458!string.Equals(useDataSetSchemaOnly, "0", StringComparison.Ordinal)) 3468if (string.Equals(_udtIsWrappedString, "true", StringComparison.Ordinal) || 3469string.Equals(_udtIsWrappedString, "1", StringComparison.Ordinal)) 3473else if (!string.Equals(_udtIsWrappedString, "false", StringComparison.Ordinal) && 3474!string.Equals(_udtIsWrappedString, "0", StringComparison.Ordinal))
System\Data\DataView.cs (2)
1762!string.Equals(RowFilter, view.RowFilter, StringComparison.OrdinalIgnoreCase) || // case insensitive 1763!string.Equals(Sort, view.Sort, StringComparison.OrdinalIgnoreCase) || // case insensitive
System\Data\DefaultValueTypeConverter.cs (2)
46if (string.Equals(strValue, NullString, StringComparison.OrdinalIgnoreCase)) 50else if (string.Equals(strValue, DbNullString, StringComparison.OrdinalIgnoreCase))
System\Data\Filter\FunctionNode.cs (1)
54if (string.Equals(s_funcs[i]._name, name, StringComparison.OrdinalIgnoreCase))
System\Data\SimpleType.cs (2)
330if (!string.Equals(BaseType, otherSimpleType.BaseType, StringComparison.Ordinal)) 347return string.Equals(rootType.BaseType, "string", StringComparison.OrdinalIgnoreCase);
System\Data\XDRSchema.cs (1)
202if (!string.Equals(occurs, "1", StringComparison.Ordinal) && (typeNode == null))
System\Data\XMLDiffLoader.cs (2)
285if (string.Equals(dt.TableName, tableName, StringComparison.Ordinal) 286&& string.Equals(dt.Namespace, ns, StringComparison.Ordinal))
System\Data\xmlsaver.cs (14)
177string.Equals(pd.Name, "Namespace", StringComparison.Ordinal) || 178string.Equals(pd.Name, "PrimaryKey", StringComparison.Ordinal) || 179string.Equals(pd.Name, "ColumnName", StringComparison.Ordinal) || 180string.Equals(pd.Name, "DefaultValue", StringComparison.Ordinal) || 181string.Equals(pd.Name, "TableName", StringComparison.Ordinal) || 182string.Equals(pd.Name, "DataSetName", StringComparison.Ordinal) || 183string.Equals(pd.Name, "AllowDBNull", StringComparison.Ordinal) || 184string.Equals(pd.Name, "Unique", StringComparison.Ordinal) || 185string.Equals(pd.Name, "NestedInDataSet", StringComparison.Ordinal) || 186string.Equals(pd.Name, "Locale", StringComparison.Ordinal) || 187string.Equals(pd.Name, "CaseSensitive", StringComparison.Ordinal) || 188string.Equals(pd.Name, "RemotingFormat", StringComparison.Ordinal) 196if (string.Equals(pd.Name, "DataType", StringComparison.Ordinal)) 214if (string.Equals(pd.Name, "Attribute", StringComparison.Ordinal))
System\Data\XMLSchema.cs (4)
445if (string.Equals(rels[i].RelationName, strName, StringComparison.Ordinal)) 834if (FromInference && ds.Tables.Count == 0 && string.Equals(ds.DataSetName, "NewDataSet", StringComparison.Ordinal)) 2273(string.Equals(attrib.QualifiedName.Namespace, column.Namespace, StringComparison.Ordinal))) 2459(string.Equals(elem.QualifiedName.Namespace, column.Namespace, StringComparison.Ordinal)))
System\Data\XmlToDatasetMap.cs (2)
33(string.Equals(LocalName, id.LocalName, StringComparison.OrdinalIgnoreCase)) && 34(string.Equals(NamespaceURI, id.NamespaceURI, StringComparison.OrdinalIgnoreCase))
System.Data.Odbc (2)
Common\System\Data\Common\DbConnectionOptions.cs (1)
152(('{' == keyValue[0]) || (0 <= keyValue.IndexOf(';')) || (string.Equals(DbConnectionStringKeywords.Driver, keyName, StringComparison.OrdinalIgnoreCase))) &&
System\Data\Odbc\OdbcUtils.cs (1)
522if (string.Equals(tokenString, nextToken, StringComparison.OrdinalIgnoreCase))
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\DsesActivitySourceListener.cs (2)
236=> string.Equals(x.activitySourceName, y.activitySourceName, StringComparison.OrdinalIgnoreCase) 237&& string.Equals(x.activityName, y.activityName, StringComparison.OrdinalIgnoreCase);
System.Diagnostics.Process (2)
System\Diagnostics\Process.Linux.cs (1)
38if ((processName == "" || string.Equals(processName, actualProcessName, StringComparison.OrdinalIgnoreCase)) &&
System\Diagnostics\Process.Unix.cs (1)
412!string.Equals(verb, "open", StringComparison.OrdinalIgnoreCase))
System.Drawing.Common (3)
System\Drawing\ToolboxBitmapAttribute.cs (3)
154if (ext is not null && string.Equals(ext, ".ico", StringComparison.OrdinalIgnoreCase)) 250if (string.Equals(Path.GetExtension(imageName), ".ico", StringComparison.CurrentCultureIgnoreCase)) 254else if (string.Equals(Path.GetExtension(imageName), ".bmp", StringComparison.CurrentCultureIgnoreCase))
System.Drawing.Primitives (1)
System\Drawing\ColorTranslator.cs (1)
253if (c.IsEmpty && string.Equals(htmlColor, "LightGrey", StringComparison.OrdinalIgnoreCase))
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
240if (!string.Equals(_directory, value, PathInternal.StringComparison))
System.IO.IsolatedStorage (3)
System\IO\IsolatedStorage\IsolatedStorageFile.NonMobile.cs (3)
67(Helper.IsApplication(Scope) && string.Equals(directoryName, s_appFiles, StringComparison.Ordinal)) 68|| (Helper.IsAssembly(Scope) && string.Equals(directoryName, s_assemFiles, StringComparison.Ordinal)) 69|| (Helper.IsDomain(Scope) && string.Equals(directoryName, s_files, StringComparison.Ordinal));
System.IO.Packaging (9)
System\IO\Packaging\ContentType.cs (2)
202result = (string.Equals(_type, contentType.TypeComponent, StringComparison.OrdinalIgnoreCase) && 203string.Equals(_subType, contentType.SubTypeComponent, StringComparison.OrdinalIgnoreCase));
System\IO\Packaging\PackagingUtilities.cs (4)
45if (string.Equals(encoding, WebNameUTF8, StringComparison.OrdinalIgnoreCase) || 46string.Equals(encoding, WebNameUnicode, StringComparison.OrdinalIgnoreCase)) 97if (!string.Equals(reader.Name, XmlNamespace, StringComparison.Ordinal) && 98!string.Equals(reader.Prefix, XmlNamespace, StringComparison.Ordinal))
System\IO\Packaging\PackUriHelper.cs (1)
419if (!string.Equals(partUri.OriginalString, wellFormedPartName, StringComparison.OrdinalIgnoreCase))
System\IO\Packaging\XmlCompatibilityReader.cs (2)
622if (string.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 627else if (string.Equals(XmlnsDeclaration, Reader.Prefix, StringComparison.Ordinal))
System.IO.Pipes (1)
System\IO\Pipes\PipeStream.Unix.cs (1)
193if (string.Equals(pipeName, AnonymousPipeName, StringComparison.OrdinalIgnoreCase))
System.Linq.Expressions (3)
System\Dynamic\ExpandoClass.cs (3)
68if (string.Equals(klass._keys[klass._keys.Length - 1], newKey, StringComparison.Ordinal)) 125if (string.Equals( 155if (string.Equals(
System.Net.Http (49)
src\libraries\Common\src\System\Net\CredentialCacheKey.cs (2)
36if (!string.Equals(authenticationType, AuthenticationType, StringComparison.OrdinalIgnoreCase)) 88string.Equals(AuthenticationType, other.AuthenticationType, StringComparison.OrdinalIgnoreCase) &&
System\Net\Http\Headers\AuthenticationHeaderValue.cs (3)
74return (string.Equals(_scheme, other._scheme, StringComparison.OrdinalIgnoreCase)); 79return string.Equals(_scheme, other._scheme, StringComparison.OrdinalIgnoreCase) && 80string.Equals(_parameter, other._parameter, StringComparison.Ordinal);
System\Net\Http\Headers\ContentDispositionHeaderValue.cs (1)
168return string.Equals(_dispositionType, other._dispositionType, StringComparison.OrdinalIgnoreCase) &&
System\Net\Http\Headers\ContentRangeHeaderValue.cs (1)
99string.Equals(_unit, other._unit, StringComparison.OrdinalIgnoreCase);
System\Net\Http\Headers\EntityTagHeaderValue.cs (1)
60string.Equals(Tag, other.Tag, StringComparison.Ordinal);
System\Net\Http\Headers\HeaderDescriptor.cs (1)
48return string.Equals(headerName, other._descriptor as string, StringComparison.OrdinalIgnoreCase);
System\Net\Http\Headers\MediaTypeHeaderValue.cs (1)
132string.Equals(_mediaType, other._mediaType, StringComparison.OrdinalIgnoreCase) &&
System\Net\Http\Headers\NameValueHeaderValue.cs (4)
90if (!string.Equals(_name, other._name, StringComparison.OrdinalIgnoreCase)) 107return string.Equals(_value, other._value, StringComparison.Ordinal); 111return string.Equals(_value, other._value, StringComparison.OrdinalIgnoreCase); 315if (string.Equals(value.Name, name, StringComparison.OrdinalIgnoreCase))
System\Net\Http\Headers\ProductHeaderValue.cs (2)
69return string.Equals(_name, other._name, StringComparison.OrdinalIgnoreCase) && 70string.Equals(_version, other._version, StringComparison.OrdinalIgnoreCase);
System\Net\Http\Headers\ProductInfoHeaderValue.cs (1)
66return string.Equals(_comment, other._comment, StringComparison.Ordinal);
System\Net\Http\Headers\RangeHeaderValue.cs (1)
93return string.Equals(_unit, other._unit, StringComparison.OrdinalIgnoreCase) &&
System\Net\Http\Headers\StringWithQualityHeaderValue.cs (1)
55string.Equals(_value, other._value, StringComparison.OrdinalIgnoreCase) &&
System\Net\Http\Headers\TransferCodingHeaderValue.cs (1)
129return string.Equals(_value, other._value, StringComparison.OrdinalIgnoreCase) &&
System\Net\Http\Headers\ViaHeaderValue.cs (4)
106string.Equals(_protocolVersion, other._protocolVersion, StringComparison.OrdinalIgnoreCase) && 107string.Equals(_receivedBy, other._receivedBy, StringComparison.OrdinalIgnoreCase) && 108string.Equals(_protocolName, other._protocolName, StringComparison.OrdinalIgnoreCase) && 109string.Equals(_comment, other._comment, StringComparison.Ordinal);
System\Net\Http\Headers\WarningHeaderValue.cs (2)
103string.Equals(_agent, other._agent, StringComparison.OrdinalIgnoreCase) && 104string.Equals(_text, other._text, StringComparison.Ordinal) &&
System\Net\Http\HttpClient.cs (1)
575!string.Equals(request.Method.Method, "HEAD", StringComparison.OrdinalIgnoreCase);
System\Net\Http\HttpMethod.cs (1)
57string.Equals(_method, other._method, StringComparison.OrdinalIgnoreCase);
System\Net\Http\SocketsHttpHandler\DecompressionHandler.cs (4)
43if (string.Equals(existingEncoding.Value, encoding, StringComparison.OrdinalIgnoreCase)) 81if (GZipEnabled && string.Equals(last, Gzip, StringComparison.OrdinalIgnoreCase)) 85else if (DeflateEnabled && string.Equals(last, Deflate, StringComparison.OrdinalIgnoreCase)) 89else if (BrotliEnabled && string.Equals(last, Brotli, StringComparison.OrdinalIgnoreCase))
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (1)
1461if (string.Equals(value, "trailers", StringComparison.OrdinalIgnoreCase))
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
808if (string.Equals(value, "trailers", StringComparison.OrdinalIgnoreCase))
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (2)
1343if (string.Equals(nameValue.Name, "timeout", StringComparison.OrdinalIgnoreCase)) 1363else if (string.Equals(nameValue.Name, "max", StringComparison.OrdinalIgnoreCase))
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs (1)
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\Http\SocketsHttpHandler\SocksHelper.cs (3)
40if (string.Equals(proxyUri.Scheme, "socks5", StringComparison.OrdinalIgnoreCase)) 44else if (string.Equals(proxyUri.Scheme, "socks4a", StringComparison.OrdinalIgnoreCase)) 48else if (string.Equals(proxyUri.Scheme, "socks4", StringComparison.OrdinalIgnoreCase))
System.Net.HttpListener (12)
src\libraries\Common\src\System\Net\CookieComparer.cs (2)
10if (!string.Equals(left.Name, right.Name, StringComparison.OrdinalIgnoreCase)) 22return string.Equals(left.Path, right.Path, StringComparison.Ordinal);
src\libraries\Common\src\System\Net\CookieParser.cs (1)
454return string.Equals(_name, value, StringComparison.OrdinalIgnoreCase);
System\Net\HttpListenerRequest.cs (2)
130if (string.Equals(connection, HttpKnownHeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase)) 144if (string.Equals(upgrade, HttpWebSocket.WebSocketUpgradeToken, StringComparison.OrdinalIgnoreCase))
System\Net\Managed\HttpListenerRequest.Managed.cs (4)
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))
System\Net\Managed\HttpListenerResponse.Managed.cs (1)
288!string.Equals(name, HttpKnownHeaderNames.Location, StringComparison.OrdinalIgnoreCase);
System\Net\WebSockets\HttpWebSocket.cs (2)
67if (string.Equals(acceptProtocol, currentRequestProtocol, StringComparison.OrdinalIgnoreCase)) 126if (!string.Equals(secWebSocketVersion, SupportedVersion, StringComparison.OrdinalIgnoreCase))
System.Net.Mail (6)
System\Net\Mail\MailPriority.cs (1)
463if (string.Equals(Headers.GetKey(i), headerName, StringComparison.InvariantCultureIgnoreCase))
System\Net\Mail\SmtpConnection.Auth.cs (3)
56if (string.Equals(authType, AuthLogin, StringComparison.OrdinalIgnoreCase)) 60else if (string.Equals(authType, AuthNtlm, StringComparison.OrdinalIgnoreCase)) 64else if (string.Equals(authType, AuthGssapi, StringComparison.OrdinalIgnoreCase))
System\Net\Mime\ContentDisposition.cs (1)
248string.Equals(ToString(), rparam.ToString(), StringComparison.OrdinalIgnoreCase);
System\Net\Mime\ContentType.cs (1)
213rparam == null ? false : string.Equals(ToString(), rparam.ToString(), StringComparison.OrdinalIgnoreCase);
System.Net.Primitives (19)
src\libraries\Common\src\System\Net\CookieComparer.cs (2)
10if (!string.Equals(left.Name, right.Name, StringComparison.OrdinalIgnoreCase)) 22return string.Equals(left.Path, right.Path, StringComparison.Ordinal);
src\libraries\Common\src\System\Net\CookieParser.cs (1)
454return string.Equals(_name, value, StringComparison.OrdinalIgnoreCase);
src\libraries\Common\src\System\Net\CredentialCacheKey.cs (2)
36if (!string.Equals(authenticationType, AuthenticationType, StringComparison.OrdinalIgnoreCase)) 88string.Equals(AuthenticationType, other.AuthenticationType, StringComparison.OrdinalIgnoreCase) &&
System\Net\Cookie.cs (3)
626&& string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase) 627&& string.Equals(Value, other.Value, StringComparison.Ordinal) 628&& string.Equals(Path, other.Path, StringComparison.Ordinal)
System\Net\CookieCollection.cs (1)
52if (string.Equals(c!.Name, name, StringComparison.OrdinalIgnoreCase))
System\Net\CookieContainer.cs (2)
583if ((string.Equals(headerName, s_headerInfo[i].Name, StringComparison.OrdinalIgnoreCase))) 807if (cookie.DomainImplicit && !string.Equals(host, cookie.Domain, StringComparison.OrdinalIgnoreCase))
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)
src\libraries\Common\src\System\AppContextSwitchHelper.cs (2)
22if (str == "1" || string.Equals(str, bool.TrueString, StringComparison.OrdinalIgnoreCase)) 26if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
System.Net.Requests (8)
System\Net\FileWebRequest.cs (2)
121if (string.Equals(_method, "GET", StringComparison.OrdinalIgnoreCase) || 122string.Equals(_method, "HEAD", StringComparison.OrdinalIgnoreCase))
System\Net\HttpWebRequest.cs (5)
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\WebRequest.cs (1)
289if (string.Equals(Current.Prefix, prefix, StringComparison.OrdinalIgnoreCase))
System.Net.Security (8)
src\libraries\Common\src\System\AppContextSwitchHelper.cs (2)
22if (str == "1" || string.Equals(str, bool.TrueString, StringComparison.OrdinalIgnoreCase)) 26if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
src\libraries\Common\src\System\Net\Http\X509ResourceClient.cs (1)
325return string.Equals(scheme, "http", StringComparison.OrdinalIgnoreCase);
System\Net\NegotiateAuthenticationPal.Unix.cs (3)
462if (string.Equals(package, NegotiationInfoClass.Negotiate, StringComparison.OrdinalIgnoreCase)) 466else if (string.Equals(package, NegotiationInfoClass.NTLM, StringComparison.OrdinalIgnoreCase)) 470else if (string.Equals(package, NegotiationInfoClass.Kerberos, StringComparison.OrdinalIgnoreCase))
System\Security\Authentication\ExtendedProtection\ServiceNameCollection.cs (2)
60if (string.Equals(serviceName, searchName, StringComparison.OrdinalIgnoreCase)) 256if (string.Equals(inputServiceName, normalizedServiceName, StringComparison.OrdinalIgnoreCase))
System.Net.WebClient (3)
System\Net\WebClient.cs (3)
497if (string.Equals(_method, "POST", StringComparison.Ordinal)) 595if (contentType != null && !string.Equals(contentType, UploadValuesContentType, StringComparison.OrdinalIgnoreCase)) 1171return string.Equals(uri.Scheme, Uri.UriSchemeFtp, StringComparison.Ordinal) ?
System.Net.WebSockets.Client (2)
System\Net\WebSockets\ClientWebSocketOptions.cs (1)
167if (string.Equals(item, subProtocol, StringComparison.OrdinalIgnoreCase))
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
519if (string.Equals(value, expectedValue, StringComparison.OrdinalIgnoreCase))
System.Private.CoreLib (26)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\NonRandomizedStringEqualityComparer.cs (1)
115public override bool Equals(string? x, string? y) => string.Equals(x, y, StringComparison.OrdinalIgnoreCase);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\RandomizedStringEqualityComparer.cs (1)
105public override bool Equals(string? x, string? y) => string.Equals(x, y, StringComparison.OrdinalIgnoreCase);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (3)
3100string.Equals(attributeType.FullName, reflectedAttributeType.FullName, StringComparison.Ordinal) || 3103string.Equals(attributeType.Name, reflectedAttributeType.Name, StringComparison.Ordinal) && 3470string.Equals(args[0].Name, "relatedActivityId", StringComparison.OrdinalIgnoreCase))
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Nls.cs (1)
530if (string.Equals(context.strings[i], _sRealName, StringComparison.OrdinalIgnoreCase))
src\libraries\System.Private.CoreLib\src\System\Resources\ManifestBasedResourceGroveler.cs (1)
334if (string.Equals(existingName, name, StringComparison.InvariantCultureIgnoreCase))
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\OSPlatform.cs (1)
42return string.Equals(Name, other, StringComparison.OrdinalIgnoreCase);
src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyDependencyResolver.cs (1)
121!string.Equals(assemblyName.CultureName, NeutralCultureName, StringComparison.OrdinalIgnoreCase))
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (4)
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) &&
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.cs (9)
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); 1376if (string.Equals(s, value, comparison))
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.NonAndroid.cs (2)
323if (!string.Equals(filePath, localtimeFilePath, StringComparison.OrdinalIgnoreCase) 324&& !string.Equals(filePath, posixrulesFilePath, StringComparison.OrdinalIgnoreCase))
src\System\Diagnostics\StackTrace.CoreCLR.cs (1)
37if (!string.Equals(ns, PackageName, StringComparison.Ordinal))
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (1)
186if (string.Equals(name, strTypeName, StringComparison.OrdinalIgnoreCase))
System.Private.DataContractSerialization (1)
System\Xml\XmlCanonicalWriter.cs (1)
254if (string.Equals(Encoding.UTF8.GetString(_xmlnsBuffer!, xmlnsAttribute.prefixOffset, xmlnsAttribute.prefixLength), _inclusivePrefixes[i], StringComparison.Ordinal))
System.Private.Uri (2)
System\Uri.cs (2)
1797if (string.Equals(_string, other._string, IsUncOrDosPath ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal)) 1888return string.Equals(selfUrl, otherUrl, IsUncOrDosPath ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal);
System.Private.Windows.Core (4)
System\Private\Windows\Ole\DataFormatNames.cs (3)
122if (string.Equals(format, Text, StringComparison.OrdinalIgnoreCase)) 127else if (string.Equals(format, UnicodeText, StringComparison.OrdinalIgnoreCase)) 132else if (string.Equals(format, String, StringComparison.OrdinalIgnoreCase))
System\Private\Windows\Ole\DataFormatsCore.cs (1)
60if (string.Equals(format.Name, name, comparison))
System.Private.Xml (25)
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\Core\XmlTextReaderImplAsync.cs (1)
3914if (string.Equals(target, "xml", StringComparison.OrdinalIgnoreCase))
System\Xml\Core\XmlTextWriter.cs (1)
791if (string.Equals(name, "xml", StringComparison.OrdinalIgnoreCase) && _stateTable == s_stateTableDocument)
System\Xml\Core\XmlWellFormedWriter.cs (1)
896if (name.Length == 3 && string.Equals(name, "xml", StringComparison.OrdinalIgnoreCase))
System\Xml\Core\XmlWellFormedWriterAsync.cs (1)
797if (name.Length == 3 && string.Equals(name, "xml", StringComparison.OrdinalIgnoreCase))
System\Xml\Dom\XmlImplementation.cs (1)
25if (string.Equals("XML", strFeature, StringComparison.OrdinalIgnoreCase))
System\Xml\Dom\XmlNode.cs (1)
816if (string.Equals("XML", feature, StringComparison.OrdinalIgnoreCase))
System\Xml\Schema\Inference\Infer.cs (2)
344if (prefix.Length != 0 && !string.Equals(prefix, "xml", StringComparison.OrdinalIgnoreCase)) 1602if (string.Equals(XmlConvert.ToString(flValue), XmlConvert.ToString(dbValue), StringComparison.OrdinalIgnoreCase))
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1405if (string.Equals(reflectionMembers[i].MemberName, $"{memberName}Specified", StringComparison.Ordinal))
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\Xml\Xsl\XsltOld\SequentialOutput.cs (2)
367if (node.NamespaceURI.Length == 0 && string.Equals("html", node.LocalName, StringComparison.OrdinalIgnoreCase)) 713if (abr && string.Equals(attribute.LocalName, attrValue, StringComparison.OrdinalIgnoreCase))
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
118if (string.Equals(name, methods[i].Name, ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal))
System.Private.Xml.Linq (1)
System\Xml\Linq\XProcessingInstruction.cs (1)
162if (string.Equals(name, "xml", StringComparison.OrdinalIgnoreCase)) throw new ArgumentException(SR.Format(SR.Argument_InvalidPIName, name));
System.Reflection.Context (5)
System\Reflection\Context\Custom\CustomType.cs (4)
116if (string.Equals(newDeclaredProperty.Name, name, comparison)) 126if (string.Equals(newBaseProperty.Name, name, comparison)) 225if (string.Equals(newDeclaredProperty.Name, targetPropertyName, comparison)) 244if (string.Equals(newBaseProperty.Name, targetPropertyName, comparison))
System\Reflection\Context\Projection\ProjectingType.cs (1)
133matchingMembers.RemoveAll(member => !string.Equals(member.Name, name, comparisonType));
System.Reflection.Emit (1)
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
1224if (string.Equals(type.Name, strTypeName, casing))
System.Reflection.Metadata (1)
System\Reflection\Metadata\Internal\StringHeap.cs (1)
254return string.Equals(GetString(handle, utf8Decoder), value, ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal);
System.Runtime.Caching (3)
System\Runtime\Caching\MemoryCache.cs (2)
330if (string.Equals(name, "default", StringComparison.OrdinalIgnoreCase)) 348if (string.Equals(name, "default", StringComparison.OrdinalIgnoreCase))
System\Runtime\Caching\MemoryCacheKeyEqualityComparer.cs (1)
20return string.Equals(a.Key, b.Key, StringComparison.Ordinal);
System.Runtime.Serialization.Schema (3)
System\Runtime\Serialization\Schema\CodeExporter.cs (3)
130if (string.Equals(existingName, assemblyName, StringComparison.OrdinalIgnoreCase)) 726if (string.Equals(typeName, type.Name, StringComparison.OrdinalIgnoreCase)) 751if (string.Equals(typeName, declaration.Name, StringComparison.OrdinalIgnoreCase))
System.Security.Claims (10)
System\Security\Claims\Claim.cs (3)
433if (!string.Equals(_valueType, ClaimValueTypes.String, StringComparison.Ordinal)) 439if (!string.Equals(_issuer, ClaimsIdentity.DefaultIssuer, StringComparison.Ordinal)) 445if (string.Equals(_originalIssuer, _issuer, StringComparison.Ordinal))
System\Security\Claims\ClaimsIdentity.cs (6)
635if (string.Equals(claim.Type, type, _stringComparison)) 679if (string.Equals(claim.Type, type, _stringComparison)) 726&& string.Equals(claim.Type, type, _stringComparison) 727&& string.Equals(claim.Value, value, StringComparison.Ordinal)) 886if (!string.Equals(_nameClaimType, ClaimsIdentity.DefaultNameClaimType, StringComparison.Ordinal)) 892if (!string.Equals(_roleClaimType, ClaimsIdentity.DefaultRoleClaimType, StringComparison.Ordinal))
System\Security\Claims\GenericPrincipal.cs (1)
77if (string.Equals(m_roles[i], role, StringComparison.OrdinalIgnoreCase))
System.Security.Cryptography (9)
src\libraries\Common\src\System\Net\Http\X509ResourceClient.cs (1)
325return string.Equals(scheme, "http", StringComparison.OrdinalIgnoreCase);
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObject.cs (1)
43if (!string.Equals(asn.Oid.Value, oid.Value, StringComparison.Ordinal))
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (2)
57if (string.Equals(szOid1, szOid2, StringComparison.OrdinalIgnoreCase)) 62if (string.Equals(szOid1, Oids.SigningTime, StringComparison.OrdinalIgnoreCase))
System\Security\Cryptography\CngProperty.cs (1)
68if (!string.Equals(Name, other.Name, StringComparison.Ordinal))
System\Security\Cryptography\DSACryptoServiceProvider.Unix.cs (2)
238if (str != null && !string.Equals(str, "SHA1", StringComparison.OrdinalIgnoreCase)) 255if (str != null && !string.Equals(str, "SHA1", StringComparison.OrdinalIgnoreCase))
System\Security\Cryptography\Helpers.cs (1)
218string.Equals(aCurve.Oid.FriendlyName, bCurve.Oid.FriendlyName, StringComparison.OrdinalIgnoreCase);
System\Security\Cryptography\X509Certificates\X509ExtensionCollection.cs (1)
57if (string.Equals(extension.Oid!.Value, oidValue, StringComparison.OrdinalIgnoreCase))
System.Security.Cryptography.Pkcs (3)
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObject.cs (1)
43if (!string.Equals(asn.Oid.Value, oid.Value, StringComparison.Ordinal))
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (2)
57if (string.Equals(szOid1, szOid2, StringComparison.OrdinalIgnoreCase)) 62if (string.Equals(szOid1, Oids.SigningTime, StringComparison.OrdinalIgnoreCase))
System.Security.Cryptography.Xml (5)
System\Security\Cryptography\Xml\SignedXml.cs (4)
334if (string.Equals(extension.Oid!.Value, "2.5.29.15" /* szOID_KEY_USAGE */, StringComparison.OrdinalIgnoreCase)) 671if (string.Equals(safeAlgorithm, SignedInfo!.CanonicalizationMethod, StringComparison.OrdinalIgnoreCase)) 704if (string.Equals(safeAlgorithm, transformAlgorithm, StringComparison.OrdinalIgnoreCase)) 712if (string.Equals(safeAlgorithm, transformAlgorithm, StringComparison.OrdinalIgnoreCase))
System\Security\Cryptography\Xml\Utils.cs (1)
743if (string.Equals(certificate.SubjectName.Name, certificate.IssuerName.Name, StringComparison.OrdinalIgnoreCase))
System.Security.Permissions (2)
System\Security\Permissions\IDRole.cs (1)
22Authenticated = elAuth == null ? false : string.Equals(elAuth, "true", StringComparison.OrdinalIgnoreCase);
System\Security\Permissions\PrincipalPermission.cs (1)
241(idRole.ID == null || string.Equals(principal.Identity.Name, idRole.ID, StringComparison.OrdinalIgnoreCase)))
System.ServiceModel.Federation (3)
System\ServiceModel\Federation\WSTrustUtilities.cs (3)
50if (string.Equals(keyType, serializationContext.TrustKeyTypes.Bearer, StringComparison.Ordinal)) 72if (!string.Equals(keyType, serializationContext.TrustKeyTypes.Symmetric, StringComparison.Ordinal)) 75if (string.Equals(response.RequestedProofToken.ComputedKeyAlgorithm, serializationContext.TrustKeyTypes.PSHA1, StringComparison.Ordinal))
System.ServiceModel.Primitives (2)
System\ServiceModel\Description\ServiceReflector.cs (1)
316return string.Equals(EncodedName, xmlName.EncodedName, StringComparison.Ordinal);
System\ServiceModel\Description\TypeLoader.cs (1)
541!String.Equals(method1.Name, method2.Name, StringComparison.Ordinal) ||
System.ServiceModel.Primitives.Tests (21)
Channels\CommunicationObjectTest.cs (9)
35Assert.True(String.Equals(expectedOpens, actualOpens, StringComparison.Ordinal), 41Assert.True(String.Equals(expectedCloses, actualCloses, StringComparison.Ordinal), 71Assert.True(String.Equals(expectedOpens, actualOpens, StringComparison.Ordinal), 77Assert.True(String.Equals(expectedCloses, actualCloses, StringComparison.Ordinal), 99Assert.True(String.Equals(expectedCloses, actualCloses, StringComparison.Ordinal), 127Assert.True(String.Equals(expectedOpens, actualOpens, StringComparison.Ordinal), 133Assert.True(String.Equals(expectedCloses, actualCloses, StringComparison.Ordinal), 162Assert.True(String.Equals(expectedOpens, actualOpens, StringComparison.Ordinal), 168Assert.True(String.Equals(expectedCloses, actualCloses, StringComparison.Ordinal),
Channels\CustomChannelTest.cs (12)
82Assert.True(String.Equals(expectedOpens, actualOpens, StringComparison.Ordinal), 87Assert.True(String.Equals(expectedCloses, actualCloses, StringComparison.Ordinal), 92Assert.True(String.Equals(expectedOpens, actualOpens, StringComparison.Ordinal), 97Assert.True(String.Equals(expectedCloses, actualCloses, StringComparison.Ordinal), 179Assert.True(String.Equals(expectedOpens, actualOpens, StringComparison.Ordinal), 184Assert.True(String.Equals(expectedCloses, actualCloses, StringComparison.Ordinal), 189Assert.True(String.Equals(expectedOpens, actualOpens, StringComparison.Ordinal), 194Assert.True(String.Equals(expectedCloses, actualCloses, StringComparison.Ordinal), 372Assert.True(String.Equals(expectedOpens, actualOpens, StringComparison.Ordinal), 377Assert.True(String.Equals(expectedCloses, actualCloses, StringComparison.Ordinal), 382Assert.True(String.Equals(expectedOpens, actualOpens, StringComparison.Ordinal), 387Assert.True(String.Equals(expectedCloses, actualCloses, StringComparison.Ordinal),
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
1062public bool Equals(ParameterLookupKey other) => Type == other.Type && string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase);
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\MetadataName.T.cs (1)
56return string.Equals(_name, other._name, StringComparison.Ordinal);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
720if (!String.Equals(newText, matchedText, StringComparison.CurrentCulture))
System.Windows.Forms (51)
System\Resources\AssemblyNamesTypeResolutionService.cs (1)
115if (string.Equals(assemblyName.Name, asmName.Name, StringComparison.OrdinalIgnoreCase))
System\Resources\ResXSerializationBinder.cs (1)
90typeName = string.Equals(parsed.FullName, serializedType.FullName, StringComparison.Ordinal)
System\Windows\Forms\ActiveX\AxHost.State.cs (2)
93if (string.Equals(enumerator.Name, DataSerializationName, StringComparison.InvariantCultureIgnoreCase)) 109else if (string.Equals(enumerator.Name, PropertyBagSerializationName, StringComparison.InvariantCultureIgnoreCase))
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (1)
250if (string.Equals(column.DataPropertyName, sortField.Name, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
7418if (string.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 7717if (string.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 8133if (string.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (1)
108if (string.Equals(value, _text, StringComparison.Ordinal))
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (4)
1316if (string.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 1353bool csv = string.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase); 1355string.Equals(format, DataFormats.Text, StringComparison.OrdinalIgnoreCase) || 1356string.Equals(format, DataFormats.UnicodeText, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
660if (DataGridView is not null && !string.Equals(_name, oldName, StringComparison.Ordinal))
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (1)
97if (string.Equals(dataGridViewColumn.Name, columnName, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (4)
138if (string.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 171bool csv = string.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase); 173string.Equals(format, DataFormats.Text, StringComparison.OrdinalIgnoreCase) || 174string.Equals(format, DataFormats.UnicodeText, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
408if (string.Equals(themeFilename, AeroThemeFileName, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkColumn.cs (1)
195if (string.Equals(value, _text, StringComparison.Ordinal))
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (4)
108if (string.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 143bool csv = string.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase); 145string.Equals(format, DataFormats.Text, StringComparison.OrdinalIgnoreCase) || 146string.Equals(format, DataFormats.UnicodeText, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Controls\Labels\LinkUtilities.cs (3)
56if (string.Equals(name, IEAnchorColor, StringComparison.OrdinalIgnoreCase)) 60else if (string.Equals(name, IEAnchorColorVisited, StringComparison.OrdinalIgnoreCase)) 64else if (string.Equals(name, IEAnchorColorHover, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Controls\ListControl\ListControl.cs (1)
284if (string.Equals(props[i].Name, bindingMemberInfo.BindingField, StringComparison.CurrentCultureIgnoreCase))
System\Windows\Forms\Controls\ListView\ListView.cs (1)
3341if (string.Equals(text, listViewSubItem.Text, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (2)
65if (string.Equals(key, this[i].Name, StringComparison.CurrentCulture)) 86if (string.Equals(key, this[i].Name, StringComparison.CurrentCulture))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
1371if (!string.Equals(propertyName, entry.PropertyLabel, StringComparison.InvariantCultureIgnoreCase)) 1546if (text is not null && text.Length > 0 && string.Equals(text[..1], letter, StringComparison.InvariantCultureIgnoreCase))
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (3)
1377if (string.Equals(LunaFileName, themeFileName, StringComparison.OrdinalIgnoreCase)) 1400else if (string.Equals(AeroFileName, themeFileName, StringComparison.OrdinalIgnoreCase)) 1416else if (string.Equals(RoyaleFileName, themeFileName, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
152if (string.Equals(toolStrip.Name, toolStripName, StringComparison.Ordinal)) 169if (string.Equals(toolStrip.Name, toolStripName, StringComparison.Ordinal))
System\Windows\Forms\DataBinding\Binding.cs (3)
507if (tempPropInfo is null && string.Equals(propInfos[i].Name, PropertyName, StringComparison.OrdinalIgnoreCase)) 516if (tempPropIsNullInfo is null && string.Equals(propInfos[i].Name, propertyNameIsNull, StringComparison.OrdinalIgnoreCase)) 550if (tempValidateInfo is null && string.Equals(eventInfos[i]!.Name, validateName, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\DataBinding\BindingMemberInfo.cs (1)
48=> string.Equals(BindingMember, other.BindingMember, StringComparison.OrdinalIgnoreCase);
System\Windows\Forms\DataBinding\BindingSource.cs (3)
176if (string.Equals(key, dataMember, StringComparison.OrdinalIgnoreCase)) 269if (string.Equals(value, InnerListFilter, StringComparison.Ordinal)) 306if (string.Equals(value, InnerListSort, StringComparison.InvariantCulture))
System\Windows\Forms\DataBinding\ControlBindingsCollection.cs (2)
34if (string.Equals(binding.PropertyName, propertyName, StringComparison.OrdinalIgnoreCase)) 198&& string.Equals(binding.PropertyName, current.PropertyName, StringComparison.InvariantCulture))
System\Windows\Forms\FormCollection.cs (1)
35if (string.Equals(form.Name, name, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Input\CursorConverter.cs (1)
60if (string.Equals(prop.Name, text, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\SendKeys\SendKeys.cs (1)
352if (string.Equals(s_keywords[i].Keyword, keyword, StringComparison.OrdinalIgnoreCase))
System.Windows.Forms.Design (15)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
903if (string.Equals(line.FocusId, focusId, StringComparison.Ordinal))
System\ComponentModel\Design\DesignerHost.cs (2)
194if (_rootComponent is not null && string.Equals(component.GetType().FullName, _rootComponentClassName, StringComparison.OrdinalIgnoreCase)) 398if (string.Equals(reflectType.FullName, component.GetType().FullName, StringComparison.Ordinal))
System\ComponentModel\Design\ReferenceService.cs (1)
254if (string.Equals(holder.Name, name, StringComparison.OrdinalIgnoreCase))
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (3)
398if (!string.Equals(docDeclaration.Name, newDecl.Name, caseInsensitive ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal)) 1147if (string.Equals(member.Name, name, StringComparison.OrdinalIgnoreCase)) 1239if (string.Equals(member.Name, name, StringComparison.OrdinalIgnoreCase))
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (1)
37if (string.Equals(methodInvokeEx.Method?.MethodName, "ApplyResources", StringComparison.OrdinalIgnoreCase))
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (1)
97if (!string.Equals(member.Name, declaration.Name, compare))
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1187if (s is not null && s.Name is not null && string.Equals(s.Name, siteName, StringComparison.OrdinalIgnoreCase) && s.Component != component)
System\Windows\Forms\Design\DesignBinding.cs (1)
43public bool Equals(object? dataSource, string dataMember) => dataSource == DataSource && string.Equals(dataMember, DataMember, StringComparison.OrdinalIgnoreCase);
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
1033string.Equals(descriptor.Name, dataSourceDescriptor.Name, StringComparison.OrdinalIgnoreCase)) 1044string.Equals(descriptor.TypeName, type_.FullName, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (1)
203if (string.Equals(guid.Value, _clsid, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
2002if (item is not null && string.Equals(item.Name, CenterLabelName, StringComparison.InvariantCulture) && SystemInformation.HighContrast)
System.Xaml (4)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
115if (string.Equals(curAsmName.Name, assemblyName.Name, StringComparison.InvariantCultureIgnoreCase) &&
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (2)
649if (string.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 655else if (string.Equals(XmlnsDeclaration, Reader.Prefix, StringComparison.Ordinal))
System\Xaml\MS\Impl\KnownStrings.cs (1)
63return string.Equals(a, b, StringComparison.Ordinal);
TaskUsageLogger (4)
TaskUsageLogger.cs (4)
380if (String.Equals(name1, name2, StringComparison.OrdinalIgnoreCase)) 387if (parts.Length > 1 && String.Equals(name1, parts[parts.Length - 1], StringComparison.OrdinalIgnoreCase)) 407return String.Equals(projectExtension, ".sln", StringComparison.OrdinalIgnoreCase) || 408String.Equals(projectExtension, ".metaproj", StringComparison.OrdinalIgnoreCase);
Templates.Blazor.Tests (18)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
175if (!string.Equals(anchor.Protocol, "https:") || string.Equals(anchor.HostName, "localhost", StringComparison.OrdinalIgnoreCase))
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (2)
60var requiresHttps = string.Equals(auth, "IndividualB2C", StringComparison.OrdinalIgnoreCase) 61|| string.Equals(auth, "SingleOrg", StringComparison.OrdinalIgnoreCase)
src\ProjectTemplates\Shared\Project.cs (3)
336if (string.Equals(expectedProfileName, "http", StringComparison.Ordinal)) 341if (string.Equals(expectedProfileName, "https", StringComparison.Ordinal)) 432if (string.Equals(doNotCleanUpTemplates, "false", StringComparison.OrdinalIgnoreCase))
src\Shared\CertificateGeneration\CertificateManager.cs (4)
114if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 189.Any(e => string.Equals(oid, e.Oid?.Value, StringComparison.Ordinal)); 201.Where(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal)) 478if (!string.Equals(certificate.Subject, Subject, StringComparison.Ordinal) || // Kestrel requires this
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
Templates.Blazor.WebAssembly.Auth.Tests (19)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
175if (!string.Equals(anchor.Protocol, "https:") || string.Equals(anchor.HostName, "localhost", StringComparison.OrdinalIgnoreCase))
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (2)
60var requiresHttps = string.Equals(auth, "IndividualB2C", StringComparison.OrdinalIgnoreCase) 61|| string.Equals(auth, "SingleOrg", StringComparison.OrdinalIgnoreCase)
src\ProjectTemplates\Shared\Project.cs (3)
336if (string.Equals(expectedProfileName, "http", StringComparison.Ordinal)) 341if (string.Equals(expectedProfileName, "https", StringComparison.Ordinal)) 432if (string.Equals(doNotCleanUpTemplates, "false", StringComparison.OrdinalIgnoreCase))
src\Shared\CertificateGeneration\CertificateManager.cs (4)
114if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 189.Any(e => string.Equals(oid, e.Oid?.Value, StringComparison.Ordinal)); 201.Where(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal)) 478if (!string.Equals(certificate.Subject, Subject, StringComparison.Ordinal) || // Kestrel requires this
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
src\Shared\E2ETesting\BrowserFixture.cs (1)
164!string.Equals(Environment.GetEnvironmentVariable("E2E_TEST_VISIBLE"), "true", StringComparison.OrdinalIgnoreCase))
Templates.Blazor.WebAssembly.Tests (19)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
175if (!string.Equals(anchor.Protocol, "https:") || string.Equals(anchor.HostName, "localhost", StringComparison.OrdinalIgnoreCase))
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (2)
60var requiresHttps = string.Equals(auth, "IndividualB2C", StringComparison.OrdinalIgnoreCase) 61|| string.Equals(auth, "SingleOrg", StringComparison.OrdinalIgnoreCase)
src\ProjectTemplates\Shared\Project.cs (3)
336if (string.Equals(expectedProfileName, "http", StringComparison.Ordinal)) 341if (string.Equals(expectedProfileName, "https", StringComparison.Ordinal)) 432if (string.Equals(doNotCleanUpTemplates, "false", StringComparison.OrdinalIgnoreCase))
src\Shared\CertificateGeneration\CertificateManager.cs (4)
114if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 189.Any(e => string.Equals(oid, e.Oid?.Value, StringComparison.Ordinal)); 201.Where(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal)) 478if (!string.Equals(certificate.Subject, Subject, StringComparison.Ordinal) || // Kestrel requires this
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
src\Shared\E2ETesting\BrowserFixture.cs (1)
164!string.Equals(Environment.GetEnvironmentVariable("E2E_TEST_VISIBLE"), "true", StringComparison.OrdinalIgnoreCase))
Templates.Mvc.Tests (21)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
175if (!string.Equals(anchor.Protocol, "https:") || string.Equals(anchor.HostName, "localhost", StringComparison.OrdinalIgnoreCase))
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (2)
60var requiresHttps = string.Equals(auth, "IndividualB2C", StringComparison.OrdinalIgnoreCase) 61|| string.Equals(auth, "SingleOrg", StringComparison.OrdinalIgnoreCase)
src\ProjectTemplates\Shared\Project.cs (3)
336if (string.Equals(expectedProfileName, "http", StringComparison.Ordinal)) 341if (string.Equals(expectedProfileName, "https", StringComparison.Ordinal)) 432if (string.Equals(doNotCleanUpTemplates, "false", StringComparison.OrdinalIgnoreCase))
src\Shared\CertificateGeneration\CertificateManager.cs (4)
114if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 189.Any(e => string.Equals(oid, e.Oid?.Value, StringComparison.Ordinal)); 201.Where(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal)) 478if (!string.Equals(certificate.Subject, Subject, StringComparison.Ordinal) || // Kestrel requires this
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
src\Shared\E2ETesting\BrowserFixture.cs (1)
164!string.Equals(Environment.GetEnvironmentVariable("E2E_TEST_VISIBLE"), "true", StringComparison.OrdinalIgnoreCase))
WebApiTemplateTest.cs (2)
221var requiresHttps = string.Equals(auth, "IndividualB2C", StringComparison.OrdinalIgnoreCase) 222|| string.Equals(auth, "SingleOrg", StringComparison.OrdinalIgnoreCase);
Templates.Tests (19)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
175if (!string.Equals(anchor.Protocol, "https:") || string.Equals(anchor.HostName, "localhost", StringComparison.OrdinalIgnoreCase))
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (2)
60var requiresHttps = string.Equals(auth, "IndividualB2C", StringComparison.OrdinalIgnoreCase) 61|| string.Equals(auth, "SingleOrg", StringComparison.OrdinalIgnoreCase)
src\ProjectTemplates\Shared\Project.cs (3)
336if (string.Equals(expectedProfileName, "http", StringComparison.Ordinal)) 341if (string.Equals(expectedProfileName, "https", StringComparison.Ordinal)) 432if (string.Equals(doNotCleanUpTemplates, "false", StringComparison.OrdinalIgnoreCase))
src\Shared\CertificateGeneration\CertificateManager.cs (4)
114if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 189.Any(e => string.Equals(oid, e.Oid?.Value, StringComparison.Ordinal)); 201.Where(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal)) 478if (!string.Equals(certificate.Subject, Subject, StringComparison.Ordinal) || // Kestrel requires this
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
src\Shared\E2ETesting\BrowserFixture.cs (1)
164!string.Equals(Environment.GetEnvironmentVariable("E2E_TEST_VISIBLE"), "true", StringComparison.OrdinalIgnoreCase))
Test.Utilities (8)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (1)
250if (string.Equals(parsedWord, word, StringComparison.OrdinalIgnoreCase))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
Text.Analyzers (8)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
498return string.Equals(extension, ".dll", StringComparison.OrdinalIgnoreCase) 499|| string.Equals(extension, ".exe", StringComparison.OrdinalIgnoreCase)
src\Compilers\Core\Portable\InternalUtilities\DocumentationCommentXmlNames.cs (2)
54return string.Equals(name1, name2, fromVb ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase); 59return string.Equals(name1, name2, StringComparison.Ordinal);
src\RoslynAnalyzers\Utilities\Compiler\WordParser.cs (1)
250if (string.Equals(parsedWord, word, StringComparison.OrdinalIgnoreCase))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
273=> string.Equals(name1, name2, isCaseSensitive ? StringComparison.Ordinal : StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (1)
104: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
41: string.Equals(x.Name, y.Name, StringComparison.OrdinalIgnoreCase);
UIAutomationClient (1)
MS\Internal\Automation\ProxyManager.cs (1)
265if (string.Equals(className, str, StringComparison.OrdinalIgnoreCase))
UIAutomationClientSideProviders (12)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (2)
364if (string.Equals(className, "eHome Render Window", StringComparison.OrdinalIgnoreCase)) 1063if (string.Equals(className, str, StringComparison.OrdinalIgnoreCase))
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
672return string.Equals(Misc.GetClassName(hwndEx), ComboboxEx32, StringComparison.OrdinalIgnoreCase);
MS\Internal\AutomationProxies\WindowsListView.cs (1)
1642return string.Equals(className, "DesktopSFTBarHost", StringComparison.OrdinalIgnoreCase);
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
911return string.Equals(Misc.ProxyGetClassName(hwnd), WindowsMenu.MenuClassName, StringComparison.OrdinalIgnoreCase);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
724if (!string.Equals(name, unitRange.Font.Name, StringComparison.Ordinal))
MS\Internal\AutomationProxies\WindowsScroll.cs (1)
163string.Equals(className, "Edit", StringComparison.OrdinalIgnoreCase))
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)
src\Compilers\Server\VBCSCompiler\ClientConnectionHandler.cs (1)
55if (!string.Equals(request.CompilerHash, BuildProtocolConstants.GetCommitHash(), StringComparison.OrdinalIgnoreCase))
Wasm.Performance.ConsoleHost (7)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 250option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal)); 274option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal)); 333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase));
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
67if (string.Equals(expectedFileName, mainModuleFileName, StringComparison.OrdinalIgnoreCase))
xunit.console (12)
common\AssemblyResolution\DependencyContextAssemblyCache.cs (4)
102=> runtimeGraph.FirstOrDefault(x => string.Equals(x.Runtime, currentRuntimeIdentifier, StringComparison.OrdinalIgnoreCase)) 103?? runtimeGraph.FirstOrDefault(x => string.Equals(x.Runtime, fallbackRuntimeIdentifier.Value, StringComparison.OrdinalIgnoreCase)) 238var resolvedAssemblyPath = assemblies.FirstOrDefault(a => string.Equals(assemblyName, Path.GetFileNameWithoutExtension(a), StringComparison.OrdinalIgnoreCase)); 281var resolvedAssemblyPath = assemblies.FirstOrDefault(a => string.Equals(formattedUnmanagedDllName, Path.GetFileName(a), StringComparison.OrdinalIgnoreCase));
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))
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\Resolution\PackageCompilationAssemblyResolver.cs (1)
81!string.Equals(library.Type, "package", StringComparison.OrdinalIgnoreCase))
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\Resolution\ReferenceAssemblyPathResolver.cs (1)
43if (!string.Equals(library.Type, "referenceassembly", StringComparison.OrdinalIgnoreCase))
common\AssemblyResolution\XunitPackageCompilationAssemblyResolver.cs (1)
66if (nugetPackageDirectories.Count == 0 || !string.Equals(library.Type, "package", StringComparison.OrdinalIgnoreCase))