Implemented interface member:
method
Equals
System.IEquatable<T>.Equals(T)
1425 references to Equals
ComSvcConfig (4)
Options.cs (2)
358if (comp.Equals("*")) 368if (itf.Equals("*"))
parent\svcutil\CommandLineParser.cs (2)
69if (name.Equals(temp)) 72return abbreviation.Equals(temp);
mscorlib (286)
system\__filters.cs (1)
129return (name.Equals(str));
system\appdomain.cs (7)
2378if (name.Equals(TargetFrameworkNameAppCompatSetting)) { 2383if (name.Equals("IgnoreSystemPolicy")) { 2484if(name.Equals(AppDomainSetup.LoaderOptimizationKey)) 2860if (root.Tag.Equals( "IPermission" ) || root.Tag.Equals( "Permission" )) 2873else if (root.Tag.Equals( "PermissionSet" )) 2881else if (root.Tag.Equals( "PermissionToken" ))
system\collections\generic\equalitycomparer.cs (1)
515if (y != null) return x.Equals(y);
system\defaultbinder.cs (1)
1136if (names[i].Equals(pars[j].Name)) {
system\diagnostics\eventing\eventsource.cs (1)
6562if (stringTab.TryGetValue(key, out prevValue) && !prevValue.Equals(value))
system\double.cs (3)
282if (sTrim.Equals(info.PositiveInfinitySymbol)) { 284} else if (sTrim.Equals(info.NegativeInfinitySymbol)) { 286} else if (sTrim.Equals(info.NaNSymbol)) {
system\enum.cs (1)
447if (!enumNames[j].Equals(values[i]))
system\globalization\culturedata.cs (3)
1214if (CultureInfo.UserDefaultUICulture.Name.Equals(Thread.CurrentThread.CurrentUICulture.Name)) 1401if (CultureInfo.UserDefaultUICulture.Name.Equals(Thread.CurrentThread.CurrentUICulture.Name)) 1524if (CultureInfo.UserDefaultUICulture.Name.Equals(Thread.CurrentThread.CurrentUICulture.Name))
system\globalization\cultureinfo.cs (1)
1323return (this.Name.Equals(that.Name) && this.CompareInfo.Equals(that.CompareInfo));
system\globalization\datetimeformatinfo.cs (7)
2426bool koreanLanguage = LanguageName.Equals(KoreanLangName); 2446if (LanguageName.Equals("sq")) { 2482if ( LanguageName.Equals("ky")) { 2525if (this.DateSeparator.Trim(null).Equals(symbol)) 2534if (LanguageName.Equals("eu")) { 2591if (LanguageName.Equals(JapaneseLangName)) { 2610else if (CultureName.Equals("zh-TW")) {
system\globalization\datetimeformatinfoscanner.cs (2)
219if (str.Equals(".")) 651if (!array1[i].Equals(array2[i]))
system\globalization\regioninfo.cs (1)
603return this.Name.Equals(that.Name);
system\globalization\stringinfo.cs (1)
69return (this.m_str.Equals(that.m_str));
system\globalization\textinfo.cs (1)
648return this.CultureName.Equals(that.CultureName);
system\io\file.cs (1)
1469if (hr==__Error.ERROR_PATH_NOT_FOUND && FullPath.Equals(Directory.GetDirectoryRoot(FullPath)))
system\io\filestream.cs (1)
857if (errorCode==__Error.ERROR_PATH_NOT_FOUND && filePath.Equals(Directory.InternalGetDirectoryRoot(filePath)))
system\io\filesystemenumerable.cs (1)
603if (tempSearchPattern.Equals("."))
system\io\isolatedstorage\isolatedstoragefilestream.cs (1)
128if ((path.Length == 0) || path.Equals(s_BackSlash))
system\number.cs (6)
678if (sTrim.Equals(numfmt.PositiveInfinitySymbol)) { 681if (sTrim.Equals(numfmt.NegativeInfinitySymbol)) { 684if (sTrim.Equals(numfmt.NaNSymbol)) { 955if (sTrim.Equals(numfmt.PositiveInfinitySymbol)) { 958if (sTrim.Equals(numfmt.NegativeInfinitySymbol)) { 961if (sTrim.Equals(numfmt.NaNSymbol)) {
system\object.cs (1)
187if(t.FullName.Equals(typeName))
system\reflection\__filters.cs (1)
46return cls.Name.Equals(str);
system\reflection\emit\assemblybuilder.cs (1)
1581if (moduleBuilder.m_moduleData.m_strModuleName.Equals(name))
system\reflection\emit\assemblybuilderdata.cs (2)
281if (resWriter.m_strName.Equals(strNewResName)) 300if (moduleBuilder.m_moduleData.m_strModuleName.Equals(strNewModuleName))
system\reflection\emit\methodbuilder.cs (1)
490if (!(this.m_strName.Equals(((MethodBuilder)obj).m_strName))) {
system\reflection\emit\modulebuilder.cs (1)
142if (strFormat == null || strFormat.Equals(String.Empty))
system\reflection\emit\typebuilder.cs (1)
1739if ((method.Attributes & MethodAttributes.SpecialName) != 0 && method.Name.Equals(ConstructorInfo.ConstructorName))
system\reflection\memberinfoserializationholder.cs (8)
152if (((RuntimePropertyInfo)properties[i]).SerializationToString().Equals(m_signature2)) 157if ((properties[i]).ToString().Equals(m_signature)) 184if (((RuntimeConstructorInfo)constructors[i]).SerializationToString().Equals(m_signature2)) 189if (constructors[i].ToString().Equals(m_signature)) 220if (((RuntimeMethodInfo)methods[i]).SerializationToString().Equals(m_signature2)) 229if (methods[i].ToString().Equals(m_signature)) 246if (((RuntimeMethodInfo)candidateMethod).SerializationToString().Equals(m_signature2)) 254if (candidateMethod.ToString().Equals(m_signature))
system\reflection\propertyinfo.cs (1)
296Contract.Requires(Name.Equals(target.Name));
system\resources\manifestbasedresourcegroveler.cs (2)
188if (s.Equals(resName)) 672if (_mediator.MainAssembly == typeof(Object).Assembly && _mediator.BaseName.Equals("mscorlib"))
system\rttype.cs (8)
655RuntimeMethodHandle.GetName(methodHandle).Equals(".ctor") || 656RuntimeMethodHandle.GetName(methodHandle).Equals(".cctor") || 717RuntimeMethodHandle.GetName(methodHandle).Equals(".ctor") || 718RuntimeMethodHandle.GetName(methodHandle).Equals(".cctor")); 2286Contract.Assert(fullname.Equals(ns + "." + name)); 2402Contract.Requires(name == null || (bindingFlags & BindingFlags.IgnoreCase) == 0 || (name.ToLower(CultureInfo.InvariantCulture).Equals(name))); 2492if (ns != null && !type.Namespace.Equals(ns)) 4638if (name.Length == 0 || name.Equals(@"[DISPID=0]"))
system\runtime\compilerservices\customconstantattribute.cs (1)
22if (namedArgument.MemberInfo.Name.Equals("Value"))
system\runtime\compilerservices\datetimeconstantattribute.cs (1)
36if (namedArgument.MemberInfo.Name.Equals("Value"))
system\runtime\compilerservices\decimalconstantattribute.cs (1)
58if (namedArgument.MemberInfo.Name.Equals("Value"))
system\runtime\interopservices\typelibconverter.cs (1)
102if (String.Empty.Equals(asmFileName))
system\runtime\remoting\callcontext.cs (6)
331if (e.Name.Equals("__RemotingData")) 335else if (e.Name.Equals("__SecurityData")) 346else if (e.Name.Equals("__HostContext")) 350else if (e.Name.Equals("__CorrelationMgrSlotPresent")) 437if (key.Equals(s_CorrelationMgrSlotName)) 586if (name.Equals(s_CorrelationMgrSlotName))
system\runtime\remoting\context.cs (2)
222if (_ctxProps[i].Name.Equals(name)) 337if (props[i].Name.Equals(name))
system\runtime\remoting\contextproperty.cs (1)
186return (null != prop) && AttributeName.Equals(prop.Name);
system\runtime\remoting\crossappdomainchannel.cs (2)
139if (xadData.ProcessGuid.Equals(Identity.ProcessGuid)) 208return Identity.ProcessGuid.Equals(_processGuid);
system\runtime\remoting\dynamicpropertyholder.cs (2)
83if (_props[i].Name.Equals(name)) 184if (props[i].Name.Equals(name))
system\runtime\remoting\message.cs (26)
1979if (skey.Equals(_keys[i])) 2009if (skey.Equals(_keys[i])) 3113if (methodName.Equals(".ctor")) 3240!methodName.Equals(".ctor"), 3481if (memberName.Equals(pinfos[j].Name)) 3818else if (key.Equals("__Uri")) 3822else if (key.Equals("__MethodName")) 3826else if (key.Equals("__MethodSignature")) 3830else if (key.Equals("__TypeName")) 3834else if (key.Equals("__Args")) 3838else if (key.Equals("__CallContext")) 3971else if (key.Equals("__ActivationType")) 3976else if (key.Equals("__ContextProperties")) 3980else if (key.Equals("__CallSiteActivationAttributes")) 3984else if (key.Equals("__Activator")) 3988else if (key.Equals("__ActivationTypeName")) 4322if (e.Name.Equals("__return")) 4327if (e.Name.Equals("__fault")) 4456if (memberName.Equals(pinfos[j].Name)) 4748if (name.Equals("__MethodName")) 4752else if (name.Equals("__Uri")) 4756else if (name.Equals("__MethodSignature")) 4760else if (name.Equals("__TypeName")) 4764else if (name.Equals("__OutArgs")) 4768else if (name.Equals("__CallContext")) 4779else if (name.Equals("__Return"))
system\runtime\remoting\objref.cs (10)
474if (e.Name.Equals("uri")) 478else if (e.Name.Equals("typeInfo")) 482else if (e.Name.Equals("envoyInfo")) 486else if (e.Name.Equals("channelInfo")) 490else if (e.Name.Equals("objrefFlags")) 502else if (e.Name.Equals("fIsMarshalled")) 514else if (e.Name.Equals("url")) 518else if (e.Name.Equals("SrvIdentity")) 522else if (e.Name.Equals("DomainId")) 657if ((urls != null) && (urls.Length == 1) && urls[0].Equals(urlToBash))
system\runtime\remoting\remotingattributes.cs (1)
162if (methodName.Equals(newMeth))
system\runtime\remoting\remotingconfigparser.cs (5)
836if (key.Equals("name")) 859if (key.Equals("mode")) { 1010if (childNode.Name.Equals("channel")) 1581if (nodeName.Equals("formatter")) 1584if (nodeName.Equals("provider"))
system\runtime\remoting\remotingservices.cs (2)
2094if (mi.Name.Equals(beginName) && 2102if (mi.Name.Equals(endName) &&
system\runtime\remoting\remotingsurrogateselector.cs (2)
490if (key.Equals("__CallContext")) 500else if (key.Equals("__MethodSignature"))
system\runtime\remoting\serveridentity.cs (1)
66if (typeName.Equals(newTypeName))
system\runtime\remoting\soap.cs (2)
492return actualTypeName.Equals(typeName) && mb.Name.Equals(methodName);
system\runtime\remoting\stackbuildersink.cs (2)
442if(reflectedType.FullName.Equals(sIRemoteDispatch) && 443reflectedType.GetRuntimeAssembly().GetSimpleName().Equals(sIRemoteDispatchAssembly))
system\runtime\remoting\synchronizeddispatch.cs (4)
104|| _syncLcid.Equals(value), 121return ( msgLCID.Equals(_syncLcid) 532lcid.Equals(callCtx.RemotingData.LogicalCallID)) 890Contract.Assert(lcid.Equals(_property.SyncCallOutLCID), "Bad synchronization domain state!");
system\runtime\remoting\urlattribute.cs (1)
50(((UrlAttribute)o).UrlValue.Equals(url));
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (1)
78if (assembly.Equals(Converter.urtAssemblyString))
system\runtime\serialization\formatters\binary\binaryconverter.cs (1)
189if (objectInfo.GetAssemblyString().Equals(urtAssemblyString))
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
796if (!(this.memberNames[i].Equals(memberNames[i])))
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (5)
782if (cache.memberNames.Length >0 && cache.memberNames[lastPosition].Equals(name)) 786else if ((++lastPosition < cache.memberNames.Length) && (cache.memberNames[lastPosition].Equals(name))) 796if (cache.memberNames[i].Equals(name)) 837if (!memberMissing && inMemberNames[i].Equals(cache.memberInfos[i].Name)) 845if (cache.memberInfos[i].Name.Equals(inMemberNames[j]))
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (2)
1464if (((previousName != null) && (previousName.Length == name.Length) && (previousName.Equals(name))) && 1465((previousAssemblyString != null) && (previousAssemblyString.Length == assemblyInfo.assemblyString.Length) &&(previousAssemblyString.Equals(assemblyInfo.assemblyString))))
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (1)
1356else if (assemblyString.Equals(Converter.urtAssemblyString))
system\runtime\serialization\formatters\binary\binaryutilclasses.cs (1)
904if ((value[0] == '_') && (value.Equals("_0x00_")))
system\security\codeaccesspermission.cs (4)
92Contract.Assert(new StackFrame().GetMethod().Name.Equals("Demand"), "This method needs to be named Demand"); 120Contract.Assert(new StackFrame().GetMethod().Name.Equals("Assert"), "This method needs to be named Assert"); 173Contract.Assert( perm.GetType().FullName.Equals( permname ), "Incorrect class name passed in! Was: " + permname + " Should be " + perm.GetType().FullName); 190if (version != null && !version.Equals( "1" ))
system\security\cryptography\x509certificates\x509certificate.cs (2)
389if (!this.Issuer.Equals(other.Issuer)) 392if (!this.SerialNumber.Equals(other.SerialNumber))
system\security\namedpermissionset.cs (4)
99if (name == null || name.Equals( "" )) 139Contract.Assert( this.GetType().FullName.Equals( "System.Security.NamedPermissionSet" ), "Class name changed!" ); 141if (m_name != null && !m_name.Equals( "" )) 146if (Description != null && !Description.Equals( "" ))
system\security\permissions\permissionattributes.cs (1)
831if (m_version == null || m_version.Equals(String.Empty))
system\security\permissions\principalpermission.cs (8)
175if ((m_array[i].m_id == null || !m_array[i].m_id.Equals( "" )) || 176(m_array[i].m_role == null || !m_array[i].m_role.Equals( "" )) || 240(this.m_array[i].m_id != null && this.m_array[i].m_id.Equals( operand.m_array[j].m_id ))) && 242(this.m_array[i].m_role != null && this.m_array[i].m_role.Equals( operand.m_array[j].m_role )))) 302this.m_array[i].m_id.Equals( operand.m_array[j].m_id )) 315this.m_array[i].m_role.Equals( operand.m_array[j].m_role)) 330this.m_array[i].m_role.Equals( operand.m_array[j].m_role)) 526Contract.Assert( this.GetType().FullName.Equals( "System.Security.Permissions.PrincipalPermission" ), "Class name changed!" );
system\security\permissions\strongnameidentitypermission.cs (1)
146if (name != null && name.Equals( "" ))
system\security\permissionset.cs (20)
740if (child.GetTag().Equals( "IPermission" ) || child.GetTag().Equals( "Permission" )) 744else if (parent.Tag.Equals( child.GetTag() )) 754Contract.Assert( !current.GetTag().Equals( parent.Tag ), 820if (thisElem.GetTag().Equals( s_str_PermissionIntersection ) || 821thisElem.GetTag().Equals( s_str_PermissionUnrestrictedIntersection )) 1157if (thisElem.GetTag().Equals( s_str_PermissionUnion ) || 1158thisElem.GetTag().Equals( s_str_PermissionUnrestrictedUnion )) 1737if (tag.Equals( s_str_Permission ) || 1738tag.Equals( s_str_IPermission )) 1744(tag.Equals( s_str_PermissionUnion ) || 1745tag.Equals( s_str_PermissionIntersection ) || 1746tag.Equals( s_str_PermissionUnrestrictedIntersection ) || 1747tag.Equals( s_str_PermissionUnrestrictedUnion))) 1760if (!et.Tag.Equals(s_str_PermissionSet)) 1862if (!doc.GetTagForElement( position ).Equals(s_str_PermissionSet)) 1870m_Unrestricted = strUnrestricted.Equals( "True" ) || strUnrestricted.Equals( "true" ) || strUnrestricted.Equals( "TRUE" ); 2221Contract.Assert( this.GetType().FullName.Equals( "System.Security.PermissionSet" ), "Class name changed! Was: System.Security.PermissionSet Should be:" + this.GetType().FullName);
system\security\permissiontoken.cs (1)
308if (!elRoot.Tag.Equals( "PermissionToken" ))
system\security\policy\allmembershipcondition.cs (2)
68Contract.Assert( this.GetType().FullName.Equals( "System.Security.Policy.AllMembershipCondition" ), "Class name changed!" ); 80if (!e.Tag.Equals( "IMembershipCondition" ))
system\security\policy\applicationdirectory.cs (1)
82Contract.Assert( this.GetType().FullName.Equals( "System.Security.Policy.ApplicationDirectory" ), "Class name changed!" );
system\security\policy\applicationdirectorymembershipcondition.cs (2)
107BCLDebug.Assert( this.GetType().FullName.Equals( "System.Security.Policy.ApplicationDirectoryMembershipCondition" ), "Class name changed!" ); 119if (!e.Tag.Equals( "IMembershipCondition" ))
system\security\policy\applicationtrust.cs (1)
293if (!elObject.Tag.Equals(tag))
system\security\policy\codegroup.cs (2)
336Contract.Assert( this.GetType().FullName.Equals( policyClassName ), "Incorrect class name passed in! Was: " + policyClassName + " Should be " + this.GetType().FullName); 494if (elGroup.Tag.Equals( "CodeGroup" ))
system\security\policy\gacmembershipcondition.cs (1)
85if (!e.Tag.Equals( "IMembershipCondition" ))
system\security\policy\hash.cs (1)
500BCLDebug.Assert(this.GetType().FullName.Equals("System.Security.Policy.Hash"), "Class name changed!");
system\security\policy\hashmembershipcondition.cs (2)
173Contract.Assert(this.GetType().FullName.Equals("System.Security.Policy.HashMembershipCondition"), "Class name changed!"); 187if (!e.Tag.Equals("IMembershipCondition"))
system\security\policy\netcodegroup.cs (2)
873if (codeOriginElem.Tag.Equals("codeOrigin")) 882if (accessElem.Tag.Equals("connectAccess"))
system\security\policy\permissionrequestevidence.cs (1)
94Contract.Assert( this.GetType().FullName.Equals( "System.Security.Policy.PermissionRequestEvidence" ), "Class name changed!" );
system\security\policy\policylevel.cs (23)
101if(m_label.Equals(Environment.GetResourceString("Policy_PL_User"))) 103else if(m_label.Equals(Environment.GetResourceString("Policy_PL_Machine"))) 105else if(m_label.Equals(Environment.GetResourceString("Policy_PL_Enterprise"))) 107else if(m_label.Equals(Environment.GetResourceString("Policy_PL_AppDomain"))) 348if (((NamedPermissionSet)enumerator.Current).Name.Equals(permSet.Name)) 379if (s_reservedNamedPermissionSets[index].Equals(name)) 389if (((NamedPermissionSet)namedPermissionSets[index]).Name.Equals(name)) { 408if (group.PermissionSetName != null && group.PermissionSetName.Equals(name)) { 436if (s_reservedNamedPermissionSets[index].Equals(name)) 570if (current.Tag.Equals("SecurityClass")) { 661else if (name.Equals("FullTrust")) { 664else if (name.Equals("Nothing")) { 667else if (name.Equals("Execution")) { 670else if (name.Equals("SkipVerification")) { 673else if (name.Equals("Internet")) { 676else if (name.Equals("LocalIntranet")) { 692if (permissionSet.Name.Equals(name)) { 1171if (elPermSet.Tag.Equals("PermissionSet")) { 1174if (elName != null && elName.Equals(name)) { 1198if (elPermSet.Tag.Equals("PermissionSet") && elPermSet.Attribute("class").Equals("System.Security.NamedPermissionSet")) { 1344if (strAttrName.Equals("class")) { 1381if (strAttrName.Equals("class")) {
system\security\policy\policystatement.cs (7)
367if (!et.Tag.Equals( "PolicyStatement" )) 408if (className != null && (className.Equals( "NamedPermissionSet" ) || 409className.Equals( "System.Security.NamedPermissionSet" ))) 445if (!doc.GetTagForElement( position ).Equals( "PolicyStatement" )) 484if (doc.GetTagForElement( (int)childPositions[i] ).Equals( "PermissionSet" )) 494if (className != null && (className.Equals( "NamedPermissionSet" ) || 495className.Equals( "System.Security.NamedPermissionSet" )))
system\security\policy\publisher.cs (2)
82if (!(keyAlg1.Equals(keyAlg2))) return(false); 117Contract.Assert( this.GetType().FullName.Equals( "System.Security.Policy.Publisher" ), "Class name changed!" );
system\security\policy\publishermembershipcondition.cs (2)
169Contract.Assert( this.GetType().FullName.Equals( "System.Security.Policy.PublisherMembershipCondition" ), "Class name changed!" ); 183if (!e.Tag.Equals( "IMembershipCondition" ))
system\security\policy\site.cs (1)
106Contract.Assert( this.GetType().FullName.Equals( "System.Security.Policy.Site" ), "Class name changed!" );
system\security\policy\sitemembershipcondition.cs (2)
152Contract.Assert( this.GetType().FullName.Equals( "System.Security.Policy.SiteMembershipCondition" ), "Class name changed!" ); 167if (!e.Tag.Equals( "IMembershipCondition" ))
system\security\policy\strongnamemembershipcondition.cs (3)
58if (name != null && name.Equals( "" )) 222Contract.Assert( this.GetType().FullName.Equals( "System.Security.Policy.StrongNameMembershipCondition" ), "Class name changed!" ); 244if (!e.Tag.Equals( "IMembershipCondition" ))
system\security\policy\url.cs (1)
99Contract.Assert( this.GetType().FullName.Equals( "System.Security.Policy.Url" ), "Class name changed!" );
system\security\policy\urlmembershipcondition.cs (2)
156Contract.Assert( this.GetType().FullName.Equals( "System.Security.Policy.UrlMembershipCondition" ), "Class name changed!" ); 170if (!e.Tag.Equals( "IMembershipCondition" ))
system\security\policy\zone.cs (1)
130Contract.Assert( this.GetType().FullName.Equals( "System.Security.Policy.Zone" ), "Class name changed!" );
system\security\policy\zonemembershipcondition.cs (2)
167Contract.Assert( this.GetType().FullName.Equals( "System.Security.Policy.ZoneMembershipCondition" ), "Class name changed!" ); 182if (!e.Tag.Equals( "IMembershipCondition" ))
system\security\policymanager.cs (1)
265if (currentLevel.Label.Equals(label))
system\security\principal\genericidentity.cs (1)
132return !m_name.Equals("");
system\security\securityelement.cs (1)
881if (m_strTag.Equals( strLocalName ) || m_strTag.EndsWith( ":" + strLocalName, StringComparison.Ordinal ))
system\security\util\sitestring.cs (2)
75else if (separatedArray[index].Equals( "" )) 82else if (separatedArray[index].Equals( "*" ))
system\security\util\stringexpressionset.cs (5)
160if (arystr[index] != null && !arystr[index].Equals( "" )) 168if (temp != null && !temp.Equals( "" )) 284if (semiSplit[j] != null && !semiSplit[j].Equals( "" )) 324if (expressionsArray[index] != null && !expressionsArray[index].Equals( "" )) 333if (temp != null && !temp.Equals( "" ))
system\security\util\urlstring.cs (4)
1104if (separatedArray[index] == null || separatedArray[index].Equals( "" )) 1108else if (separatedArray[index].Equals( "*" )) 1183if (separatedArray[index] == null || separatedArray[index].Equals( "" )) 1195else if (separatedArray[index].Equals( "*" ))
system\security\util\xmlutil.cs (10)
73Contract.Assert( type.FullName.Equals( typename ), "Incorrect class name passed! Was : " + typename + " Shoule be: " + type.FullName); 208if (el == null || !(el.Tag.Equals("Permission") || el.Tag.Equals("IPermission")) ) 433if (el == null || !el.Tag.Equals("CodeGroup")) 507if (el == null || !el.Tag.Equals("IMembershipCondition")) 665if (!el.Tag.Equals ("Permission") && !el.Tag.Equals ("IPermission")) 679return sUnrestricted.Equals( "true" ) || sUnrestricted.Equals( "TRUE" ) || sUnrestricted.Equals( "True" );
system\single.cs (3)
250if (sTrim.Equals(info.PositiveInfinitySymbol)) { 252} else if (sTrim.Equals(info.NegativeInfinitySymbol)) { 254} else if (sTrim.Equals(info.NaNSymbol)) {
system\string.cs (1)
3337Contract.Ensures(str.Equals(Contract.Result<String>()));
system\stringcomparer.cs (2)
350return x.Equals(y); 426return x.Equals(y);
system\threading\executioncontext.cs (1)
1353if (e.Name.Equals("LogicalCallContext"))
PresentationBuildTasks (188)
BuildTasks\Microsoft\Build\Tasks\Windows\FileClassifier.cs (1)
343if (Culture != null && Culture.Equals("") == false)
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (2)
672if (OutputType.Equals(SharedStrings.Exe) || OutputType.Equals(SharedStrings.WinExe))
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (2)
413Path.GetExtension(sourceFilePath).Equals(SharedStrings.BamlExtension) && 414Path.GetExtension(path).Equals(SharedStrings.XamlExtension))
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (10)
822if (!attributeNamespaceUri.Equals(XamlReaderHelper.DefinitionNamespaceURI) || 823!xmlReader.LocalName.Equals(XamlReaderHelper.DefinitionUid)) 870if (LocalName.Equals(CODETAG)) 1632if (normalizedModifier.Equals(_private)) 1636else if (normalizedModifier.Equals(_public)) 1640else if (normalizedModifier.Equals(_protected)) 1644else if (normalizedModifier.Equals(_internal)) 1648else if (normalizedModifier.Equals(_protectedInternal)) 1697if (normalizedModifier.Equals(_privateClass)) 1701else if (normalizedModifier.Equals(_publicClass))
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (10)
170memberInfo.Name.Equals(STARTUPURI) && 362else if (localAttribName.Equals(STARTUPURI) && 408namespaceUri.Equals(XamlReaderHelper.DefinitionNamespaceURI) && 409(localName.Equals(XamlReaderHelper.DefinitionCodeTag) || 410localName.Equals(XamlReaderHelper.DefinitionXDataTag))) 439attribNamespaceURI.Equals(XamlReaderHelper.DefinitionNamespaceURI)) 514if (namespaceUri.Equals(XamlReaderHelper.DefinitionNamespaceURI)) 528if ((!localName.Equals(MarkupCompiler.CODETAG) && 529!localName.Equals(MarkupCompiler.CODETAG + "Extension")) || 530!namespaceUri.Equals(XamlReaderHelper.DefinitionNamespaceURI))
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (3)
155if (str.Equals("true") || str.Equals("yes") || str.Equals("on"))
Core\CSharp\System\Windows\Media\Knowncolors.cs (141)
298if (colorUpper.Equals("RED")) return KnownColor.Red; 299if (colorUpper.Equals("TAN")) return KnownColor.Tan; 305if (colorUpper.Equals("AQUA")) return KnownColor.Aqua; 308if (colorUpper.Equals("BLUE")) return KnownColor.Blue; 311if (colorUpper.Equals("CYAN")) return KnownColor.Cyan; 314if (colorUpper.Equals("GOLD")) return KnownColor.Gold; 315if (colorUpper.Equals("GRAY")) return KnownColor.Gray; 318if (colorUpper.Equals("LIME")) return KnownColor.Lime; 321if (colorUpper.Equals("NAVY")) return KnownColor.Navy; 324if (colorUpper.Equals("PERU")) return KnownColor.Peru; 325if (colorUpper.Equals("PINK")) return KnownColor.Pink; 326if (colorUpper.Equals("PLUM")) return KnownColor.Plum; 329if (colorUpper.Equals("SNOW")) return KnownColor.Snow; 332if (colorUpper.Equals("TEAL")) return KnownColor.Teal; 340if (colorUpper.Equals("AZURE")) return KnownColor.Azure; 343if (colorUpper.Equals("BEIGE")) return KnownColor.Beige; 344if (colorUpper.Equals("BLACK")) return KnownColor.Black; 345if (colorUpper.Equals("BROWN")) return KnownColor.Brown; 348if (colorUpper.Equals("CORAL")) return KnownColor.Coral; 351if (colorUpper.Equals("GREEN")) return KnownColor.Green; 354if (colorUpper.Equals("IVORY")) return KnownColor.Ivory; 357if (colorUpper.Equals("KHAKI")) return KnownColor.Khaki; 360if (colorUpper.Equals("LINEN")) return KnownColor.Linen; 363if (colorUpper.Equals("OLIVE")) return KnownColor.Olive; 366if (colorUpper.Equals("WHEAT")) return KnownColor.Wheat; 367if (colorUpper.Equals("WHITE")) return KnownColor.White; 375if (colorUpper.Equals("BISQUE")) return KnownColor.Bisque; 378if (colorUpper.Equals("INDIGO")) return KnownColor.Indigo; 381if (colorUpper.Equals("MAROON")) return KnownColor.Maroon; 384if (colorUpper.Equals("ORANGE")) return KnownColor.Orange; 385if (colorUpper.Equals("ORCHID")) return KnownColor.Orchid; 388if (colorUpper.Equals("PURPLE")) return KnownColor.Purple; 391if (colorUpper.Equals("SALMON")) return KnownColor.Salmon; 392if (colorUpper.Equals("SIENNA")) return KnownColor.Sienna; 393if (colorUpper.Equals("SILVER")) return KnownColor.Silver; 396if (colorUpper.Equals("TOMATO")) return KnownColor.Tomato; 399if (colorUpper.Equals("VIOLET")) return KnownColor.Violet; 402if (colorUpper.Equals("YELLOW")) return KnownColor.Yellow; 410if (colorUpper.Equals("CRIMSON")) return KnownColor.Crimson; 413if (colorUpper.Equals("DARKRED")) return KnownColor.DarkRed; 414if (colorUpper.Equals("DIMGRAY")) return KnownColor.DimGray; 417if (colorUpper.Equals("FUCHSIA")) return KnownColor.Fuchsia; 420if (colorUpper.Equals("HOTPINK")) return KnownColor.HotPink; 423if (colorUpper.Equals("MAGENTA")) return KnownColor.Magenta; 426if (colorUpper.Equals("OLDLACE")) return KnownColor.OldLace; 429if (colorUpper.Equals("SKYBLUE")) return KnownColor.SkyBlue; 432if (colorUpper.Equals("THISTLE")) return KnownColor.Thistle; 440if (colorUpper.Equals("CORNSILK")) return KnownColor.Cornsilk; 443if (colorUpper.Equals("DARKBLUE")) return KnownColor.DarkBlue; 444if (colorUpper.Equals("DARKCYAN")) return KnownColor.DarkCyan; 445if (colorUpper.Equals("DARKGRAY")) return KnownColor.DarkGray; 446if (colorUpper.Equals("DEEPPINK")) return KnownColor.DeepPink; 449if (colorUpper.Equals("HONEYDEW")) return KnownColor.Honeydew; 452if (colorUpper.Equals("LAVENDER")) return KnownColor.Lavender; 455if (colorUpper.Equals("MOCCASIN")) return KnownColor.Moccasin; 458if (colorUpper.Equals("SEAGREEN")) return KnownColor.SeaGreen; 459if (colorUpper.Equals("SEASHELL")) return KnownColor.SeaShell; 467if (colorUpper.Equals("ALICEBLUE")) return KnownColor.AliceBlue; 470if (colorUpper.Equals("BURLYWOOD")) return KnownColor.BurlyWood; 473if (colorUpper.Equals("CADETBLUE")) return KnownColor.CadetBlue; 474if (colorUpper.Equals("CHOCOLATE")) return KnownColor.Chocolate; 477if (colorUpper.Equals("DARKGREEN")) return KnownColor.DarkGreen; 478if (colorUpper.Equals("DARKKHAKI")) return KnownColor.DarkKhaki; 481if (colorUpper.Equals("FIREBRICK")) return KnownColor.Firebrick; 484if (colorUpper.Equals("GAINSBORO")) return KnownColor.Gainsboro; 485if (colorUpper.Equals("GOLDENROD")) return KnownColor.Goldenrod; 488if (colorUpper.Equals("INDIANRED")) return KnownColor.IndianRed; 491if (colorUpper.Equals("LAWNGREEN")) return KnownColor.LawnGreen; 492if (colorUpper.Equals("LIGHTBLUE")) return KnownColor.LightBlue; 493if (colorUpper.Equals("LIGHTCYAN")) return KnownColor.LightCyan; 494if (colorUpper.Equals("LIGHTGRAY")) return KnownColor.LightGray; 495if (colorUpper.Equals("LIGHTPINK")) return KnownColor.LightPink; 496if (colorUpper.Equals("LIMEGREEN")) return KnownColor.LimeGreen; 499if (colorUpper.Equals("MINTCREAM")) return KnownColor.MintCream; 500if (colorUpper.Equals("MISTYROSE")) return KnownColor.MistyRose; 503if (colorUpper.Equals("OLIVEDRAB")) return KnownColor.OliveDrab; 504if (colorUpper.Equals("ORANGERED")) return KnownColor.OrangeRed; 507if (colorUpper.Equals("PALEGREEN")) return KnownColor.PaleGreen; 508if (colorUpper.Equals("PEACHPUFF")) return KnownColor.PeachPuff; 511if (colorUpper.Equals("ROSYBROWN")) return KnownColor.RosyBrown; 512if (colorUpper.Equals("ROYALBLUE")) return KnownColor.RoyalBlue; 515if (colorUpper.Equals("SLATEBLUE")) return KnownColor.SlateBlue; 516if (colorUpper.Equals("SLATEGRAY")) return KnownColor.SlateGray; 517if (colorUpper.Equals("STEELBLUE")) return KnownColor.SteelBlue; 520if (colorUpper.Equals("TURQUOISE")) return KnownColor.Turquoise; 528if (colorUpper.Equals("AQUAMARINE")) return KnownColor.Aquamarine; 531if (colorUpper.Equals("BLUEVIOLET")) return KnownColor.BlueViolet; 534if (colorUpper.Equals("CHARTREUSE")) return KnownColor.Chartreuse; 537if (colorUpper.Equals("DARKORANGE")) return KnownColor.DarkOrange; 538if (colorUpper.Equals("DARKORCHID")) return KnownColor.DarkOrchid; 539if (colorUpper.Equals("DARKSALMON")) return KnownColor.DarkSalmon; 540if (colorUpper.Equals("DARKVIOLET")) return KnownColor.DarkViolet; 541if (colorUpper.Equals("DODGERBLUE")) return KnownColor.DodgerBlue; 544if (colorUpper.Equals("GHOSTWHITE")) return KnownColor.GhostWhite; 547if (colorUpper.Equals("LIGHTCORAL")) return KnownColor.LightCoral; 548if (colorUpper.Equals("LIGHTGREEN")) return KnownColor.LightGreen; 551if (colorUpper.Equals("MEDIUMBLUE")) return KnownColor.MediumBlue; 554if (colorUpper.Equals("PAPAYAWHIP")) return KnownColor.PapayaWhip; 555if (colorUpper.Equals("POWDERBLUE")) return KnownColor.PowderBlue; 558if (colorUpper.Equals("SANDYBROWN")) return KnownColor.SandyBrown; 561if (colorUpper.Equals("WHITESMOKE")) return KnownColor.WhiteSmoke; 569if (colorUpper.Equals("DARKMAGENTA")) return KnownColor.DarkMagenta; 570if (colorUpper.Equals("DEEPSKYBLUE")) return KnownColor.DeepSkyBlue; 573if (colorUpper.Equals("FLORALWHITE")) return KnownColor.FloralWhite; 574if (colorUpper.Equals("FORESTGREEN")) return KnownColor.ForestGreen; 577if (colorUpper.Equals("GREENYELLOW")) return KnownColor.GreenYellow; 580if (colorUpper.Equals("LIGHTSALMON")) return KnownColor.LightSalmon; 581if (colorUpper.Equals("LIGHTYELLOW")) return KnownColor.LightYellow; 584if (colorUpper.Equals("NAVAJOWHITE")) return KnownColor.NavajoWhite; 587if (colorUpper.Equals("SADDLEBROWN")) return KnownColor.SaddleBrown; 588if (colorUpper.Equals("SPRINGGREEN")) return KnownColor.SpringGreen; 591if (colorUpper.Equals("TRANSPARENT")) return KnownColor.Transparent; 594if (colorUpper.Equals("YELLOWGREEN")) return KnownColor.YellowGreen; 602if (colorUpper.Equals("ANTIQUEWHITE")) return KnownColor.AntiqueWhite; 605if (colorUpper.Equals("DARKSEAGREEN")) return KnownColor.DarkSeaGreen; 608if (colorUpper.Equals("LIGHTSKYBLUE")) return KnownColor.LightSkyBlue; 609if (colorUpper.Equals("LEMONCHIFFON")) return KnownColor.LemonChiffon; 612if (colorUpper.Equals("MEDIUMORCHID")) return KnownColor.MediumOrchid; 613if (colorUpper.Equals("MEDIUMPURPLE")) return KnownColor.MediumPurple; 614if (colorUpper.Equals("MIDNIGHTBLUE")) return KnownColor.MidnightBlue; 622if (colorUpper.Equals("DARKSLATEBLUE")) return KnownColor.DarkSlateBlue; 623if (colorUpper.Equals("DARKSLATEGRAY")) return KnownColor.DarkSlateGray; 624if (colorUpper.Equals("DARKGOLDENROD")) return KnownColor.DarkGoldenrod; 625if (colorUpper.Equals("DARKTURQUOISE")) return KnownColor.DarkTurquoise; 628if (colorUpper.Equals("LIGHTSEAGREEN")) return KnownColor.LightSeaGreen; 629if (colorUpper.Equals("LAVENDERBLUSH")) return KnownColor.LavenderBlush; 632if (colorUpper.Equals("PALEGOLDENROD")) return KnownColor.PaleGoldenrod; 633if (colorUpper.Equals("PALETURQUOISE")) return KnownColor.PaleTurquoise; 634if (colorUpper.Equals("PALEVIOLETRED")) return KnownColor.PaleVioletRed; 642if (colorUpper.Equals("BLANCHEDALMOND")) return KnownColor.BlanchedAlmond; 645if (colorUpper.Equals("CORNFLOWERBLUE")) return KnownColor.CornflowerBlue; 648if (colorUpper.Equals("DARKOLIVEGREEN")) return KnownColor.DarkOliveGreen; 651if (colorUpper.Equals("LIGHTSLATEGRAY")) return KnownColor.LightSlateGray; 652if (colorUpper.Equals("LIGHTSTEELBLUE")) return KnownColor.LightSteelBlue; 655if (colorUpper.Equals("MEDIUMSEAGREEN")) return KnownColor.MediumSeaGreen; 660if (colorUpper.Equals("MEDIUMSLATEBLUE")) return KnownColor.MediumSlateBlue; 661if (colorUpper.Equals("MEDIUMTURQUOISE")) return KnownColor.MediumTurquoise; 662if (colorUpper.Equals("MEDIUMVIOLETRED")) return KnownColor.MediumVioletRed; 665if (colorUpper.Equals("MEDIUMAQUAMARINE")) return KnownColor.MediumAquamarine; 668if (colorUpper.Equals("MEDIUMSPRINGGREEN")) return KnownColor.MediumSpringGreen; 671if (colorUpper.Equals("LIGHTGOLDENRODYELLOW")) return KnownColor.LightGoldenrodYellow;
Framework\System\Windows\Markup\BamlMapTable.cs (3)
1870key.AssemblyFullName.Equals(this.AssemblyFullName) : 1932key.DeclaringAssembly.Equals(this.DeclaringAssembly) : 1935key.TypeFullName.Equals(this.TypeFullName) :
Framework\System\Windows\Markup\XamlParser.cs (2)
1133if (attributeValue.Equals("Async")) 1137else if (attributeValue.Equals("Sync"))
Framework\System\Windows\Markup\XamlReaderHelper.cs (14)
1240ParserContext.XmlSpace.Equals("preserve")) 1718if (attributeNamespaceUri.Equals(DefinitionNamespaceURI)) 1739if (attributeNamespaceUri.Equals(DefinitionMetroNamespaceURI)) 1843else if (attributeNamespaceUri.Equals(DefinitionNamespaceURI)) 2240else if (attribName.Equals(XmlnsDeclaration)) 2249else if (attribName.Equals(XmlAttributeProperties.XmlSpaceString)) 2258else if (attribName.Equals(XmlAttributeProperties.XmlLangString)) 2857if (attribNamespaceURI.Equals(DefinitionNamespaceURI)) 3670if (ParentContext != null && !namespaceURI.Equals(DefinitionNamespaceURI)) 3725if (!resolvedTag && namespaceURI.Equals(DefinitionNamespaceURI)) 6458ParserContext.XmlSpace.Equals("preserve"))) 6747attribName.Equals(XmlnsDeclaration) || 6748attribName.Equals(XmlAttributeProperties.XmlSpaceString) || 6749attribName.Equals(XmlAttributeProperties.XmlLangString) ||
PresentationCore (148)
Core\CSharp\System\Windows\DataFormats.cs (1)
96if (formatItem.Name.Equals(format))
Core\CSharp\System\Windows\GlobalEventManager.cs (2)
263if (routedEvent.Name.Equals(name)) 288if (routedEvent.Name.Equals(name))
Core\CSharp\System\Windows\Input\InputScopeConverter.cs (1)
119if (!stringSource.Equals(String.Empty))
Core\CSharp\System\Windows\Input\InputScopeNameConverter.cs (1)
106if (!stringSource.Equals(String.Empty))
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (1)
757if (inputText.Equals(_altNumpadcomposition.Text))
Core\CSharp\System\Windows\Media\KnownColors.cs (141)
298if (colorUpper.Equals("RED")) return KnownColor.Red; 299if (colorUpper.Equals("TAN")) return KnownColor.Tan; 305if (colorUpper.Equals("AQUA")) return KnownColor.Aqua; 308if (colorUpper.Equals("BLUE")) return KnownColor.Blue; 311if (colorUpper.Equals("CYAN")) return KnownColor.Cyan; 314if (colorUpper.Equals("GOLD")) return KnownColor.Gold; 315if (colorUpper.Equals("GRAY")) return KnownColor.Gray; 318if (colorUpper.Equals("LIME")) return KnownColor.Lime; 321if (colorUpper.Equals("NAVY")) return KnownColor.Navy; 324if (colorUpper.Equals("PERU")) return KnownColor.Peru; 325if (colorUpper.Equals("PINK")) return KnownColor.Pink; 326if (colorUpper.Equals("PLUM")) return KnownColor.Plum; 329if (colorUpper.Equals("SNOW")) return KnownColor.Snow; 332if (colorUpper.Equals("TEAL")) return KnownColor.Teal; 340if (colorUpper.Equals("AZURE")) return KnownColor.Azure; 343if (colorUpper.Equals("BEIGE")) return KnownColor.Beige; 344if (colorUpper.Equals("BLACK")) return KnownColor.Black; 345if (colorUpper.Equals("BROWN")) return KnownColor.Brown; 348if (colorUpper.Equals("CORAL")) return KnownColor.Coral; 351if (colorUpper.Equals("GREEN")) return KnownColor.Green; 354if (colorUpper.Equals("IVORY")) return KnownColor.Ivory; 357if (colorUpper.Equals("KHAKI")) return KnownColor.Khaki; 360if (colorUpper.Equals("LINEN")) return KnownColor.Linen; 363if (colorUpper.Equals("OLIVE")) return KnownColor.Olive; 366if (colorUpper.Equals("WHEAT")) return KnownColor.Wheat; 367if (colorUpper.Equals("WHITE")) return KnownColor.White; 375if (colorUpper.Equals("BISQUE")) return KnownColor.Bisque; 378if (colorUpper.Equals("INDIGO")) return KnownColor.Indigo; 381if (colorUpper.Equals("MAROON")) return KnownColor.Maroon; 384if (colorUpper.Equals("ORANGE")) return KnownColor.Orange; 385if (colorUpper.Equals("ORCHID")) return KnownColor.Orchid; 388if (colorUpper.Equals("PURPLE")) return KnownColor.Purple; 391if (colorUpper.Equals("SALMON")) return KnownColor.Salmon; 392if (colorUpper.Equals("SIENNA")) return KnownColor.Sienna; 393if (colorUpper.Equals("SILVER")) return KnownColor.Silver; 396if (colorUpper.Equals("TOMATO")) return KnownColor.Tomato; 399if (colorUpper.Equals("VIOLET")) return KnownColor.Violet; 402if (colorUpper.Equals("YELLOW")) return KnownColor.Yellow; 410if (colorUpper.Equals("CRIMSON")) return KnownColor.Crimson; 413if (colorUpper.Equals("DARKRED")) return KnownColor.DarkRed; 414if (colorUpper.Equals("DIMGRAY")) return KnownColor.DimGray; 417if (colorUpper.Equals("FUCHSIA")) return KnownColor.Fuchsia; 420if (colorUpper.Equals("HOTPINK")) return KnownColor.HotPink; 423if (colorUpper.Equals("MAGENTA")) return KnownColor.Magenta; 426if (colorUpper.Equals("OLDLACE")) return KnownColor.OldLace; 429if (colorUpper.Equals("SKYBLUE")) return KnownColor.SkyBlue; 432if (colorUpper.Equals("THISTLE")) return KnownColor.Thistle; 440if (colorUpper.Equals("CORNSILK")) return KnownColor.Cornsilk; 443if (colorUpper.Equals("DARKBLUE")) return KnownColor.DarkBlue; 444if (colorUpper.Equals("DARKCYAN")) return KnownColor.DarkCyan; 445if (colorUpper.Equals("DARKGRAY")) return KnownColor.DarkGray; 446if (colorUpper.Equals("DEEPPINK")) return KnownColor.DeepPink; 449if (colorUpper.Equals("HONEYDEW")) return KnownColor.Honeydew; 452if (colorUpper.Equals("LAVENDER")) return KnownColor.Lavender; 455if (colorUpper.Equals("MOCCASIN")) return KnownColor.Moccasin; 458if (colorUpper.Equals("SEAGREEN")) return KnownColor.SeaGreen; 459if (colorUpper.Equals("SEASHELL")) return KnownColor.SeaShell; 467if (colorUpper.Equals("ALICEBLUE")) return KnownColor.AliceBlue; 470if (colorUpper.Equals("BURLYWOOD")) return KnownColor.BurlyWood; 473if (colorUpper.Equals("CADETBLUE")) return KnownColor.CadetBlue; 474if (colorUpper.Equals("CHOCOLATE")) return KnownColor.Chocolate; 477if (colorUpper.Equals("DARKGREEN")) return KnownColor.DarkGreen; 478if (colorUpper.Equals("DARKKHAKI")) return KnownColor.DarkKhaki; 481if (colorUpper.Equals("FIREBRICK")) return KnownColor.Firebrick; 484if (colorUpper.Equals("GAINSBORO")) return KnownColor.Gainsboro; 485if (colorUpper.Equals("GOLDENROD")) return KnownColor.Goldenrod; 488if (colorUpper.Equals("INDIANRED")) return KnownColor.IndianRed; 491if (colorUpper.Equals("LAWNGREEN")) return KnownColor.LawnGreen; 492if (colorUpper.Equals("LIGHTBLUE")) return KnownColor.LightBlue; 493if (colorUpper.Equals("LIGHTCYAN")) return KnownColor.LightCyan; 494if (colorUpper.Equals("LIGHTGRAY")) return KnownColor.LightGray; 495if (colorUpper.Equals("LIGHTPINK")) return KnownColor.LightPink; 496if (colorUpper.Equals("LIMEGREEN")) return KnownColor.LimeGreen; 499if (colorUpper.Equals("MINTCREAM")) return KnownColor.MintCream; 500if (colorUpper.Equals("MISTYROSE")) return KnownColor.MistyRose; 503if (colorUpper.Equals("OLIVEDRAB")) return KnownColor.OliveDrab; 504if (colorUpper.Equals("ORANGERED")) return KnownColor.OrangeRed; 507if (colorUpper.Equals("PALEGREEN")) return KnownColor.PaleGreen; 508if (colorUpper.Equals("PEACHPUFF")) return KnownColor.PeachPuff; 511if (colorUpper.Equals("ROSYBROWN")) return KnownColor.RosyBrown; 512if (colorUpper.Equals("ROYALBLUE")) return KnownColor.RoyalBlue; 515if (colorUpper.Equals("SLATEBLUE")) return KnownColor.SlateBlue; 516if (colorUpper.Equals("SLATEGRAY")) return KnownColor.SlateGray; 517if (colorUpper.Equals("STEELBLUE")) return KnownColor.SteelBlue; 520if (colorUpper.Equals("TURQUOISE")) return KnownColor.Turquoise; 528if (colorUpper.Equals("AQUAMARINE")) return KnownColor.Aquamarine; 531if (colorUpper.Equals("BLUEVIOLET")) return KnownColor.BlueViolet; 534if (colorUpper.Equals("CHARTREUSE")) return KnownColor.Chartreuse; 537if (colorUpper.Equals("DARKORANGE")) return KnownColor.DarkOrange; 538if (colorUpper.Equals("DARKORCHID")) return KnownColor.DarkOrchid; 539if (colorUpper.Equals("DARKSALMON")) return KnownColor.DarkSalmon; 540if (colorUpper.Equals("DARKVIOLET")) return KnownColor.DarkViolet; 541if (colorUpper.Equals("DODGERBLUE")) return KnownColor.DodgerBlue; 544if (colorUpper.Equals("GHOSTWHITE")) return KnownColor.GhostWhite; 547if (colorUpper.Equals("LIGHTCORAL")) return KnownColor.LightCoral; 548if (colorUpper.Equals("LIGHTGREEN")) return KnownColor.LightGreen; 551if (colorUpper.Equals("MEDIUMBLUE")) return KnownColor.MediumBlue; 554if (colorUpper.Equals("PAPAYAWHIP")) return KnownColor.PapayaWhip; 555if (colorUpper.Equals("POWDERBLUE")) return KnownColor.PowderBlue; 558if (colorUpper.Equals("SANDYBROWN")) return KnownColor.SandyBrown; 561if (colorUpper.Equals("WHITESMOKE")) return KnownColor.WhiteSmoke; 569if (colorUpper.Equals("DARKMAGENTA")) return KnownColor.DarkMagenta; 570if (colorUpper.Equals("DEEPSKYBLUE")) return KnownColor.DeepSkyBlue; 573if (colorUpper.Equals("FLORALWHITE")) return KnownColor.FloralWhite; 574if (colorUpper.Equals("FORESTGREEN")) return KnownColor.ForestGreen; 577if (colorUpper.Equals("GREENYELLOW")) return KnownColor.GreenYellow; 580if (colorUpper.Equals("LIGHTSALMON")) return KnownColor.LightSalmon; 581if (colorUpper.Equals("LIGHTYELLOW")) return KnownColor.LightYellow; 584if (colorUpper.Equals("NAVAJOWHITE")) return KnownColor.NavajoWhite; 587if (colorUpper.Equals("SADDLEBROWN")) return KnownColor.SaddleBrown; 588if (colorUpper.Equals("SPRINGGREEN")) return KnownColor.SpringGreen; 591if (colorUpper.Equals("TRANSPARENT")) return KnownColor.Transparent; 594if (colorUpper.Equals("YELLOWGREEN")) return KnownColor.YellowGreen; 602if (colorUpper.Equals("ANTIQUEWHITE")) return KnownColor.AntiqueWhite; 605if (colorUpper.Equals("DARKSEAGREEN")) return KnownColor.DarkSeaGreen; 608if (colorUpper.Equals("LIGHTSKYBLUE")) return KnownColor.LightSkyBlue; 609if (colorUpper.Equals("LEMONCHIFFON")) return KnownColor.LemonChiffon; 612if (colorUpper.Equals("MEDIUMORCHID")) return KnownColor.MediumOrchid; 613if (colorUpper.Equals("MEDIUMPURPLE")) return KnownColor.MediumPurple; 614if (colorUpper.Equals("MIDNIGHTBLUE")) return KnownColor.MidnightBlue; 622if (colorUpper.Equals("DARKSLATEBLUE")) return KnownColor.DarkSlateBlue; 623if (colorUpper.Equals("DARKSLATEGRAY")) return KnownColor.DarkSlateGray; 624if (colorUpper.Equals("DARKGOLDENROD")) return KnownColor.DarkGoldenrod; 625if (colorUpper.Equals("DARKTURQUOISE")) return KnownColor.DarkTurquoise; 628if (colorUpper.Equals("LIGHTSEAGREEN")) return KnownColor.LightSeaGreen; 629if (colorUpper.Equals("LAVENDERBLUSH")) return KnownColor.LavenderBlush; 632if (colorUpper.Equals("PALEGOLDENROD")) return KnownColor.PaleGoldenrod; 633if (colorUpper.Equals("PALETURQUOISE")) return KnownColor.PaleTurquoise; 634if (colorUpper.Equals("PALEVIOLETRED")) return KnownColor.PaleVioletRed; 642if (colorUpper.Equals("BLANCHEDALMOND")) return KnownColor.BlanchedAlmond; 645if (colorUpper.Equals("CORNFLOWERBLUE")) return KnownColor.CornflowerBlue; 648if (colorUpper.Equals("DARKOLIVEGREEN")) return KnownColor.DarkOliveGreen; 651if (colorUpper.Equals("LIGHTSLATEGRAY")) return KnownColor.LightSlateGray; 652if (colorUpper.Equals("LIGHTSTEELBLUE")) return KnownColor.LightSteelBlue; 655if (colorUpper.Equals("MEDIUMSEAGREEN")) return KnownColor.MediumSeaGreen; 660if (colorUpper.Equals("MEDIUMSLATEBLUE")) return KnownColor.MediumSlateBlue; 661if (colorUpper.Equals("MEDIUMTURQUOISE")) return KnownColor.MediumTurquoise; 662if (colorUpper.Equals("MEDIUMVIOLETRED")) return KnownColor.MediumVioletRed; 665if (colorUpper.Equals("MEDIUMAQUAMARINE")) return KnownColor.MediumAquamarine; 668if (colorUpper.Equals("MEDIUMSPRINGGREEN")) return KnownColor.MediumSpringGreen; 671if (colorUpper.Equals("LIGHTGOLDENRODYELLOW")) return KnownColor.LightGoldenrodYellow;
Shared\MS\Utility\BindUriHelper.cs (1)
95return (SecurityHelper.AreStringTypesEqual(first.Scheme, second.Scheme) && first.Host.Equals(second.Host) == true);
PresentationFramework (31)
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
232if (nodeId.Equals(id))
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (1)
282AppDomain.CurrentDomain.ActivationContext.Identity.ToString().Equals(actCtx.Identity.ToString()))
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
421if (cargoName.Equals(cargo.Name)) 671if (node.Name.Equals(xmlName))
src\Framework\System\Windows\Annotations\AnnotationResource.cs (1)
302else if (!_name.Equals(value))
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (4)
648if (GridViewColumn.WidthProperty.Name.Equals(propertyName) 649|| GridViewColumn.c_ActualWidthName.Equals(propertyName)) 653else if (GridViewColumn.HeaderProperty.Name.Equals(propertyName)) 1694if ((dp != null) && dpName.Equals(dp.Name))
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (5)
296if (GridViewColumn.c_ActualWidthName.Equals(propertyName)) 306if (GridViewColumn.WidthProperty.Name.Equals(propertyName)) 312else if (GridViewColumn.c_DisplayMemberBindingName.Equals(propertyName)) 333if (GridViewColumn.CellTemplateProperty.Name.Equals(propertyName)) 346else if (GridViewColumn.CellTemplateSelectorProperty.Name.Equals(propertyName))
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
149bool isChinesePinyin = chinesePinyin.Equals(InputLanguageManager.Current.CurrentInputLanguage.IetfLanguageTag);
src\Framework\System\Windows\Documents\FixedDocument.cs (4)
909if (baseUri.Host.Equals(BaseUriHelper.PackAppBaseUri.Host) != true && 910baseUri.Host.Equals(BaseUriHelper.SiteOfOriginBaseUri.Host) != true) 937if (baseUri.Host.Equals(BaseUriHelper.PackAppBaseUri.Host) != true && 938baseUri.Host.Equals(BaseUriHelper.SiteOfOriginBaseUri.Host) != true)
src\Framework\System\Windows\Documents\PageContent.cs (1)
440if (elementID.Equals(item.Name))
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (3)
3654if (name.Equals(entry.Name)) 3675if (name.Equals(entry.Name)) 4876if (entry != null && entry.Name != null && !(entry.Name.Equals(string.Empty)))
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
215if (!uiLanguage.Equals(CultureInfo.CurrentUICulture.Name))
src\Framework\System\Windows\Documents\XPSS0ValidatingLoader.cs (1)
141if (!rootElement.Equals(xpsSchemaValidator.XmlReader.Name))
src\Framework\System\Windows\Markup\BamlMapTable.cs (3)
1870key.AssemblyFullName.Equals(this.AssemblyFullName) : 1932key.DeclaringAssembly.Equals(this.DeclaringAssembly) : 1935key.TypeFullName.Equals(this.TypeFullName) :
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (2)
1306return other != null && Uri.Equals(other.Uri) && Prefix.Equals(other.Prefix);
src\Shared\MS\Utility\BindUriHelper.cs (1)
95return (SecurityHelper.AreStringTypesEqual(first.Scheme, second.Scheme) && first.Host.Equals(second.Host) == true);
svcutil (2)
CommandLineParser.cs (2)
69if (name.Equals(temp)) 72return abbreviation.Equals(temp);
System (87)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
4153if (names[i].Equals(name)) {
compmod\microsoft\win32\SystemEvents.cs (2)
622if (lParam != IntPtr.Zero && Marshal.PtrToStringAuto(lParam).Equals("Policy")) { 625else if (lParam != IntPtr.Zero && Marshal.PtrToStringAuto(lParam).Equals("intl")) {
compmod\system\collections\specialized\stringdictionary.cs (1)
311return TryGetValue(item.Key, out value) && value.Equals(item.Value);
compmod\system\componentmodel\CategoryAttribute.cs (2)
259return Category.Equals(((CategoryAttribute)obj).Category); 295return Category.Equals(Default.Category);
compmod\system\componentmodel\Container.cs (1)
304if (value == null || name == null || !value.Equals(name)) {
compmod\system\componentmodel\CultureInfoConverter.cs (1)
87if (GetCultureName(CultureInfo.InvariantCulture).Equals(""))
compmod\system\componentmodel\DesignerCategoryAttribute.cs (1)
136return category.Equals(Default.Category);
compmod\system\componentmodel\EventDescriptorCollection.cs (1)
378if (currentEvent != null && currentEvent.Name.Equals(names[i])) {
compmod\system\componentmodel\MemberDescriptor.cs (3)
325(category != null && !mdObj.category.Equals(category))) { 333(description != null && !mdObj.description.Equals(description))) { 339(description != null && !mdObj.category.Equals(description))) {
compmod\system\componentmodel\NestedContainer.cs (1)
179if (value == null || name == null || !value.Equals(name)) {
compmod\system\componentmodel\PropertyDescriptor.cs (2)
199&& pd.Name.Equals(this.Name)) { 392(ComponentType.Assembly.FullName.Equals(typeFromGetType.Assembly.FullName))) {
compmod\system\componentmodel\PropertyDescriptorCollection.cs (3)
271if (properties[i].Name.Equals(name)) { 403if (currentProp != null && currentProp.Name.Equals(names[i])) { 548if (properties[i].Name.Equals((string)key)) {
compmod\system\componentmodel\SyntaxCheck.cs (3)
30if (value.Equals(String.Empty)) 46if (value.Equals(String.Empty)) 64if (value.Equals(String.Empty))
compmod\system\componentmodel\ToolboxItemFilterAttribute.cs (2)
114return (other != null && other.FilterType.Equals(FilterType) && other.FilterString.Equals(FilterString)); 131if (!other.FilterString.Equals(FilterString)) {
compmod\system\diagnostics\ListenerElementsCollection.cs (6)
82if (listenerElement.Name.Equals("Default") && listenerElement.TypeName.Equals(typeof(DefaultTraceListener).FullName)) 190if (this.Name.Equals("Default") && this.TypeName.Equals(typeof(DefaultTraceListener).FullName)) { 196return (compareToElem != null) && compareToElem.Name.Equals("Default") 197&& compareToElem.TypeName.Equals(typeof(DefaultTraceListener).FullName);
compmod\system\security\permissions\AspNetHostingPermission.cs (1)
205if (!securityElement.Tag.Equals("IPermission")) {
compmod\system\security\permissions\ResourcePermissionBase.cs (3)
233if (!securityElement.Tag.Equals ("Permission") && !securityElement.Tag.Equals ("IPermission")) 237if (version != null && !version.Equals( "1" ))
net\System\Net\_DigestClient.cs (15)
582if (name.Equals(HttpDigest.DA_algorithm)) { 585else if (name.Equals(HttpDigest.DA_cnonce)) { 588else if (name.Equals(HttpDigest.DA_nc)) { 591else if (name.Equals(HttpDigest.DA_nonce)) { 594else if (name.Equals(HttpDigest.DA_opaque)) { 597else if (name.Equals(HttpDigest.DA_qop)) { 601else if (name.Equals(HttpDigest.DA_realm)) { 604else if (name.Equals(HttpDigest.DA_domain)) { 607else if (name.Equals(HttpDigest.DA_response)) { 609else if (name.Equals(HttpDigest.DA_stale)) { 610Stale = value.ToLower(CultureInfo.InvariantCulture).Equals("true"); 612else if (name.Equals(HttpDigest.DA_uri)) { 615else if (name.Equals(HttpDigest.DA_charset)) { 618else if (name.Equals(HttpDigest.DA_cipher)) { 621else if (name.Equals(HttpDigest.DA_username)) {
net\System\Net\_PrefixLookup.cs (1)
101if (lruList.First != null && lruList.First.Value.prefix.Equals(prefix))
net\System\Net\DnsPermission.cs (1)
153if (!securityElement.Tag.Equals("IPermission"))
net\System\Net\mail\smtppermission.cs (1)
197if (!securityElement.Tag.Equals("IPermission")) {
net\System\Net\NetworkInformation\NetworkInformationPermission.cs (1)
187if (!securityElement.Tag.Equals("IPermission")) {
net\System\Net\SocketPermission.cs (11)
450if (!securityElement.Tag.Equals("IPermission")) { 510if (uriElem.Tag.Equals("ENDPOINT")) { 858if(this.Hostname.Equals("0.0.0.0")) 860if(e.Hostname.Equals("*.*.*.*") || e.Hostname.Equals("0.0.0.0")) 1056if(this.Hostname.Equals("0.0.0.0")) 1058if(E.Hostname.Equals("*.*.*.*") || E.Hostname.Equals("0.0.0.0")) 1063else if(E.Hostname.Equals("0.0.0.0")) 1065if(this.Hostname.Equals("*.*.*.*") || this.Hostname.Equals("0.0.0.0"))
net\System\Net\WebPermission.cs (3)
784if (!securityElement.Tag.Equals("IPermission")) { 833if (uriElem.Tag.Equals("URI")) { 865if (uriElem.Tag.Equals("URI")) {
net\System\Net\WebRequest.cs (1)
389.Equals("/"))
net\System\URI.cs (2)
1769return OriginalString.Equals(obj.OriginalString); 1843if (!m_Info.Host.Equals(obj.m_Info.Host)) {
regex\system\text\regularexpressions\Regex.cs (1)
1042if (repl == null || !repl.Pattern.Equals(replacement)) {
regex\system\text\regularexpressions\RegexCharClass.cs (4)
604if (cat != null && !categoryName.Equals(InternalRegexIgnoreCase)) { 608if (categoryName.Equals("Ll") || categoryName.Equals("Lu") || categoryName.Equals("Lt"))
regex\system\text\regularexpressions\RegexMatch.cs (1)
164if (repl == null || !repl.Pattern.Equals(replacement)) {
services\io\system\io\PatternMatcher.cs (2)
151if (expression.Equals("*") || expression.Equals("*.*")) {
services\monitoring\system\diagnosticts\EventLog.cs (4)
426if (".".Equals(machineName)) 452if (!".".Equals(machineName)) 483if (".".Equals(machineName)) 1055if (machine.Equals(".")) {
services\monitoring\system\diagnosticts\EventLogInternal.cs (1)
1134if (machine.Equals(".")) {
services\monitoring\system\diagnosticts\ProcessManager.cs (2)
319if (baseName.Equals(".")) return false; 829if (instanceName.Equals("_Total")) continue;
services\monitoring\system\diagnosticts\SharedUtils.cs (1)
235if (machineName.Equals(".")) {
sys\system\Media\SoundPlayer.cs (1)
133if (soundLocation.Equals(value))
System.Activities (7)
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicSettingsConverter.cs (3)
46if (sourceString.Equals(VisualBasicSettingsValueSerializer.ImplementationVisualBasicSettingsValue)) 58if (!(sourceString.Equals(String.Empty) || sourceString.Equals(VisualBasicSettingsValueSerializer.VisualBasicSettingsValue)))
System\Activities\DynamicActivityTypeDescriptor.cs (1)
281if (!this[index].Name.Equals(item.Name) && this.Contains(item.Name))
System\Activities\DynamicUpdate\ActivityComparer.cs (1)
205if (!newRuntimeDelegateArgument.Name.Equals(oldRuntimeDelegateArgument.Name) ||
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (1)
404if (classNamespace.Equals(reader.Namespace.Namespace))
System\Activities\XamlIntegration\ActivityXamlServices.cs (1)
466if ((resource.Contains("." + partialResourceName) || resource.Equals(partialResourceName)))
System.Activities.Core.Presentation (17)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (3)
254if (this.Text.Equals(Null)) 258else if (this.Text.Equals(Empty)) 267else if (!this.ValueType.IsValueType && this.Text.Equals(Null))
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (2)
333if (!string.Empty.Equals(error)) 338if (!string.Empty.Equals(errorMessage))
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (7)
626if (propertyName.Equals("True")) 640if (propertyName.Equals("Default")) 688if (linkModelItem.Properties["IsDefaultCase"].Value.GetCurrentValue().Equals(true) && propertyName.Equals("Default")) 699if (connectorCaseMI != null && caseName.Equals(propertyName.Substring(GenericFlowSwitchHelper.FlowSwitchCasesKeyIdentifier.Length))) 706if (GenericFlowSwitchHelper.FlowSwitchNullCaseKeyIdentifier.Equals(propertyName.Substring(GenericFlowSwitchHelper.FlowSwitchCasesKeyIdentifier.Length))) 720if ((propertyName.Equals("True") && connectorSrcConnPoint.Equals(trueConnPoint)) 721|| (propertyName.Equals("False") && connectorSrcConnPoint.Equals(falseConnPoint)))
System\Activities\Core\Presentation\FlowchartDesigner.ModelChanges.cs (1)
209return errorMessage.Equals(string.Empty);
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (3)
687if (!CreateLinkGesture(this.srcConnectionPoint, destConnectionPoint, out errorMessage, null) && !errorMessage.Equals(string.Empty)) 833if (!errorMessage.Equals(string.Empty)) 2048if (!CreateLinkGesture(this.srcConnectionPoint, destElement, mouseUpLocation, out errorMessage, false, null) && !errorMessage.Equals(string.Empty))
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (1)
233if (e.PropertyName.Equals(TriggerPropertyName) && this.TransitionsSharingTrigger.Count > 0)
System.Activities.Presentation (37)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\manifestimages.cs (1)
62return fullTypeName.Equals(extensionlessResourceName);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
970if (category.CategoryName.Equals(name))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagPanel.cs (2)
53if (zeroValueString.Equals("0") || !flagName.Equals(zeroValueString))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (2)
39if (str.Equals(string.Empty) || str.Equals("0"))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\RTLValueConverter.cs (1)
35if (!propertyEntry.DisplayName.Equals("Name"))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyEditor.cs (1)
401if (property.PropertyName.Equals(propertyName))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (3)
434_wrapsAroundNameProperty = "Name".Equals(property.Name); 461if (!this.PropertyName.Equals(e.PropertyName)) 535if (textBlockTextHackNeeded && _properties[i].Name.Equals(_textBlockTextPropertyName)) {
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
339if (ParentModelPropertyEntry.PropertyName.Equals(FrameworkElement.FlowDirectionProperty.Name))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelUtilities.cs (1)
77property.Name.Equals(System.Windows.Controls.TextBlock.TextProperty.Name)))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
607if ("Parent".Equals(e.PropertyName))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PersistedStateUtilities.cs (2)
58return "0".Equals(digit) ? false : ("1".Equals(digit) ? true : (bool?)null);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (2)
601if ("MatchesFilter".Equals(e.PropertyName)) 603else if ("PropertyValueEditor".Equals(e.PropertyName))
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelProperty.cs (3)
195return (first.Parent == second.Parent && first.Name.Equals(second.Name)); 206return (first.Parent != second.Parent || !first.Name.Equals(second.Name)); 220return prop.Name.Equals(Name);
System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (2)
47if (mi.MemberType == MemberTypes.Property && !mi.Name.Equals("Name") && !mi.Name.Equals("ImplementationVersion"))
System.Activities.Presentation\System\Activities\Presentation\EditorOptionAttribute.cs (1)
35if (optionAttribute != null && optionAttribute.Name.Equals(optionName))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (2)
413ModelProperty foundProperty = this.sources.Find((modelProperty) => modelProperty.Name.Equals(property.Name) && property.Parent == modelProperty.Parent); 685ModelProperty foundProperty = this.sources.FirstOrDefault<ModelProperty>((modelProperty) => modelProperty.Name.Equals(propertyName) && modelProperty.Parent == parent);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
587ModelProperty foundProperty = this.sources.Find((modelProperty) => modelProperty.Name.Equals(property.Name) && property.Parent == modelProperty.Parent); 640ModelProperty foundProperty = this.sources.FirstOrDefault<ModelProperty>((modelProperty) => modelProperty.Name.Equals(propertyName) && modelProperty.Parent == parent);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
319modelProperty.Name.Equals(property.Name) && property.Parent == modelProperty.Parent); 446ModelProperty foundProperty = this.sources.FirstOrDefault<ModelProperty>((modelProperty) => modelProperty.Name.Equals(propertyName) && modelProperty.Parent == parent);
System.Activities.Presentation\System\Activities\Presentation\View\BreadCrumbTextConverter.cs (1)
50if (!displayName.Equals(string.Empty))
System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (1)
132return p != null && p.Name != null && p.Name.Equals(name);
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (2)
486if (e.PropertyName.Equals("IsSelection")) 494else if (e.PropertyName.Equals("IsPrimarySelection"))
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
284return newText != null && !string.Equals(newText, oldText) && !(oldText == null && newText.Equals(string.Empty));
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
149if (s != null && s.GetType().FullName.Equals(addinTypeName)) 162if (service != null && service.GetType().FullName.Equals(serviceTypeName))
System.AddIn (2)
System\Addin\Hosting\AddInStore.cs (1)
957if (!cacheFilePath.Equals(file) && IsDllOrExe(file))
System\Addin\MiniReflection\MetadataReader\PEFileReader.cs (1)
159if (s.Name.Equals(name)) {
System.ComponentModel.DataAnnotations (1)
DataAnnotations\EnumDataTypeAttribute.cs (1)
83return !underlying.Equals(converted);
System.Configuration (3)
System\Configuration\ConfigurationLockCollection.cs (2)
158if (name.Equals(_ignoreName) || ParentListEnclosed.IndexOf("," + name + ",", StringComparison.Ordinal) >= 0) { 245if (_bExceptionList && name.Equals(_ignoreName)) {
System\Configuration\ConfigurationPermission.cs (1)
145if (!securityElement.Tag.Equals("IPermission")) {
System.Core (5)
System\Diagnostics\Eventing\Reader\ProviderMetadataCachedInformation.cs (1)
50if (this.providerName.Equals(rhs.providerName) && (cultureInfo == rhs.cultureInfo))
System\Security\Cryptography\CngAlgorithm.cs (1)
88return m_algorithm.Equals(other.Algorithm);
System\Security\Cryptography\CngAlgorithmGroup.cs (1)
82return m_algorithmGroup.Equals(other.AlgorithmGroup);
System\Security\Cryptography\CngKeyBlobFormat.cs (1)
83return m_format.Equals(other.Format);
System\Security\Cryptography\CngProvider.cs (1)
77return m_provider.Equals(other.Provider);
System.Data (46)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\manifestimages.cs (1)
62return fullTypeName.Equals(extensionlessResourceName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
970if (category.CategoryName.Equals(name))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagPanel.cs (2)
53if (zeroValueString.Equals("0") || !flagName.Equals(zeroValueString))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (2)
39if (str.Equals(string.Empty) || str.Equals("0"))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\RTLValueConverter.cs (1)
35if (!propertyEntry.DisplayName.Equals("Name"))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyEditor.cs (1)
401if (property.PropertyName.Equals(propertyName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (3)
434_wrapsAroundNameProperty = "Name".Equals(property.Name); 461if (!this.PropertyName.Equals(e.PropertyName)) 535if (textBlockTextHackNeeded && _properties[i].Name.Equals(_textBlockTextPropertyName)) {
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
607if ("Parent".Equals(e.PropertyName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PersistedStateUtilities.cs (2)
58return "0".Equals(digit) ? false : ("1".Equals(digit) ? true : (bool?)null);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (2)
601if ("MatchesFilter".Equals(e.PropertyName)) 603else if ("PropertyValueEditor".Equals(e.PropertyName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelProperty.cs (3)
195return (first.Parent == second.Parent && first.Name.Equals(second.Name)); 206return (first.Parent != second.Parent || !first.Name.Equals(second.Name)); 220return prop.Name.Equals(Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (2)
47if (mi.MemberType == MemberTypes.Property && !mi.Name.Equals("Name") && !mi.Name.Equals("ImplementationVersion"))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\EditorOptionAttribute.cs (1)
35if (optionAttribute != null && optionAttribute.Name.Equals(optionName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (2)
413ModelProperty foundProperty = this.sources.Find((modelProperty) => modelProperty.Name.Equals(property.Name) && property.Parent == modelProperty.Parent); 685ModelProperty foundProperty = this.sources.FirstOrDefault<ModelProperty>((modelProperty) => modelProperty.Name.Equals(propertyName) && modelProperty.Parent == parent);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
587ModelProperty foundProperty = this.sources.Find((modelProperty) => modelProperty.Name.Equals(property.Name) && property.Parent == modelProperty.Parent); 640ModelProperty foundProperty = this.sources.FirstOrDefault<ModelProperty>((modelProperty) => modelProperty.Name.Equals(propertyName) && modelProperty.Parent == parent);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
319modelProperty.Name.Equals(property.Name) && property.Parent == modelProperty.Parent); 446ModelProperty foundProperty = this.sources.FirstOrDefault<ModelProperty>((modelProperty) => modelProperty.Name.Equals(propertyName) && modelProperty.Parent == parent);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\BreadCrumbTextConverter.cs (1)
50if (!displayName.Equals(string.Empty))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (2)
486if (e.PropertyName.Equals("IsSelection")) 494else if (e.PropertyName.Equals("IsPrimarySelection"))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
284return newText != null && !string.Equals(newText, oldText) && !(oldText == null && newText.Equals(string.Empty));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
149if (s != null && s.GetType().FullName.Equals(addinTypeName)) 162if (service != null && service.GetType().FullName.Equals(serviceTypeName))
fx\src\data\System\Data\Common\DBDataPermission.cs (3)
276if (!tag.Equals(XmlStr._Permission) && !tag.Equals(XmlStr._IPermission)) { 280if ((null != version) && !version.Equals(XmlStr._VersionNumber)) {
fx\src\data\System\Data\DataSet.cs (3)
1595if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS)) 1962if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS)) 2411if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS))
fx\src\data\System\Data\DataTable.cs (4)
550if (con.Equals("U")) { //Unique Constraints 569Debug.Assert(con.Equals("F")); 5216if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS)) 5434if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS))
fx\src\data\System\Data\SqlClient\SqlUtil.cs (1)
1347if (providerName.Equals(SqlColumnEncryptionCertificateStoreProvider.ProviderName)) {
fx\src\data\System\Data\XmlDataLoader.cs (1)
217if (ns.Equals(Keywords.XSD_XMLNS_NS))
System.Data.Entity (15)
System\Data\EntityKey.cs (2)
633if (key1._keyNames[i].Equals(key2._keyNames[i])) 666if (key1._keyNames[i].Equals(key2._keyNames[i]))
System\Data\EntityModel\SchemaObjectModel\CollectionTypeElement.cs (1)
156if (UnresolvedType != null && !UnresolvedType.Trim().Equals(String.Empty))
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (1)
112if (UnresolvedType != null && !UnresolvedType.Trim().Equals(String.Empty))
System\Data\EntityModel\SchemaObjectModel\ReferenceTypeElement.cs (1)
65Debug.Assert(UnresolvedType != null && !UnresolvedType.Trim().Equals(String.Empty));
System\Data\EntityModel\SchemaObjectModel\RowTypePropertyElement.cs (1)
155if (UnresolvedType != null && !UnresolvedType.Trim().Equals(String.Empty))
System\Data\EntityModel\SchemaObjectModel\TypeRefElement.cs (1)
87Debug.Assert(UnresolvedType != null && !UnresolvedType.Trim().Equals(String.Empty));
System\Data\Query\PlanCompiler\JoinGraph.cs (5)
1693!edge2.RightVars[j].ColumnMetadata.Name.Equals(edge1.RightVars[j].ColumnMetadata.Name)) 1797if (!joinEdge.LeftVars[i].ColumnMetadata.Name.Equals(joinEdge.RightVars[i].ColumnMetadata.Name)) 2066if (cv.ColumnMetadata.Name.Equals(keyProp)) 2088if (rightVar.ColumnMetadata.Name.Equals(keyProp)) 2095!parentPropertyName.Equals(leftVar.ColumnMetadata.Name))
System\Data\Query\PlanCompiler\PropertyRef.cs (1)
145other.m_property.Name.Equals(this.m_property.Name));
System\Data\Query\PlanCompiler\TypeUtils.cs (1)
80return x.Identity.Equals(y.Identity);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
4357return !varRefExpression.VariableName.Equals(inputVarRefName);
System.Data.Entity.Design (4)
System\Data\Entity\Design\PluralizationService\EnglishPluralizationService.cs (4)
332else if (this.Singularize(word).Equals(word)) 359else if (!IsNoOpWord(word) && this.Singularize(word).Equals(word)) 850if (string.IsNullOrEmpty(word.Trim()) || !word.Equals(word.Trim()) || 866|| (!word.ToLower(this.Culture).Equals(word) && word.EndsWith("ese", false, this.Culture))
System.Data.Services (2)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1621if (metadataProperty.Name.Equals(XmlConstants.StoreGeneratedPattern))
System\Data\Services\RequestQueryProcessor.cs (1)
980if (count.Equals(XmlConstants.UriRowCountOffOption))
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
2406return object.ReferenceEquals(left.DeclaringType, right.DeclaringType) && left.Name.Equals(right.Name);
System.Data.SqlXml (4)
System\Xml\Xsl\Runtime\XmlAttributeCache.cs (2)
296if (this.localName.Equals(localName)) { 298if (this.namespaceName.Equals(ns)) {
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
398else if (prefix.Equals("xml")) 401else if (prefix.Equals("xmlns"))
System.Drawing (14)
commonui\System\Drawing\Color.cs (2)
1795return left.name.Equals(right.name); 1833return name.Equals(name);
commonui\System\Drawing\Design\ToolboxItem.cs (3)
435if (entry.Name.Equals("PropertyNames")) { 459if (validName.Equals(entry.Name)) { 770if (ta.FilterString.Equals(TypeName)) {
commonui\System\Drawing\FontConverter.cs (1)
647if (fontName.Equals(name)) {
commonui\System\Drawing\SystemFonts.cs (8)
462if ("CaptionFont".Equals(systemFontName)) { 464} else if ("DefaultFont".Equals(systemFontName)) { 466} else if ("DialogFont".Equals(systemFontName)) { 468} else if ("IconTitleFont".Equals(systemFontName)) { 470} else if ("MenuFont".Equals(systemFontName)) { 472} else if ("MessageBoxFont".Equals(systemFontName)) { 474} else if ("SmallCaptionFont".Equals(systemFontName)) { 476} else if ("StatusFont".Equals(systemFontName)) {
System.IdentityModel (37)
System\IdentityModel\Claims\ClaimSet.cs (2)
65Rights.Identity.Equals(right) || 66Rights.PossessProperty.Equals(right);
System\IdentityModel\Claims\X509CertificateClaimSet.cs (15)
221ClaimTypes.Thumbprint.Equals(claimType) || 222ClaimTypes.X500DistinguishedName.Equals(claimType) || 223ClaimTypes.Dns.Equals(claimType) || 224ClaimTypes.Name.Equals(claimType) || 225ClaimTypes.Email.Equals(claimType) || 226ClaimTypes.Upn.Equals(claimType) || 227ClaimTypes.Uri.Equals(claimType) || 228ClaimTypes.Rsa.Equals(claimType); 239else if (this.claims == null && ClaimTypes.Thumbprint.Equals(claimType)) 241if (right == null || Rights.Identity.Equals(right)) 245if (right == null || Rights.PossessProperty.Equals(right)) 250else if (this.claims == null && ClaimTypes.Dns.Equals(claimType)) 252if (right == null || Rights.PossessProperty.Equals(right)) 269(anyClaimType || claimType.Equals(claim.ClaimType)) && 270(anyRight || right.Equals(claim.Right)))
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (7)
2449if (trustConstants.RequestTypes.Issue.Equals(requestType)) 2453else if (trustConstants.RequestTypes.Cancel.Equals(requestType)) 2457else if (trustConstants.RequestTypes.Renew.Equals(requestType)) 2461else if (trustConstants.RequestTypes.Validate.Equals(requestType)) 2716if (trustConstants.KeyTypes.Symmetric.Equals(incomingKeyType)) 2720else if (trustConstants.KeyTypes.Asymmetric.Equals(incomingKeyType)) 2724else if (trustConstants.KeyTypes.Bearer.Equals(incomingKeyType))
System\IdentityModel\Tokens\SessionSecurityToken.cs (13)
1519else if (SysClaimTypes.Sid.Equals(claim.ClaimType)) 1527else if (SysClaimTypes.DenyOnlySid.Equals(claim.ClaimType)) 1535else if (SysClaimTypes.X500DistinguishedName.Equals(claim.ClaimType)) 1544else if (SysClaimTypes.Thumbprint.Equals(claim.ClaimType)) 1553else if (SysClaimTypes.Name.Equals(claim.ClaimType)) 1561else if (SysClaimTypes.Dns.Equals(claim.ClaimType)) 1569else if (SysClaimTypes.Rsa.Equals(claim.ClaimType)) 1577else if (SysClaimTypes.Email.Equals(claim.ClaimType)) 1590else if (SysClaimTypes.Hash.Equals(claim.ClaimType)) 1599else if (SysClaimTypes.Spn.Equals(claim.ClaimType)) 1607else if (SysClaimTypes.Upn.Equals(claim.ClaimType)) 1615else if (SysClaimTypes.Uri.Equals(claim.ClaimType)) 1768if (System.IdentityModel.Claims.Rights.PossessProperty.Equals(claim.Right))
System.Messaging (1)
System\Messaging\MessageQueue.cs (1)
4584return ((this.accessMode == qik.accessMode) && this.formatName.Equals(qik.formatName));
System.Net (2)
net\PeerToPeer\Collaboration\PeerCollaborationPermission.cs (1)
171if (!e.Tag.Equals("IPermission"))
net\PeerToPeer\PnrpPermission.cs (1)
160if (!e.Tag.Equals("IPermission")) {
System.Runtime.Remoting (20)
channels\core\corechannel.cs (10)
235if (machineName.Equals("$hostName")) 321key.Equals("__Args") 323key.Equals("__OutArgs") 325key.Equals("__Return") 327key.Equals("__Uri") 329key.Equals("__MethodName") 331(key.Equals("__MethodSignature") 335key.Equals("__TypeName") 337key.Equals("__Fault") 339(key.Equals("__CallContext")
channels\http\httpclientchannel.cs (1)
677if (key.Equals("Content-Type"))
channels\http\httpstreams.cs (4)
601if (version.Equals("HTTP/1.1")) // most common case 604if (version.Equals("HTTP/1.0")) 634(verb.Equals("POST") || verb.Equals("PUT")))
channels\sinks\binaryformattersinks.cs (2)
513if (!verb.Equals("POST") && !verb.Equals("M-POST"))
channels\sinks\soapformattersinks.cs (2)
564if (!verb.Equals("POST") && !verb.Equals("M-POST"))
metadata\sdlchannelsink.cs (1)
190(requestVerb == null) || !requestVerb.Equals("GET"))
System.Runtime.Serialization (8)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (5)
1033if (!localName.Equals(JsonGlobals.rootString)) 1060else if (!localName.Equals(JsonGlobals.itemString)) 1086else if (!localName.Equals(JsonGlobals.itemString)) 1452if (localName.Equals(JsonGlobals.itemString) && ns.Equals(JsonGlobals.itemString))
System\Runtime\Serialization\SchemaExporter.cs (1)
201if (element.SchemaTypeName.Namespace.Equals(Globals.SerializationNamespace))
System\Runtime\Serialization\SchemaHelper.cs (1)
134if ((schema.TargetNamespace == null && ns.Length == 0) || ns.Equals(schema.TargetNamespace))
System\Xml\XmlMtomReader.cs (1)
408if (currentContentID.Equals(contentID))
System.Security (4)
system\security\cryptography\xml\reference.cs (1)
387&& (Utils.GetAttribute(tempElem, "Id", SignedXml.XmlDsigNamespaceUrl).Equals(idref))) {
system\security\cryptography\xml\utils.cs (3)
111return GetNamespacePrefix(a).Equals(nsPrefix); 683if (prefix.Equals("#default")) { 739if (elem.HasAttribute(name) || (name.Equals("xmlns") && elem.Prefix.Length == 0)) continue;
System.ServiceModel (53)
System\ServiceModel\Channels\BaseUriWithWildcard.cs (3)
230return this.comparand.Address.Equals(other.comparand.Address); 289if (string.IsNullOrEmpty(host) || host.Equals(star)) 294else if (host.Equals(plus))
System\ServiceModel\Channels\HttpsChannelFactory.cs (3)
113|| ClaimTypes.Spn.Equals(identity.IdentityClaim.ClaimType) 114|| ClaimTypes.Upn.Equals(identity.IdentityClaim.ClaimType) 115|| ClaimTypes.Dns.Equals(identity.IdentityClaim.ClaimType);
System\ServiceModel\Channels\MsmqSubqueueLockingQueue.cs (1)
447if (address.Equals("."))
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
339this.isTcp = parent.baseAddress.BaseAddress.Scheme.Equals(Uri.UriSchemeNetTcp);
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
210if (!thumbprint.Equals(certHashString))
System\ServiceModel\Configuration\IdentityElement.cs (4)
95if (ClaimTypes.Dns.Equals(claim.ClaimType)) 99else if (ClaimTypes.Spn.Equals(claim.ClaimType)) 103else if (ClaimTypes.Upn.Equals(claim.ClaimType)) 107else if (ClaimTypes.Rsa.Equals(claim.ClaimType))
System\ServiceModel\Description\SchemaHelper.cs (1)
80if ((existingSchema.TargetNamespace == null && ns.Length == 0) || ns.Equals(existingSchema.TargetNamespace))
System\ServiceModel\Diagnostics\ServiceModelPerformanceCounters.cs (1)
169if (this.performanceCounters[i].PerfCounterId.Equals(id))
System\ServiceModel\Dispatcher\MessageFilterTable.cs (1)
635return x.table.GetType().FullName.Equals(y.table.GetType().FullName);
System\ServiceModel\DnsEndpointIdentity.cs (1)
30if (!identity.ClaimType.Equals(ClaimTypes.Dns))
System\ServiceModel\EndpointIdentity.cs (4)
74if (identity.ClaimType.Equals(ClaimTypes.Dns)) 78else if (identity.ClaimType.Equals(ClaimTypes.Spn)) 82else if (identity.ClaimType.Equals(ClaimTypes.Upn)) 86else if (identity.ClaimType.Equals(ClaimTypes.Rsa))
System\ServiceModel\RsaEndpointIdentity.cs (1)
46if (!identity.ClaimType.Equals(ClaimTypes.Rsa))
System\ServiceModel\Security\IdentityVerifier.cs (5)
294if (ClaimTypes.Dns.Equals(identity.IdentityClaim.ClaimType)) 306if (ClaimTypes.Sid.Equals(identity.IdentityClaim.ClaimType)) 310else if (ClaimTypes.Upn.Equals(identity.IdentityClaim.ClaimType)) 314else if (ClaimTypes.Spn.Equals(identity.IdentityClaim.ClaimType)) 318else if (ClaimTypes.Dns.Equals(identity.IdentityClaim.ClaimType))
System\ServiceModel\Security\PeerCredential.cs (1)
155if (!this.MeshPassword.Equals(that.MeshPassword))
System\ServiceModel\Security\SctClaimSerializer.cs (13)
33if (Rights.PossessProperty.Equals(claim.Right)) 65else if (ClaimTypes.Sid.Equals(claim.ClaimType)) 73else if (ClaimTypes.DenyOnlySid.Equals(claim.ClaimType)) 81else if (ClaimTypes.X500DistinguishedName.Equals(claim.ClaimType)) 90else if (ClaimTypes.Thumbprint.Equals(claim.ClaimType)) 99else if (ClaimTypes.Name.Equals(claim.ClaimType)) 107else if (ClaimTypes.Dns.Equals(claim.ClaimType)) 115else if (ClaimTypes.Rsa.Equals(claim.ClaimType)) 123else if (ClaimTypes.Email.Equals(claim.ClaimType)) 136else if (ClaimTypes.Hash.Equals(claim.ClaimType)) 145else if (ClaimTypes.Spn.Equals(claim.ClaimType)) 153else if (ClaimTypes.Upn.Equals(claim.ClaimType)) 161else if (ClaimTypes.Uri.Equals(claim.ClaimType))
System\ServiceModel\Security\SecurityUtils.cs (3)
733if (ClaimTypes.Spn.Equals(identity.IdentityClaim.ClaimType)) 738else if (ClaimTypes.Upn.Equals(identity.IdentityClaim.ClaimType)) 743else if (ClaimTypes.Dns.Equals(identity.IdentityClaim.ClaimType))
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (2)
585if (this.dictionaryStrings[i].Value.Equals(value)) 617(this.dictionaryStrings[i].Value.Equals(value.Value)))
System\ServiceModel\ServiceConfiguration.cs (1)
301if (uri.Scheme.Equals(protocol.Scheme))
System\ServiceModel\SpnEndpointIdentity.cs (4)
65if (!identity.ClaimType.Equals(ClaimTypes.Spn)) 81Fx.Assert(ClaimTypes.Spn.Equals(this.IdentityClaim.ClaimType) || ClaimTypes.Dns.Equals(this.IdentityClaim.ClaimType), ""); 92if (ClaimTypes.Dns.Equals(this.IdentityClaim.ClaimType))
System\ServiceModel\UpnEndpointIdentity.cs (2)
43if (!identity.ClaimType.Equals(ClaimTypes.Upn)) 179Fx.Assert(ClaimTypes.Upn.Equals(this.IdentityClaim.ClaimType), "");
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (1)
84if (xPathQuery != null && xPathQuery.Expression.Equals(xPathForCookie))
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\SerializationUtility.cs (1)
321(reader.Name.Equals(ProtocolStrings.SchemaNames.MatchByAttribute)))
System.Transactions (2)
System\Transactions\DistributedTransactionPermission.cs (1)
148if (!securityElement.Tag.Equals ("IPermission"))
System\Transactions\TransactionManager.cs (1)
295(tm.NodeName != null && tm.NodeName.Equals(nodeName))) )
System.Web (80)
Compilation\PreservationFileReader.cs (2)
209Debug.Assert(dependencyNode.Name.Equals(tagName)); 210if (!dependencyNode.Name.Equals(tagName))
Configuration\AuthorizationRule.cs (2)
388if (User.Equals(_strAllUsersTag)) { 392if (User.Equals(_strAnonUserTag)) {
Configuration\BrowserCapabilitiesCodeGenerator.cs (8)
1170if (matchedString.Equals(".*")) { 1182if (((CheckPair)bd.IdHeaderChecks[i]).Header.Equals("User-Agent")) { 1209if (matchedString.Equals(".")) { 1254if (matchedString.Equals(".*")) { 1275if (matchedString.Equals(".")) { 1333if (matchedString.Equals(".*")) { 1340if (((CheckPair)bd.CaptureHeaderChecks[i]).Header.Equals("User-Agent")) { 1371if (matchedString.Equals(".*")) {
Configuration\BrowserDefinition.cs (1)
170if (!("Default".Equals(_id))) {
Configuration\HandlerMappingMemo.cs (1)
29return _verb.Equals(verb) && _path.Equals(path);
Configuration\HttpCapabilitiesEvaluator.cs (2)
153if (variable.Equals("HTTP_USER_AGENT")) 391else if (newIsMobileDevice.Equals("true")) {
Hosting\IIS7WorkerRequest.cs (1)
402return(https != null && https.Equals("on"));
Hosting\ISAPIWorkerRequest.cs (3)
1163return (https != null && https.Equals("on")); 1307else if (index == HeaderTransferEncoding && (value != null && value.Equals("chunked"))) 3067if (name.Equals("PATH_TRANSLATED"))
Hosting\SimpleWorkerRequest.cs (2)
50String s = _appVirtPath.Equals("/") ? ("/" + _page) : (_appVirtPath + "/" + _page); 211if (String.IsNullOrEmpty(path) || path.Equals("/")) {
HttpCacheParams.cs (2)
57else if (parameters[0].Equals("*")) { 164if (header.Equals("*")) {
HttpCacheVary.cs (3)
55if (headers[0].Equals("*")) { 255if (header.Equals("*")) { 279if (header.Equals("*")) {
HttpClientCertificate.cs (1)
243if (field.Equals("subjectemail"))
HttpResponse.cs (2)
630if (protocol != null && protocol.Equals("HTTP/1.1")) { 1415if (_contentType != null && _contentType.Equals("text/html")) {
Management\SqlServices.cs (1)
401if( file.Equals( INSTALL_COMMON_SQL ) )
ModulesEntry.cs (2)
54return(type.Name.Equals(typeName) || type.FullName.Equals(typeName));
OutputCacheModule.cs (2)
932if (i == 0 && etags[i].Equals(ASTERISK)) { 937if (etags[i].Equals(settings.ETag)) {
Security\FormsAuthenticationModule.cs (1)
134if (!cookielessTicket && !ticket2.CookiePath.Equals("/"))
Security\SQLMembershipProvider.cs (1)
1569isPasswordCorrect = passwdFromDB.Equals( encodedPasswd );
State\StateWorkerRequest.cs (4)
248if (name.Equals(StateHeaders.EXCLUSIVE_NAME)) { 259else if (name.Equals(StateHeaders.TIMEOUT_NAME)) { 264else if (name.Equals(StateHeaders.LOCKCOOKIE_NAME)) { 269else if (name.Equals(StateHeaders.EXTRAFLAGS_NAME)) {
UI\HtmlControls\HtmlControl.cs (1)
147return((s != null) ? (s.Equals("disabled")) : false);
UI\HtmlControls\HtmlInputCheckBox.cs (1)
68return((s != null) ? (s.Equals("checked")) : false);
UI\HtmlControls\HtmlInputGenericControl.cs (1)
84if (!current.Equals(inputString)) {
UI\HtmlControls\HtmlInputHidden.cs (1)
118if (!current.Equals(text)) {
UI\HtmlControls\HtmlInputRadioButton.cs (2)
65return((s != null) ? (s.Equals("checked")) : false); 212if ((postValue != null) && postValue.Equals(Value)) {
UI\HtmlControls\HtmlInputText.cs (1)
207if (!current.Equals(inputString)) {
UI\HtmlControls\HtmlSelect.cs (1)
283return((s != null) ? (s.Equals("multiple")) : false);
UI\HtmlControls\HtmlTableCell.cs (1)
183return((s != null) ? (s.Equals("nowrap")) : false);
UI\HtmlControls\HtmlTextArea.cs (1)
241if (current == null || !current.Equals(text)) {
UI\Page.cs (1)
6277if(filePath.Equals(s)) {
UI\ParseChildrenAsPropertiesAttribute.cs (1)
154return pca.ChildrenAsProperties && (DefaultProperty.Equals(pca.DefaultProperty));
UI\UrlPropertyAttribute.cs (1)
55return Filter.Equals(other.Filter);
UI\WebControls\AdRotator.cs (1)
606if (elem.LocalName.Equals(XmlAdTag)) {
UI\WebControls\BoundColumn.cs (1)
200if (!boundField.Equals(thisExpr)) {
UI\WebControls\BoundField.cs (1)
481if (boundField.Equals(ThisExpression)) {
UI\WebControls\ImageField.cs (1)
403if (!fieldName.Equals(ThisExpression)) {
UI\WebControls\listitem.cs (2)
226return Value.Equals(other.Value) && Text.Equals(other.Text);
UI\WebControls\ListItemCollection.cs (2)
168if (item.Text.Equals(text) && (includeDisabled || item.Enabled)) { 187if (item.Value.Equals(value) && (includeDisabled || item.Enabled)) {
UI\WebControls\RadioButton.cs (1)
133if ((post != null) && post.Equals(ValueAttribute)) {
UI\WebControls\RequiredFieldValidator.cs (1)
76return(!controlValue.Trim().Equals(InitialValue.Trim()));
UI\WebControls\Unit.cs (9)
270if (value.Equals("px")) { 273else if (value.Equals("pt")) { 276else if (value.Equals("%")) { 279else if (value.Equals("pc")) { 282else if (value.Equals("in")) { 285else if (value.Equals("mm")) { 288else if (value.Equals("cm")) { 291else if (value.Equals("em")) { 294else if (value.Equals("ex")) {
UI\XhtmlTextWriter.cs (2)
183if (TagName.ToLower(CultureInfo.InvariantCulture).Equals("div") && name.ToLower(CultureInfo.InvariantCulture).Equals("border-collapse")) {
Util\FileUtil.cs (2)
334if (name.Equals(".") || name.Equals("..")) {
WorkerRequest.cs (1)
1180if (contentLength != null && !contentLength.Equals("0"))
XmlSiteMapProvider.cs (2)
300if (!_siteMapNodeName.Equals(subNode.Name)) { 366if (!_siteMapNodeName.Equals(xmlNode.Name)) {
System.Web.DynamicData (3)
DynamicData\FilterRepeater.cs (2)
39if (!ContextTypeName.Equals(value)) { 90if (!TableName.Equals(value)) {
DynamicData\ModelProviders\DLinqAssociationProvider.cs (1)
88return (DLinqColumnProvider)table.Columns.First(member => member.Name.Equals(columnName));
System.Web.Extensions (3)
Script\Serialization\JavaScriptObjectDeserializer.cs (3)
209if (input.Equals("null")) { 213if (input.Equals("true")) { 217if (input.Equals("false")) {
System.Web.Mobile (43)
Mobile\MobileDeviceCapabilitiesSectionHandler.cs (1)
64if(child.Name.Equals("filter"))
UI\MobileControls\Adapters\WmlControlAdapter.cs (1)
139if(name.Equals(formsAuthCookieName) && Device.CanRenderOneventAndPrevElementsTogether )
UI\MobileControls\Design\ImageDesigner.cs (2)
119if(extension.Equals(".wbmp")) 185if ((e.Member != null) && e.Member.Name.Equals("NavigateUrl"))
UI\MobileControls\Design\LinkDesigner.cs (1)
128if ((e.Member != null) && e.Member.Name.Equals("NavigateUrl"))
UI\MobileControls\Design\ListDesigner.cs (2)
564if (memberName.Equals(_dataSourcePropertyName) || 565memberName.Equals(_dataMemberPropertyName))
UI\MobileControls\Design\MobileContainerDesigner.cs (11)
168if (propName == null || propName.Equals("BackColor")) 173if (propName == null || propName.Equals("ForeColor")) 178if (propName == null || propName.Equals("Font")) 205if (propName == null || propName.Equals("Alignment")) 288propertyName.Equals("Font") || 289propertyName.Equals("ForeColor") || 290propertyName.Equals("BackColor") || 291propertyName.Equals("Wrapping") || 292propertyName.Equals("Alignment") || 293propertyName.Equals("StyleReference")); 353member.GetType().FullName.Equals(Constants.ReflectPropertyDescriptorTypeFullName))
UI\MobileControls\Design\MobileControlDesigner.cs (2)
464member.GetType().FullName.Equals(Constants.ReflectPropertyDescriptorTypeFullName)) 470&& propName.Equals("Text"))
UI\MobileControls\Design\MobileControlPersister.cs (3)
273if (!propDesc.Name.Equals("DeviceSpecific")) 399else if (propDescs[i].DisplayName.Equals("Templates") && 588(persistValue.Equals("NotSet")) ||
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (2)
319if (DesignerUtility.ChoiceToUniqueIdentifier(choice).Equals(value) || 447member.GetType().FullName.Equals(Constants.ReflectPropertyDescriptorTypeFullName))
UI\MobileControls\Design\ObjectListDesigner.cs (2)
194if (memberName.Equals(_dataSourcePropertyName) || 195memberName.Equals(_dataMemberPropertyName))
UI\MobileControls\Design\PhoneCallDesigner.cs (1)
118if ((e.Member != null) && e.Member.Name.Equals("AlternateUrl"))
UI\MobileControls\Design\SelectionListDesigner.cs (2)
457if (e.Member.Name.Equals(_dataSourcePropertyName) || 458e.Member.Name.Equals(_dataMemberPropertyName))
UI\MobileControls\Design\StylesEditorDialog.cs (1)
441if (propDescs[i].Name.Equals("Font"))
UI\MobileControls\Design\StyleSheetDesigner.cs (3)
344member.GetType().FullName.Equals(Constants.ReflectPropertyDescriptorTypeFullName)) 348if (propDesc.Name.Equals("ID")) 1053if (style.Name.Equals(value))
UI\MobileControls\Design\TemplatingOptionsDialog.cs (1)
412if (DesignerUtility.ChoiceToUniqueIdentifier(choice).Equals(choiceIdentifier) ||
UI\MobileControls\Design\Util\WebConfigManager.cs (1)
128if (childNode.Name != null && childNode.Name.Equals("filter"))
UI\MobileControls\MobileCategoryAttribute.cs (1)
70if (localizedValue == null && value.Equals(_usCategoryDeviceSpecific))
UI\MobileControls\MobileControlsSectionHandler.cs (1)
102if (!currentChild.Name.Equals("control"))
UI\MobileControls\MobileListItem.cs (2)
219return Value.Equals(other.Value) && Text.Equals(other.Text);
UI\MobileControls\MobilePage.cs (1)
499if(filePath.Equals(s))
UI\MobileControls\ObjectListItem.cs (2)
122if(!Value.Equals(other.Value) || !Text.Equals(other.Text))
System.Web.Services (1)
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
50if ( localPath.Equals("/") ) localPath = ""; // empty local path should be ""
System.Windows.Forms (128)
winforms\Managed\System\Resources\ResXDataNode.cs (1)
599if (typeName.Equals(MultitargetUtil.GetAssemblyQualifiedName(typeof(ResXNullRef), this.typeNameConverter))) {
winforms\Managed\System\Resources\ResXResourceReader.cs (10)
388if (reader.LocalName.Equals(ResXResourceWriter.AssemblyStr)) { 391else if (reader.LocalName.Equals(ResXResourceWriter.DataStr)) { 394else if (reader.LocalName.Equals(ResXResourceWriter.ResHeaderStr)) { 397else if (reader.LocalName.Equals(ResXResourceWriter.MetadataStr)) { 464readerTypeName.Equals(readerType.FullName) && 465writerTypeName.Equals(writerType.FullName)) { 609if(reader.NodeType == XmlNodeType.EndElement && ( reader.LocalName.Equals(ResXResourceWriter.DataStr) || reader.LocalName.Equals(ResXResourceWriter.MetadataStr) )) { 615if (reader.Name.Equals(ResXResourceWriter.ValueStr)) { 632} else if (reader.Name.Equals(ResXResourceWriter.CommentStr)) {
winforms\Managed\System\WinForms\AxHost.cs (1)
5327if (ctlName.Equals(name)) {
winforms\Managed\System\WinForms\Binding.cs (1)
375if (!value.Equals(formatString)) {
winforms\Managed\System\WinForms\BindingContext.cs (1)
398if (propBinding.BindToObject.BindingMemberInfo.BindingMember.Equals(binding.PropertyName))
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (3)
155if ("Item".Equals(itemProps[i].Name) && itemProps[i].PropertyType != typeof(object)) 173if ("Item".Equals(props[i].Name) && props[i].PropertyType != typeof(object)) { 204if (props[i].Name.Equals(((PropertyDescriptor)listAccessors[offset]).Name))
winforms\Managed\System\WinForms\BindingSource.cs (1)
251if (!dataMember.Equals(value)) {
winforms\Managed\System\WinForms\ComboBox.cs (1)
2927Debug.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");
winforms\Managed\System\WinForms\Control.cs (1)
4552if (!WindowText.Equals(value)) {
winforms\Managed\System\WinForms\ControlPaint.cs (1)
2043if (!source.Name.Equals(fontName)) {
winforms\Managed\System\WinForms\DataFormats.cs (1)
210if (formatList[n].Name.Equals(format))
winforms\Managed\System\WinForms\DataGrid.cs (3)
1509if (dataMember != null && dataMember.Equals(value)) 3282if (this.listManager.GetListName().Equals(tableStyle.MappingName)) { 3289if (this.myGridTable.MappingName.Equals(tableStyle.MappingName)) {
winforms\Managed\System\WinForms\DataGridColumn.cs (4)
387if (!typeof(IList).IsAssignableFrom(prop.PropertyType) && prop.Name.Equals(this.HeaderText)) 608if (headerName.Equals(value)) 645if (mappingName.Equals(value)) 706if (nullText != null && nullText.Equals(value))
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (1)
260if ( ((DataGridColumnStyle)items[i]).MappingName.Equals(column.MappingName) && column != items[i])
winforms\Managed\System\WinForms\DataGridDefaultColumnWidthTypeConverter.cs (1)
68if (text.Equals("AutoColumnResize (-1)"))
winforms\Managed\System\WinForms\DataGridTable.cs (1)
1511if (value.Equals(mappingName))
winforms\Managed\System\WinForms\DataGridTableCollection.cs (1)
181if ( ((DataGridTableStyle)items[i]).MappingName.Equals(table.MappingName) && table != items[i])
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
203if (format == null || !format.Equals(value)) {
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
332if (this.DataGridView != null && !errorText.Equals(this.ErrorTextInternal)) 891if (this.DataGridView != null && !toolTipText.Equals(this.ToolTipTextInternal))
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (1)
287if (!format.Equals(this.Format))
winforms\Managed\System\WinForms\DataGridViewRow.cs (1)
225if (this.DataGridView != null && !errorText.Equals(this.ErrorTextInternal))
winforms\Managed\System\WinForms\DataObject.cs (61)
503if (format.Equals(DataFormats.Text) 504|| format.Equals(DataFormats.UnicodeText) 505|| format.Equals(DataFormats.StringFormat)) { 514if (format.Equals(DataFormats.FileDrop) 515|| format.Equals(CF_DEPRECATED_FILENAME) 516|| format.Equals(CF_DEPRECATED_FILENAMEW)) { 525if (format.Equals(DataFormats.Bitmap) 526|| format.Equals((typeof(Bitmap)).FullName)) { 610if (format.Equals(DataFormats.Bitmap) && data is Bitmap) { 873else if (format.Equals(DataFormats.Text) 874|| format.Equals(DataFormats.Rtf) 875|| format.Equals(DataFormats.OemText)) { 878else if (format.Equals(DataFormats.Html)) { 890else if (format.Equals(DataFormats.UnicodeText)) { 893else if (format.Equals(DataFormats.FileDrop)) { 896else if (format.Equals(CF_DEPRECATED_FILENAME)) { 900else if (format.Equals(CF_DEPRECATED_FILENAMEW)) { 904else if (format.Equals(DataFormats.Dib) 912else if (format.Equals(DataFormats.Serializable) 1281if (format.Equals(bitmap)) { 1284else if (format.Equals(emf)) { 1287else if (format.Equals(text) 1288|| format.Equals(unicode) 1289|| format.Equals(standard) 1290|| format.Equals(str) 1291|| format.Equals(DataFormats.Rtf) 1292|| format.Equals(DataFormats.CommaSeparatedValue) 1293|| format.Equals(DataFormats.FileDrop) 1294|| format.Equals(CF_DEPRECATED_FILENAME) 1295|| format.Equals(CF_DEPRECATED_FILENAMEW)) { 1453if (format.Equals(DataFormats.Text) 1454|| format.Equals(DataFormats.Rtf) 1455|| format.Equals(DataFormats.OemText)) { 1458else if (format.Equals(DataFormats.Html)) { 1471else if (format.Equals(DataFormats.UnicodeText)) { 1474else if (format.Equals(DataFormats.FileDrop)) { 1477else if (format.Equals(CF_DEPRECATED_FILENAME)) { 1480else if (format.Equals(CF_DEPRECATED_FILENAMEW)) { 1493(format.Equals(DataFormats.StringFormat) || 1494format.Equals(typeof(Bitmap).FullName) || 1495format.Equals(DataFormats.CommaSeparatedValue) || 1496format.Equals(DataFormats.Dib) || 1497format.Equals(DataFormats.Dif) || 1498format.Equals(DataFormats.Locale) || 1499format.Equals(DataFormats.PenData) || 1500format.Equals(DataFormats.Riff) || 1501format.Equals(DataFormats.SymbolicLink) || 1502format.Equals(DataFormats.Tiff) || 1503format.Equals(DataFormats.WaveAudio) || 1504format.Equals(DataFormats.Bitmap) || 1505format.Equals(DataFormats.EnhancedMetafile) || 1506format.Equals(DataFormats.Palette) || 1507format.Equals(DataFormats.MetafilePict)); 1586if (format.Equals(DataFormats.Bitmap)) { 1589else if (format.Equals(DataFormats.EnhancedMetafile)) { 1620if (format.Equals(DataFormats.Bitmap) 1921if (!format.Equals(mappedFormats[i])) { 2015if (!format.Equals(mappedFormats[i])) { 2130if (!format.Equals(mappedFormats[i])) { 2169if (data is Bitmap && format.Equals(DataFormats.Dib)) { 2220if (format.Equals(formats[i])) {
winforms\Managed\System\WinForms\DateTimePicker.cs (2)
511if ((value != null && !value.Equals(customFormat)) || 1043if (!oldText.Equals(this.Text)) {
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
374found = Items[index].ToString().Equals(text);
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
1430if (error.Equals(value) && provider.BlinkStyle != ErrorBlinkStyle.AlwaysBlink) {
winforms\Managed\System\WinForms\ListBox.cs (1)
1104if (SelectionMode != SelectionMode.None && value != null && (SelectedItem == null || !value.Equals(GetItemText(SelectedItem)))) {
winforms\Managed\System\WinForms\ListControl.cs (2)
247if (!value.Equals(formatString)) { 310if (props[i].Name.Equals(bindingMemberInfo.BindingField)) {
winforms\Managed\System\WinForms\MenuItem.cs (2)
891if (data.caption.Equals("-")) { 1744if (!caption.Equals(value)) {
winforms\Managed\System\WinForms\NativeWindow.cs (1)
1512!className.Equals(wc.className)) {
winforms\Managed\System\WinForms\NotifyIcon.cs (1)
299if (value != null && !value.Equals(this.text)) {
winforms\Managed\System\WinForms\NumericUpDown.cs (3)
534else if (keyInput.Equals(decimalSeparator) || keyInput.Equals(groupSeparator) || 535keyInput.Equals(negativeSign)) {
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
2684if (val != null && val.ToString().Equals("1")) { 2692this.HelpVisible = (val != null && val.ToString().Equals("1")); 2695this.CommandsVisibleIfAvailable = (val != null && val.ToString().Equals("1"));
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1850return pe.PropertyLabel.Equals(this.PropertyLabel) &&
winforms\Managed\System\WinForms\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
62if (propertyInfo.Name != null && propertyInfo.Name.Equals(props[i].Name)) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertiesTab.cs (1)
60if ("Name".Equals(props[i].Name)) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
524(text != null && originalTextValue != null && text.Equals(originalTextValue))) { 4447if ((GetFlag(FlagIsNewSelection) || !Edit.Focused) && (s != null && !s.Equals(Edit.Text))) {
winforms\Managed\System\WinForms\RichTextBox.cs (2)
761if (value.Equals(Rtf)) 3032if (!SZ_RTF_TAG.Equals(str))
winforms\Managed\System\WinForms\StatusBarPanel.cs (2)
419if (!Text.Equals(value)) { 460if (!ToolTipText.Equals(value)) {
winforms\Managed\System\WinForms\TextBoxAutoCompleteSourceConverter.cs (1)
29if (!currentItemText.Equals("ListItems"))
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1292if (!WindowText.Equals(value)) {
winforms\Managed\System\WinForms\ToolBarButton.cs (1)
404(value != null && (text == null || !text.Equals(value)))) {
System.Workflow.Activities (31)
Common\CompModHelpers.cs (2)
699if (!typeLeft.BaseType.Equals(typeRight.FullName)) return false; 710if (!typeLeft.BaseType.Equals(typeRight.BaseType)) return false;
Common\TypeSystemHelpers.cs (2)
143if (!thatName.Name.Equals(thisName.Name)) 203if (!thatAssemblyName.Equals(thisName.Name))
ConstrainedGroup.cs (1)
120if (this.EnabledActivities[i].QualifiedName.Equals(childActivityName))
CorrelationValidator.cs (2)
342if (ownerActivityName.Equals(existingOwnerActivityName)) 353if (owner != null && existingowner != null && owner.QualifiedName.Equals(existingowner.QualifiedName))
Designers\StateDesigner.cs (3)
1219if (!stateDesignerConnector.Target.AssociatedDesigner.Activity.QualifiedName.Equals(stateDesignerConnector.TargetStateName)) 1234if (!sourceConnectionPoint.EventHandler.QualifiedName.Equals(stateDesignerConnector.EventHandlerName)) 2313if (activity.QualifiedName.Equals(qualifiedName))
EventHandlers.cs (3)
196if (eventSubscriber.eventDrivenActivity.QualifiedName.Equals(removedActivity.QualifiedName)) 261if (eventHandlers.EnabledActivities[i].QualifiedName.Equals(eda.QualifiedName)) 451if (this.EnabledActivities[i].QualifiedName.Equals(childActivityName))
Listen.cs (1)
163if (listenEventSubscriber.eventDrivenActivity.QualifiedName.Equals(eda.QualifiedName))
LocalService\LogicalCallContext.cs (1)
32if (enumerator.Name.Equals("identity"))
Sequence.cs (1)
193if (removedActivity.QualifiedName.Equals(activeChildQualifiedName))
State.cs (2)
93if (this.EnabledActivities[i].QualifiedName.Equals(childActivityName)) 473if (!String.IsNullOrEmpty(executionState.NextStateName) && executionState.NextStateName.Equals(state.QualifiedName))
StateInitialization.cs (1)
104if (setState.TargetStateName.Equals(state.QualifiedName))
StateMachineAction.cs (1)
79Debug.Assert(context.Activity.QualifiedName.Equals(this.StateName));
StateMachineExecutionState.cs (3)
171while (action.StateName.Equals(state.QualifiedName)) 225while (currentState != null && (currentState.QualifiedName.Equals(targetStateName) || !StateMachineHelpers.ContainsState(currentState, targetStateName))) 234while (!currentState.QualifiedName.Equals(targetStateName))
StateMachineHelpers.cs (5)
108return state.QualifiedName.Equals(initialStateName); 119return state.QualifiedName.Equals(completedStateName); 178while (!state.QualifiedName.Equals(stateQualifiedName) && ContainsState(state, stateQualifiedName)) 196if (state.QualifiedName.Equals(stateQualifiedName)) 275if (state.QualifiedName.Equals(stateName))
StateMachineSubscriptionManager.cs (3)
107if (eventActivitySubscription.EventDrivenName.Equals(eventDriven.QualifiedName)) 118if (eventActivitySubscription.StateName.Equals(state.QualifiedName)) 155if (parentState.QualifiedName.Equals(stateName))
System.Workflow.ComponentModel (23)
AuthoringOM\ActivitiesCollection.cs (2)
232if ((this[index].Name.Equals(key) || this[index].QualifiedName.Equals(key)))
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
1161if (nestedType.Name.Equals(Helper.EnsureTypeName(codeType.Name)))
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
178if (attribInfo.AttributeInfo.AttributeType.FullName.Equals(attributeType.FullName))
AuthoringOM\Design\ActivityDesigner.cs (1)
1795if (e.Member != null && e.Member.Name != null && e.Member.Name.Equals("Name"))
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
673if (type != null && (type.FullName.Equals(baseType.FullName)))
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (4)
982if (!this.headerTextComboBox.Text.Equals(this.headerFooterCustom)) 994if (!this.footerTextComboBox.Text.Equals(this.headerFooterCustom)) 1090this.headerCustom = this.headerTextComboBox.Text.Equals(this.headerFooterCustom); 1097this.footerCustom = this.footerTextComboBox.Text.Equals(this.headerFooterCustom);
AuthoringOM\Design\IdentifierCreationService.cs (1)
60if (activity.Name.ToLowerInvariant().Equals(identifier.ToLowerInvariant()))
AuthoringOM\Sequence.cs (1)
108if (removedActivity.QualifiedName.Equals(activeChildQualifiedName))
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (1)
226objectType.Namespace != null && objectType.Namespace.Equals(typeof(System.Drawing.Image).Namespace))
AuthoringOM\Serializer\ActivitySurrogate.cs (3)
301if (this.memberNames.Length > 0 && this.memberNames[this.lastPosition].Equals(name)) 305else if ((++this.lastPosition < this.memberNames.Length) && (this.memberNames[this.lastPosition].Equals(name))) 314if (this.memberNames[i].Equals(name))
AuthoringOM\Serializer\ActivityTypeCodeDomSerializer.cs (1)
67if (method != null && method.Name.Equals(_initMethodName) && method.Parameters.Count == 0)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
1397if (name == null || !name.Equals(property.Name)) 3152if (xmlQualifiedName.Name.Equals(typeof(Array).Name) || string.Equals(xmlQualifiedName.Name, "Null", StringComparison.Ordinal) || string.Equals(xmlQualifiedName.Name, typeof(NullExtension).Name, StringComparison.Ordinal) || string.Equals(xmlQualifiedName.Name, "Type", StringComparison.Ordinal) || string.Equals(xmlQualifiedName.Name, typeof(TypeExtension).Name, StringComparison.Ordinal))
Shared\CompModHelpers.cs (2)
697if (!typeLeft.BaseType.Equals(typeRight.FullName)) return false; 708if (!typeLeft.BaseType.Equals(typeRight.BaseType)) return false;
Shared\TypeSystemHelpers.cs (2)
142if (!thatName.Name.Equals(thisName.Name)) 202if (!thatAssemblyName.Equals(thisName.Name))
System.WorkflowServices (14)
System\Workflow\Activities\Design\OperationPickerDialog.cs (2)
426if (foundContract.Name.Equals(serviceContractListItem.Name)) 474if (foundOperation.Name.Equals(newOperationName))
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (10)
225if (combo.DroppedDown && combo.Text.Equals(SR2.GetString(SR2.BrowseType)) && !typeof(TypeChooserCellItem).Equals(currentCell.Value)) 496if (paramInfo.Name.Equals(SR2.GetString(SR2.ReturnValueString))) 707if (string.IsNullOrEmpty(name) || name.Equals(this.ParameterTemplateRowName)) 721if (direction.Equals(SR2.GetString(SR2.ParameterDirectionIn))) 725if (direction.Equals(SR2.GetString(SR2.ParameterDirectionOut))) 729if (direction.Equals(SR2.GetString(SR2.ParameterDirectionRef))) 735if (name.Equals(SR2.GetString(SR2.ReturnValueString))) 767if (parameterName.Equals(row.Cells[this.nameColumn.Index].Value.ToString())) 773if (parameterName.Equals(this.ParameterTemplateRowName) && (e.RowIndex == this.parametersGrid.Rows.Count - 1)) 777if (parameterName.Equals(SR2.GetString(SR2.ReturnValueString)))
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
337if (argumentNames[index].Equals(propertyName))
System\Workflow\Activities\TypedOperationInfo.cs (1)
268if (argumentNames[index].Equals(propertyName))
System.Xml (45)
System\Xml\Cache\XPathDocumentBuilder.cs (4)
263Debug.Assert(!prefix.Equals("xmlns")); 444Debug.Assert(!prefix.Equals("xmlns") && !namespaceName.Equals(XmlReservedNs.NsXmlNs)); 496Debug.Assert(prefix.Equals("xml"), "xmlns:xml namespace declaration should always be present in the list.");
System\Xml\Core\XmlTextReaderImpl.cs (3)
2604Debug.Assert( baseUri == null || ( baseUri.ToString().Equals( baseUriStr ) ) ); 5655Throw( target.Equals( "xml" ) ? Res.Xml_XmlDeclNotFirst : Res.Xml_InvalidPIName, target ); 8317if ( nodes[i].prefix.Equals( pref ) ) {
System\Xml\Core\XmlTextReaderImplAsync.cs (2)
830Debug.Assert( baseUri == null || ( baseUri.ToString().Equals( baseUriStr ) ) ); 3646Throw( target.Equals( "xml" ) ? Res.Xml_XmlDeclNotFirst : Res.Xml_InvalidPIName, target );
System\Xml\Dom\DomNameTable.cs (6)
44|| e.LocalName.Equals(localName)) 46|| e.Prefix.Equals(prefix)) 48|| e.NamespaceURI.Equals(ns)) 69|| e.LocalName.Equals(localName)) 71|| e.Prefix.Equals(prefix)) 73|| e.NamespaceURI.Equals(ns))
System\Xml\NameTable.cs (2)
85if ( e.hashCode == hashCode && e.str.Equals( key ) ) { 139if ( e.hashCode == hashCode && e.str.Equals( value ) ) {
System\Xml\Schema\Chameleonkey.cs (1)
63return this.targetNS.Equals(cKey.targetNS) && this.chameleonLocation.Equals(cKey.chameleonLocation) &&
System\Xml\Schema\DtdParser.cs (4)
650if ( attrDef != null && attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals( "xml" ) && attrDef.Name.Name == "space" ) { 672if (attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals("xml")) { 681if ( val.Equals( "preserve" ) || val.Equals( "default" ) ) {
System\Xml\Schema\DtdParserAsync.cs (4)
295if ( attrDef != null && attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals( "xml" ) && attrDef.Name.Name == "space" ) { 317if (attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals("xml")) { 326if ( val.Equals( "preserve" ) || val.Equals( "default" ) ) {
System\Xml\Schema\FacetChecker.cs (2)
1168if (value.Equals(((Uri)enumeration[i]).OriginalString)) { 1175if (value.Equals((string)enumeration[i])) {
System\Xml\Schema\Inference\Infer.cs (2)
269if (!prefix.Equals("xml") && !prefix.Equals("xmlns"))
System\Xml\Schema\XdrBuilder.cs (1)
1425if (!s.Equals("*") &&
System\Xml\Schema\XmlSchemaValidator.cs (1)
1538if (decl.Presence == SchemaDeclBase.Use.Fixed && !elementValue.Equals(elementDecl.DefaultValueRaw)) { //check string equality for mixed as it is untyped.
System\Xml\Schema\XsdValidator.cs (1)
332else if(xsiNil != null && xsiNil.Equals("true")) {
System\Xml\ValidateNames.cs (6)
444return s.Equals(XmlReservedNs.NsXml) || s.Equals(XmlReservedNs.NsXmlNs); 503if (ns.Length == 0 && localName.Equals("xmlns")) { 548if (prefix.Equals("xml")) { 550if (!ns.Equals(XmlReservedNs.NsXml)) { 555else if (prefix.Equals("xmlns")) {
System\Xml\XmlNamespacemanager.cs (1)
133if ( ( Ref.Equal( xml, prefix ) && !uri.Equals( XmlReservedNs.NsXml ) ) ) {
System\Xml\XPath\Internal\AttributeQuery.cs (1)
42Debug.Assert(! currentNode.NamespaceURI.Equals(XmlReservedNs.NsXmlNs));
System\Xml\XPath\Internal\BaseAxisQuery.cs (2)
85if (name.Equals(e.LocalName) || name.Length == 0) { 86if (nsUri.Equals(e.NamespaceURI)){
System\Xml\XPath\Internal\NamespaceQuery.cs (1)
60return Name.Equals(e.LocalName);
System\Xml\XPath\Internal\XPathParser.cs (1)
669this.scanner.Name.Equals(op)
UIAutomationClient (1)
MS\Internal\Automation\ProxyManager.cs (1)
743if( pi.ClassName.Equals( _pseudoProxyClassNames[ j ] ) )
UIAutomationClientsideProviders (16)
MS\Internal\AutomationProxies\Misc.cs (1)
1931if (!ProxyGetClassName(hwnd).Equals("tooltips_class32"))
MS\Internal\AutomationProxies\WindowsButton.cs (4)
569if (!Misc.GetClassName(_hwnd).Equals("Button")) 584if (Misc.GetClassName(hwndParent).Equals("Shell_TrayWnd")) 595if (!Misc.GetClassName(_hwnd).Equals("Button")) 603if (Misc.GetClassName(hwndParent).Equals("Desktop More Programs Pane"))
MS\Internal\AutomationProxies\WindowsComboBox.cs (2)
167if (Misc.GetClassName(_hwnd).Equals("Internet Explorer_TridentCmboBx")) 727if (Misc.GetClassName(hwnd).Equals("Internet Explorer_TridentCmboBx"))
MS\Internal\AutomationProxies\WindowsContainer.cs (2)
44if (className.Equals("#32770")) 204return dlgName.Equals(WindowsTabItem.GetName(hwndTab, item, true));
MS\Internal\AutomationProxies\WindowsEditBox.cs (2)
995if (classname.Equals("SysIPAddress32")) 1011if (classname.Equals("SysListView32"))
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
745if (Misc.GetClassName(_hwnd).Equals("Internet Explorer_TridentLstBox"))
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
812if (val.Equals(ListViewItem.GetText(hwnd, item, 0)))
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
727return Misc.GetClassName(hwndParent).Equals("MsoCommandBar");
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
642if (text.Equals(WindowsTreeView.GetItemText(hwnd, item)))
MS\Internal\AutomationProxies\WinEventTracker.cs (1)
495return Misc.ProxyGetClassName(Process.GetProcessById(processId).MainWindowHandle).Equals("ConsoleWindowClass");
WindowsBase (1)
Base\System\Windows\DependencyProperty.cs (1)
1109return (_name.Equals(key._name) && (_ownerType == key._ownerType));
XamlBuildTask (3)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
259if (attrib != null && language.Equals("VB") && string.Equals(attrib.Type.UnderlyingType.FullName, typeof(DefaultValueAttribute).FullName) && paramInfo.Type == null)
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (2)
432if (this.Language.Equals("VB") && !String.IsNullOrWhiteSpace(classData.RootNamespace)) 647ClassImporter importer = new ClassImporter(xamlFileName, this.AssemblyName, this.Language.Equals("VB") ? this.RootNamespace : null);