system\AppDomainSetup.cs (9)
346(String.Compare( path, 0, "file:", 0, 5, StringComparison.OrdinalIgnoreCase) == 0)) {
663if(String.Equals(functionName, "IsNLSDefinedString", StringComparison.OrdinalIgnoreCase))
668if (String.Equals(functionName, "CompareStringEx", StringComparison.OrdinalIgnoreCase))
673if (String.Equals(functionName, "LCMapStringEx", StringComparison.OrdinalIgnoreCase))
678if (String.Equals(functionName, "FindNLSStringEx", StringComparison.OrdinalIgnoreCase))
683if (String.Equals(functionName, "CompareStringOrdinal", StringComparison.OrdinalIgnoreCase))
688if (String.Equals(functionName, "GetNLSVersionEx", StringComparison.OrdinalIgnoreCase))
693if (String.Equals(functionName, "FindStringOrdinal", StringComparison.OrdinalIgnoreCase))
1124(String.Compare(value, "true", StringComparison.OrdinalIgnoreCase) == 0))
system\enum.cs (5)
442if (String.Compare(enumNames[j], values[i], StringComparison.OrdinalIgnoreCase) != 0)
855if (String.Compare(format, "G", StringComparison.OrdinalIgnoreCase) == 0)
858if (String.Compare(format, "D", StringComparison.OrdinalIgnoreCase) == 0)
861if (String.Compare(format, "X", StringComparison.OrdinalIgnoreCase) == 0)
864if (String.Compare(format, "F", StringComparison.OrdinalIgnoreCase) == 0)
system\globalization\compareinfo.cs (8)
412return String.Compare(string1, string2, StringComparison.OrdinalIgnoreCase);
483int result = String.Compare(string1, offset1, string2, offset2, length1<length2 ? length1 : length2, StringComparison.OrdinalIgnoreCase);
585return source.StartsWith(prefix, StringComparison.OrdinalIgnoreCase);
639return source.EndsWith(suffix, StringComparison.OrdinalIgnoreCase);
788return source.IndexOf(value.ToString(), startIndex, count, StringComparison.OrdinalIgnoreCase);
841return source.IndexOf(value, startIndex, count, StringComparison.OrdinalIgnoreCase);
994return source.LastIndexOf(value.ToString(), startIndex, count, StringComparison.OrdinalIgnoreCase);
1049return source.LastIndexOf(value, startIndex, count, StringComparison.OrdinalIgnoreCase);
system\reflection\assembly.cs (4)
1275if (String.Compare(GetSimpleName(), name, StringComparison.OrdinalIgnoreCase) == 0)
1849if (String.Compare( codeBase, 0, s_localFilePrefix, 0, 5, StringComparison.OrdinalIgnoreCase) != 0) {
2604(String.Compare( codeBase, 0, s_localFilePrefix, 0, 5, StringComparison.OrdinalIgnoreCase) == 0)) {
2995(String.Compare(codeBase, 0, s_localFilePrefix, 0, 5, StringComparison.OrdinalIgnoreCase) == 0))
system\security\policy\applicationsecurityinfo.cs (3)
111if (String.Compare(sameSite, "Site", StringComparison.OrdinalIgnoreCase) == 0) {
132if (String.Compare("file:", 0, m_context.Identity.CodeBase, 0, 5, StringComparison.OrdinalIgnoreCase) == 0) {
174if (String.Compare("file:", 0, m_context.Identity.CodeBase, 0, 5, StringComparison.OrdinalIgnoreCase) != 0) {
system\security\util\urlstring.cs (16)
224String.Compare(url, 0, m_defaultProtocol, 0, index, StringComparison.OrdinalIgnoreCase) == 0)
387(String.Compare(url, curCmpIdx, "//?/", 0, 4, StringComparison.OrdinalIgnoreCase) == 0 ||
388String.Compare(url, curCmpIdx, "//./", 0, 4, StringComparison.OrdinalIgnoreCase) == 0))
411(String.Compare(url, curCmpIdx, "\\\\?\\", 0, 4, StringComparison.OrdinalIgnoreCase) == 0 ||
412String.Compare(url, curCmpIdx, "\\\\?/", 0, 4, StringComparison.OrdinalIgnoreCase) == 0 ||
413String.Compare(url, curCmpIdx, "\\\\.\\", 0, 4, StringComparison.OrdinalIgnoreCase) == 0 ||
414String.Compare(url, curCmpIdx, "\\\\./", 0, 4, StringComparison.OrdinalIgnoreCase) == 0))
653bool fileProtocol = (String.Compare( m_protocol, "file", StringComparison.OrdinalIgnoreCase) == 0);
747if (String.Equals(m_protocol, "file", StringComparison.OrdinalIgnoreCase) && !m_isUncShare)
769if (String.Compare( m_protocol, "file", StringComparison.OrdinalIgnoreCase) != 0)
801if (String.Compare( m_protocol, "file", StringComparison.OrdinalIgnoreCase ) != 0)
870if (String.Compare( normalUrl1.m_protocol, normalUrl2.m_protocol, StringComparison.OrdinalIgnoreCase) == 0 &&
955if (String.Compare( normalUrl1.m_protocol, normalUrl2.m_protocol, StringComparison.OrdinalIgnoreCase) != 0)
960if (String.Compare( normalUrl1.m_protocol, "file", StringComparison.OrdinalIgnoreCase) == 0)
991if (String.Compare( m_protocol, "file", StringComparison.OrdinalIgnoreCase) == 0)
1020if (String.Compare( m_protocol, "file", StringComparison.OrdinalIgnoreCase) != 0)
compmod\microsoft\visualbasic\VBCodeProvider.cs (28)
525if (string.Compare(m.Groups[3].Value, "warning", StringComparison.OrdinalIgnoreCase) == 0) {
591if (string.Compare(fileName, "Microsoft.VisualBasic.dll", StringComparison.OrdinalIgnoreCase) == 0)
595if (string.Compare(fileName, "mscorlib.dll", StringComparison.OrdinalIgnoreCase) == 0)
1814&& meth.Name.Equals(e.Name, StringComparison.OrdinalIgnoreCase)
1864if (e.ReturnType.BaseType.Length == 0 || string.Compare(e.ReturnType.BaseType, typeof(void).FullName, StringComparison.OrdinalIgnoreCase) == 0) {
1956&& prop.Name.Equals(e.Name, StringComparison.OrdinalIgnoreCase)
2000if (e.Parameters.Count > 0 && String.Compare(e.Name, "Item", StringComparison.OrdinalIgnoreCase) == 0) {
2186if (del.ReturnType.BaseType.Length > 0 && string.Compare(del.ReturnType.BaseType, "System.Void", StringComparison.OrdinalIgnoreCase) != 0)
2194if (del.ReturnType.BaseType.Length > 0 && string.Compare(del.ReturnType.BaseType, "System.Void", StringComparison.OrdinalIgnoreCase) != 0) {
2632else if (string.Compare(baseType, "System.Byte", StringComparison.OrdinalIgnoreCase) == 0) {
2635else if (string.Compare(baseType, "System.SByte", StringComparison.OrdinalIgnoreCase) == 0) {
2638else if (string.Compare(baseType, "System.Int16", StringComparison.OrdinalIgnoreCase) == 0) {
2641else if (string.Compare(baseType, "System.Int32", StringComparison.OrdinalIgnoreCase) == 0) {
2644else if (string.Compare(baseType, "System.Int64", StringComparison.OrdinalIgnoreCase) == 0) {
2647else if (string.Compare(baseType, "System.UInt16", StringComparison.OrdinalIgnoreCase) == 0) {
2650else if (string.Compare(baseType, "System.UInt32", StringComparison.OrdinalIgnoreCase) == 0) {
2653else if (string.Compare(baseType, "System.UInt64", StringComparison.OrdinalIgnoreCase) == 0) {
2656else if (string.Compare(baseType, "System.String", StringComparison.OrdinalIgnoreCase) == 0) {
2659else if (string.Compare(baseType, "System.DateTime", StringComparison.OrdinalIgnoreCase) == 0) {
2662else if (string.Compare(baseType, "System.Decimal", StringComparison.OrdinalIgnoreCase) == 0) {
2665else if (string.Compare(baseType, "System.Single", StringComparison.OrdinalIgnoreCase) == 0) {
2668else if (string.Compare(baseType, "System.Double", StringComparison.OrdinalIgnoreCase) == 0) {
2671else if (string.Compare(baseType, "System.Boolean", StringComparison.OrdinalIgnoreCase) == 0) {
2674else if (string.Compare(baseType, "System.Char", StringComparison.OrdinalIgnoreCase) == 0) {
2677else if (string.Compare(baseType, "System.Object", StringComparison.OrdinalIgnoreCase) == 0) {
2838if (!Path.GetExtension(outputAssemblyFile).Equals(extensionWithDot, StringComparison.OrdinalIgnoreCase)) {
2851if (options.CompilerOptions!= null && options.CompilerOptions.IndexOf("/debug:pdbonly", StringComparison.OrdinalIgnoreCase) != -1)
3133if (names[i].Equals(name, StringComparison.OrdinalIgnoreCase)) {
net\System\Net\cookie.cs (10)
333(string.Compare(host, 0, domain, 1, host.Length, StringComparison.OrdinalIgnoreCase) == 0)) {
443if (isLocalDomain && (string.Compare(localDomain, domain, StringComparison.OrdinalIgnoreCase ) == 0)) {
459string.Compare(host, host.Length-domain.Length, domain, 0, domain.Length, StringComparison.OrdinalIgnoreCase) != 0) {
466string.Compare(host, host_dot, domain, 0, domain.Length, StringComparison.OrdinalIgnoreCase) != 0) {
482if (string.Compare(host, m_domain, StringComparison.OrdinalIgnoreCase) != 0) {
731return (string.Compare(Name, other.Name, StringComparison.OrdinalIgnoreCase) == 0)
734&& (string.Compare(Domain, other.Domain, StringComparison.OrdinalIgnoreCase) == 0)
1259return string.Compare(m_name, value, StringComparison.OrdinalIgnoreCase) == 0;
1626if ((result = string.Compare(left.Name, right.Name, StringComparison.OrdinalIgnoreCase)) != 0) {
1630if ((result = string.Compare(left.Domain, right.Domain, StringComparison.OrdinalIgnoreCase)) != 0) {
net\System\Net\CredentialCache.cs (15)
67&& !((string.Compare(authType, NtlmClient.AuthType, StringComparison.OrdinalIgnoreCase)==0)
68|| (DigestClient.WDigestAvailable && (string.Compare(authType, DigestClient.AuthType, StringComparison.OrdinalIgnoreCase)==0))
69|| (string.Compare(authType, KerberosClient.AuthType, StringComparison.OrdinalIgnoreCase)==0)
70|| (string.Compare(authType, NegotiateClient.AuthType, StringComparison.OrdinalIgnoreCase)==0))
110&& !((string.Compare(authenticationType, NtlmClient.AuthType, StringComparison.OrdinalIgnoreCase)==0)
111|| (DigestClient.WDigestAvailable && (string.Compare(authenticationType, DigestClient.AuthType, StringComparison.OrdinalIgnoreCase)==0))
112|| (string.Compare(authenticationType, KerberosClient.AuthType, StringComparison.OrdinalIgnoreCase)==0)
113|| (string.Compare(authenticationType, NegotiateClient.AuthType, StringComparison.OrdinalIgnoreCase)==0))
419if (string.Compare(authenticationType, AuthenticationType, StringComparison.OrdinalIgnoreCase) != 0) {
422if (string.Compare(Host, host, StringComparison.OrdinalIgnoreCase ) != 0) {
459(string.Compare(AuthenticationType, comparedCredentialKey.AuthenticationType, StringComparison.OrdinalIgnoreCase ) == 0) &&
460(string.Compare(Host, comparedCredentialKey.Host, StringComparison.OrdinalIgnoreCase ) == 0) &&
495if (string.Compare(authenticationType, AuthenticationType, StringComparison.OrdinalIgnoreCase) != 0) {
526return String.Compare(uri.AbsolutePath, 0, prefixUri.AbsolutePath, 0, prefixLen, StringComparison.OrdinalIgnoreCase ) == 0;
554(string.Compare(AuthenticationType, comparedCredentialKey.AuthenticationType, StringComparison.OrdinalIgnoreCase ) == 0) &&
net\System\Net\HttpListener.cs (6)
635if (string.Compare(uriPrefix, 0, "http://", 0, 7, StringComparison.OrdinalIgnoreCase)==0) {
638else if (string.Compare(uriPrefix, 0, "https://", 0, 8, StringComparison.OrdinalIgnoreCase)==0) {
1466string.Compare(authorizationHeader, 0, NegotiateClient.AuthType, 0, index, StringComparison.OrdinalIgnoreCase) == 0)
1471string.Compare(authorizationHeader, 0, NtlmClient.AuthType, 0, index, StringComparison.OrdinalIgnoreCase) == 0)
1476string.Compare(authorizationHeader, 0, DigestClient.AuthType, 0, index, StringComparison.OrdinalIgnoreCase) == 0)
1481string.Compare(authorizationHeader, 0, BasicClient.AuthType, 0, index, StringComparison.OrdinalIgnoreCase) == 0)
net\System\Net\Internal.cs (5)
738if (String.Compare(installType, InstallTypeStringClient, StringComparison.OrdinalIgnoreCase) == 0)
742if (String.Compare(installType, InstallTypeStringServer, StringComparison.OrdinalIgnoreCase) == 0)
746if (String.Compare(installType, InstallTypeStringServerCore, StringComparison.OrdinalIgnoreCase) == 0)
750if (String.Compare(installType, InstallTypeStringEmbedded, StringComparison.OrdinalIgnoreCase) == 0)
1945return this==verb || string.Compare(Name, verb.Name, StringComparison.OrdinalIgnoreCase)==0;
net\System\Net\mail\smtpconnection.cs (8)
250sizeOfAuthExtension, StringComparison.OrdinalIgnoreCase) == 0) {
257if (String.Compare(authType, authLogin, StringComparison.OrdinalIgnoreCase) == 0) {
261else if (String.Compare(authType, authNtlm, StringComparison.OrdinalIgnoreCase) == 0) {
264else if (String.Compare(authType, authGssapi, StringComparison.OrdinalIgnoreCase) == 0) {
267else if (String.Compare(authType, authWDigest, StringComparison.OrdinalIgnoreCase) == 0) {
273else if (String.Compare(extension, 0, "dsn ", 0, 3, StringComparison.OrdinalIgnoreCase) == 0) {
276else if (String.Compare(extension, 0, "STARTTLS", 0, 8, StringComparison.OrdinalIgnoreCase) == 0) {
279else if (String.Compare(extension, 0, "SMTPUTF8", 0, 8, StringComparison.OrdinalIgnoreCase) == 0) {
net\System\Net\mail\smtppermission.cs (7)
57if (0 == string.Compare(access, "Connect", StringComparison.OrdinalIgnoreCase)) {
60else if (0 == string.Compare(access, "ConnectToUnrestrictedPort", StringComparison.OrdinalIgnoreCase)) {
63else if (0 == string.Compare(access, "None", StringComparison.OrdinalIgnoreCase)) {
212if (0 == string.Compare( str, "true", StringComparison.OrdinalIgnoreCase)){
221if(0 == string.Compare(str, "Connect", StringComparison.OrdinalIgnoreCase)){
224else if(0 == string.Compare(str, "ConnectToUnrestrictedPort", StringComparison.OrdinalIgnoreCase)){
227else if(0 == string.Compare(str, "None", StringComparison.OrdinalIgnoreCase)){
net\System\Net\NetworkInformation\NetworkInformationPermission.cs (6)
54if (0 == string.Compare(access, "Read", StringComparison.OrdinalIgnoreCase)) {
57else if (0 == string.Compare(access, "Ping", StringComparison.OrdinalIgnoreCase)) {
60else if (0 == string.Compare(access, "None", StringComparison.OrdinalIgnoreCase)) {
203if (0 == string.Compare( str, "true", StringComparison.OrdinalIgnoreCase)){
215if(0 == string.Compare(str, "Read", StringComparison.OrdinalIgnoreCase)){
218else if(0 == string.Compare(str, "Ping", StringComparison.OrdinalIgnoreCase)){
net\System\Net\SocketPermission.cs (8)
129if (0 == string.Compare(m_access, strConnect, StringComparison.OrdinalIgnoreCase )) {
133if (0 == string.Compare(m_access, strAccept, StringComparison.OrdinalIgnoreCase )) {
152if (string.Compare(m_port, "All", StringComparison.OrdinalIgnoreCase ) == 0) {
488m_noRestriction = (0 == string.Compare( str, "true", StringComparison.OrdinalIgnoreCase ));
555if (string.Compare(tmpStr, "All", StringComparison.OrdinalIgnoreCase ) == 0) {
770if (String.Compare(hostname, ep.hostname, StringComparison.OrdinalIgnoreCase ) != 0) {
872return (String.Compare(hostname, e.hostname, StringComparison.OrdinalIgnoreCase ) == 0);
1074if(String.Compare(hostname, E.hostname, StringComparison.OrdinalIgnoreCase ) != 0) {
net\System\Net\WebPermission.cs (10)
399if (str != null && string.Compare(str, uriString, StringComparison.OrdinalIgnoreCase ) == 0)
497if ((obj is DelayedRegex) && (string.Compare(uriRegexPattern.ToString(), obj.ToString(), StringComparison.OrdinalIgnoreCase ) == 0)) {
630if (String.Compare(regexToCheck, regex.ToString(), StringComparison.OrdinalIgnoreCase ) == 0)
635if (String.Compare(regexToCheck, Regex.Escape(uri.GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped)), StringComparison.OrdinalIgnoreCase ) == 0)
638else if (String.Compare(regexToCheck, Regex.Escape(uriPattern.ToString()), StringComparison.OrdinalIgnoreCase ) == 0) {
818if (str != null && string.Compare(str, "true", StringComparison.OrdinalIgnoreCase ) == 0)
988if (stringUri != null && string.Compare(stringUri, (string)uriPattern, StringComparison.OrdinalIgnoreCase ) == 0) {
1062if (string.Compare(a.ToString(), b.ToString(), StringComparison.OrdinalIgnoreCase ) == 0)
1098: string.Compare(obj.ToString(), intesection.ToString(), StringComparison.OrdinalIgnoreCase ) == 0)
1159return string.Compare(L.ToString(), R.ToString(), StringComparison.OrdinalIgnoreCase ) == 0? L : null;
security\system\security\cryptography\x509\x509certificate2collection.cs (7)
562if (String.Compare(KeyUsages[index].pwszKeyUsage, (string) findValue, StringComparison.OrdinalIgnoreCase) == 0) {
713if (String.Compare(rdn, (string) pvCallbackData, StringComparison.OrdinalIgnoreCase) != 0)
727if (String.Compare(rdn, (string) pvCallbackData, StringComparison.OrdinalIgnoreCase) != 0)
853if (String.Compare(s, (string) pvCallbackData, StringComparison.OrdinalIgnoreCase) == 0)
876if (String.Compare(pTemplate.pszObjId, oidValue, StringComparison.OrdinalIgnoreCase) == 0)
914if (String.Compare(eku, oidValue, StringComparison.OrdinalIgnoreCase) == 0)
958if (String.Compare(certPolicy, pPolicyInfo.pszPolicyIdentifier, StringComparison.OrdinalIgnoreCase) == 0)
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (8)
346if (String.Compare(counterName, counter, StringComparison.OrdinalIgnoreCase) == 0)
627if (machineName == "." || String.Compare(this.machineName, ComputerName, StringComparison.OrdinalIgnoreCase) == 0) {
651&& (String.Compare((string)systemDllName, PerformanceCounterLib.PerfShimName, StringComparison.OrdinalIgnoreCase) == 0
652|| ((string)systemDllName).EndsWith(PerformanceCounterLib.PerfShimFullNameSuffix, StringComparison.OrdinalIgnoreCase))) {
870if (String.Compare(counterName, counter, StringComparison.OrdinalIgnoreCase) == 0) {
963if (String.Compare(this.machineName, ComputerName, StringComparison.OrdinalIgnoreCase) == 0)
1191if (machineName != "." && String.Compare(machineName, PerformanceCounterLib.ComputerName, StringComparison.OrdinalIgnoreCase) != 0) {
1483if (String.Compare(counterName, counter, StringComparison.OrdinalIgnoreCase) == 0) {
services\monitoring\system\diagnosticts\ProcessManager.cs (7)
324if (String.Compare(computerName, baseName, StringComparison.OrdinalIgnoreCase) == 0) return false;
687if (string.Compare(moduleInfo.fileName, "\\SystemRoot\\System32\\smss.exe", StringComparison.OrdinalIgnoreCase) == 0) {
834if (processInfo.processId == 0 && string.Compare(instanceName, "Idle", StringComparison.OrdinalIgnoreCase) != 0) {
1188if (processName.EndsWith(".", StringComparison.OrdinalIgnoreCase)) {
1191else if (processName.EndsWith(".e", StringComparison.OrdinalIgnoreCase)) {
1194else if (processName.EndsWith(".ex", StringComparison.OrdinalIgnoreCase)) {
1264if(String.Equals(".exe", extension, StringComparison.OrdinalIgnoreCase) )
sys\system\configuration\ClientSettingsStore.cs (8)
268String.Equals(filename, ConfigurationManagerInternalFactory.Instance.MachineConfigPath, StringComparison.OrdinalIgnoreCase) ||
269String.Equals(filename, ConfigurationManagerInternalFactory.Instance.ApplicationConfigUri, StringComparison.OrdinalIgnoreCase) ||
270String.Equals(filename, ConfigurationManagerInternalFactory.Instance.ExeLocalConfigPath, StringComparison.OrdinalIgnoreCase) ||
271String.Equals(filename, ConfigurationManagerInternalFactory.Instance.ExeRoamingConfigPath, StringComparison.OrdinalIgnoreCase);
299if (String.Equals(streamName, ConfigurationManagerInternalFactory.Instance.ExeLocalConfigPath, StringComparison.OrdinalIgnoreCase)) {
304else if (String.Equals(streamName, ConfigurationManagerInternalFactory.Instance.ExeRoamingConfigPath, StringComparison.OrdinalIgnoreCase)) {
321if (String.Equals(streamName, ConfigurationManagerInternalFactory.Instance.ExeLocalConfigPath, StringComparison.OrdinalIgnoreCase) ||
322String.Equals(streamName, ConfigurationManagerInternalFactory.Instance.ExeRoamingConfigPath, StringComparison.OrdinalIgnoreCase)) {
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemLoader.cs (14)
118if (current.EndsWith(".bmp", StringComparison.OrdinalIgnoreCase) ||
119current.EndsWith(".jpg", StringComparison.OrdinalIgnoreCase) ||
120current.EndsWith(".gif", StringComparison.OrdinalIgnoreCase) ||
121current.EndsWith(".png", StringComparison.OrdinalIgnoreCase) ||
122current.EndsWith(".tiff", StringComparison.OrdinalIgnoreCase) ||
123current.EndsWith(".jpeg", StringComparison.OrdinalIgnoreCase) ||
124current.EndsWith(".exig", StringComparison.OrdinalIgnoreCase))
138if (!current.EndsWith(".bmp", StringComparison.OrdinalIgnoreCase) &&
139!current.EndsWith(".jpg", StringComparison.OrdinalIgnoreCase) &&
140!current.EndsWith(".gif", StringComparison.OrdinalIgnoreCase) &&
141!current.EndsWith(".png", StringComparison.OrdinalIgnoreCase) &&
142!current.EndsWith(".tiff", StringComparison.OrdinalIgnoreCase) &&
143!current.EndsWith(".jpeg", StringComparison.OrdinalIgnoreCase) &&
144!current.EndsWith(".exig", StringComparison.OrdinalIgnoreCase))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (2)
472Func<DesignTimeArgument, bool> checkForDuplicates = new Func<DesignTimeArgument, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, newName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetArgumentName(), identifierName));
491Func<DesignTimeArgument, bool> checkForOldNameDuplicates = new Func<DesignTimeArgument, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, oldName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetArgumentName(), identifier));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
160Func<DesignTimeVariable, bool> checkForDuplicates = new Func<DesignTimeVariable, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, newName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetVariableName(), identifierName));
179Func<DesignTimeVariable, bool> checkForOldNameDuplicates = new Func<DesignTimeVariable, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, oldName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetVariableName(), identifier));
fx\src\data\System\Data\DataTable.cs (2)
3377if (length >= 5 && String.Compare(current, length - 4, " ASC", 0, 4, StringComparison.OrdinalIgnoreCase) == 0) {
3380else if (length >= 6 && String.Compare(current, length - 5, " DESC", 0, 5, StringComparison.OrdinalIgnoreCase) == 0) {
fx\src\data\System\Data\Sql\SqlDataSourceEnumerator.cs (2)
128Debug.Assert(String.Compare(_Cluster, 0, instance2, 0, _clusterLength, StringComparison.OrdinalIgnoreCase) == 0);
133Debug.Assert(String.Compare(_Version, 0, instance2, 0, _versionLength, StringComparison.OrdinalIgnoreCase) == 0);
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (11)
375if (!String.Equals(DEFAULT.FailoverPartner, _failoverPartner, StringComparison.OrdinalIgnoreCase)) {
382if (String.Equals(DEFAULT.Initial_Catalog, _initialCatalog, StringComparison.OrdinalIgnoreCase)) {
422if (typeSystemVersionString.Equals(TYPESYSTEMVERSION.Latest, StringComparison.OrdinalIgnoreCase)) {
425else if (typeSystemVersionString.Equals(TYPESYSTEMVERSION.SQL_Server_2000, StringComparison.OrdinalIgnoreCase)) {
431else if (typeSystemVersionString.Equals(TYPESYSTEMVERSION.SQL_Server_2005, StringComparison.OrdinalIgnoreCase)) {
434else if (typeSystemVersionString.Equals(TYPESYSTEMVERSION.SQL_Server_2008, StringComparison.OrdinalIgnoreCase)) {
437else if (typeSystemVersionString.Equals(TYPESYSTEMVERSION.SQL_Server_2012, StringComparison.OrdinalIgnoreCase)) {
449if (transactionBindingString.Equals(TRANSACIONBINDING.ImplicitUnbind, StringComparison.OrdinalIgnoreCase)) {
452else if (transactionBindingString.Equals(TRANSACIONBINDING.ExplicitUnbind, StringComparison.OrdinalIgnoreCase)) {
615if (host.Equals(name, StringComparison.OrdinalIgnoreCase)) {
621else if (host.StartsWith(name+@"\", StringComparison.OrdinalIgnoreCase)) {
System\ServiceModel\Channels\BaseUriWithWildcard.cs (8)
179if (protocol.Equals(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase))
185else if (protocol.Equals(Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase))
190else if (protocol.Equals(Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase))
195else if (protocol.Equals(Uri.UriSchemeNetPipe, StringComparison.OrdinalIgnoreCase))
199else if (protocol.Equals(MsmqUri.NetMsmqAddressTranslator.Scheme, StringComparison.OrdinalIgnoreCase))
203else if (protocol.Equals(MsmqUri.FormatNameAddressTranslator.Scheme, StringComparison.OrdinalIgnoreCase))
252if (string.Compare(baseAddress.Host, fullAddress.Host, StringComparison.OrdinalIgnoreCase) != 0)
272return string.Compare(s2, 0, s1, 0, s1.Length, StringComparison.OrdinalIgnoreCase) == 0;
System\ServiceModel\Channels\HttpChannelHelpers.cs (33)
1309bool httpMethodIsHead = string.Compare(this.HttpMethod, "HEAD", StringComparison.OrdinalIgnoreCase) == 0;
2540if (string.Compare(name, "accept", StringComparison.OrdinalIgnoreCase) == 0)
2544else if (string.Compare(name, "connection", StringComparison.OrdinalIgnoreCase) == 0)
2546if (value.IndexOf("keep-alive", StringComparison.OrdinalIgnoreCase) != -1)
2555else if (string.Compare(name, "SOAPAction", StringComparison.OrdinalIgnoreCase) == 0)
2570else if (string.Compare(name, "content-length", StringComparison.OrdinalIgnoreCase) == 0)
2574else if (string.Compare(name, "content-type", StringComparison.OrdinalIgnoreCase) == 0)
2579else if (string.Compare(name, "expect", StringComparison.OrdinalIgnoreCase) == 0)
2581if (value.ToUpperInvariant().IndexOf("100-CONTINUE", StringComparison.OrdinalIgnoreCase) != -1)
2590else if (string.Compare(name, "host", StringComparison.OrdinalIgnoreCase) == 0)
2594else if (string.Compare(name, "referer", StringComparison.OrdinalIgnoreCase) == 0)
2599else if (string.Compare(name, "transfer-encoding", StringComparison.OrdinalIgnoreCase) == 0)
2601if (value.ToUpperInvariant().IndexOf("CHUNKED", StringComparison.OrdinalIgnoreCase) != -1)
2610else if (string.Compare(name, "user-agent", StringComparison.OrdinalIgnoreCase) == 0)
2614else if (string.Compare(name, "if-modified-since", StringComparison.OrdinalIgnoreCase) == 0)
2627else if (string.Compare(name, "date", StringComparison.OrdinalIgnoreCase) == 0)
2631else if (string.Compare(name, "proxy-connection", StringComparison.OrdinalIgnoreCase) == 0)
2635else if (string.Compare(name, "range", StringComparison.OrdinalIgnoreCase) == 0)
2660|| httpWebRequest.ContentType.ToUpperInvariant().IndexOf("ACTION", StringComparison.OrdinalIgnoreCase) != -1)
2964bool httpMethodIsHead = string.Compare(this.httpMethod, "HEAD", StringComparison.OrdinalIgnoreCase) == 0;
2988if (string.Compare(name, "content-length", StringComparison.OrdinalIgnoreCase) == 0)
2999else if (string.Compare(name, "content-type", StringComparison.OrdinalIgnoreCase) == 0)
3007else if (string.Compare(name, "Connection", StringComparison.OrdinalIgnoreCase) == 0 &&
3009string.Compare(value.Trim(), "close", StringComparison.OrdinalIgnoreCase) == 0 &&
3041if (string.Compare(name, "WWW-Authenticate", StringComparison.OrdinalIgnoreCase) == 0)
3390if (String.Compare(headerName, "Referer", StringComparison.OrdinalIgnoreCase) == 0)
3538if (string.Compare(statusDescription, HttpChannelUtilities.StatusDescriptionStrings.HttpContentTypeMissing, StringComparison.OrdinalIgnoreCase) == 0)
3612string.Compare(response.StatusDescription, HttpChannelUtilities.StatusDescriptionStrings.HttpStatusServiceActivationException, StringComparison.OrdinalIgnoreCase) == 0)
3836&& string.Compare(response.StatusDescription, HttpChannelUtilities.StatusDescriptionStrings.HttpStatusServiceActivationException, StringComparison.OrdinalIgnoreCase) == 0)
3922if (string.Equals(BinaryVersion.GZipVersion1.ContentType, contentType, StringComparison.OrdinalIgnoreCase) ||
3923(isSession = string.Equals(BinaryVersion.GZipVersion1.SessionContentType, contentType, StringComparison.OrdinalIgnoreCase)) ||
3924(isDeflate = (string.Equals(BinaryVersion.DeflateVersion1.ContentType, contentType, StringComparison.OrdinalIgnoreCase) ||
3925(isSession = string.Equals(BinaryVersion.DeflateVersion1.SessionContentType, contentType, StringComparison.OrdinalIgnoreCase)))))
System\ServiceModel\Channels\MsmqUri.cs (6)
100if (relativePath.StartsWith("/private$", StringComparison.OrdinalIgnoreCase))
103if (relativePath.StartsWith(privatePart, StringComparison.OrdinalIgnoreCase))
148if (0 == String.Compare(uri.Host, "localhost", StringComparison.OrdinalIgnoreCase))
199if (0 == String.Compare(uri.Host, "localhost", StringComparison.OrdinalIgnoreCase))
239if (0 == String.Compare(uri.Host, "localhost", StringComparison.OrdinalIgnoreCase))
243if (0 == String.Compare(DnsCache.MachineName, DnsCache.Resolve(uri).HostName, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Channels\TransportChannelListener.cs (5)
115if (string.Compare(context.ListenUriBaseAddress.Scheme, this.Scheme, StringComparison.OrdinalIgnoreCase) != 0)
572if ((String.Compare(this.Uri.Scheme, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) == 0) ||
573(String.Compare(this.Uri.Scheme, Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) == 0)
580else if ((String.Compare(this.Uri.Scheme, Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase) == 0) ||
581(String.Compare(this.Uri.Scheme, Uri.UriSchemeNetPipe, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Description\ClientClassGenerator.cs (9)
373if (string.Compare(typeDeclaration.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
380if (string.Compare(member.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
394if (string.Compare(codeTypeDeclaration.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
424if (String.Compare(operationContext.SyncMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
428if (String.Compare(operationContext.BeginMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
430if (String.Compare(operationContext.EndMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
435if (String.Compare(operationContext.TaskMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
445if (String.Compare(method.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
450if (String.Compare(p.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Description\ServiceMetadataExtension.cs (9)
827if (String.Compare(query, HealthQueryString, StringComparison.OrdinalIgnoreCase) != 0)
909if (String.Compare(query, WsdlQueryString, StringComparison.OrdinalIgnoreCase) == 0)
936if (String.Compare(query, SingleWsdlQueryString, StringComparison.OrdinalIgnoreCase) == 0)
993if (String.Compare(q, start, WsdlQueryString, 0, WsdlQueryString.Length, StringComparison.OrdinalIgnoreCase) == 0)
995else if (String.Compare(q, start, XsdQueryString, 0, XsdQueryString.Length, StringComparison.OrdinalIgnoreCase) == 0)
997else if (String.Compare(q, start, SingleWsdlQueryString, 0, SingleWsdlQueryString.Length, StringComparison.OrdinalIgnoreCase) == 0)
999else if (String.Compare(q, start, HealthQueryString, 0, HealthQueryString.Length, StringComparison.OrdinalIgnoreCase) == 0)
1001else if (parent.HelpPageEnabled && (String.Compare(q, start, DiscoQueryString, 0, DiscoQueryString.Length, StringComparison.OrdinalIgnoreCase) == 0))
1014if (queryString.StartsWith("?", StringComparison.OrdinalIgnoreCase))
CachedPathData.cs (3)
555if (0 == String.Compare(_physicalPath, 0, physicalPath, 0, physicalPath.Length, StringComparison.OrdinalIgnoreCase)) {
562&& (0 == String.Compare(_physicalPath, 0, physicalPath, 0, physicalPath.Length, StringComparison.OrdinalIgnoreCase))) {
569&& (0 == String.Compare(_physicalPath, 0, physicalPath, 0, _physicalPath.Length, StringComparison.OrdinalIgnoreCase))) {
UI\ControlBuilder.cs (8)
144where simplePropertyEntry != null && simplePropertyEntry.Name.Equals(ItemTypeProperty, StringComparison.OrdinalIgnoreCase)
754if (String.Equals(bpe.Name, entry.Name, StringComparison.OrdinalIgnoreCase) &&
755String.Equals(bpe.Filter, entry.Filter, StringComparison.OrdinalIgnoreCase)) {
936if (String.Equals(entry.Name, "ID", StringComparison.OrdinalIgnoreCase) &&
960if (IgnoreControlProperty && !name.Equals(ItemTypeProperty, StringComparison.OrdinalIgnoreCase)) {
969if (String.Equals(name, BaseTemplateCodeDomTreeGenerator.skinIDPropertyName, StringComparison.OrdinalIgnoreCase) &&
1240if (s.StartsWith("<", StringComparison.OrdinalIgnoreCase)) {
1967String.Equals(builder.SkinID, SkinID, StringComparison.OrdinalIgnoreCase)) {
UI\HtmlControls\HtmlHead.cs (5)
22if (String.Equals(tagName, "title", StringComparison.OrdinalIgnoreCase))
25if (String.Equals(tagName, "link", StringComparison.OrdinalIgnoreCase))
28if (String.Equals(tagName, "meta", StringComparison.OrdinalIgnoreCase))
149if (_description == null && string.Equals(meta.Name, "description", StringComparison.OrdinalIgnoreCase)) {
152else if (_keywords == null && string.Equals(meta.Name, "keywords", StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\FontUnit.cs (13)
163if (String.Equals(value, "xx-small", StringComparison.OrdinalIgnoreCase) ||
164String.Equals(value, "xxsmall", StringComparison.OrdinalIgnoreCase)) {
168else if (String.Equals(value, "x-small", StringComparison.OrdinalIgnoreCase) ||
169String.Equals(value, "xsmall", StringComparison.OrdinalIgnoreCase)) {
173else if (String.Equals(value, "x-large", StringComparison.OrdinalIgnoreCase) ||
174String.Equals(value, "xlarge", StringComparison.OrdinalIgnoreCase)) {
178else if (String.Equals(value, "xx-large", StringComparison.OrdinalIgnoreCase) ||
179String.Equals(value, "xxlarge", StringComparison.OrdinalIgnoreCase)) {
185if (String.Equals(value, "small", StringComparison.OrdinalIgnoreCase)) {
189else if (String.Equals(value, "smaller", StringComparison.OrdinalIgnoreCase)) {
195if (String.Equals(value, "large", StringComparison.OrdinalIgnoreCase)) {
199if (String.Equals(value, "larger", StringComparison.OrdinalIgnoreCase)) {
204else if ((firstChar == 'm') && String.Equals(value, "medium", StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\ModelDataSourceView.cs (6)
252if (String.Equals(StartRowIndexParameterName, parameterName, StringComparison.OrdinalIgnoreCase)) {
258if (String.Equals(MaximumRowsParameterName, parameterName, StringComparison.OrdinalIgnoreCase)) {
264if (String.Equals(TotalRowCountParameterName, parameterName, StringComparison.OrdinalIgnoreCase)) {
299if (String.Equals(SortParameterName, parameterName, StringComparison.OrdinalIgnoreCase)) {
1147MethodInfo[] actionMethods = Array.FindAll(allMethods, methodInfo => methodInfo.Name.Equals(methodName, StringComparison.OrdinalIgnoreCase));
1167if (parameterInfo.ParameterType.IsByRef && !parameterInfo.Name.Equals(TotalRowCountParameterName, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\ObjectDataSourceView.cs (5)
1371if (String.Equals(methodName, mi.Name, StringComparison.OrdinalIgnoreCase)) {
1426if (String.Equals(param1Name, formattedParamName, StringComparison.OrdinalIgnoreCase)) {
1432if (String.Equals(param0Name, formattedParamName, StringComparison.OrdinalIgnoreCase)) {
1486if (String.Equals(methodName, mi.Name, StringComparison.OrdinalIgnoreCase)) {
1780if (String.Equals(p.Name, parameterName, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\Wizard.cs (6)
1456if (!MoveToCommandName.Equals(e.CommandName, StringComparison.OrdinalIgnoreCase)) {
1738if (String.Equals(CancelCommandName, ce.CommandName, StringComparison.OrdinalIgnoreCase)) {
1769if (String.Equals(MoveNextCommandName, ce.CommandName, StringComparison.OrdinalIgnoreCase)) {
1782} else if (String.Equals(MovePreviousCommandName, ce.CommandName, StringComparison.OrdinalIgnoreCase)) {
1798} else if (String.Equals(MoveCompleteCommandName, ce.CommandName, StringComparison.OrdinalIgnoreCase)) {
1811} else if (String.Equals(MoveToCommandName, ce.CommandName, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\ConnectionsZone.cs (8)
1302String.Equals(eventArguments[0], disconnectEventArgument, StringComparison.OrdinalIgnoreCase)) {
1313String.Equals(eventArguments[0], connectEventArgument, StringComparison.OrdinalIgnoreCase)) {
1317if (String.Equals(eventArguments[1], providerEventArgument, StringComparison.OrdinalIgnoreCase)) {
1326String.Equals(eventArguments[0], configureEventArgument, StringComparison.OrdinalIgnoreCase)) {
1332else if (String.Equals(eventArgument, connectConsumerEventArgument, StringComparison.OrdinalIgnoreCase)) {
1336else if (String.Equals(eventArgument, connectProviderEventArgument, StringComparison.OrdinalIgnoreCase)) {
1340else if (String.Equals(eventArgument, closeEventArgument, StringComparison.OrdinalIgnoreCase)) {
1347else if (String.Equals(eventArgument, cancelEventArgument, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\WebPartZoneBase.cs (9)
995String.Equals(eventArguments[0], dragEventArgument, StringComparison.OrdinalIgnoreCase));
1000String.Equals(eventArguments[0], partVerbEventArgument, StringComparison.OrdinalIgnoreCase));
1005String.Equals(eventArguments[0], zoneVerbEventArgument, StringComparison.OrdinalIgnoreCase));
1069if (String.Equals(verbEventArgument, closeEventArgument, StringComparison.OrdinalIgnoreCase)) {
1074else if (String.Equals(verbEventArgument, connectEventArgument, StringComparison.OrdinalIgnoreCase)) {
1079else if (String.Equals(verbEventArgument, deleteEventArgument, StringComparison.OrdinalIgnoreCase)) {
1084else if (String.Equals(verbEventArgument, editEventArgument, StringComparison.OrdinalIgnoreCase)) {
1089else if (String.Equals(verbEventArgument, minimizeEventArgument, StringComparison.OrdinalIgnoreCase)) {
1094else if (String.Equals(verbEventArgument, restoreEventArgument, StringComparison.OrdinalIgnoreCase)) {
Util\StringUtil.cs (4)
101return 0 == string.Compare(s1, 0, s2, 0, s2.Length, StringComparison.OrdinalIgnoreCase);
105return String.Compare(s1, index1, s2, index2, length, StringComparison.OrdinalIgnoreCase) == 0;
160return 0 == string.Compare(s1, offset, s2, 0, s2.Length, StringComparison.OrdinalIgnoreCase);
205return 0 == string.Compare(s1, 0, s2, 0, s2.Length, StringComparison.OrdinalIgnoreCase);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (5)
290else if (String.Compare(request.HttpMethod, "POST", StringComparison.OrdinalIgnoreCase) == 0) {
308return String.Equals(type, "xhtml-basic", StringComparison.OrdinalIgnoreCase) ||
309String.Equals(type, "xhtml-mp", StringComparison.OrdinalIgnoreCase) ||
310String.Equals(type, "wml20", StringComparison.OrdinalIgnoreCase);
380!String.Equals(supportsXmlDeclaration, "false", StringComparison.OrdinalIgnoreCase)) {
UI\MobileControls\Design\StylesEditorDialog.cs (5)
501if (String.Compare(name, styleNode.RuntimeStyle.Name, StringComparison.OrdinalIgnoreCase) == 0)
689if (String.Compare(oldValue, newValue , StringComparison.OrdinalIgnoreCase) != 0 && StyleIndex(newValue) >= 0)
1009if (0 == String.Compare(style.Name, reference, StringComparison.OrdinalIgnoreCase))
1082if (0 == String.Compare(style.Name, reference, StringComparison.OrdinalIgnoreCase))
1239if (0 == String.Compare(RuntimeStyle.Name, reference, StringComparison.OrdinalIgnoreCase))