Implemented interface member:
method
Equals
System.IEquatable<T>.Equals(T)
1085 references to Equals
aspire (1)
Projects\ProjectUpdater.cs (1)
300|| packageId.Equals("Microsoft.Extensions.ServiceDiscovery");
Aspire.Azure.AI.Inference (1)
ChatCompletionsClientSettings.cs (1)
80if (envVar is not null && (envVar.Equals("true", StringComparison.OrdinalIgnoreCase) || envVar.Equals("1")))
Aspire.Azure.AI.OpenAI (1)
AzureOpenAISettings.cs (1)
82if (envVar is not null && (envVar.Equals("true", StringComparison.OrdinalIgnoreCase) || envVar.Equals("1")))
Aspire.Azure.Messaging.EventHubs (1)
AzureMessagingEventHubsSettings.cs (1)
84if (envVar is not null && (envVar.Equals("true", StringComparison.OrdinalIgnoreCase) || envVar.Equals("1")))
Aspire.Azure.Messaging.ServiceBus (1)
AzureMessagingServiceBusSettings.cs (1)
84if (envVar is not null && (envVar.Equals("true", StringComparison.OrdinalIgnoreCase) || envVar.Equals("1")))
Aspire.Dashboard.Components.Tests (2)
tests\Shared\Logging\TestSink.cs (2)
56return context.LoggerName?.Equals(typeof(T).FullName) == true; 61return context.LoggerName?.Equals(typeof(T).FullName) == true;
Aspire.Dashboard.Tests (2)
tests\Shared\Logging\TestSink.cs (2)
56return context.LoggerName?.Equals(typeof(T).FullName) == true; 61return context.LoggerName?.Equals(typeof(T).FullName) == true;
Aspire.Hosting.MySql.Tests (2)
AddMySqlTests.cs (2)
241var myAdmin = builder.Resources.Single(r => r.Name.Equals("phpmyadmin")); 273var myAdmin = builder.Resources.Single(r => r.Name.Equals("phpmyadmin"));
Aspire.Hosting.PostgreSQL.Tests (3)
AddPostgresTests.cs (3)
448Assert.Single(builder.Resources, r => r.Name.Equals("pgadmin")); 469var pgadmin = builder.Resources.Single(r => r.Name.Equals("pgadmin")); 534var pgweb = builder.Resources.Single(r => r.Name.Equals("pgweb"));
Aspire.Hosting.Qdrant.Tests (1)
QdrantFunctionalTests.cs (1)
229var qdrantResource = builder.Resources.Single(r => r.Name.Equals("qdrant"));
Aspire.Hosting.Redis.Tests (4)
AddRedisTests.cs (4)
284var redisinsight = builder.Resources.Single(r => r.Name.Equals("redisinsight")); 494var commander = builder.Resources.Single(r => r.Name.Equals("rediscommander")); 520var commander = builder.Resources.Single(r => r.Name.Equals("rediscommander")); 541var commander = builder.Resources.Single(r => r.Name.Equals("rediscommander"));
Aspire.Hosting.Testing.Tests (2)
tests\Shared\Logging\TestSink.cs (2)
56return context.LoggerName?.Equals(typeof(T).FullName) == true; 61return context.LoggerName?.Equals(typeof(T).FullName) == true;
Aspire.Hosting.Tests (4)
DistributedApplicationTests.cs (2)
1179var service = Assert.Single(exeList, c => $"{testName}-servicea".Equals(c.AppModelResourceName)); 1237var service = Assert.Single(exeList, c => $"{testName}-servicea".Equals(c.AppModelResourceName));
tests\Shared\Logging\TestSink.cs (2)
56return context.LoggerName?.Equals(typeof(T).FullName) == true; 61return context.LoggerName?.Equals(typeof(T).FullName) == true;
Aspire.OpenAI (1)
OpenAISettings.cs (1)
67if (envVar is not null && (envVar.Equals("true", StringComparison.OrdinalIgnoreCase) || envVar.Equals("1")))
Aspire.Playground.Tests (2)
tests\Shared\Logging\TestSink.cs (2)
56return context.LoggerName?.Equals(typeof(T).FullName) == true; 61return context.LoggerName?.Equals(typeof(T).FullName) == true;
Binding.Http.IntegrationTests (1)
BasicHttpBindingTests.4.0.0.cs (1)
168if (!header.Key.Equals("Content-Length") && message.Content.Headers.Contains(header.Key))
Binding.UDS.IntegrationTests (1)
ServiceHelper.cs (1)
61if (AspNetHttpsOid.Equals(extension.Oid?.Value))
Contract.Message.IntegrationTests (10)
MessageContractTests.4.1.0.cs (10)
25Assert.True(reader.LocalName.Equals(wrapperName), 28Assert.True(reader.NamespaceURI.Equals(MessageContractConstants.wrapperNamespace), 43Assert.False(reader.LocalName.Equals(wrapperName), 58Assert.True(reader.LocalName.Equals(wrapperName), 63Assert.True(reader.LocalName.Equals(MessageContractConstants.dateElementName), 70Assert.True(reader.LocalName.Equals(MessageContractConstants.transactionElementName), 77Assert.True(reader.LocalName.Equals(MessageContractConstants.customerElementName), 85Assert.True(reader.IsStartElement() == false && reader.LocalName.Equals(wrapperName), 102if (reader.LocalName.Equals(MessageContractConstants.customerElementName) && reader.NamespaceURI.Equals(MessageContractConstants.customerElementNamespace))
dotnet-svcutil-lib (80)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (2)
101if (codeCompileUnit.Namespaces.Count > 0 && namespaceToAdd.Equals(SpecialNamespace)) 110if (namespaceToAdd.Equals(ns.Name))
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (1)
61if(methodName.Equals("Close"))
CommandProcessorOptions.cs (1)
545if (Path.GetFileName(paramsFilePath).Equals(CommandProcessorOptions.WCFCSParamsFileName))
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
4634if (names[i].Equals(name))
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (4)
283Debug.Assert(!prefix.Equals("xmlns")); 487Debug.Assert(!prefix.Equals("xmlns") && !namespaceName.Equals(XmlReservedNs.NsXmlNs)); 543Debug.Assert(prefix.Equals("xml"), "xmlns:xml namespace declaration should always be present in the list.");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (3)
2900Debug.Assert(baseUri == null || (baseUri.ToString().Equals(baseUriStr))); 6331Throw(target.Equals("xml") ? ResXml.Xml_XmlDeclNotFirst : ResXml.Xml_InvalidPIName, target); 9447if (_nodes[i].prefix.Equals(pref))
FrameworkFork\Microsoft.Xml\Xml\Dom\DomNameTable.cs (6)
50|| e.LocalName.Equals(localName)) 52|| e.Prefix.Equals(prefix)) 54|| e.NamespaceURI.Equals(ns)) 80|| e.LocalName.Equals(localName)) 82|| e.Prefix.Equals(prefix)) 84|| e.NamespaceURI.Equals(ns))
FrameworkFork\Microsoft.Xml\Xml\NameTable.cs (2)
91if (e.hashCode == hashCode && e.str.Equals(key)) 162if (e.hashCode == hashCode && e.str.Equals(value))
FrameworkFork\Microsoft.Xml\Xml\schema\ChameleonKey.cs (1)
72return this.targetNS.Equals(cKey.targetNS) && this.chameleonLocation.Equals(cKey.chameleonLocation) &&
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (4)
694if (attrDef != null && attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals("xml") && attrDef.Name.Name == "space") 718if (attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals("xml")) 729if (val.Equals("preserve") || val.Equals("default"))
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (2)
1435if (value.Equals(((Uri)enumeration[i]).OriginalString)) 1445if (value.Equals((string)enumeration[i]))
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (2)
267if (!prefix.Equals("xml") && !prefix.Equals("xmlns"))
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (1)
1628if (!s.Equals("*") &&
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (1)
1851if (decl.Presence == SchemaDeclBase.Use.Fixed && !elementValue.Equals(elementDecl.DefaultValueRaw))
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (1)
401else if (xsiNil != null && xsiNil.Equals("true"))
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
350if(name.Equals("System"))
FrameworkFork\Microsoft.Xml\Xml\ValidateNames.cs (6)
459return s.Equals(XmlReservedNs.NsXml) || s.Equals(XmlReservedNs.NsXmlNs); 525if (ns.Length == 0 && localName.Equals("xmlns")) 578if (prefix.Equals("xml")) 581if (!ns.Equals(XmlReservedNs.NsXml)) 587else if (prefix.Equals("xmlns"))
FrameworkFork\Microsoft.Xml\Xml\XmlNamespaceManager.cs (1)
142if ((Ref.Equal(_xml, prefix) && !uri.Equals(XmlReservedNs.NsXml)))
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\AttributeQuery.cs (1)
50Debug.Assert(!currentNode.NamespaceURI.Equals(XmlReservedNs.NsXmlNs));
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\baseaxisquery.cs (2)
92if (_name.Equals(e.LocalName) || _name.Length == 0) 94if (_nsUri.Equals(e.NamespaceURI))
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\NamespaceQuery.cs (1)
72return Name.Equals(e.LocalName);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (1)
780_scanner.Name.Equals(op)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
1750localName.Append((tempLocalName.Equals("KeyValuePairAdapter") ? "KeyValuePair" : tempLocalName));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (3)
339if (dm.Name.Equals(memberContract.Name)) 440if (propInfo.Name.Equals(prop.Name)) 778if (_reader.Name.Equals("xmlns"))
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (1)
1024var matchedMethods = methodBases.Where(method => method.Name.Equals(methodName));
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\ClaimSet.cs (2)
71Rights.Identity.Equals(right) || 72Rights.PossessProperty.Equals(right);
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (15)
226ClaimTypes.Thumbprint.Equals(claimType) || 227ClaimTypes.X500DistinguishedName.Equals(claimType) || 228ClaimTypes.Dns.Equals(claimType) || 229ClaimTypes.Name.Equals(claimType) || 230ClaimTypes.Email.Equals(claimType) || 231ClaimTypes.Upn.Equals(claimType) || 232ClaimTypes.Uri.Equals(claimType) || 233ClaimTypes.Rsa.Equals(claimType); 244else if (_claims == null && ClaimTypes.Thumbprint.Equals(claimType)) 246if (right == null || Rights.Identity.Equals(right)) 250if (right == null || Rights.PossessProperty.Equals(right)) 255else if (_claims == null && ClaimTypes.Dns.Equals(claimType)) 257if (right == null || Rights.PossessProperty.Equals(right)) 290(anyClaimType || claimType.Equals(claim.ClaimType)) && 291(anyRight || right.Equals(claim.Right)))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
430if (!thumbprint.Equals(certHashString))
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SchemaHelper.cs (1)
81if ((existingSchema.TargetNamespace == null && ns.Length == 0) || ns.Equals(existingSchema.TargetNamespace))
FrameworkFork\System.ServiceModel\System\ServiceModel\DnsEndpointIdentity.cs (1)
28if (!identity.ClaimType.Equals(ClaimTypes.Dns))
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\IdentityVerifier.cs (3)
114if (SRServiceModel.IdentityCheckFailedForIncomingMessage.Equals(errorString)) 125else if (SRServiceModel.IdentityCheckFailedForOutgoingMessage.Equals(errorString)) 233if (ClaimTypes.Dns.Equals(identity.IdentityClaim.ClaimType))
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (3)
386if (ClaimTypes.Spn.Equals(identity.IdentityClaim.ClaimType)) 391else if (ClaimTypes.Upn.Equals(identity.IdentityClaim.ClaimType)) 396else if (ClaimTypes.Dns.Equals(identity.IdentityClaim.ClaimType))
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityTokenSerializer.cs (2)
548if (_dictionaryStrings[i].Value.Equals(value)) 580(_dictionaryStrings[i].Value.Equals(value.Value)))
FrameworkFork\System.ServiceModel\System\ServiceModel\SpnEndpointIdentity.cs (1)
54if (!identity.ClaimType.Equals(ClaimTypes.Spn))
Metadata\ServiceDescriptor.cs (1)
101if (MetadataUrl != null && MetadataUrl.Scheme.Equals("net.pipe"))
GenerateDocumentationAndConfigFiles (2)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
IIS.ShadowCopy.Tests (1)
ShadowCopyTests.cs (1)
65if (!tempDirectoryPath.Equals(dirInfo.FullName))
illink (2)
ILLink.RoslynAnalyzer (1)
TrimAnalysis\TrimDataFlowAnalysis.cs (1)
104if (methodName?.Equals(traceMethod) == true)
InMemory.FunctionalTests (3)
Http2\Http2StreamTests.cs (1)
5898Assert.Contains(LogMessages, m => m.Message.Equals("One or more of the following response headers have been removed because they are invalid for HTTP/2 and HTTP/3 responses: 'Connection', 'Transfer-Encoding', 'Keep-Alive', 'Upgrade' and 'Proxy-Connection'."));
Http3\Http3StreamTests.cs (1)
677Assert.Contains(LogMessages, m => m.Message.Equals("One or more of the following response headers have been removed because they are invalid for HTTP/2 and HTTP/3 responses: 'Connection', 'Transfer-Encoding', 'Keep-Alive', 'Upgrade' and 'Proxy-Connection'."));
ResponseTests.cs (1)
1296Assert.All(error, message => message.Message.Equals(CoreStrings.FormatTooFewBytesWritten(0, 5)));
Metrics (2)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
Metrics.Legacy (2)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
Microsoft.AspNetCore.Analyzer.Testing (2)
DiagnosticAnalyzerRunner.cs (1)
86diags = diags.Where(d => d.Severity == DiagnosticSeverity.Error || analyzer.SupportedDiagnostics.Any(s => s.Id.Equals(d.Id))).ToImmutableArray();
DiagnosticVerifier.cs (1)
109diags = diags.Where(d => d.Severity == DiagnosticSeverity.Error || analyzer.SupportedDiagnostics.Any(s => s.Id.Equals(d.Id))).ToImmutableArray();
Microsoft.AspNetCore.App.UnitTests (1)
SharedFxTests.cs (1)
305if (assemblyType.Equals("Managed"))
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieAuthenticationHandler.cs (1)
166var claim = ticket.Principal.Claims.FirstOrDefault(c => c.Type.Equals(SessionIdClaim));
Microsoft.AspNetCore.Authentication.Test (10)
OpenIdConnect\TestSettings.cs (2)
320if (request.RequestUri.AbsoluteUri.Equals("https://login.microsoftonline.com/common/.well-known/openid-configuration")) 324if (request.RequestUri.AbsoluteUri.Equals("https://login.microsoftonline.com/common/discovery/keys"))
WsFederation\WsFederationTest.cs (4)
87Assert.True(queryItems["wctx"].ToString().Equals(CustomStateDataFormat.ValidStateData), "wctx does not equal ValidStateData"); 103Assert.True(queryItems["wctx"].ToString().Equals(CustomStateDataFormat.ValidStateData), "wctx does not equal ValidStateData"); 119Assert.True(queryItems["wctx"].ToString().Equals(CustomStateDataFormat.ValidStateData), "wctx does not equal ValidStateData"); 314Assert.True(context.ProtocolMessage.Wctx.Equals("customValue"), "wctx is not my custom value");
WsFederation\WsFederationTest_Handler.cs (4)
78Assert.True(queryItems["wctx"].ToString().Equals(CustomStateDataFormat.ValidStateData), "wctx does not equal ValidStateData"); 94Assert.True(queryItems["wctx"].ToString().Equals(CustomStateDataFormat.ValidStateData), "wctx does not equal ValidStateData"); 110Assert.True(queryItems["wctx"].ToString().Equals(CustomStateDataFormat.ValidStateData), "wctx does not equal ValidStateData"); 303Assert.True(context.ProtocolMessage.Wctx.Equals("customValue"), "wctx is not my custom value");
Microsoft.AspNetCore.Authorization.Test (8)
AuthorizationPolicyFacts.cs (8)
112Assert.Contains(rolesAuthorizationRequirement.AllowedRoles, r => r.Equals("r1")); 113Assert.Contains(rolesAuthorizationRequirement.AllowedRoles, r => r.Equals("r2")); 132Assert.Contains(combined.AuthenticationSchemes, a => a.Equals("a1")); 133Assert.Contains(combined.AuthenticationSchemes, a => a.Equals("a2")); 152Assert.Contains(combined.AuthenticationSchemes, a => a.Equals("a1")); 153Assert.Contains(combined.AuthenticationSchemes, a => a.Equals("a2")); 173Assert.Contains(rolesAuthorizationRequirement.AllowedRoles, r => r.Equals("r1")); 174Assert.Contains(rolesAuthorizationRequirement.AllowedRoles, r => r.Equals("r2"));
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
DebugProxyLauncher.cs (2)
47if (noProxyEnvVarValues.Any(noProxyValue => noProxyValue.Equals("localhost") || noProxyValue.Equals("127.0.0.1")))
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
2718return (writeContext.LoggerName.Equals("Microsoft.AspNetCore.Http.Connections.Internal.Transports.LongPollingTransport") &&
Microsoft.AspNetCore.HttpLogging.Tests (9)
HttpLoggingMiddlewareTests.cs (8)
467Assert.Contains(TestSink.Writes, w => w.Message.Equals("RequestBody: " + expected)); 503Assert.Contains(TestSink.Writes, w => w.Message.Equals("RequestBody: " + expected)); 528Assert.Contains(TestSink.Writes, w => w.Message.Equals("RequestBody: " + expected)); 554Assert.Contains(TestSink.Writes, w => w.Message.Equals("RequestBody: " + expected)); 1913Assert.Contains(filteredLogs, w => w.Message.Equals("RequestBody: fro[Truncated by RequestBodyLogLimit]")); 1914Assert.Contains(filteredLogs, w => w.Message.Equals("ResponseBody: testin")); 2003Assert.Contains(filteredLogs, w => w.Message.Equals("RequestBody: fro[Truncated by RequestBodyLogLimit]")); 2004Assert.Contains(filteredLogs, w => w.Message.Equals("ResponseBody: testin"));
HttpLoggingOptionsTests.cs (1)
43Assert.Contains(defaultMediaTypes, w => w.MediaTypeHeaderValue.Encoding.WebName.Equals("us-ascii"));
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
src\Identity\test\Shared\ApiConsistencyTestBase.cs (1)
25&& !method.Name.Equals("Dispose")
Microsoft.AspNetCore.Identity.InMemory.Test (2)
InMemoryStore.cs (1)
62var role = _roles.Values.Where(x => x.NormalizedName.Equals(roleName)).SingleOrDefault();
src\Identity\test\Shared\ApiConsistencyTestBase.cs (1)
25&& !method.Name.Equals("Dispose")
Microsoft.AspNetCore.Identity.Test (1)
src\Identity\test\Shared\ApiConsistencyTestBase.cs (1)
25&& !method.Name.Equals("Dispose")
Microsoft.AspNetCore.InternalTesting (2)
Logging\TestSink.cs (2)
57return context.LoggerName.Equals(typeof(T).FullName); 62return context.LoggerName.Equals(typeof(T).FullName);
Microsoft.AspNetCore.Mvc.Core (1)
Filters\MiddlewareFilterConfigurationProvider.cs (1)
44var selectedMethods = methods.Where(method => method.Name.Equals(methodName)).ToList();
Microsoft.AspNetCore.Mvc.Core.Test (50)
ApplicationModels\ActionModelTest.cs (4)
88if (property.Name.Equals("ApiExplorer") || 89property.Name.Equals("Selectors") || 90property.Name.Equals("Parameters")) 128else if (property.Name.Equals(nameof(ActionModel.DisplayName)))
ApplicationModels\ControllerActionDescriptorProviderTests.cs (33)
124d => d.ActionName.Equals(nameof(ActionParametersController.RequiredInt))); 143d => d.ActionName.Equals(nameof(ActionParametersController.MultipleParameters))); 168d => d.ActionName.Equals(nameof(ActionParametersController.DifferentCasing))); 201d => d.ActionName.Equals(actionName)); 222d => d.ActionName.Equals(actionName)); 244var controller = Assert.Single(action.RouteValues, kvp => kvp.Key.Equals("controller")); 247var actionConstraint = Assert.Single(action.RouteValues, kvp => kvp.Key.Equals("action")); 345var controller = Assert.Single(action.RouteValues, kvp => kvp.Key.Equals("controller")); 348var actionConstraint = Assert.Single(action.RouteValues, kvp => kvp.Key.Equals("action")); 462Assert.Single(actions, a => a.AttributeRouteInfo.Template.Equals("v1/List")); 463Assert.Single(actions, a => a.AttributeRouteInfo.Template.Equals("v1/All")); 464Assert.Single(actions, a => a.AttributeRouteInfo.Template.Equals("v2/List")); 465Assert.Single(actions, a => a.AttributeRouteInfo.Template.Equals("v2/All")); 492Assert.Single(actions, a => a.AttributeRouteInfo.Template.Equals("v1/List")); 493Assert.Single(actions, a => a.AttributeRouteInfo.Template.Equals("v2/List")); 548Assert.Single(putActions, a => a.AttributeRouteInfo.Template.Equals("v1/All")); 549Assert.Single(putActions, a => a.AttributeRouteInfo.Template.Equals("v2/All")); 555Assert.Single(routeActions, a => a.AttributeRouteInfo.Template.Equals("v1/List")); 556Assert.Single(routeActions, a => a.AttributeRouteInfo.Template.Equals("v2/List")); 587Assert.Single(postActions, a => a.AttributeRouteInfo.Template.Equals("v1")); 588Assert.Single(postActions, a => a.AttributeRouteInfo.Template.Equals("v2")); 594Assert.Single(putActions, a => a.AttributeRouteInfo.Template.Equals("v1/All")); 595Assert.Single(putActions, a => a.AttributeRouteInfo.Template.Equals("v2/All")); 600Assert.Single(unconstrainedActions, a => a.AttributeRouteInfo.Template.Equals("v1/List")); 601Assert.Single(unconstrainedActions, a => a.AttributeRouteInfo.Template.Equals("v2/List")); 616var controllerAndAction = Assert.Single(actions, a => a.ActionName.Equals(firstActionName)); 619var controllerActionAndOverride = Assert.Single(actions, a => a.ActionName.Equals(secondActionName)); 639var actions = descriptors.Where(d => d.ActionName.Equals(actionName)); 811var getActions = actions.Where(a => a.ActionName.Equals(getActionName)); 821var editAction = Assert.Single(actions, a => a.ActionName.Equals(editActionName)); 839var getActions = actions.Where(a => a.ActionName.Equals(getActionName)); 853var editAction = Assert.Single(actions, a => a.ActionName.Equals(editActionName)); 901var indexAction = Assert.Single(actionDescriptors, ad => ad.ActionName.Equals("Index"));
ApplicationModels\ControllerModelTest.cs (5)
89if (property.Name.Equals("Actions") || 90property.Name.Equals("Selectors") || 91property.Name.Equals("ApiExplorer") || 92property.Name.Equals("ControllerProperties")) 130else if (property.Name.Equals(nameof(ControllerModel.DisplayName)))
ApplicationModels\DefaultApplicationModelProviderTest.cs (5)
619var methods = typeInfo.AsType().GetMethods().Where(m => m.Name.Equals("Dispose") && m != methodInfo); 691var methods = typeInfo.AsType().GetMethods().Where(m => m.Name.Equals("Dispose") && m != methodInfo); 711var methods = typeInfo.AsType().GetMethods().Where(m => m.Name.Equals("Dispose")); 1048Assert.Single(action.Selectors, ai => ai.AttributeRouteModel.Template.Equals("List")); 1049Assert.Single(action.Selectors, ai => ai.AttributeRouteModel.Template.Equals("All"));
ApplicationModels\ParameterModelTest.cs (2)
33if (property.Name.Equals("BindingInfo")) 64else if (property.Name.Equals(nameof(ActionModel.DisplayName)))
ApplicationModels\PropertyModelTest.cs (1)
29if (property.Name.Equals("BindingInfo"))
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
XmlDataContractSerializerInputFormatterTest.cs (1)
110(actualErrorMessage) => actualErrorMessage.Equals(expectedErrorMessage));
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
ProductValidatorAttribute.cs (2)
15if (!product.Country.Equals("USA") || string.IsNullOrEmpty(product.Name)) 27if (!software.Country.Equals("USA") || string.IsNullOrEmpty(software.Name))
Microsoft.AspNetCore.Mvc.TagHelpers (1)
TagHelperOutputExtensions.cs (1)
244listOfClasses.RemoveAll(x => x.Equals(encodedClassValue));
Microsoft.AspNetCore.Mvc.TagHelpers.Test (36)
AnchorTagHelperTest.cs (2)
79var attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("id")); 81attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("href"));
FormTagHelperTest.cs (12)
115var attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("method")); 117attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("action")); 169var attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("method")); 171attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("action")); 227var attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("action")); 285var attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("action")); 357var attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("id")); 359attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("method")); 361attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("action")); 472var routeValue = Assert.Single(routeValueDictionary, attr => attr.Key.Equals("val")); 474routeValue = Assert.Single(routeValueDictionary, attr => attr.Key.Equals("-Name")); 619var attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("action"));
ImageTagHelperTest.cs (4)
160var srcAttribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("src")); 212var srcAttribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("src")); 255var srcAttribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("src")); 287var srcAttribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("src"));
TagHelperOutputExtensionsTest.cs (9)
914var attribute = Assert.Single(tagHelperOutput.Attributes, attr => attr.Name.Equals("class")); 916attribute = Assert.Single(tagHelperOutput.Attributes, attr => attr.Name.Equals("class2")); 963var attribute = Assert.Single(tagHelperOutput.Attributes, attr => attr.Name.Equals("class")); 965attribute = Assert.Single(tagHelperOutput.Attributes, attr => attr.Name.Equals("for")); 986var classAttribute = Assert.Single(tagHelperOutput.Attributes, attr => attr.Name.Equals("class")); 1008var classAttribute = Assert.Single(tagHelperOutput.Attributes, attr => attr.Name.Equals("class")); 1034var classAttribute = Assert.Single(tagHelperOutput.Attributes, attr => attr.Name.Equals("class")); 1100var classAttribute = Assert.Single(tagHelperOutput.Attributes, attr => attr.Name.Equals("class")); 1144var classAttribute = Assert.Single(tagHelperOutput.Attributes, attr => attr.Name.Equals("class"));
ValidationMessageTagHelperTest.cs (8)
74var attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("id")); 76attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("class")); 78attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("data-valmsg-for")); 80attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("data-valmsg-replace")); 347var attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("data-foo")); 349attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("data-hello")); 409var attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("data-foo")); 411attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("data-hello"));
ValidationSummaryTagHelperTest.cs (1)
255var attribute = Assert.Single(output.Attributes, attr => attr.Name.Equals("class"));
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
AddressBinderTests.cs (1)
309Assert.Contains(logger.Messages, f => f.Equals(CoreStrings.FormatFallbackToIPv4Any(80)));
Microsoft.AspNetCore.Session.Tests (16)
SessionTests.cs (16)
836return writeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 837|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 841return beginScopeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 842|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 896return writeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 897|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 901return beginScopeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 902|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 962return writeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 963|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 967return beginScopeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 968|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 1026return writeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 1027|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 1031return beginScopeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 1032|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName);
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnection.cs (2)
71private static readonly MethodInfo _sendStreamItemsMethod = typeof(HubConnection).GetMethods(BindingFlags.NonPublic | BindingFlags.Instance).Single(m => m.Name.Equals(nameof(SendStreamItems))); 72private static readonly MethodInfo _sendIAsyncStreamItemsMethod = typeof(HubConnection).GetMethods(BindingFlags.NonPublic | BindingFlags.Instance).Single(m => m.Name.Equals(nameof(SendIAsyncEnumerableStreamItems)));
Microsoft.AspNetCore.SignalR.Core (3)
Internal\HubMethodDescriptor.cs (2)
22.Single(m => m.Name.Equals(nameof(AsyncEnumerableAdapters.MakeAsyncEnumerator)) && m.IsGenericMethod); 26.Single(m => m.Name.Equals(nameof(AsyncEnumerableAdapters.MakeAsyncEnumeratorFromChannel)) && m.IsGenericMethod);
StreamTracker.cs (1)
17private static readonly MethodInfo _buildConverterMethod = typeof(StreamTracker).GetMethods(BindingFlags.NonPublic | BindingFlags.Static).Single(m => m.Name.Equals(nameof(BuildStream)));
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
RedisHubLifetimeManager.cs (1)
652if (hubProtocol.Name.Equals(completion.ProtocolName))
Microsoft.Build.Framework (1)
TaskPropertyInfo.cs (1)
31IsValueTypeOutputParameter = elementType.GetTypeInfo().IsValueType || elementType.FullName.Equals("System.String");
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Core\MSBuildTask\GenerateMSBuildEditorConfig.cs (1)
120if (existingContents.Equals(ConfigFileContents))
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Core\MSBuildTask\GenerateMSBuildEditorConfig.cs (1)
120if (existingContents.Equals(ConfigFileContents))
Microsoft.Cci.Extensions (2)
HostEnvironment.cs (1)
651if (!idPKT.Equals(matchingPKT))
Mappings\AssemblyMapping.cs (1)
118return this.Value.Equals(other.Value);
Microsoft.CodeAnalysis (1)
FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
Microsoft.CodeAnalysis.Analyzers (2)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
Microsoft.CodeAnalysis.CodeStyle (3)
src\Analyzers\Core\Analyzers\UseExplicitTupleName\UseExplicitTupleNameDiagnosticAnalyzer.cs (1)
85!fieldSymbol.Name.Equals(unnamedField.Name))
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\AddExplicitCast\AbstractAddExplicitCastCodeFixProvider.cs (1)
202if (argumentName.Equals(parameters[j].Name))
Microsoft.CodeAnalysis.CSharp (10)
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (1)
269if (!xGroupingKey.Equals(yGroupingKey))
Declarations\MergedNamespaceDeclaration.cs (1)
127else if (allNamespacesHaveSameName && !asNamespace.Name.Equals(namespaces[0].Name))
Symbols\Attributes\SourceAttributeData.cs (1)
477if (!attributeClass.Name.Equals(typeName))
Symbols\Compilation_WellKnownMembers.cs (1)
292if (!member.Name.Equals(descriptor.Name))
Symbols\Metadata\PE\MetadataDecoder.cs (1)
444if (!haveScopeGuidValue || identifier == null || !identifier.Equals(name.FullName))
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1203_name.Equals(this.IsStatic ? WellKnownMemberNames.StaticConstructorName : WellKnownMemberNames.InstanceConstructorName) &&
Symbols\MissingNamespaceSymbol.cs (1)
91return (object)other != null && _name.Equals(other._name) && _containingSymbol.Equals(other._containingSymbol, compareKind);
Symbols\NamespaceOrTypeSymbol.cs (1)
277Debug.Assert(!emittedTypeName.UnmangledTypeName.Equals(emittedTypeName.TypeName) && emittedTypeName.InferredArity > 0);
Symbols\PublicModel\PreprocessingSymbol.cs (1)
47this._name.Equals(other._name);
Symbols\SynthesizedNamespaceSymbol.cs (1)
46return other is object && _name.Equals(other._name) && _containingSymbol.Equals(other._containingSymbol);
Microsoft.CodeAnalysis.CSharp.CodeStyle (9)
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpIsAndCastCheckDiagnosticAnalyzer.cs (2)
223declarator.Identifier.ValueText.Equals(variableName)) 228designation.Identifier.ValueText.Equals(variableName))
src\Analyzers\CSharp\Analyzers\ValidateFormatString\CSharpValidateFormatStringDiagnosticAnalyzer.cs (1)
27if (argument.NameColon != null && argument.NameColon.Name.Identifier.ValueText.Equals(searchArgumentName))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\TypeStyle\TypeStyleHelper.cs (1)
158UnwrapTupleType(containingType).Name.Equals(returnType.Name) &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SuppressFormattingRule.cs (2)
359if (identifierName.Identifier.ValueText.Equals(FormattingDiagnosticIds.FormatDocumentControlDiagnosticId) 360|| identifierName.Identifier.ValueText.Equals(FormattingDiagnosticIds.FormattingDiagnosticId))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpInferredMemberNameSimplifier.cs (2)
72if (argument.NameColon is null && argument.Expression.TryGetInferredMemberName()?.Equals(name) == true) 94if (initializer.NameEquals is null && initializer.Expression.TryGetInferredMemberName()?.Equals(name) == true)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
277.Where(n => n is IdentifierNameSyntax id && id.Identifier.ValueText.Equals(identifier.ValueText))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1825if (identifierName.Identifier.ValueText.Equals(parameterName) &&
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_Assembly.cs (1)
1869Assert.True(expectedStr.Equals(actualStr), AssertEx.GetAssertMessage(expectedStr, actualStr));
Microsoft.CodeAnalysis.CSharp.Features (9)
Completion\CompletionProviders\CompletionUtilities.cs (1)
158if (name.Equals(name.EscapeIdentifier()))
Completion\CompletionProviders\NamedParameterCompletionProvider.cs (1)
275=> x == y || x != null && y != null && x.Name.Equals(y.Name);
ConvertLinq\ConvertForEachToLinqQuery\AbstractToMethodConverter.cs (1)
65lastDeclaration.Identifier.ValueText.Equals(identifierName.Identifier.ValueText) &&
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (2)
51return (name != null && name.Length > 0) ? MakeMethodName("Get", name, methodName.Equals(NewMethodCamelCaseStr)) : methodName; 81MakeMethodName("Get", unqualifiedNameIdentifierValueText, methodName.Equals(NewMethodCamelCaseStr)) : methodName;
GenerateType\CSharpGenerateTypeService.cs (1)
739.Any(n => n.Equals(includeUsingsOrImports)))
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpIsAndCastCheckDiagnosticAnalyzer.cs (2)
223declarator.Identifier.ValueText.Equals(variableName)) 228designation.Identifier.ValueText.Equals(variableName))
src\Analyzers\CSharp\Analyzers\ValidateFormatString\CSharpValidateFormatStringDiagnosticAnalyzer.cs (1)
27if (argument.NameColon != null && argument.NameColon.Name.Identifier.ValueText.Equals(searchArgumentName))
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
Semantics\BindingTests.cs (5)
2726.First(x => x.Parent.IsKind(SyntaxKind.SimpleMemberAccessExpression) && x.Identifier.ValueText.Equals("M0")); 2738.First(x => x.Parent.IsKind(SyntaxKind.SimpleMemberAccessExpression) && x.Identifier.ValueText.Equals("M1")); 2782.Where(x => x.Identifier.ValueText.Equals("MyMethod")).ToArray(); 2837.First(x => x.Parent.IsKind(SyntaxKind.SimpleMemberAccessExpression) && x.Identifier.ValueText.Equals("M0")); 2849.First(x => x.Parent.IsKind(SyntaxKind.SimpleMemberAccessExpression) && x.Identifier.ValueText.Equals("M1"));
Semantics\LookupTests.cs (4)
1394var systemNS = (INamespaceSymbol)actual_lookupSymbols.Where((sym) => sym.Name.Equals("System") && sym.Kind == SymbolKind.Namespace).Single(); 1524var namespaceX = (INamespaceSymbol)actual_lookupSymbols.Where((sym) => sym.Name.Equals("X") && sym.Kind == SymbolKind.Namespace).Single(); 1533var typeA = (INamedTypeSymbol)actual_lookupSymbols.Where((sym) => sym.Name.Equals("A") && sym.Kind == SymbolKind.NamedType).Single(); 1538var aliasY = (IAliasSymbol)actual_lookupSymbols.Where((sym) => sym.Name.Equals("aliasY") && sym.Kind == SymbolKind.Alias).Single();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (26)
Symbols\ImplicitClassTests.cs (1)
74var toStringIdentifier = identifiers.Where(node => node.Identifier.ValueText.Equals("ToString")).Single();
Symbols\Metadata\PE\TypeAccessibility.cs (17)
31where n.Kind == SymbolKind.Namespace && n.Name.Equals("System") 35where t.Name.Equals("Object") 41where t.Name.Equals("FXAssembly") 47where t.Name.Equals("Enum") 51where t.Name.Equals("Console") 55where t.Name.Equals("ControlKeyState") 61where t.Name.Equals("ActivationContext") 65where t.Name.Equals("ContextForm") 71where t.Kind == SymbolKind.Namespace && t.Name.Equals("Runtime") 75where t.Kind == SymbolKind.Namespace && t.Name.Equals("Remoting") 79where t.Kind == SymbolKind.Namespace && t.Name.Equals("Messaging") 83where t.Name.Equals("MessageSmuggler") 87where t.Name.Equals("SerializedArg") 93where t.Kind == SymbolKind.Namespace && t.Name.Equals("Security") 97where t.Kind == SymbolKind.Namespace && t.Name.Equals("AccessControl") 101where t.Name.Equals("NativeObjectSecurity") 105where t.Name.Equals("ExceptionFromErrorCode")
Symbols\Metadata\PE\TypeKindTests.cs (8)
33where n.Name.Equals("System") 37where t.Name.Equals("Object") 43where t.Name.Equals("Enum") 49where t.Name.Equals("Int32") 55where t.Name.Equals("Func") && t.Arity == 1 61where n.Name.Equals("Collections") 65where t.Name.Equals("IEnumerable") 72where t.Name.Equals("TypeCode")
Microsoft.CodeAnalysis.CSharp.Test.Utilities (3)
SymbolUtilities.cs (3)
37.Where(n => n.Name.Equals(name)) 46.Single(n => n.Name.Equals(name)); 53.Single(n => n.Name.Equals(name) && n.Arity == arity);
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\TypeStyle\TypeStyleHelper.cs (1)
158UnwrapTupleType(containingType).Name.Equals(returnType.Name) &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SuppressFormattingRule.cs (2)
359if (identifierName.Identifier.ValueText.Equals(FormattingDiagnosticIds.FormatDocumentControlDiagnosticId) 360|| identifierName.Identifier.ValueText.Equals(FormattingDiagnosticIds.FormattingDiagnosticId))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpInferredMemberNameSimplifier.cs (2)
72if (argument.NameColon is null && argument.Expression.TryGetInferredMemberName()?.Equals(name) == true) 94if (initializer.NameEquals is null && initializer.Expression.TryGetInferredMemberName()?.Equals(name) == true)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
277.Where(n => n is IdentifierNameSyntax id && id.Identifier.ValueText.Equals(identifier.ValueText))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1825if (identifierName.Identifier.ValueText.Equals(parameterName) &&
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Diagnostics\GenerateType\GenerateTypeTestState.cs (2)
46ProjectToBeModified = Workspace.CurrentSolution.Projects.FirstOrDefault(proj => proj.Name.Equals(projectToBeModified)); 57ExistingDocument = ProjectToBeModified.Documents.FirstOrDefault(doc => doc.Name.Equals(existingFileName));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
CodeActions\CodeChangeProviderMetadataTests.cs (1)
166.FirstOrDefault(exportedType => exportedTypeName.Equals(exportedType.ContractName));
InheritanceMargin\InheritanceMarginTests.cs (2)
220var testHostDocument1 = testWorkspace.Documents.Single(doc => doc.Project.AssemblyName.Equals("Assembly1")); 221var testHostDocument2 = testWorkspace.Documents.Single(doc => doc.Project.AssemblyName.Equals("Assembly2"));
Microsoft.CodeAnalysis.Features (16)
CodeFixes\Configuration\ConfigurationUpdater.cs (10)
489if (key.Equals(_optionNameOpt)) 570if (mostRecentHeaderText.Equals("*")) 618if ((_language.Equals(LanguageNames.CSharp) || _language.Equals(LanguageNames.VisualBasic)) && 626if (_language.Equals(LanguageNames.CSharp) && splicedFileExtensions.Contains("cs")) 630else if (_language.Equals(LanguageNames.VisualBasic) && splicedFileExtensions.Contains("vb")) 642if ((_language.Equals(LanguageNames.CSharp) && splicedFileExtensions.Contains("cs")) || 643(_language.Equals(LanguageNames.VisualBasic) && splicedFileExtensions.Contains("vb"))) 755if (_language.Equals(LanguageNames.CSharp) && compilerDiagOrNotPerLang) 759else if (_language.Equals(LanguageNames.VisualBasic) && compilerDiagOrNotPerLang)
Completion\PatternMatchHelper.cs (1)
57if (culture.ThreeLetterWindowsLanguageName.Equals(EnUSCultureInfo.ThreeLetterWindowsLanguageName))
DocumentationComments\AbstractDocumentationCommentSnippetService.cs (1)
410if (previousLineText.Equals(ExteriorTriviaText) &&
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
6938=> x.Key.Equals(y.Key) &&
GenerateType\AbstractGenerateTypeService.cs (1)
165return containingNamespaceName.Equals(state.NamespaceToGenerateInOpt);
src\Analyzers\Core\Analyzers\UseExplicitTupleName\UseExplicitTupleNameDiagnosticAnalyzer.cs (1)
85!fieldSymbol.Name.Equals(unnamedField.Name))
src\Analyzers\Core\CodeFixes\AddExplicitCast\AbstractAddExplicitCastCodeFixProvider.cs (1)
202if (argumentName.Equals(parameters[j].Name))
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
Microsoft.CodeAnalysis.UnitTests (1)
PEWriter\UsedNamespaceOrTypeTests.cs (1)
30public override bool Equals(object obj) => (obj as EqualsProxy)?.Name.Equals(Name) == true;
Microsoft.CodeAnalysis.VisualBasic (13)
CommandLine\VisualBasicCommandLineParser.vb (1)
1399If Not String.Empty.Equals(rootNamespace) Then
Lowering\LocalRewriter\LocalRewriter.vb (2)
645If memberName.Equals(WellKnownMemberNames.InstanceConstructorName) OrElse memberName.Equals(WellKnownMemberNames.StaticConstructorName) Then
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (6)
1241If "Ceiling".Equals(methodName) Then 1243ElseIf "Floor".Equals(methodName) Then 1245ElseIf "Round".Equals(methodName) Then 1247ElseIf "Int".Equals(methodName) Then 1266If "Fix".Equals(methodName) Then 1275ElseIf "Truncate".Equals(methodName) Then
Symbols\AnonymousTypes\AnonymousTypeDescriptor.vb (1)
90If Not Me.Key.Equals(other.Key) Then
Symbols\Source\OverrideHidingHelper.vb (1)
705If sym.Name.Equals(prop.Name) Then
Symbols\Source\SourceMethodSymbol.vb (2)
319Debug.Assert(name.Equals(WellKnownMemberNames.ImplicitConversionName) = ((flags And SourceMemberFlags.Widening) <> 0)) 320Debug.Assert(name.Equals(WellKnownMemberNames.ExplicitConversionName) = ((flags And SourceMemberFlags.Narrowing) <> 0))
Microsoft.CodeAnalysis.Workspaces (5)
FindSymbols\FindReferences\Finders\PropertySymbolReferenceFinder.cs (1)
95if (property.Name.Equals(parameter.Name) &&
Rename\Renamer.cs (1)
115if (newDocumentName != null && !newDocumentName.Equals(document.Name))
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
SymbolSearch\ISymbolSearchService.cs (1)
123=> PackageName.Equals(other?.PackageName);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionTests.cs (1)
2981where symbol.Name.Equals("Enumerable")
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
34public bool Equals(NameHashKey other) => Type.Equals(other.Type) && Name.Equals(other.Name);
Microsoft\CSharp\RuntimeBinder\Syntax\NameTable.cs (1)
40if (e.HashCode == hashCode && e.Name.Text.Equals(key))
Microsoft.Data.Analysis (1)
DataFrame.IO.cs (1)
661if (cultureInfo.NumberFormat.NumberDecimalSeparator.Equals(separator.ToString()))
Microsoft.DotNet.ArcadeLogging (3)
PipelinesLogger.cs (3)
202if (e.EventName.Equals(s_TelemetryMarker)) 245string propertyCategory = e.Properties?.Cast<DictionaryEntry>().LastOrDefault(p => p.Key.ToString().Equals(s_TelemetryMarker)).Value?.ToString(); 248propertyCategory = e.GlobalProperties?.LastOrDefault(p => p.Key.ToString().Equals($"_{s_TelemetryMarker}")).Value;
Microsoft.DotNet.Build.Manifest.Tests (3)
BuildModelFactoryTests.cs (3)
305_buildEngine.BuildErrorEvents.Should().Contain(e => e.Message.Equals($"Missing 'RelativeBlobPath' property on blob {zipArtifact}")); 341_buildEngine.BuildErrorEvents.Should().Contain(e => e.Message.Equals($"Missing 'RelativePdbPath' property on pdb {pdbArtifact}")); 375_buildEngine.BuildErrorEvents.Should().Contain(e => e.Message.Equals("Missing 'location' property from ManifestBuildData"));
Microsoft.DotNet.Build.Tasks.Feed (1)
src\model\TargetFeedConfig.cs (1)
102((Token is null && other.Token is null) || (Token != null && Token.Equals(other.Token))) &&
Microsoft.DotNet.Build.Tasks.Packaging (7)
GenerateNuSpec.cs (1)
285x.AssemblyName.Equals(y.AssemblyName) &&
GetPackageDestination.cs (1)
116if (packageTargetFramework.MetadataNames.Cast<string>().Any(md => md.Equals("TargetRuntime")))
PackageIndex.cs (2)
143if (PreRelease != null && !PreRelease.Equals(other.PreRelease)) 170if (other.PreRelease != null && !other.PreRelease.Equals(info.PreRelease))
SplitReferences.cs (1)
67referencesMscorlib |= referenceName.Equals("mscorlib");
UpdatePackageIndex.cs (1)
332if (index.ModulesToPackages.Values.Any(p => p.Equals(id)))
ValidatePackage.cs (1)
425if (index.ModulesToPackages.Values.Any(p => p.Equals(PackageId)))
Microsoft.DotNet.Build.Tasks.Packaging.Tests (26)
CreateTrimDependencyGroupsTests.cs (26)
143item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("win8")).Should().HaveCount(1), 144item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("monoandroid10")).Should().HaveCount(1), 145item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("monotouch10")).Should().HaveCount(1), 146item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("net45")).Should().HaveCount(1), 147item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("wp8")).Should().HaveCount(1), 148item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("wpa81")).Should().HaveCount(1), 149item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("xamarinios10")).Should().HaveCount(1), 150item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("xamarintvos10")).Should().HaveCount(1), 151item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("xamarinwatchos10")).Should().HaveCount(1), 152item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("xamarinmac20")).Should().HaveCount(1), 153item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("portable45-net45+win8+wp8+wpa81")).Should().HaveCount(1) 157task.TrimmedDependencies.Should().OnlyContain(f => f.ToString().Equals("_._")); 230task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("net45") && 236task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("net451") && 242task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("portable45-net45+win8+wp8+wpa81") && 248task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("portable46-net451+win81+wpa81") && 393item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("win8")).Should().HaveCount(1), 394item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("monoandroid10")).Should().HaveCount(1), 395item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("monotouch10")).Should().HaveCount(1), 396item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("net45")).Should().HaveCount(1), 397item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("wpa81")).Should().HaveCount(1), 398item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("xamarinios10")).Should().HaveCount(1), 399item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("xamarintvos10")).Should().HaveCount(1), 400item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("xamarinwatchos10")).Should().HaveCount(1), 401item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("xamarinmac20")).Should().HaveCount(1), 402item => task.TrimmedDependencies.Where(f => f.GetMetadata("TargetFramework").Equals("portable45-net45+win8+wpa81")).Should().HaveCount(1)
Microsoft.DotNet.Build.Tasks.Workloads (1)
Swix\SwixComponent.cs (1)
140return c != null && c.Name.Equals(Name);
Microsoft.DotNet.Build.Tasks.Workloads.Tests (2)
CreateVisualStudioWorkloadSetTests.cs (1)
80s => s.GetMetadata(Metadata.PackageType).Equals(DefaultValues.PackageTypeWorkloadSetPackageGroup)).
CreateVisualStudioWorkloadTests.cs (1)
152IEnumerable<ITaskItem> swixComponentProjects = createWorkloadTask.SwixProjects.Where(s => s.GetMetadata(Metadata.PackageType).Equals(DefaultValues.PackageTypeComponent));
Microsoft.DotNet.CodeAnalysis (1)
Analyzers\ResourceUsageAnalyzer.cs (1)
46if (memberSymbol.Name.Equals("Format") &&
Microsoft.DotNet.Helix.Sdk (3)
CheckAzurePipelinesTestResults.cs (2)
101var stateCompleted = data["state"]?.Value<string>()?.Equals("Completed"); 102var postProcessStateCompleted = data["postProcessState"]?.Value<string>()?.Equals("Complete");
FindDotNetCliPackage.cs (1)
192if (!productVersionText.Equals(version))
Microsoft.DotNet.MacOsPkg.Core (2)
Utilities.cs (2)
12Path.GetExtension(path).Equals(".pkg"); 15Path.GetExtension(path).Equals(".app");
Microsoft.DotNet.PackageTesting (2)
VerifyClosure.cs (1)
110if (fileName.Equals(existingFileName))
VerifyTypes.cs (1)
108if (fileName.Equals(existingFileName))
Microsoft.DotNet.SharedFramework.Sdk (2)
src\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (1)
110if (fileName.Equals(existingFileName))
src\Microsoft.DotNet.PackageTesting\VerifyTypes.cs (1)
108if (fileName.Equals(existingFileName))
Microsoft.DotNet.SignCheckLibrary (1)
Utils.cs (1)
270if (!string.IsNullOrEmpty(timezone) && timezone.Equals("GMT"))
Microsoft.DotNet.SignTool (1)
src\SignToolTask.cs (1)
474if (!extension.Equals(Path.GetExtension(extension)) && !specialExtensions.Contains(extension))
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Latency\Internal\HttpClientLatencyLogEnricherTest.cs (2)
51mockEnrichmentPropertyBag.Verify(m => m.Add(It.Is<string>(s => s.Equals("LatencyInfo")), It.Is<string>(s => s.Contains("a/b"))), Times.Once); 73mockEnrichmentPropertyBag.Verify(m => m.Add(It.Is<string>(s => s.Equals("LatencyInfo")), It.Is<string>(s => s.Contains("a/b") && s.Contains(serverName))), Times.Once);
Microsoft.Extensions.ServiceDiscovery.Dns (1)
ServiceDiscoveryDnsServiceCollectionExtensions.cs (1)
73if (envVar is not null && (envVar.Equals("true", StringComparison.OrdinalIgnoreCase) || envVar.Equals("1")))
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (2)
tests\Shared\Logging\TestSink.cs (2)
56return context.LoggerName?.Equals(typeof(T).FullName) == true; 61return context.LoggerName?.Equals(typeof(T).FullName) == true;
Microsoft.ML.CodeGenerator (23)
Templates\Console\ModelBuilder.cs (16)
123if("Recommendation".Equals(TaskType)){ 168if("BinaryClassification".Equals(TaskType)){ 174} if("MulticlassClassification".Equals(TaskType)){ 180}if("Regression".Equals(TaskType) || "Recommendation".Equals(TaskType)){ 183if("Recommendation".Equals(TaskType)){ 189}if("Ranking".Equals(TaskType)){ 204if("BinaryClassification".Equals(TaskType)){ 214if("MulticlassClassification".Equals(TaskType)){ 224if("Regression".Equals(TaskType)){ 233if("Ranking".Equals(TaskType)){ 264if("Regression".Equals(TaskType) || "Recommendation".Equals(TaskType)){ 300} if("BinaryClassification".Equals(TaskType)){ 335} if("MulticlassClassification".Equals(TaskType)){ 399} if("Ranking".Equals(TaskType)){
Templates\Console\ModelOutputClass.cs (3)
40if("BinaryClassification".Equals(TaskType)){ 44} if("MulticlassClassification".Equals(TaskType) && !IsObjectDetection){ 77} else if("MulticlassClassification".Equals(TaskType)){
Templates\Console\PredictProgram.cs (4)
73if("BinaryClassification".Equals(TaskType) ){ 77} else if("Regression".Equals(TaskType) || "Recommendation".Equals(TaskType)){ 81} else if("MulticlassClassification".Equals(TaskType) && !IsObjectDetection){
Microsoft.ML.Data (5)
Commands\ScoreCommand.cs (1)
232if (ImplOptions.OutputColumns != null && Array.FindIndex(ImplOptions.OutputColumns, schema[i].Name.Equals) >= 0)
Evaluators\AnomalyDetectionEvaluator.cs (2)
726using (var cursor = overall.GetRowCursor(overall.Schema.Where(col => col.Name.Equals(AnomalyDetectionEvaluator.OverallMetrics.NumAnomalies) || 727(hasStrat && col.Name.Equals(MetricKinds.ColumnNames.StratCol)))))
Evaluators\MulticlassClassificationEvaluator.cs (1)
986idv.Schema[col].Name.Equals(MulticlassClassificationEvaluator.PerClassLogLoss))
Transforms\ValueMapping.cs (1)
624else if (extension.Equals(".tdv"))
Microsoft.ML.EntryPoints (1)
ScoreColumnSelector.cs (1)
53if (extraColumns != null && Array.FindIndex(extraColumns, columnName.Equals) >= 0)
Microsoft.ML.Predictor.Tests (6)
TestPredictors.cs (6)
700var cols = scored.Schema.Where(c => c.Name.Equals("Score") || c.Name.Equals("Probability") || c.Name.Equals("PredictedLabel")); 881var cols = scored.Schema.Where(c => c.Name.Equals("Score") || c.Name.Equals("Probability") || c.Name.Equals("PredictedLabel"));
Microsoft.ML.ResultProcessor (1)
ResultProcessor.cs (1)
872if (predictor.LearnerName.Equals(learnerName))
Microsoft.ML.Samples (1)
Program.cs (1)
16if (name == null || name.Equals(type.Name))
Microsoft.ML.Sweeper (1)
Algorithms\SmacSweeper.cs (1)
426if (_sweepParameters[i].Name.Equals(newParam.Name))
Microsoft.NET.StringTools.net35 (1)
InternableString.Simple.cs (1)
144return _firstString.Equals(other);
Microsoft.VisualBasic.Core (4)
Microsoft\VisualBasic\CompilerServices\Symbols.vb (2)
177Return method.IsSpecialName AndAlso method.Name.Equals(OperatorCLSNames(UserDefinedOperator.Narrow)) 184If method.Name.Equals(OperatorCLSNames(cursor)) Then
Microsoft\VisualBasic\CompilerServices\Utils.vb (1)
181method1.Name.Equals(method2.Name) AndAlso
Microsoft\VisualBasic\FileIO\FileSystem.vb (1)
1450Debug.Assert(Path.Equals(IO.Path.GetFullPath(Path)), Path)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (5)
DocumentOutline\DocumentOutlineTests.cs (5)
133Assert.Equal(0, searchedSymbols.Single(symbol => symbol.Name.Equals("foo")).Children.Length); 138Assert.Equal(2, searchedSymbols.Single(symbol => symbol.Name.Equals("MyClass")).Children.Length); 139Assert.Equal(1, searchedSymbols.Single(symbol => symbol.Name.Equals("App")).Children.Length); 144Assert.Equal(0, searchedSymbols.Single(symbol => symbol.Name.Equals("App")).Children.Length); 145Assert.Equal(1, searchedSymbols.Single(symbol => symbol.Name.Equals("foo")).Children.Length);
Microsoft.VisualStudio.LanguageServices.Implementation (4)
SolutionExplorer\AnalyzersFolderItem\AnalyzersFolderItemSourceProvider.cs (1)
47if (projectTreeCapabilities.Any(static c => c.Equals("References")))
SolutionExplorer\RuleSetDocumentExtensions.cs (3)
36.Where(r => r.Attribute("Id").Value.Equals(ruleId)) 81.FirstOrDefault(r => r.Attribute("Id").Value.Equals(id)); 98.FirstOrDefault(r => r.Attribute("AnalyzerId").Value.Equals(analyzerID));
PresentationBuildTasks (46)
Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (2)
644if (OutputType.Equals(SharedStrings.Exe) || OutputType.Equals(SharedStrings.WinExe))
Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (2)
390Path.GetExtension(sourceFilePath).Equals(SharedStrings.BamlExtension) && 391Path.GetExtension(path).Equals(SharedStrings.XamlExtension))
MS\Internal\MarkupCompiler\MarkupCompiler.cs (10)
799if (!attributeNamespaceUri.Equals(XamlReaderHelper.DefinitionNamespaceURI) || 800!xmlReader.LocalName.Equals(XamlReaderHelper.DefinitionUid)) 846if (LocalName.Equals(CODETAG)) 1672if (normalizedModifier.Equals(_private)) 1676else if (normalizedModifier.Equals(_public)) 1680else if (normalizedModifier.Equals(_protected)) 1684else if (normalizedModifier.Equals(_internal)) 1688else if (normalizedModifier.Equals(_protectedInternal)) 1737if (normalizedModifier.Equals(_privateClass)) 1741else if (normalizedModifier.Equals(_publicClass))
MS\Internal\MarkupCompiler\ParserExtension.cs (10)
161memberInfo.Name.Equals(STARTUPURI) && 353else if (localAttribName.Equals(STARTUPURI) && 399namespaceUri.Equals(XamlReaderHelper.DefinitionNamespaceURI) && 400(localName.Equals(XamlReaderHelper.DefinitionCodeTag) || 401localName.Equals(XamlReaderHelper.DefinitionXDataTag))) 430attribNamespaceURI.Equals(XamlReaderHelper.DefinitionNamespaceURI)) 505if (namespaceUri.Equals(XamlReaderHelper.DefinitionNamespaceURI)) 519if ((!localName.Equals(MarkupCompiler.CODETAG) && 520!localName.Equals($"{MarkupCompiler.CODETAG}Extension")) || 521!namespaceUri.Equals(XamlReaderHelper.DefinitionNamespaceURI))
MS\Internal\Tasks\TaskHelper.cs (3)
126if (str.Equals("true") || str.Equals("yes") || str.Equals("on"))
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlMapTable.cs (3)
1867key.AssemblyFullName.Equals(this.AssemblyFullName) : 1927key.DeclaringAssembly.Equals(this.DeclaringAssembly) : 1930key.TypeFullName.Equals(this.TypeFullName) :
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlParser.cs (2)
1029if (attributeValue.Equals("Async")) 1033else if (attributeValue.Equals("Sync"))
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (14)
1224ParserContext.XmlSpace.Equals("preserve")) 1699if (attributeNamespaceUri.Equals(DefinitionNamespaceURI)) 1719if (attributeNamespaceUri.Equals(DefinitionMetroNamespaceURI)) 1823else if (attributeNamespaceUri.Equals(DefinitionNamespaceURI)) 2220else if (attribName.Equals(XmlnsDeclaration)) 2229else if (attribName.Equals(XmlAttributeProperties.XmlSpaceString)) 2238else if (attribName.Equals(XmlAttributeProperties.XmlLangString)) 2840if (attribNamespaceURI.Equals(DefinitionNamespaceURI)) 3659if (ParentContext != null && !namespaceURI.Equals(DefinitionNamespaceURI)) 3714if (!resolvedTag && namespaceURI.Equals(DefinitionNamespaceURI)) 6496ParserContext.XmlSpace.Equals("preserve"))) 6785attribName.Equals(XmlnsDeclaration) || 6786attribName.Equals(XmlAttributeProperties.XmlSpaceString) || 6787attribName.Equals(XmlAttributeProperties.XmlLangString) ||
PresentationCore (7)
System\Windows\GlobalEventManager.cs (2)
263if (routedEvent.Name.Equals(name)) 288if (routedEvent.Name.Equals(name))
System\Windows\Input\InputScopeNameConverter.cs (1)
99if (!stringSource.Equals(String.Empty))
System\Windows\Input\TextCompositionManager.cs (1)
628if (inputText.Equals(_altNumpadcomposition.Text))
System\Windows\Ole\WpfOleServices.cs (3)
33&& format.Equals(DataFormatNames.Bitmap) 41if (mediumType.HasFlag(TYMED.TYMED_ENHMF) && format.Equals(DataFormatNames.Emf)) 156return typeof(T).FullName.Equals("System.Drawing.Image");
PresentationFramework (30)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
198if (nodeId.Equals(id))
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
404if (cargoName.Equals(cargo.Name)) 654if (node.Name.Equals(xmlName))
System\Windows\Annotations\AnnotationResource.cs (1)
270else if (!_name.Equals(value))
System\Windows\Controls\GridViewHeaderRowPresenter.cs (4)
642if (GridViewColumn.WidthProperty.Name.Equals(propertyName) 643|| GridViewColumn.c_ActualWidthName.Equals(propertyName)) 647else if (GridViewColumn.HeaderProperty.Name.Equals(propertyName)) 1683if ((dp != null) && dpName.Equals(dp.Name))
System\Windows\Controls\GridViewRowPresenter.cs (5)
289if (GridViewColumn.c_ActualWidthName.Equals(propertyName)) 299if (GridViewColumn.WidthProperty.Name.Equals(propertyName)) 305else if (GridViewColumn.c_DisplayMemberBindingName.Equals(propertyName)) 326if (GridViewColumn.CellTemplateProperty.Name.Equals(propertyName)) 339else if (GridViewColumn.CellTemplateSelectorProperty.Name.Equals(propertyName))
System\Windows\Documents\CompositionAdorner.cs (1)
143bool isChinesePinyin = chinesePinyin.Equals(InputLanguageManager.Current.CurrentInputLanguage.IetfLanguageTag);
System\Windows\Documents\FixedDocument.cs (4)
871if (!baseUri.Host.Equals(BaseUriHelper.PackAppBaseUri.Host) && 872!baseUri.Host.Equals(BaseUriHelper.SiteOfOriginBaseUri.Host)) 899if (!baseUri.Host.Equals(BaseUriHelper.PackAppBaseUri.Host) && 900!baseUri.Host.Equals(BaseUriHelper.SiteOfOriginBaseUri.Host))
System\Windows\Documents\PageContent.cs (1)
403if (elementID.Equals(item.Name))
System\Windows\Documents\RtfToXamlReader.cs (3)
3597if (name.Equals(entry.Name)) 3618if (name.Equals(entry.Name)) 4812if (entry != null && entry.Name != null && !(entry.Name.Equals(string.Empty)))
System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
176if (!uiLanguage.Equals(CultureInfo.CurrentUICulture.Name))
System\Windows\Documents\XPSS0ValidatingLoader.cs (1)
135if (!rootElement.Equals(xpsSchemaValidator.XmlReader.Name))
System\Windows\Markup\Baml2006\Baml2006ReaderInternal.cs (1)
49property.Name.Equals("Source"))
System\Windows\Markup\BamlMapTable.cs (3)
1867key.AssemblyFullName.Equals(this.AssemblyFullName) : 1927key.DeclaringAssembly.Equals(this.DeclaringAssembly) : 1930key.TypeFullName.Equals(this.TypeFullName) :
System\Windows\Markup\Primitives\MarkupWriter.cs (2)
1287return other != null && Uri.Equals(other.Uri) && Prefix.Equals(other.Prefix);
Roslyn.Diagnostics.Analyzers (2)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
Roslyn.Diagnostics.CSharp.Analyzers (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\TypeStyle\TypeStyleHelper.cs (1)
158UnwrapTupleType(containingType).Name.Equals(returnType.Name) &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SuppressFormattingRule.cs (2)
359if (identifierName.Identifier.ValueText.Equals(FormattingDiagnosticIds.FormatDocumentControlDiagnosticId) 360|| identifierName.Identifier.ValueText.Equals(FormattingDiagnosticIds.FormattingDiagnosticId))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpInferredMemberNameSimplifier.cs (2)
72if (argument.NameColon is null && argument.Expression.TryGetInferredMemberName()?.Equals(name) == true) 94if (initializer.NameEquals is null && initializer.Expression.TryGetInferredMemberName()?.Equals(name) == true)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
277.Where(n => n is IdentifierNameSyntax id && id.Identifier.ValueText.Equals(identifier.ValueText))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1825if (identifierName.Identifier.ValueText.Equals(parameterName) &&
System.CodeDom (1)
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (1)
27if (names[i].Equals(name))
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\EnumDataTypeAttribute.cs (1)
95return !underlying.Equals(converted);
System.ComponentModel.TypeConverter (16)
System\ComponentModel\Container.cs (1)
285if (value == null || _name == null || !value.Equals(_name))
System\ComponentModel\CultureInfoConverter.cs (1)
68if (GetCultureName(CultureInfo.InvariantCulture).Equals(string.Empty))
System\ComponentModel\EventDescriptorCollection.cs (1)
327if (currentEvent != null && currentEvent.Name.Equals(names[i]))
System\ComponentModel\MemberDescriptor.cs (2)
269(_category != null && !mdObj._category!.Equals(_category))) 275(_description != null && !mdObj._description!.Equals(_description)))
System\ComponentModel\NestedContainer.cs (1)
167if (value == null || _name == null || !value.Equals(_name))
System\ComponentModel\PropertyDescriptor.cs (2)
212&& pd.Name.Equals(Name)) 401(ComponentType.Assembly.FullName!.Equals(typeFromGetType.Assembly.FullName)))
System\ComponentModel\PropertyDescriptorCollection.cs (3)
219if (_properties[i].Name.Equals(name)) 345if (currentProp != null && currentProp.Name.Equals(names[i])) 478if (_properties[i]!.Name.Equals((string)key))
System\ComponentModel\SyntaxCheck.cs (3)
23if (value.Equals(string.Empty)) 39if (value.Equals(string.Empty)) 56if (value.Equals(string.Empty))
System\ComponentModel\ToolboxItemFilterAttribute.cs (2)
90&& other.FilterString.Equals(FilterString); 102&& other.FilterString.Equals(FilterString);
System.Composition.Runtime (1)
System\Composition\Hosting\Core\CompositionContract.cs (1)
81(_contractName == null ? contract._contractName == null : _contractName.Equals(contract._contractName)) &&
System.Configuration.ConfigurationManager (10)
System\Configuration\ConfigurationLockCollection.cs (2)
222if (name.Equals(_ignoreName) || 307if (ExceptionList && name.Equals(_ignoreName)) return true;
System\Configuration\DictionarySectionHandler.cs (1)
67else if (child.Name.Equals("clear"))
System\Configuration\NameValueSectionHandler.cs (1)
67else if (child.Name.Equals("clear"))
System\Diagnostics\ListenerElementsCollection.cs (6)
59if (listenerElement.Name.Equals("Default") && listenerElement.TypeName.Equals(typeof(DefaultTraceListener).FullName)) 157if (Name.Equals("Default") && TypeName.Equals(typeof(DefaultTraceListener).FullName)) 164return (compareToElem != null) && compareToElem.Name.Equals("Default") 165&& compareToElem.TypeName.Equals(typeof(DefaultTraceListener).FullName);
System.Data.Common (8)
System\Data\DataSet.cs (3)
1726if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS)) 2158if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS)) 2704if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS))
System\Data\DataTable.cs (4)
600if (con.Equals("U")) 625Debug.Assert(con.Equals("F")); 5854if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS)) 6123if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS))
System\Data\XmlDataLoader.cs (1)
235return ns.Equals(Keywords.XSD_XMLNS_NS);
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\LocalAppContextSwitches.cs (1)
21defaultActivityIdFormatIsHierarchial = switchValue.Equals("true", StringComparison.OrdinalIgnoreCase) || switchValue.Equals("1");
System\Diagnostics\Metrics\MetricsEventSource.cs (3)
355return _sessionId.Equals(SharedSessionId) && (string.IsNullOrEmpty(commandSessionId) || commandSessionId.Equals(SharedSessionId)); 570if (clientId.Equals(SharedSessionId))
System.Drawing.Common (8)
System\Drawing\SystemFonts.cs (8)
15if (nameof(CaptionFont).Equals(systemFontName)) 19else if (nameof(DefaultFont).Equals(systemFontName)) 23else if (nameof(DialogFont).Equals(systemFontName)) 27else if (nameof(IconTitleFont).Equals(systemFontName)) 31else if (nameof(MenuFont).Equals(systemFontName)) 35else if (nameof(MessageBoxFont).Equals(systemFontName)) 39else if (nameof(SmallCaptionFont).Equals(systemFontName)) 43else if (nameof(StatusFont).Equals(systemFontName))
System.IO.IsolatedStorage (1)
System\IO\IsolatedStorage\IsolatedStorageFileStream.cs (1)
88if ((path.Length == 0) || path.Equals(BackSlash))
System.Net.Requests (1)
System\Net\WebRequest.cs (1)
260.Equals("/"))
System.Private.CoreLib (29)
src\libraries\System.Private.CoreLib\src\System\DefaultBinder.cs (1)
1197if (names[i].Equals(pars[j].Name))
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
5860if (stringTab.TryGetValue(key, out string? prevValue) && !prevValue.Equals(value))
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Nls.cs (2)
148!CultureInfo.DefaultThreadCurrentUICulture.Name.Equals(ci.Name)) 164if (CultureInfo.CurrentUICulture.Name.Equals(CultureInfo.UserDefaultUICulture.Name))
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (1)
647return Name.Equals(that.Name) && CompareInfo.Equals(that.CompareInfo);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (7)
1955if (LanguageName.Equals("sq")) 1985if (LanguageName.Equals(KoreanLangName)) 1993if (LanguageName.Equals("ky")) 2033if (DateSeparator.Trim().Equals(symbol)) 2042if (LanguageName.Equals("eu")) 2106if (LanguageName.Equals(JapaneseLangName)) 2129else if (CultureName.Equals("zh-TW"))
src\libraries\System.Private.CoreLib\src\System\Globalization\RegionInfo.cs (1)
187&& Name.Equals(otherRegion.Name);
src\libraries\System.Private.CoreLib\src\System\Globalization\StringInfo.cs (1)
33&& _str.Equals(otherStringInfo._str);
src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (1)
495&& CultureName.Equals(otherTextInfo.CultureName);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeNameBuilder.cs (1)
115if (assemblySpec != null && !assemblySpec.Equals(""))
src\libraries\System.Private.CoreLib\src\System\Resources\ManifestBasedResourceGroveler.cs (1)
464if (_mediator.MainAssembly == typeof(object).Assembly && _mediator.BaseName.Equals(CoreLib.Name))
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (1)
434if (name.Length == 0 || name.Equals("[DISPID=0]"))
src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (1)
364return x.Equals(y);
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (1)
367if (!m_strName.Equals(rmBuilder.m_strName))
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (1)
1104if ((method.Attributes & MethodAttributes.SpecialName) != 0 && method.Name.Equals(ConstructorInfo.ConstructorName))
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
769if (!namedParam.MemberInfo.Name.Equals(argName))
src\System\Reflection\RuntimeParameterInfo.cs (1)
408if (namedArgument.MemberInfo.Name.Equals("Value"))
src\System\Reflection\RuntimePropertyInfo.cs (1)
106Debug.Assert(Name.Equals(target.Name));
src\System\RuntimeType.CoreCLR.cs (5)
602RuntimeMethodHandle.GetName(methodHandle).Equals(".cctor")); 661RuntimeMethodHandle.GetName(methodHandle).Equals(".ctor") || 662RuntimeMethodHandle.GetName(methodHandle).Equals(".cctor")); 2016Debug.Assert(fullname.Equals(ns + "." + name)); 2126Debug.Assert(name is null || (bindingFlags & BindingFlags.IgnoreCase) == 0 || (name.ToLowerInvariant().Equals(name)));
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\DataContract.cs (1)
2253if (internalsVisibleAttributeAssemblyName.Trim().Equals("System.Runtime.Serialization") ||
System\Runtime\Serialization\Json\XmlJsonWriter.cs (5)
866if (!localName.Equals(JsonGlobals.rootString)) 891else if (!localName.Equals(JsonGlobals.itemString)) 916else if (!localName.Equals(JsonGlobals.itemString)) 1245if (localName.Equals(JsonGlobals.itemString) && ns.Equals(JsonGlobals.itemString))
System\Runtime\Serialization\SchemaExporter.cs (1)
194if (element.SchemaTypeName.Namespace.Equals(Globals.SerializationNamespace))
System\Runtime\Serialization\SchemaHelper.cs (1)
122if ((schema.TargetNamespace == null && ns.Length == 0) || ns.Equals(schema.TargetNamespace))
System.Private.Uri (2)
System\Uri.cs (2)
1792return OriginalString.Equals(other.OriginalString); 1855if (!_info.Host!.Equals(other._info.Host))
System.Private.Windows.Core (9)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (2)
466if (request.Format.Equals(mappedFormat)) 533if (!format.Equals(mappedFormat) && (dataPresent = GetDataPresentInner(mappedFormat)))
System\Private\Windows\Ole\DragDropHelper.cs (7)
157return formatName.Equals(DataFormatNames.DragContext) 158|| formatName.Equals(DataFormatNames.DragImageBits) 159|| formatName.Equals(DataFormatNames.DragSourceHelperFlags) 160|| formatName.Equals(DataFormatNames.DragWindow) 163|| formatName.Equals(DataFormatNames.IsShowingLayered) 164|| formatName.Equals(DataFormatNames.IsShowingText) 165|| formatName.Equals(DataFormatNames.UsingDefaultDragImage);
System.Private.Xml (50)
System\Xml\Cache\XPathDocumentBuilder.cs (4)
289Debug.Assert(prefix != null && !prefix.Equals("xmlns")); 495Debug.Assert(!prefix.Equals("xmlns") && !namespaceName.Equals(XmlReservedNs.NsXmlNs)); 554Debug.Assert(prefix.Equals("xml"), "xmlns:xml namespace declaration should always be present in the list.");
System\Xml\Core\XmlTextReaderImpl.cs (3)
2844Debug.Assert(baseUri == null || (baseUri.ToString().Equals(baseUriStr))); 6212Throw(target.Equals("xml") ? SR.Xml_XmlDeclNotFirst : SR.Xml_InvalidPIName, target); 9320if (_nodes[i].prefix.Equals(pref))
System\Xml\Core\XmlTextReaderImplAsync.cs (2)
870Debug.Assert(baseUri == null || (baseUri.ToString().Equals(baseUriStr))); 3916Throw(target.Equals("xml") ? SR.Xml_XmlDeclNotFirst : SR.Xml_InvalidPIName, target);
System\Xml\Dom\DomNameTable.cs (6)
40|| e.LocalName.Equals(localName)) 42|| e.Prefix.Equals(prefix)) 44|| e.NamespaceURI.Equals(ns)) 64|| e.LocalName.Equals(localName)) 66|| e.Prefix.Equals(prefix)) 68|| e.NamespaceURI.Equals(ns))
System\Xml\NameTable.cs (3)
68if (e.hashCode == hashCode && e.str.Equals(key)) 128if (e.hashCode == hashCode && e.str.Equals(value)) 176if (e.hashCode == hashCode && e.str.Equals(str))
System\Xml\Schema\Chameleonkey.cs (1)
68return this.targetNS.Equals(cKey.targetNS) && this.chameleonLocation.Equals(cKey.chameleonLocation) &&
System\Xml\Schema\DtdParser.cs (4)
682if (attrDef != null && attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals("xml") && attrDef.Name.Name == "space") 706if (attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals("xml")) 717if (val.Equals("preserve") || val.Equals("default"))
System\Xml\Schema\DtdParserAsync.cs (4)
326if (attrDef != null && attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals("xml") && attrDef.Name.Name == "space") 350if (attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals("xml")) 361if (val.Equals("preserve") || val.Equals("default"))
System\Xml\Schema\FacetChecker.cs (2)
1414if (value.Equals(((Uri)enumeration[i]!).OriginalString)) 1424if (value.Equals((string)enumeration[i]!))
System\Xml\Schema\Inference\Infer.cs (2)
244if (!prefix!.Equals("xml") && !prefix.Equals("xmlns"))
System\Xml\Schema\XdrBuilder.cs (1)
1617if (!s.Equals("*") &&
System\Xml\Schema\XmlSchemaValidator.cs (1)
1832if (decl.Presence == SchemaDeclBase.Use.Fixed && !elementValue.Equals(elementDecl.DefaultValueRaw))
System\Xml\Schema\XsdValidator.cs (1)
393else if (xsiNil != null && xsiNil.Equals("true"))
System\Xml\ValidateNames.cs (6)
421return s.Equals(XmlReservedNs.NsXml) || s.Equals(XmlReservedNs.NsXmlNs); 487if (ns.Length == 0 && localName.Equals("xmlns")) 540if (prefix.Equals("xml")) 543if (!ns.Equals(XmlReservedNs.NsXml)) 549else if (prefix.Equals("xmlns"))
System\Xml\XmlNamespacemanager.cs (1)
131if ((Ref.Equal(_xml, prefix) && !uri.Equals(XmlReservedNs.NsXml)))
System\Xml\XPath\Internal\AttributeQuery.cs (1)
48Debug.Assert(!currentNode.NamespaceURI.Equals(XmlReservedNs.NsXmlNs));
System\Xml\XPath\Internal\BaseAxisQuery.cs (2)
87if (_name.Equals(e.LocalName) || _name.Length == 0) 90if (_nsUri.Equals(e.NamespaceURI))
System\Xml\XPath\Internal\NamespaceQuery.cs (1)
68return Name.Equals(e.LocalName);
System\Xml\XPath\Internal\XPathParser.cs (1)
767_scanner.Name.Equals(op)
System\Xml\Xsl\Runtime\XmlAttributeCache.cs (2)
325if (_localName.Equals(localName)) 328if (_namespaceName.Equals(ns))
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
417else if (prefix.Equals("xml")) 420else if (prefix.Equals("xmlns"))
System.Reflection.Emit (5)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeNameBuilder.cs (1)
115if (assemblySpec != null && !assemblySpec.Equals(""))
System\Reflection\Emit\MethodBuilderImpl.cs (2)
98return _name.Equals(ConstructorInfo.ConstructorName) || _name.Equals(ConstructorInfo.TypeConstructorName);
System\Reflection\Emit\PersistedAssemblyBuilder.cs (1)
186if (_module != null && _module.ScopeName.Equals(name))
System\Reflection\Emit\TypeBuilderImpl.cs (1)
820if (name.Equals(method.Name) && MatchesTheFilter(method, GetBindingFlags(method), bindingAttr, callConvention, types))
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Types\RoType.GetInterface.cs (2)
23: simpleName.Equals(ifcSimpleName); 30if (ns.Length != 0 && !ns.Equals(ifc.Namespace))
System.Security.Claims (1)
System\Security\Claims\GenericIdentity.cs (1)
78return !m_name.Equals("");
System.Security.Cryptography (6)
src\libraries\Common\src\System\Security\Cryptography\Oids.Shared.cs (1)
142return oid.Value is not null && oid.Value.Equals(other.Value);
System\Security\Cryptography\CngAlgorithm.cs (1)
69return _algorithm.Equals(other.Algorithm);
System\Security\Cryptography\CngAlgorithmGroup.cs (1)
70return _algorithmGroup.Equals(other.AlgorithmGroup);
System\Security\Cryptography\CngKeyBlobFormat.cs (1)
70return _format.Equals(other.Format);
System\Security\Cryptography\CngProvider.cs (1)
67return _provider.Equals(other.Provider);
System\Security\Cryptography\X509Certificates\X509Certificate.cs (1)
309if (!Issuer.Equals(other.Issuer))
System.Security.Cryptography.Pkcs (1)
src\libraries\Common\src\System\Security\Cryptography\Oids.Shared.cs (1)
142return oid.Value is not null && oid.Value.Equals(other.Value);
System.Security.Cryptography.Xml (14)
System\Security\Cryptography\Xml\C14NAncestralNamespaceContextManager.cs (1)
24if (((XmlAttribute)a).LocalName.Equals(nsPrefix))
System\Security\Cryptography\Xml\Reference.cs (1)
434&& (Utils.GetAttribute(tempElem, "Id", SignedXml.XmlDsigNamespaceUrl)!.Equals(idref)))
System\Security\Cryptography\Xml\Signature.cs (1)
140if (!signatureElement.LocalName.Equals("Signature"))
System\Security\Cryptography\Xml\SignedInfo.cs (1)
211if (!signedInfoElement.LocalName.Equals("SignedInfo"))
System\Security\Cryptography\Xml\Utils.cs (8)
97return n.NodeType == XmlNodeType.Attribute && (n.Prefix.Equals("xmlns") || (n.Prefix.Length == 0 && n.LocalName.Equals("xmlns"))); 102return n.NodeType == XmlNodeType.Attribute && n.Prefix.Equals("xml"); 108bool b1 = n.NodeType == XmlNodeType.Attribute && n.Prefix.Length == 0 && n.LocalName.Equals("xmlns"); 126return GetNamespacePrefix(a).Equals(nsPrefix); 134return !nearestAncestorWithSamePrefix.Value.Equals(a.Value); 398if (prefix.Equals("#default")) 466if (elem.HasAttribute(name) || (name.Equals("xmlns") && elem.Prefix.Length == 0)) continue;
System\Security\Cryptography\Xml\XmlDsigExcC14NTransform.cs (2)
55if (e.LocalName.Equals("InclusiveNamespaces") 56&& e.NamespaceURI.Equals(SignedXml.XmlDsigExcC14NTransformUrl) &&
System.Security.Permissions (7)
System\Security\Permissions\PrincipalPermission.cs (7)
103(operandIdRole.ID == null || (idRole.ID != null && idRole.ID.Equals(operandIdRole.ID))) && 104(operandIdRole.Role == null || (idRole.Role != null && idRole.Role.Equals(operandIdRole.Role)))) 152if (operandIdRole.ID == null || idRole.ID == null || idRole.ID.Equals(operandIdRole.ID)) 157if (operandIdRole.Role == null || idRole.Role == null || idRole.Role.Equals(operandIdRole.Role)) 274if (elem.Tag == null || !elem.Tag.Equals("Permission") && !elem.Tag.Equals("IPermission")) 279if (version == null || (version != null && !version.Equals("1")))
System.ServiceModel.Federation (4)
System\ServiceModel\Federation\WSTrustChannel.cs (4)
100if (trustRequest.RequestType.Equals(wsTrustActions.Issue)) 102else if (trustRequest.RequestType.Equals(wsTrustActions.Cancel)) 104else if (trustRequest.RequestType.Equals(wsTrustActions.Renew)) 106else if (trustRequest.RequestType.Equals(wsTrustActions.Validate))
System.ServiceModel.Http (3)
System\ServiceModel\Channels\HttpsChannelFactory.cs (3)
84|| ClaimTypes.Spn.Equals(identity.IdentityClaim.ClaimType) 85|| ClaimTypes.Upn.Equals(identity.IdentityClaim.ClaimType) 86|| ClaimTypes.Dns.Equals(identity.IdentityClaim.ClaimType);
System.ServiceModel.Primitives (34)
Internals\System\Xml\XmlMtomReader.cs (1)
459if (currentContentID.Equals(contentID))
System\IdentityModel\Claims\ClaimSet.cs (2)
51Rights.Identity.Equals(right) || 52Rights.PossessProperty.Equals(right);
System\IdentityModel\Claims\X509CertificateClaimSet.cs (15)
246ClaimTypes.Thumbprint.Equals(claimType) || 247ClaimTypes.X500DistinguishedName.Equals(claimType) || 248ClaimTypes.Dns.Equals(claimType) || 249ClaimTypes.Name.Equals(claimType) || 250ClaimTypes.Email.Equals(claimType) || 251ClaimTypes.Upn.Equals(claimType) || 252ClaimTypes.Uri.Equals(claimType) || 253ClaimTypes.Rsa.Equals(claimType); 264else if (_claims == null && ClaimTypes.Thumbprint.Equals(claimType)) 266if (right == null || Rights.Identity.Equals(right)) 270if (right == null || Rights.PossessProperty.Equals(right)) 275else if (_claims == null && ClaimTypes.Dns.Equals(claimType)) 277if (right == null || Rights.PossessProperty.Equals(right)) 310(anyClaimType || claimType.Equals(claim.ClaimType)) && 311(anyRight || right.Equals(claim.Right)))
System\ServiceModel\DnsEndpointIdentity.cs (1)
30if (!identity.ClaimType.Equals(ClaimTypes.Dns))
System\ServiceModel\EndpointIdentity.cs (4)
55if (identity.ClaimType.Equals(ClaimTypes.Dns)) 59else if (identity.ClaimType.Equals(ClaimTypes.Spn)) 63else if (identity.ClaimType.Equals(ClaimTypes.Upn)) 67else if (identity.ClaimType.Equals(ClaimTypes.Rsa))
System\ServiceModel\RsaEndpointIdentity.cs (1)
38if (!identity.ClaimType.Equals(ClaimTypes.Rsa))
System\ServiceModel\Security\IdentityVerifier.cs (3)
114if (SRP.IdentityCheckFailedForIncomingMessage.Equals(errorString)) 125else if (SRP.IdentityCheckFailedForOutgoingMessage.Equals(errorString)) 235if (ClaimTypes.Dns.Equals(identity.IdentityClaim.ClaimType))
System\ServiceModel\Security\SecurityUtils.cs (3)
213if (ClaimTypes.Spn.Equals(identity.IdentityClaim.ClaimType)) 218else if (ClaimTypes.Upn.Equals(identity.IdentityClaim.ClaimType)) 223else if (ClaimTypes.Dns.Equals(identity.IdentityClaim.ClaimType))
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (2)
528if (_dictionaryStrings[i].Value.Equals(value)) 562(_dictionaryStrings[i].Value.Equals(value.Value)))
System\ServiceModel\SpnEndpointIdentity.cs (1)
31if (!identity.ClaimType.Equals(ClaimTypes.Spn))
System\ServiceModel\UpnEndpointIdentity.cs (1)
34if (!identity.ClaimType.Equals(ClaimTypes.Upn))
System.ServiceModel.Primitives.Tests (2)
Description\ContractDescriptionTest.cs (2)
215if(operation.Name.Equals("Echo")) 232if (operation.Name.Equals("Echo"))
System.Text.Json (1)
System\Text\Json\JsonEncodedText.cs (1)
152return _value.Equals(other._value);
System.Text.RegularExpressions (7)
System\Text\RegularExpressions\Regex.Cache.cs (2)
299_pattern.Equals(other._pattern) && 300_culture.Equals(other._culture) &&
System\Text\RegularExpressions\RegexCharClass.cs (4)
460!categoryName.Equals(InternalRegexIgnoreCase)) 462if (caseInsensitive && (categoryName.Equals("Ll") || categoryName.Equals("Lu") || categoryName.Equals("Lt")))
System\Text\RegularExpressions\RegexReplacement.cs (1)
110if (!replRef.TryGetTarget(out RegexReplacement? repl) || !repl.Pattern.Equals(replacement))
System.Text.RegularExpressions.Generator (4)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexCharClass.cs (4)
460!categoryName.Equals(InternalRegexIgnoreCase)) 462if (caseInsensitive && (categoryName.Equals("Ll") || categoryName.Equals("Lu") || categoryName.Equals("Lt")))
System.Windows.Forms (46)
System\Resources\ResXResourceReader.cs (10)
352if (reader.LocalName.Equals(ResXResourceWriter.AssemblyStr)) 356else if (reader.LocalName.Equals(ResXResourceWriter.DataStr)) 360else if (reader.LocalName.Equals(ResXResourceWriter.ResHeaderStr)) 364else if (reader.LocalName.Equals(ResXResourceWriter.MetadataStr)) 426&& readerTypeName.Equals(readerType.FullName) 427&& writerTypeName.Equals(writerType.FullName)) 556&& (reader.LocalName.Equals(ResXResourceWriter.DataStr) || reader.LocalName.Equals(ResXResourceWriter.MetadataStr))) 570if (reader.Name.Equals(ResXResourceWriter.CommentStr)) 576if (!reader.Name.Equals(ResXResourceWriter.ValueStr))
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (1)
62if (GetNameForControl(control).Equals(name))
System\Windows\Forms\ComponentModel\COM2Interop\COM2FontConverter.cs (1)
113if (!source.Name.Equals(target->Name.ToStringAndFree()))
System\Windows\Forms\Control.cs (1)
3685if (!WindowText.Equals(value))
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2843Debug.Assert(DisplayMember.Equals(string.Empty), "if this list is sorted it means that dataSource was null when Sorted first became true. at that point DisplayMember had to be String.Empty");
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (2)
436if ((value is not null && !value.Equals(_customFormat)) || 902if (!oldText.Equals(Text))
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1082if (SelectionMode != SelectionMode.None && value is not null && (SelectedItem is null || !value.Equals(GetItemText(SelectedItem))))
System\Windows\Forms\Controls\ListControl\ListControl.cs (2)
217if (!value.Equals(_formatString)) 271if (props[i].Name.Equals(bindingMemberInfo.BindingField))
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
2294PropertySort = value is not null && value.ToString()!.Equals("1") 2299HelpVisible = value is not null && value.ToString()!.Equals("1"); 2302CommandsVisibleIfAvailable = value is not null && value.ToString()!.Equals("1");
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1123&& entry.PropertyLabel.Equals(PropertyLabel)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
60if (PropertyDescriptor.Name is not null && PropertyDescriptor.Name.Equals(properties[i].Name))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertiesTab.cs (1)
28if ("Name".Equals(properties[i].Name))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
443|| text.Equals(_originalTextValue)) 4382if ((_flags.HasFlag(Flags.IsNewSelection) || !EditTextBox.Focused) && s is not null && !s.Equals(EditTextBox.Text))
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
613if (value.Equals(Rtf)) 2862if (!SZ_RTF_TAG.Equals(str))
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1111if (!WindowText.Equals(value))
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
592if (string.IsNullOrEmpty(value) || value.Equals(SR.toStringNone)) 1064if (string.IsNullOrEmpty(value) || value.Equals(SR.toStringNone))
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
295? Items[index]!.ToString()!.Equals(text)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (3)
461else if (keyInput.Equals(decimalSeparator) || keyInput.Equals(groupSeparator) || keyInput.Equals(negativeSign))
System\Windows\Forms\DataBinding\Binding.cs (1)
333if (!value.Equals(_formatString))
System\Windows\Forms\DataBinding\BindingContext.cs (1)
305if (propBinding.BindingMemberInfo.BindingMember.Equals(binding.PropertyName))
System\Windows\Forms\DataBinding\BindingManagerBase.cs (1)
178if (property.Name.Equals(((PropertyDescriptor)listAccessors[offset]!).Name))
System\Windows\Forms\DataBinding\BindingSource.cs (1)
204if (!_dataMember.Equals(value))
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (1)
116if (_error.Equals(value) && _provider.BlinkStyle != ErrorBlinkStyle.AlwaysBlink)
System\Windows\Forms\NativeWindow.WindowClass.cs (1)
77while (wc is not null && !className.Equals(wc._className))
System\Windows\Forms\NotifyIcon.cs (1)
240if (!value.Equals(_text))
System\Windows\Forms\OLE\WinFormsOleServices.cs (2)
47if (format.Equals(DataFormatNames.Bitmap) && data is Bitmap bitmap) 134if (data is Bitmap && format.Equals(DataFormatNames.Dib))
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
1061internal override bool ShouldSerializeText() => !Text.Equals(SR.PrintPreviewDialog_PrintPreview);
System.Windows.Forms.Analyzers.CSharp (2)
System\Windows\Forms\CSharp\Analyzers\AvoidPassingTaskWithoutCancellationToken\AvoidPassingTaskWithoutCancellationTokenAnalyzer.cs (2)
59|| !funcType.ContainingNamespace.ToString().Equals("System")) 99&& (type.ToString().Equals(typeName)
System.Windows.Forms.Design (139)
System\ComponentModel\Design\DesignerActionUI.cs (4)
255if (ce.Member.Name.Equals("Dock")) 260if (ce.Member.Name.Equals("Location") || 261ce.Member.Name.Equals("Width") || 262ce.Member.Name.Equals("Height"))
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
197if (oldName is not null && name is not null && oldName.Equals(name))
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (2)
53if (name.Equals("AddRange") && parameter.ParameterType.IsArray) 57else if (name.Equals("Add"))
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (5)
672reload |= (_documentType is null || !_documentType.Name.Equals(oldTypeName)); 869if (members[i] is CodeMemberField field && members[i].Name.Equals(oldName) 870&& field.Type.BaseType.Equals(TypeDescriptor.GetClassName(component))) 893if (members[i] is CodeMemberField && members[i].Name.Equals(name)) 911if (!typeLeft.BaseType.Equals(typeRight.BaseType))
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersExtenderProvider.cs (1)
152if (member is CodeMemberField field && field.Name.Equals(compName))
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
1798if (valueSerializerTypeName.Equals(da.SerializerTypeName))
System\ComponentModel\Design\Serialization\ComponentTypeCodeDomSerializer.cs (1)
63if (member is CodeMemberMethod method && method.Name.Equals(InitMethodName) && method.Parameters.Count == 0)
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (2)
88if (statement.Name.Equals(ResourceManagerName)) 140if (name is not null && name.Equals(ResourceManagerName) && typeof(ResourceManager).IsAssignableFrom(type))
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (2)
149if (!name.Equals(declaration.Name) && _statementTable.TryGetValue(name, out OrderedCodeStatementCollection? statements)) 183if (statements.Name.Equals(declaration.Name))
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
51if (propertyName.Equals("Visible") && panel is not null)
System\Drawing\Design\ToolboxItem.cs (3)
323if (entry.Name.Equals("PropertyNames")) 348if (validName.Equals(entry.Name)) 620if (ta.FilterString.Equals(TypeName))
System\Windows\Forms\Design\Behavior\SnapLine.cs (21)
141if ((line1.Filter.Equals(MarginRight) && (line2.Filter.Equals(MarginLeft) || line2.Filter.Equals(PaddingRight))) || 142(line1.Filter.Equals(MarginLeft) && (line2.Filter.Equals(MarginRight) || line2.Filter.Equals(PaddingLeft))) || 143(line1.Filter.Equals(MarginTop) && (line2.Filter.Equals(MarginBottom) || line2.Filter.Equals(PaddingTop))) || 144(line1.Filter.Equals(MarginBottom) && (line2.Filter.Equals(MarginTop) || line2.Filter.Equals(PaddingBottom)))) 155if ((line1.Filter.Equals(PaddingLeft) && line2.Filter.Equals(MarginLeft)) || 156(line1.Filter.Equals(PaddingRight) && line2.Filter.Equals(MarginRight)) || 157(line1.Filter.Equals(PaddingTop) && line2.Filter.Equals(MarginTop)) || 158(line1.Filter.Equals(PaddingBottom) && line2.Filter.Equals(MarginBottom))) 167if (line1.Filter.Equals(line2.Filter))
System\Windows\Forms\Design\CommandSet.cs (1)
2079if (name is not null && name.Equals(c.Text))
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (4)
388if (defaultSrcColumn is null || !defaultSrcColumn.DefaultCellStyle.Format.Equals(srcColumn.DefaultCellStyle.Format)) 900if (e.ChangedItem!.PropertyDescriptor!.Name.Equals("HeaderText")) 922else if (e.ChangedItem.PropertyDescriptor.Name.Equals("DataPropertyName")) 936else if (e.ChangedItem.PropertyDescriptor.Name.Equals("Name"))
System\Windows\Forms\Design\DesignBindingValueUIHandler.cs (1)
40if ((binding.DataSource is IListSource || binding.DataSource is IList || binding.DataSource is Array) && binding.PropertyName.Equals(propDesc.Name))
System\Windows\Forms\Design\DocumentDesigner.cs (3)
1013if (format.Equals(AxClipFormat)) 1019if (format.Equals(OleDragDropHandler.DataFormat) || 1020format.Equals(OleDragDropHandler.NestedToolboxItemFormat))
System\Windows\Forms\Design\FormatControl.cs (1)
52if (formatType.ToString().Equals(value))
System\Windows\Forms\Design\FormatControl.CurrencyFormatType.cs (14)
61formatString.Equals("C0") || 62formatString.Equals("C1") || 63formatString.Equals("C2") || 64formatString.Equals("C3") || 65formatString.Equals("C4") || 66formatString.Equals("C5") || 67formatString.Equals("C6"); 76if (formatString.Equals("C0")) 80else if (formatString.Equals("C1")) 84else if (formatString.Equals("C2")) 88else if (formatString.Equals("C3")) 92else if (formatString.Equals("C4")) 96else if (formatString.Equals("C5")) 100else if (formatString.Equals("C6"))
System\Windows\Forms\Design\FormatControl.CustomFormatType.cs (4)
43if (label.Equals(string.Empty)) 57if (label.Equals(string.Empty)) 71if (label.Equals(string.Empty)) 83if (label.Equals(string.Empty))
System\Windows\Forms\Design\FormatControl.DateTimeFormatType.cs (18)
53formatString.Equals("d") || 54formatString.Equals("D") || 55formatString.Equals("f") || 56formatString.Equals("F") || 57formatString.Equals("g") || 58formatString.Equals("G") || 59formatString.Equals("t") || 60formatString.Equals("T") || 61formatString.Equals("M"); 71if (formatString.Equals("d")) 75else if (formatString.Equals("D")) 79else if (formatString.Equals("f")) 83else if (formatString.Equals("F")) 87else if (formatString.Equals("g")) 91else if (formatString.Equals("G")) 95else if (formatString.Equals("t")) 99else if (formatString.Equals("T")) 103else if (formatString.Equals("M"))
System\Windows\Forms\Design\FormatControl.NumericFormatType.cs (14)
61formatString.Equals("N0") || 62formatString.Equals("N1") || 63formatString.Equals("N2") || 64formatString.Equals("N3") || 65formatString.Equals("N4") || 66formatString.Equals("N5") || 67formatString.Equals("N6"); 75if (formatString.Equals("N0")) 79else if (formatString.Equals("N1")) 83else if (formatString.Equals("N2")) 87else if (formatString.Equals("N3")) 91else if (formatString.Equals("N4")) 95else if (formatString.Equals("N5")) 99else if (formatString.Equals("N6"))
System\Windows\Forms\Design\FormatControl.ScientificFormatType.cs (14)
61formatString.Equals("E0") || 62formatString.Equals("E1") || 63formatString.Equals("E2") || 64formatString.Equals("E3") || 65formatString.Equals("E4") || 66formatString.Equals("E5") || 67formatString.Equals("E6"); 76if (formatString.Equals("E0")) 80else if (formatString.Equals("E1")) 84else if (formatString.Equals("E2")) 88else if (formatString.Equals("E3")) 92else if (formatString.Equals("E4")) 96else if (formatString.Equals("E5")) 100else if (formatString.Equals("E6"))
System\Windows\Forms\Design\FormatStringDialog.cs (1)
28if (rtlString.Equals("RTL_False"))
System\Windows\Forms\Design\FormDocumentDesigner.cs (4)
206if (snapLine.Filter.Equals(SnapLine.PaddingLeft) || snapLine.Filter.Equals(SnapLine.PaddingTop)) 212if (snapLine.Filter.Equals(SnapLine.PaddingRight) || snapLine.Filter.Equals(SnapLine.PaddingBottom))
System\Windows\Forms\Design\LinkAreaEditor.cs (1)
53if (!text.Equals(originalText) && property?.PropertyType == typeof(string))
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (2)
138if (format.Equals(DataFormat)) 149else if (format.Equals(NestedToolboxItemFormat))
System\Windows\Forms\Design\ParentControlDesigner.cs (3)
1291if (optionName.Equals("ShowGrid")) 1295else if (optionName.Equals("SnapToGrid")) 1299else if (optionName.Equals("GridSize"))
System\Windows\Forms\Design\SplitContainerDesigner.OrientationActionList.cs (1)
44Orientation orientation = verb.Text.Equals(SR.DesignerShortcutHorizontalOrientation) ? Orientation.Horizontal : Orientation.Vertical;
System\Windows\Forms\Design\SplitterPanelDesigner.cs (1)
231if (descriptor.Name.Equals("Name") && descriptor.DesignTimeOnly)
System\Windows\Forms\Design\StringCollectionEditor.StringCollectionForm.cs (1)
160if (!lines[i].Equals(Items[i]?.ToString()))
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (7)
132if (verb.Text.Equals(string.Format(SR.TableLayoutPanelDesignerEditRowAndCol))) 139if (item.Text.Equals(verb.Text)) 169if (item.Text.Equals(SR.ContextMenuCut)) 173else if (item.Text.Equals(SR.ContextMenuCopy)) 177else if (item.Text.Equals(SR.ContextMenuDelete)) 2063bool isRow = ((DesignerVerb)sender).Text.Equals(ReplaceText(SR.TableLayoutPanelDesignerRemoveRow)); 2070bool isRow = ((DesignerVerb)sender).Text.Equals(ReplaceText(SR.TableLayoutPanelDesignerAddRow));
Test.Utilities (2)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
Text.Analyzers (2)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
860if (!part.Equals(ParentRelativeDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
67=> NameBasedOnArgument.Equals(other.NameBasedOnArgument);
UIAutomationClient (1)
MS\Internal\Automation\ProxyManager.cs (1)
725if( pi.ClassName.Equals( _pseudoProxyClassNames[ j ] ) )
UIAutomationClientSideProviders (16)
MS\Internal\AutomationProxies\Misc.cs (1)
1897if (!ProxyGetClassName(hwnd).Equals("tooltips_class32"))
MS\Internal\AutomationProxies\WindowsButton.cs (4)
549if (!Misc.GetClassName(_hwnd).Equals("Button")) 564if (Misc.GetClassName(hwndParent).Equals("Shell_TrayWnd")) 575if (!Misc.GetClassName(_hwnd).Equals("Button")) 583if (Misc.GetClassName(hwndParent).Equals("Desktop More Programs Pane"))
MS\Internal\AutomationProxies\WindowsComboBox.cs (2)
149if (Misc.GetClassName(_hwnd).Equals("Internet Explorer_TridentCmboBx")) 705if (Misc.GetClassName(hwnd).Equals("Internet Explorer_TridentCmboBx"))
MS\Internal\AutomationProxies\WindowsContainer.cs (2)
30if (className.Equals("#32770")) 186return dlgName.Equals(WindowsTabItem.GetName(hwndTab, item, true));
MS\Internal\AutomationProxies\WindowsEditBox.cs (2)
931if (classname.Equals("SysIPAddress32")) 947if (classname.Equals("SysListView32"))
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
723if (Misc.GetClassName(_hwnd).Equals("Internet Explorer_TridentLstBox"))
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
797if (val.Equals(ListViewItem.GetText(hwnd, item, 0)))
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
684return Misc.GetClassName(hwndParent).Equals("MsoCommandBar");
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
626if (text.Equals(WindowsTreeView.GetItemText(hwnd, item)))
MS\Internal\AutomationProxies\WinEventTracker.cs (1)
475return Misc.ProxyGetClassName(Process.GetProcessById(processId).MainWindowHandle).Equals("ConsoleWindowClass");
UnitTests.Common (2)
TestHelpers.cs (2)
149if (!op.Name.Equals(expectedOp.Name)) 175MessageDescription messageDesc = messages.FirstOrDefault(m => m.Action.Equals(messageData.Action));
WebTransportInteractiveSampleApp (1)
Program.cs (1)
47if (context.Request.Path.Value?.Equals("/certificate.js") ?? false)