4573 references to StringComparison
ComSvcConfig (4)
ComplusTypeValidator.cs (1)
304iid.ToString("D").ToLowerInvariant().EndsWith("c000-000000000046", StringComparison.Ordinal)) //other ole/com standard interfaces
Options.cs (2)
221if (string.Equals(argValue, Enum.GetName(typeof(Hosting), Hosting.Complus), StringComparison.OrdinalIgnoreCase)) 225else if (string.Equals(argValue, Enum.GetName(typeof(Hosting), Hosting.Was), StringComparison.OrdinalIgnoreCase))
WasAdminWrapper.cs (1)
151if (!webDirectory.ToUpperInvariant().StartsWith("ROOT", StringComparison.Ordinal))
Microsoft.Activities.Build (14)
Microsoft\Activities\Build\BeforeInitializeComponentExtension.cs (6)
85if (string.Equals(language, "VB", StringComparison.OrdinalIgnoreCase)) 105if (string.Equals(language, "VB", StringComparison.OrdinalIgnoreCase)) 156if (string.Equals(language, "C#", StringComparison.OrdinalIgnoreCase)) 160else if (string.Equals(language, "VB", StringComparison.OrdinalIgnoreCase)) 202return string.Equals(buildContext.Language, "C#", StringComparison.OrdinalIgnoreCase) || 203string.Equals(buildContext.Language, "VB", StringComparison.OrdinalIgnoreCase);
Microsoft\Activities\Build\Expressions\ExpressionsBuildExtension.cs (3)
40if (string.Equals(this.buildContext.Language, "VB", StringComparison.OrdinalIgnoreCase) && File.Exists(deferredValidationErrorsFilePath)) 120if (string.Equals(buildContext.Language, "VB", StringComparison.OrdinalIgnoreCase)) 128int firstIndex = fullActivityNamespace.IndexOf(buildContext.RootNamespace, StringComparison.Ordinal);
Microsoft\Activities\Build\Validation\ValidationBuildExtension.cs (2)
269if (String.IsNullOrEmpty(skipWorkflowValidationValue) || String.Equals(skipWorkflowValidationValue, "false", StringComparison.OrdinalIgnoreCase)) 273else if (String.Equals(skipWorkflowValidationValue, "true", StringComparison.OrdinalIgnoreCase))
Microsoft\Activities\Build\WorkflowBuildMessageTask.cs (3)
43if (string.Equals(this.MessageType, "Error", StringComparison.OrdinalIgnoreCase)) 48else if (string.Equals(this.MessageType, "Warning", StringComparison.OrdinalIgnoreCase)) 53else if (string.Equals(this.MessageType, "Message", StringComparison.OrdinalIgnoreCase))
mscorlib (379)
microsoft\win32\registrykey.cs (2)
2157int nextSlash = name.IndexOf("\\", StringComparison.OrdinalIgnoreCase); 2164nextSlash = name.IndexOf("\\", current, StringComparison.OrdinalIgnoreCase);
parent\parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (1)
62int index = envVar.IndexOf(cacheName, StringComparison.OrdinalIgnoreCase);
system\__filters.cs (3)
126return (name.StartsWith(str, StringComparison.Ordinal)); 151return (String.Compare(name,0,str,0,str.Length,StringComparison.OrdinalIgnoreCase)==0); 154return (String.Compare(str,name, StringComparison.OrdinalIgnoreCase) == 0);
system\AppContext\AppContextDefaultValues.cs (2)
128if (key.Equals(c_versionKey, StringComparison.OrdinalIgnoreCase)) 148else if (key.Equals(c_profileKey, StringComparison.OrdinalIgnoreCase))
system\appdomain.cs (3)
2204(String.Compare(s, "true", StringComparison.OrdinalIgnoreCase) == 0)) 4055StringComparison.OrdinalIgnoreCase); 4168if (String.Equals(propertyNames[i], "PARTIAL_TRUST_VISIBLE_ASSEMBLIES", StringComparison.Ordinal)) {
system\AppDomainSetup.cs (12)
346(String.Compare( path, 0, "file:", 0, 5, StringComparison.OrdinalIgnoreCase) == 0)) { 442int index = appBase.IndexOf(":/", StringComparison.Ordinal); 444index = appBase.IndexOf(":\\", StringComparison.Ordinal); 470if (appBase.IndexOf(":/", StringComparison.Ordinal) == -1) 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\boolean.cs (4)
179if (TrueLiteral.Equals(value, StringComparison.OrdinalIgnoreCase)) { 183if (FalseLiteral.Equals(value,StringComparison.OrdinalIgnoreCase)) { 191if (TrueLiteral.Equals(value, StringComparison.OrdinalIgnoreCase)) { 196if (FalseLiteral.Equals(value,StringComparison.OrdinalIgnoreCase)) {
system\cfgparser.cs (4)
327&& String.Compare(text, treeRootPath[searchDepth], StringComparison.Ordinal) == 0)) 357if(depth == searchDepth && String.Compare(text, treeRootPath[searchDepth - 1], StringComparison.Ordinal) == 0) 396String.Compare(text, treeRootPath[0], StringComparison.OrdinalIgnoreCase) == 0) 398String.Compare(text, treeRootPath[pathDepth], StringComparison.OrdinalIgnoreCase) == 0 ))
system\diagnostics\eventing\eventsource.cs (9)
2921if (string.Compare(activityFilterString, "false", StringComparison.OrdinalIgnoreCase) == 0 || 3222string.Equals(attributeType.FullName, reflectedAttributeType.FullName, StringComparison.Ordinal) || 3225string.Equals(attributeType.Name, reflectedAttributeType.Name, StringComparison.Ordinal) && 3584string.Compare(args[0].Name, "relatedActivityId", StringComparison.OrdinalIgnoreCase) == 0) 5374string.Compare(ed[j].Name, activityFilterString, StringComparison.OrdinalIgnoreCase) == 0) 6067if (opcodeTab.TryGetValue(value, out prevName) && !name.Equals(prevName, StringComparison.Ordinal)) 6079if (taskTab != null && taskTab.TryGetValue(value, out prevName) && !name.Equals(prevName, StringComparison.Ordinal)) 6092if (value >= 0x0000100000000000UL && !name.StartsWith("Session", StringComparison.Ordinal)) 6095if (keywordTab != null && keywordTab.TryGetValue(value, out prevName) && !name.Equals(prevName, StringComparison.Ordinal))
system\diagnostics\stacktrace.cs (1)
505if (String.Compare(ns, PackageName, StringComparison.Ordinal) != 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 (10)
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); 590return source.StartsWith(prefix, StringComparison.Ordinal); 639return source.EndsWith(suffix, StringComparison.OrdinalIgnoreCase); 643return source.EndsWith(suffix, StringComparison.Ordinal); 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\globalization\culturedata.cs (4)
522if (cultureName.Equals("iw", StringComparison.OrdinalIgnoreCase)) 526else if (cultureName.Equals("tl", StringComparison.OrdinalIgnoreCase)) 530else if (cultureName.Equals("english", StringComparison.OrdinalIgnoreCase)) 844if (String.Compare(specifics[i].m_cultureData.SREGIONNAME, cultureName, StringComparison.OrdinalIgnoreCase) == 0)
system\globalization\datetimeformatinfo.cs (1)
769if (String.Compare(eraName, m_abbrevEnglishEraNames[i], StringComparison.InvariantCultureIgnoreCase)==0) {
system\globalization\datetimeparse.cs (1)
2366raw.hasSameDateAndTimeSeparators = dtfi.DateSeparator.Equals(dtfi.TimeSeparator, StringComparison.Ordinal);
system\globalization\hijricalendar.cs (1)
283if (String.Compare(str, 0, HijriAdvanceRegKeyEntry, 0, HijriAdvanceRegKeyEntry.Length, StringComparison.OrdinalIgnoreCase) == 0) {
system\globalization\idnmapping.cs (3)
259if (!ascii.Equals(GetAscii(strUnicode), StringComparison.OrdinalIgnoreCase)) 674M_strAcePrefix, StringComparison.OrdinalIgnoreCase)) 856M_strAcePrefix, StringComparison.OrdinalIgnoreCase))
system\globalization\regioninfo.cs (1)
150this.m_name = name.Equals(this.m_cultureData.SREGIONNAME, StringComparison.OrdinalIgnoreCase) ?
system\io\directory.cs (2)
1255if (String.Compare(sourcePath, destPath, StringComparison.OrdinalIgnoreCase) == 0) 1260if (String.Compare(sourceRoot, destinationRoot, StringComparison.OrdinalIgnoreCase) != 0)
system\io\directoryinfo.cs (3)
244if (0!=String.Compare(FullPath,0,fullPath,0, FullPath.Length,StringComparison.OrdinalIgnoreCase)) { 668if (String.Compare(fullSourcePath, fullDestDirName, StringComparison.OrdinalIgnoreCase) == 0) 674if (String.Compare(sourceRoot, destinationRoot, StringComparison.OrdinalIgnoreCase) != 0)
system\io\driveinfo.cs (1)
68if (_name == null || _name.Length == 0 || _name.StartsWith("\\\\", StringComparison.Ordinal))
system\io\filestream.cs (1)
728filePath.StartsWith("\\\\.\\", StringComparison.Ordinal))
system\io\isolatedstorage\isolatedstoragefile.cs (10)
562if (path.EndsWith(Path.DirectorySeparatorChar + ".", StringComparison.Ordinal)) { 563if (fullPath.EndsWith(Path.DirectorySeparatorChar.ToString(), StringComparison.Ordinal)) { 606if (isPath.EndsWith(Path.DirectorySeparatorChar + ".", StringComparison.Ordinal)) { 1148if (normalizedDir.Equals(LongPath.NormalizePath(GetFullPath(".")), StringComparison.Ordinal)) { 1524file, IsolatedStorageFile.s_IDFile, StringComparison.Ordinal) != 0); 1530String.Compare(file, IsolatedStorageFile.s_InfoFile, StringComparison.Ordinal) != 0 && 1531String.Compare(file, IsolatedStorageFile.s_AppInfoFile, StringComparison.Ordinal) != 0); 1537dir, IsolatedStorageFile.s_Files, StringComparison.Ordinal) != 0); 1542dir, IsolatedStorageFile.s_AssemFiles, StringComparison.Ordinal) != 0); 1548dir, IsolatedStorageFile.s_AppFiles, StringComparison.Ordinal) != 0);
system\io\longpath.cs (7)
643if (String.Compare(sourcePath, destPath, StringComparison.OrdinalIgnoreCase) == 0) 648if (String.Compare(sourceRoot, destinationRoot, StringComparison.OrdinalIgnoreCase) != 0) 741if (fullPath.EndsWith(Path.DirectorySeparatorChar.ToString(), StringComparison.Ordinal)) 962if (fullPath.EndsWith(Path.DirectorySeparatorChar.ToString(), StringComparison.Ordinal) 963|| fullPath.EndsWith(Path.AltDirectorySeparatorChar.ToString(), StringComparison.Ordinal)) 970if (!(fullPath.EndsWith(Path.DirectorySeparatorChar.ToString(), StringComparison.Ordinal) 971|| fullPath.EndsWith(Path.AltDirectorySeparatorChar.ToString(), StringComparison.Ordinal)))
system\io\path.cs (8)
205if (path.IndexOf("~", StringComparison.Ordinal) != -1) 921if (String.Equals(returnVal, path, StringComparison.Ordinal)) 939return path.StartsWith(LongPathPrefix, StringComparison.Ordinal); 948if (path.StartsWith(LongPathPrefix, StringComparison.Ordinal)) 951if (path.StartsWith(UNCPathPrefix, StringComparison.Ordinal)) 966if (!path.StartsWith(LongPathPrefix, StringComparison.Ordinal)) 969if (path.StartsWith(UNCLongPathPrefix, StringComparison.OrdinalIgnoreCase)) 1375while ((index = searchPattern.IndexOf("..", StringComparison.Ordinal)) != -1) {
system\io\pathhelper.cs (3)
359return compareTo.Equals(s, StringComparison.OrdinalIgnoreCase); 372return m_sb.ToString().StartsWith(compareTo, StringComparison.OrdinalIgnoreCase); 375return m_sb.ToString().StartsWith(compareTo, StringComparison.Ordinal);
system\io\pathinternal.cs (1)
174if (path.StartsWith(UncPathPrefix, StringComparison.OrdinalIgnoreCase))
system\reflection\__filters.cs (3)
43return cls.Name.StartsWith(str, StringComparison.Ordinal); 65return (String.Compare(name,0,str,0,str.Length, StringComparison.OrdinalIgnoreCase)==0); 69return (String.Compare(str,cls.Name, StringComparison.OrdinalIgnoreCase) == 0);
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\reflection\emit\assemblybuilderdata.cs (4)
353if (String.Compare(moduleBuilder.m_moduleData.m_strFileName, strFileName, StringComparison.OrdinalIgnoreCase) == 0) 366if (String.Compare(resWriter.m_strFileName, strFileName, StringComparison.OrdinalIgnoreCase) == 0) 389if (String.Compare(moduleBuilder.m_moduleData.m_strFileName, strFileName, StringComparison.OrdinalIgnoreCase) == 0) 411if (String.Compare(moduleBuilder.m_moduleData.m_strModuleName, strName, StringComparison.OrdinalIgnoreCase) == 0)
system\reflection\emit\modulebuilder.cs (1)
364if (String.Compare(name, strTypeName, (StringComparison.OrdinalIgnoreCase)) == 0)
system\resources\resourcemanager.cs (3)
943if (String.Compare(asmTypeName1, 0, typeName2, 0, typeName2.Length, StringComparison.Ordinal) != 0) 954if (String.Compare(an1.Name, asmName2.Name, StringComparison.OrdinalIgnoreCase) != 0) 958if (String.Compare(an1.Name, "mscorlib", StringComparison.OrdinalIgnoreCase) == 0)
system\resources\resourcewriter.cs (1)
574if (typeName.StartsWith("ResourceTypeCode.", StringComparison.Ordinal)) {
system\rttype.cs (5)
657RuntimeMethodHandle.GetName(methodHandle).StartsWith("IL_STUB", StringComparison.Ordinal)); 2277int nsDelimiter = fullname.LastIndexOf(".", StringComparison.Ordinal); 2351if (allowPrefixLookup && name.EndsWith("*", StringComparison.Ordinal)) 2382if (!memberInfo.Name.StartsWith(name, StringComparison.OrdinalIgnoreCase)) 2387if (!memberInfo.Name.StartsWith(name, StringComparison.Ordinal))
system\runtime\interopservices\marshal.cs (3)
1372if (customManagedNamespace.EndsWith(".DLL", StringComparison.OrdinalIgnoreCase)) 1374else if (customManagedNamespace.EndsWith(".EXE", StringComparison.OrdinalIgnoreCase)) 1644AsmNameString,StringComparison.Ordinal) == 0)
system\runtime\interopservices\typelibconverter.cs (3)
317bool bExtensionValid = ".dll".Equals(strExtension, StringComparison.OrdinalIgnoreCase); 583if (String.Compare(asm.FullName, args.Name, StringComparison.OrdinalIgnoreCase) == 0) 594if (String.Compare(asm.FullName, args.Name, StringComparison.OrdinalIgnoreCase) == 0)
system\runtime\remoting\activationservices.cs (1)
1193if (!appURL.EndsWith("/", StringComparison.Ordinal))
system\runtime\remoting\callcontext.cs (2)
709if (!key.StartsWith("__", StringComparison.Ordinal)) 730if (!key.StartsWith("__", StringComparison.Ordinal))
system\runtime\remoting\channelservices.cs (1)
1278if(String.Compare(name, GetChannel(i).ChannelName, StringComparison.OrdinalIgnoreCase) == 0)
system\runtime\remoting\configuration.cs (4)
239if (_applicationName.StartsWith("/", StringComparison.Ordinal)) 241if (_applicationName.EndsWith("/", StringComparison.Ordinal)) 1014if ((appUri != null) && !appUri.EndsWith("/", StringComparison.Ordinal)) 1338if (String.Compare(svc.AssemblyName, 0, asmName, 0, asmName.Length, StringComparison.OrdinalIgnoreCase) == 0)
system\runtime\remoting\crossappdomainchannel.cs (1)
126if(url.StartsWith(_channelName, StringComparison.Ordinal))
system\runtime\remoting\ichannel.cs (3)
431if (String.Compare((String)entry.Key, strKey, StringComparison.OrdinalIgnoreCase) == 0) 452if (String.Compare(headerKey, strKey, StringComparison.OrdinalIgnoreCase) == 0) 664if (String.Compare(keyStr, someKeyStr, StringComparison.OrdinalIgnoreCase) == 0)
system\runtime\remoting\message.cs (2)
3490if (!memberName.StartsWith("__param", StringComparison.Ordinal)) 4466if (!memberName.StartsWith("__param", StringComparison.Ordinal))
system\runtime\remoting\remotingconfigparser.cs (4)
863if (String.Compare(value, "on", StringComparison.OrdinalIgnoreCase) == 0) 865else if (String.Compare(value, "off", StringComparison.OrdinalIgnoreCase) == 0) 867else if (String.Compare(value, "remoteonly", StringComparison.OrdinalIgnoreCase) == 0) 1827if (time.EndsWith("ms", StringComparison.Ordinal))
system\runtime\remoting\remotingsurrogateselector.cs (1)
337if (ex.Message.StartsWith("MustUnderstand", StringComparison.Ordinal))
system\runtime\remoting\soap.cs (6)
602if (namespaceString.StartsWith(startNS, StringComparison.Ordinal)) 649if (inNamespace.StartsWith(assemblyNS, StringComparison.Ordinal)) 651else if (inNamespace.StartsWith(namespaceNS, StringComparison.Ordinal)) 653else if (inNamespace.StartsWith(fullNS, StringComparison.Ordinal)) 796if (uri.StartsWith(urtNSprefix, StringComparison.Ordinal)) 809if (uri.StartsWith(systemNSprefix, StringComparison.Ordinal))
system\runtime\remoting\soapinteroptypes.cs (2)
209if (value.EndsWith("Z", StringComparison.Ordinal)) 463if (value.EndsWith("Z", StringComparison.Ordinal))
system\runtime\serialization\serializationinfo.cs (2)
206if (string.Equals(newAssembly.Name, s_mscorlibAssemblySimpleName, StringComparison.OrdinalIgnoreCase) || 207string.Equals(newAssembly.Name, s_mscorlibFileName, StringComparison.OrdinalIgnoreCase))
system\runtime\versioning\binarycompatibility.cs (3)
332else if (profile.StartsWith("WindowsPhone", StringComparison.Ordinal)) 414if (key.Equals(c_versionKey, StringComparison.OrdinalIgnoreCase)) 434else if (key.Equals(c_profileKey, StringComparison.OrdinalIgnoreCase))
system\security\claims\Claim.cs (4)
535if (!string.Equals(m_valueType, ClaimValueTypes.String, StringComparison.Ordinal)) 541if (!string.Equals(m_issuer, ClaimsIdentity.DefaultIssuer, StringComparison.Ordinal)) 547if (string.Equals(m_originalIssuer, m_issuer, StringComparison.Ordinal)) 551else if (!string.Equals(m_originalIssuer, ClaimsIdentity.DefaultIssuer, StringComparison.Ordinal))
system\security\claims\ClaimsIdentity.cs (6)
803if (string.Equals(claim.Type, type, StringComparison.OrdinalIgnoreCase)) 864&& string.Equals(claim.Type, type, StringComparison.OrdinalIgnoreCase) 865&& string.Equals(claim.Value, value, StringComparison.Ordinal)) 920if (string.Equals(claim.Type, type, StringComparison.OrdinalIgnoreCase)) 1201if (!string.Equals(m_nameType, ClaimsIdentity.DefaultNameClaimType, StringComparison.Ordinal)) 1207if (!string.Equals(m_roleType, ClaimsIdentity.DefaultRoleClaimType, StringComparison.Ordinal))
system\security\cryptography\cryptoconfig.cs (16)
503String.Compare(node.Name, "cryptoNameMapping", StringComparison.Ordinal) == 0) 508String.Compare(node.Name, "oidMap", StringComparison.Ordinal) == 0) 835Contract.Assert(String.Compare(nameMappingNode.Name, "cryptoNameMapping", StringComparison.Ordinal) == 0, "Invalid name mapping root"); 843if (String.Compare(node.Name, "cryptoClasses", StringComparison.Ordinal) == 0) 847if (String.Compare(cryptoClass.Name, "cryptoClass", StringComparison.Ordinal) == 0) 857else if(String.Compare(node.Name, "nameEntry", StringComparison.Ordinal) == 0) 864if(String.Compare((string)attribute.Key, "name", StringComparison.Ordinal) == 0) 866else if(String.Compare((string)attribute.Key, "class", StringComparison.Ordinal) == 0) 885Contract.Assert(String.Compare(oidMappingNode.Name, "oidMap", StringComparison.Ordinal) == 0, "Invalid OID mapping root"); 890if (String.Compare(node.Name, "oidEntry", StringComparison.Ordinal) == 0) 897if (String.Compare((string)attribute.Key, "OID", StringComparison.Ordinal) == 0) 899else if (String.Compare((string)attribute.Key, "name", StringComparison.Ordinal) == 0) 933if (String.Compare(node.Name, "mscorlib", StringComparison.Ordinal) == 0) 937if (String.Compare((string)attribute.Key, "version", StringComparison.Ordinal) == 0) 941if (String.Compare((string)attribute.Value, Version, StringComparison.Ordinal) == 0) 965if (String.Compare(node.Name, "cryptographySettings", StringComparison.Ordinal) == 0)
system\security\cryptography\x509certificates\x509utils.cs (3)
184if (String.Equals(oid, Constants.OID_OIWSEC_SHA256, StringComparison.Ordinal)) { 187else if (String.Equals(oid, Constants.OID_OIWSEC_SHA384, StringComparison.Ordinal)) { 190else if (String.Equals(oid, Constants.OID_OIWSEC_SHA512, StringComparison.Ordinal)) {
system\security\permissions\environmentpermission.cs (2)
51return (ignoreCase?(String.Compare( left, right, StringComparison.OrdinalIgnoreCase) == 0): 52(String.Compare( left, right, StringComparison.Ordinal) == 0));
system\security\permissions\fileiopermission.cs (4)
1095fullPath.StartsWith(Path.NormalizePath(fullPath, fullCheck: false), StringComparison.OrdinalIgnoreCase), 1158else if (value.Length >= m_strAllFiles.Length && String.Compare( m_strAllFiles, value, StringComparison.Ordinal) == 0) 1164else if (value.Length >= m_strAllLocalFiles.Length && String.Compare( m_strAllLocalFiles, 0, value, 0, m_strAllLocalFiles.Length, StringComparison.Ordinal) == 0) 1389if (str.EndsWith( ":\\", StringComparison.Ordinal))
system\security\permissions\principalpermission.cs (2)
82m_authenticated = String.Compare( elAuth, "true", StringComparison.OrdinalIgnoreCase) == 0; 488(m_array[i].m_id == null || String.Compare( identity.Name, m_array[i].m_id, StringComparison.OrdinalIgnoreCase) == 0)))
system\security\permissions\publisheridentitypermission.cs (1)
265if(unr != null && String.Compare(unr, "true", StringComparison.OrdinalIgnoreCase) == 0)
system\security\permissions\siteidentitypermission.cs (1)
305if(unr != null && String.Compare(unr, "true", StringComparison.OrdinalIgnoreCase) == 0)
system\security\permissions\strongnameidentitypermission.cs (1)
406if(unr != null && String.Compare(unr, "true", StringComparison.OrdinalIgnoreCase) == 0)
system\security\permissions\urlidentitypermission.cs (1)
336if(unr != null && String.Compare(unr, "true", StringComparison.OrdinalIgnoreCase) == 0)
system\security\permissiontoken.cs (1)
125if (String.Compare(className, i, c_mscorlibName, 0, c_mscorlibName.Length, 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\policy\applicationtrust.cs (3)
230if (String.Compare(element.Tag, "ApplicationTrust", StringComparison.Ordinal) != 0) 236if (isAppTrustedToRun != null && String.Compare(isAppTrustedToRun, "true", StringComparison.Ordinal) == 0) { 242if (persist != null && String.Compare(persist, "true", StringComparison.Ordinal) == 0) {
system\security\policy\filecodegroup.cs (1)
121if (String.Compare(urlString.Scheme, "file", StringComparison.OrdinalIgnoreCase) != 0)
system\security\policy\pefileevidencefactory.cs (1)
256if (!url.StartsWith("file:", StringComparison.OrdinalIgnoreCase))
system\security\policy\site.cs (2)
53if (String.Compare( urlString.Scheme, "file", StringComparison.OrdinalIgnoreCase) == 0) 82return String.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase);
system\security\policy\strongname.cs (3)
119return String.Compare( mcName, 0, asmName, 0, mcName.Length - 1, StringComparison.OrdinalIgnoreCase) == 0; 121return String.Compare( mcName, asmName, StringComparison.OrdinalIgnoreCase) == 0; 161if (String.Compare(element.Tag, "StrongName", StringComparison.Ordinal) != 0)
system\security\principal\genericprincipal.cs (1)
135if (m_roles[i] != null && String.Compare(m_roles[i], role, StringComparison.OrdinalIgnoreCase) == 0)
system\security\principal\ntaccount.cs (1)
237return ( left.ToString().Equals(right.ToString(), StringComparison.OrdinalIgnoreCase));
system\security\securityelement.cs (2)
571if (length <= maxCompareLength && String.Compare( strEscValue, 0, str, index, length, StringComparison.Ordinal) == 0) 881if (m_strTag.Equals( strLocalName ) || m_strTag.EndsWith( ":" + strLocalName, StringComparison.Ordinal ))
system\security\util\parser.cs (1)
367if (String.Compare( stream.GetNextString(), "encoding", StringComparison.Ordinal) == 0)
system\security\util\sitestring.cs (3)
203StringComparison strComp = (ignoreCase? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal);
system\security\util\stringexpressionset.cs (8)
591StringComparison strComp = (ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal); 624StringComparison strComp = (ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal); 655shortString.EndsWith( ":\\", StringComparison.Ordinal ) && 756if (path.EndsWith(m_directorySeparator + ".", StringComparison.Ordinal))
system\security\util\tokenizer.cs (1)
457if (0==String.Compare(_searchStrings[istr], 0, _inString, _inIndex-1, _searchStrings[istr].Length, StringComparison.Ordinal))
system\security\util\urlstring.cs (22)
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) 968if (String.Compare( normalUrl1.m_userpass, normalUrl2.m_userpass, StringComparison.Ordinal) != 0) 991if (String.Compare( m_protocol, "file", StringComparison.OrdinalIgnoreCase) == 0) 1020if (String.Compare( m_protocol, "file", StringComparison.OrdinalIgnoreCase) != 0) 1037if (deviceName.IndexOf( "://", StringComparison.Ordinal ) != -1) 1142return this.m_separatedSite.Count == 0 || this.m_separatedSite.Count > 0 && String.Compare((String)this.m_separatedSite[0], "*", StringComparison.Ordinal) == 0; 1146return String.Compare((String)operand.m_separatedSite[0], "*", StringComparison.Ordinal) == 0; 1225return this.m_separatedSite.Count == 0 || this.m_separatedSite.Count > 0 && String.Compare((String)this.m_separatedSite[0], "*", StringComparison.Ordinal) == 0; 1229return String.Compare((String)operand.m_separatedSite[0], "*", StringComparison.Ordinal) == 0;
system\security\util\xmlutil.cs (30)
170if (fullClassName.StartsWith(requiredNamespace, StringComparison.Ordinal)) 254if (String.Compare(className, classNameStart, "UIPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 261if (String.Compare(className, classNameStart, "FileIOPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 272if (String.Compare(className, classNameStart, "RegistryPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 279if (String.Compare(className, classNameStart, "SecurityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 294if (String.Compare(className, classNameStart, "PrincipalPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 304if (String.Compare(className, classNameStart, "ReflectionPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 311if (String.Compare(className, classNameStart, "FileDialogPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 323if (String.Compare(className, classNameStart, "EnvironmentPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 330if (String.Compare(className, classNameStart, "UrlIdentityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 337if (String.Compare(className, classNameStart, "GacIdentityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 350if (String.Compare(className, classNameStart, "SiteIdentityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 357if (String.Compare(className, classNameStart, "ZoneIdentityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 365if (String.Compare(className, classNameStart, "KeyContainerPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 375if (String.Compare(className, classNameStart, "HostProtectionPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 383if (String.Compare(className, classNameStart, "PublisherIdentityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 391if (String.Compare(className, classNameStart, "StrongNameIdentityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 398if (String.Compare(className, classNameStart, "IsolatedStorageFilePermission", 0, classNameLength, StringComparison.Ordinal) == 0) 454if (String.Compare(className, classNameStart, "NetCodeGroup", 0, classNameLength, StringComparison.Ordinal) == 0) 461if (String.Compare(className, classNameStart, "FileCodeGroup", 0, classNameLength, StringComparison.Ordinal) == 0) 467if (String.Compare(className, classNameStart, "UnionCodeGroup", 0, classNameLength, StringComparison.Ordinal) == 0) 474if (String.Compare(className, classNameStart, "FirstMatchCodeGroup", 0, classNameLength, StringComparison.Ordinal) == 0) 545if (String.Compare(className, classNameStart, "AllMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 552if (String.Compare(className, classNameStart, "UrlMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 565if (String.Compare(className, classNameStart, "HashMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 577if (String.Compare(className, classNameStart, "SiteMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 584if (String.Compare(className, classNameStart, "ZoneMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 593if (String.Compare(className, classNameStart, "PublisherMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 601if (String.Compare(className, classNameStart, "StrongNameMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 608if (String.Compare(className, classNameStart, "ApplicationDirectoryMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0)
system\string.cs (83)
588public bool Equals(String value, StringComparison comparisonType) { 589if (comparisonType < StringComparison.CurrentCulture || comparisonType > StringComparison.OrdinalIgnoreCase) 602case StringComparison.CurrentCulture: 605case StringComparison.CurrentCultureIgnoreCase: 608case StringComparison.InvariantCulture: 611case StringComparison.InvariantCultureIgnoreCase: 614case StringComparison.Ordinal: 619case StringComparison.OrdinalIgnoreCase: 655public static bool Equals(String a, String b, StringComparison comparisonType) { 656if (comparisonType < StringComparison.CurrentCulture || comparisonType > StringComparison.OrdinalIgnoreCase) 669case StringComparison.CurrentCulture: 672case StringComparison.CurrentCultureIgnoreCase: 675case StringComparison.InvariantCulture: 678case StringComparison.InvariantCultureIgnoreCase: 681case StringComparison.Ordinal: 687case StringComparison.OrdinalIgnoreCase: 1799public static int Compare(String strA, String strB, StringComparison comparisonType) 1802if ((uint) (comparisonType - StringComparison.CurrentCulture) > 1803(uint) (StringComparison.OrdinalIgnoreCase - StringComparison.CurrentCulture)) { 1822case StringComparison.CurrentCulture: 1825case StringComparison.CurrentCultureIgnoreCase: 1828case StringComparison.InvariantCulture: 1831case StringComparison.InvariantCultureIgnoreCase: 1834case StringComparison.Ordinal: 1843case StringComparison.OrdinalIgnoreCase: 2009public static int Compare(String strA, int indexA, String strB, int indexB, int length, StringComparison comparisonType) { 2010if (comparisonType < StringComparison.CurrentCulture || comparisonType > StringComparison.OrdinalIgnoreCase) { 2070case StringComparison.CurrentCulture: 2073case StringComparison.CurrentCultureIgnoreCase: 2076case StringComparison.InvariantCulture: 2079case StringComparison.InvariantCultureIgnoreCase: 2082case StringComparison.Ordinal: 2086case StringComparison.OrdinalIgnoreCase: 2112return String.Compare(this,(String)value, StringComparison.CurrentCulture); 2173return ( IndexOf(value, StringComparison.Ordinal) >=0 ); 2183return EndsWith(value, StringComparison.CurrentCulture); 2189public Boolean EndsWith(String value, StringComparison comparisonType) { 2194if( comparisonType < StringComparison.CurrentCulture || comparisonType > StringComparison.OrdinalIgnoreCase) { 2208case StringComparison.CurrentCulture: 2211case StringComparison.CurrentCultureIgnoreCase: 2214case StringComparison.InvariantCulture: 2217case StringComparison.InvariantCultureIgnoreCase: 2220case StringComparison.Ordinal: 2223case StringComparison.OrdinalIgnoreCase: 2308return IndexOf(value, StringComparison.CurrentCulture); 2317return IndexOf(value, startIndex, StringComparison.CurrentCulture); 2335return IndexOf(value, startIndex, count, StringComparison.CurrentCulture); 2339public int IndexOf(String value, StringComparison comparisonType) { 2344public int IndexOf(String value, int startIndex, StringComparison comparisonType) { 2350public int IndexOf(String value, int startIndex, int count, StringComparison comparisonType) { 2363case StringComparison.CurrentCulture: 2366case StringComparison.CurrentCultureIgnoreCase: 2369case StringComparison.InvariantCulture: 2372case StringComparison.InvariantCultureIgnoreCase: 2375case StringComparison.Ordinal: 2378case StringComparison.OrdinalIgnoreCase: 2442return LastIndexOf(value, this.Length-1,this.Length, StringComparison.CurrentCulture); 2447return LastIndexOf(value, startIndex, startIndex + 1, StringComparison.CurrentCulture); 2457return LastIndexOf(value, startIndex, count, StringComparison.CurrentCulture); 2461public int LastIndexOf(String value, StringComparison comparisonType) { 2466public int LastIndexOf(String value, int startIndex, StringComparison comparisonType) { 2472public int LastIndexOf(String value, int startIndex, int count, StringComparison comparisonType) { 2503case StringComparison.CurrentCulture: 2506case StringComparison.CurrentCultureIgnoreCase: 2509case StringComparison.InvariantCulture: 2512case StringComparison.InvariantCultureIgnoreCase: 2514case StringComparison.Ordinal: 2517case StringComparison.OrdinalIgnoreCase: 2563return StartsWith(value, StringComparison.CurrentCulture); 2569public Boolean StartsWith(String value, StringComparison comparisonType) { 2574if( comparisonType < StringComparison.CurrentCulture || comparisonType > StringComparison.OrdinalIgnoreCase) { 2588case StringComparison.CurrentCulture: 2591case StringComparison.CurrentCultureIgnoreCase: 2594case StringComparison.InvariantCulture: 2597case StringComparison.InvariantCultureIgnoreCase: 2600case StringComparison.Ordinal: 2606case StringComparison.OrdinalIgnoreCase:
system\stringcomparer.cs (4)
334return String.Compare(x, y, StringComparison.OrdinalIgnoreCase); 348return (String.Compare(x, y, StringComparison.OrdinalIgnoreCase) == 0); 410return String.Compare(x, y, StringComparison.OrdinalIgnoreCase); 424return (String.Compare(x, y, StringComparison.OrdinalIgnoreCase) == 0);
system\timezoneinfo.cs (6)
672if (dateTime.Kind == DateTimeKind.Local && String.Compare(sourceTimeZoneId, TimeZoneInfo.Local.Id, StringComparison.OrdinalIgnoreCase) == 0) { 681else if (dateTime.Kind == DateTimeKind.Utc && String.Compare(sourceTimeZoneId, TimeZoneInfo.Utc.Id, StringComparison.OrdinalIgnoreCase) == 0) { 872return (other != null && String.Compare(this.m_id, other.m_id, StringComparison.OrdinalIgnoreCase) == 0 && HasSameRules(other)); 1949if (String.Compare(id, c_utcId, StringComparison.OrdinalIgnoreCase) == 0) { 2539result = String.Compare(registryStandardName, timeZone.StandardName, StringComparison.Ordinal) == 0; 4155return comparison == 0 ? String.Compare(x.DisplayName, y.DisplayName, StringComparison.Ordinal) : comparison;
PresentationBuildTasks (65)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (2)
658if (String.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 663else if (String.Equals(XmlnsDeclaration, Reader.Prefix, StringComparison.Ordinal))
BuildTasks\Microsoft\Build\Tasks\Windows\FileClassifier.cs (1)
354if (localizableString != null && String.Compare(localizableString, "false", StringComparison.OrdinalIgnoreCase) ==0 )
BuildTasks\Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (2)
397if (nodeGroup != null && String.Compare(nodeGroup.Name, ITEMGROUP_NAME, StringComparison.OrdinalIgnoreCase) == 0) 410if (nodeItem != null && String.Compare(nodeItem.Name, sItemName, StringComparison.OrdinalIgnoreCase) == 0)
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (4)
289if (!_outputDir.EndsWith("\\", StringComparison.Ordinal)) 1092int pathEndIndex = fullFilePath.LastIndexOf("\\", StringComparison.Ordinal); 1557if (String.Compare(localTypeXamlFile, xamlInputFullPath, StringComparison.OrdinalIgnoreCase) == 0) 1740if (strLocalizable != null && String.Compare(strLocalizable, "false", StringComparison.OrdinalIgnoreCase) == 0)
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (2)
263if (!_outputPath.EndsWith("\\", StringComparison.Ordinal)) 555int pathEndIndex = fullFilePath.LastIndexOf("\\", StringComparison.Ordinal);
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
274if (!_outputPath.EndsWith((Path.DirectorySeparatorChar).ToString(), StringComparison.Ordinal))
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (14)
477if (!TargetPath.EndsWith(ESCAPED_BACKSLASH, StringComparison.Ordinal)) 483int pathEndIndex = SourceFileInfo.RelativeSourceFilePath.LastIndexOf(ESCAPED_BACKSLASH, StringComparison.Ordinal); 719int fileExtIndex = file.Path.LastIndexOf(DOT, StringComparison.Ordinal); 1358return (IsLanguageCSharp || (CompilerInfo != null && (string.Compare(CompilerInfo.GetLanguages()[0], JSCRIPT, StringComparison.OrdinalIgnoreCase) == 0))); 1365return (CompilerInfo == null || (string.Compare(CompilerInfo.GetLanguages()[0], JSHARP, StringComparison.OrdinalIgnoreCase) != 0)); 1401int index = subClassFullName.LastIndexOf(DOT, StringComparison.Ordinal); 1430int index = className.LastIndexOf(DOT, StringComparison.Ordinal); 1562if (TargetPath.StartsWith(SourceFileInfo.SourcePath, StringComparison.OrdinalIgnoreCase)) 2062_isLangCSharp = string.Compare(language, CSHARP, StringComparison.OrdinalIgnoreCase) == 0; 2071_isLangVB = string.Compare(language, VB, StringComparison.OrdinalIgnoreCase) == 0; 2261int bang = genericName.IndexOf(GENERIC_DELIMITER, StringComparison.Ordinal); 2304int bang = genericName.IndexOf(GENERIC_DELIMITER, StringComparison.Ordinal); 2912string rootClassName = elementType != null ? elementType.Name : baseClassFullName.Substring(baseClassFullName.LastIndexOf(DOT, StringComparison.Ordinal)+1); 3276get { return _elementType != null ? _elementType.Name : _localElementFullName.Substring(_localElementFullName.LastIndexOf(DOT, StringComparison.Ordinal) + 1); }
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (3)
506_isInternalRoot = string.Compare("public", xmlReader.Value.Trim(), StringComparison.OrdinalIgnoreCase) != 0; 842int index = xamlDefAttributeNode.Value.LastIndexOf(MarkupCompiler.DOT, StringComparison.Ordinal); 872int index = xamlDefAttributeNode.Value.LastIndexOf(MarkupCompiler.DOT, StringComparison.Ordinal);
BuildTasks\MS\Internal\Shared\SourceFileInfo.cs (1)
47if (!string.IsNullOrEmpty(file.Path) && file.Path.ToUpperInvariant().EndsWith(XAML, StringComparison.Ordinal))
BuildTasks\MS\Internal\Tasks\CompilerWrapper.cs (4)
256if (String.Compare(asmReference.AssemblyName, assemblyName, StringComparison.OrdinalIgnoreCase) == 0) 366int fileExtIndex = newRelativeFilePath.LastIndexOf(MarkupCompiler.DOT, StringComparison.Ordinal); 399if (fullFilePath.StartsWith(_sourceDir,StringComparison.OrdinalIgnoreCase)) 416int pathEndIndex = fullFilePath.LastIndexOf("\\", StringComparison.Ordinal);
BuildTasks\MS\Internal\Tasks\IncrementalCompileAnalyzer.cs (2)
357IsSettingModified = String.Compare(textSource, textTarget, StringComparison.OrdinalIgnoreCase) == 0 ? false : true; 424if (String.Compare(xamlfile.Path, CompilerLocalReference.LocalMarkupPages[j].FilePath, StringComparison.OrdinalIgnoreCase) == 0)
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (7)
131if (fullpath2.StartsWith(fullpath1, StringComparison.OrdinalIgnoreCase)) 285if (String.Compare(Path.GetExtension(assemblyPath), SharedStrings.MetadataDll, StringComparison.OrdinalIgnoreCase) == 0) 297if (String.Compare(assemblyPath, 0, changedAsm, 0, length, StringComparison.OrdinalIgnoreCase) == 0) 312if (assemblyPath.StartsWith(unchangePath, StringComparison.OrdinalIgnoreCase) == true) 326if (!String.IsNullOrEmpty(gacRoot) && assemblyPath.StartsWith(gacRoot, StringComparison.OrdinalIgnoreCase) == true) 348if (e.Message.IndexOf(eInner.Message, StringComparison.Ordinal) == -1) 356if (message != null && message.EndsWith(".", StringComparison.Ordinal) == false)
Framework\MS\Internal\Globalization\LocalizationComments.cs (2)
370if (enumName.StartsWith(_enumPrefix , StringComparison.Ordinal)) 378if (string.Compare(enumName, _enumNames[i], StringComparison.Ordinal) == 0)
Framework\System\Windows\Markup\BamlMapTable.cs (1)
1183int dotIndex = typeFullName.LastIndexOf(".", StringComparison.Ordinal);
Framework\System\Windows\Markup\BamlRecordWriter.cs (1)
697if (xamlXmlnsPropertyNode.XmlNamespace.StartsWith(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal) == false)
Framework\System\Windows\Markup\XamlParser.cs (1)
1263if (xmlNamespace.StartsWith(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal))
Framework\System\Windows\Markup\XamlReaderHelper.cs (7)
2230if (attribName.StartsWith(NamespacePrefix, StringComparison.Ordinal)) 2356if (attribName.Equals(XmlnsDeclaration, StringComparison.Ordinal) || 2357attribName.StartsWith("xmlns:", StringComparison.Ordinal)) 2366if (attribValue.StartsWith(MappingProtocol, StringComparison.Ordinal)) 3352isDefaultAsm = objectType.Assembly.FullName.StartsWith("PresentationFramework", StringComparison.OrdinalIgnoreCase); 3381isDefaultAsm = objectType.Assembly.FullName.StartsWith("PresentationCore", StringComparison.OrdinalIgnoreCase); 6746return attribName.StartsWith("xmlns:", StringComparison.Ordinal) ||
Framework\System\Windows\Markup\XamlTypeMapper.cs (6)
371int indexComma = assemblyName.IndexOf(",", StringComparison.Ordinal); 416if (AssemblyWB == null && string.Compare(asmName, _assemblyNames[0], StringComparison.OrdinalIgnoreCase) == 0) 420else if (AssemblyPC == null && string.Compare(asmName, _assemblyNames[1], StringComparison.OrdinalIgnoreCase) == 0) 424else if (AssemblyPF == null && string.Compare(asmName, _assemblyNames[2], StringComparison.OrdinalIgnoreCase) == 0) 428else if (string.Compare(asmName, "SYSTEM.XML", StringComparison.OrdinalIgnoreCase) == 0) 433else if (string.Compare(asmName, "SYSTEM", StringComparison.OrdinalIgnoreCase) == 0)
Shared\MS\Internal\ResourceIDHelper.cs (1)
70if (sourcePath.StartsWith(basePath, StringComparison.OrdinalIgnoreCase))
Shared\System\Windows\Markup\ReflectionHelper.cs (3)
542else if ((String.Compare (assemblyShortName, "mscorlib", StringComparison.OrdinalIgnoreCase)==0)) 547if (String.Compare(assemblies[i].GetName().Name, assemblyShortName, StringComparison.OrdinalIgnoreCase) == 0) 602if (String.Compare(assemblies[i].GetName().Name, assemblyGivenName, StringComparison.OrdinalIgnoreCase) == 0)
PresentationCore (77)
Core\CSharp\MS\Internal\AppModel\CookieHandler.cs (1)
93if (string.Compare(headers.Keys[i], "Set-Cookie", StringComparison.OrdinalIgnoreCase) == 0)
Core\CSharp\MS\Internal\FontCache\DWriteFactory.cs (1)
99if (String.Compare(((localPath.Length > 0 && localPath[localPath.Length - 1] != Path.DirectorySeparatorChar) ? localPath + Path.DirectorySeparatorChar : localPath), Util.WindowsFontsUriObject.LocalPath, StringComparison.OrdinalIgnoreCase) == 0)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (3)
241if (String.Compare(familyName, _legacyArabicFonts[i], StringComparison.OrdinalIgnoreCase) == 0) 382if (String.Compare(_systemCompositeFontsNames[i], familyName, StringComparison.OrdinalIgnoreCase) == 0) 601if (String.Compare(localizedFamilyName.Value, familyName, StringComparison.OrdinalIgnoreCase) == 0)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (3)
697if (String.Compare(extension, supportedExtension, StringComparison.OrdinalIgnoreCase) == 0) 709return (String.Compare(extension, CompositeFontExtension, StringComparison.OrdinalIgnoreCase) == 0); 1187return String.Compare(x._language.IetfLanguageTag, y._language.IetfLanguageTag, StringComparison.OrdinalIgnoreCase);
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (1)
77Debug.Assert(escapedPath.EndsWith(FakeFileName, StringComparison.OrdinalIgnoreCase));
Core\CSharp\MS\Internal\FontCache\FontSource.cs (2)
238if (String.Equals(response.ContentType, ObfuscatedContentType, StringComparison.Ordinal)) 315if (String.Equals(response.ContentType, ObfuscatedContentType, StringComparison.Ordinal))
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (3)
463if (String.Compare(requestedUri.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal) != 0 464&& String.Compare(requestedUri.Scheme, Uri.UriSchemeHttps, StringComparison.Ordinal) != 0) 868|| !contentRange.StartsWith(ByteRangeUnit, StringComparison.Ordinal))
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (2)
114if (fullStreamLength > 0 && ((String.Compare(uri.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal) == 0) || 115(String.Compare(uri.Scheme, Uri.UriSchemeHttps, StringComparison.Ordinal) == 0)))
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (3)
70if (string.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.Ordinal) == 0) 322if ((String.Compare(extension, MimeTypeMapper.XamlExtension, StringComparison.OrdinalIgnoreCase) == 0) || 323(String.Compare(extension, MimeTypeMapper.XbapExtension, StringComparison.OrdinalIgnoreCase) == 0))
Core\CSharp\System\IO\Packaging\PackWebRequestFactory.cs (2)
83if (String.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.Ordinal) != 0) 164if (String.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.Ordinal) == 0)
Core\CSharp\System\Windows\DataFormats.cs (1)
108if (String.Compare(formatItem.Name, format, StringComparison.OrdinalIgnoreCase) == 0)
Core\CSharp\System\Windows\FontStretches.cs (10)
77if (s.Equals("Normal", StringComparison.OrdinalIgnoreCase)) 82if (s.Equals("Medium", StringComparison.OrdinalIgnoreCase)) 90if (s.Equals("Expanded", StringComparison.OrdinalIgnoreCase)) 98if (s.Equals("Condensed", StringComparison.OrdinalIgnoreCase)) 106if (s.Equals("SemiExpanded", StringComparison.OrdinalIgnoreCase)) 114if (s.Equals("SemiCondensed", StringComparison.OrdinalIgnoreCase)) 119if (s.Equals("ExtraExpanded", StringComparison.OrdinalIgnoreCase)) 124if (s.Equals("UltraExpanded", StringComparison.OrdinalIgnoreCase)) 132if (s.Equals("UltraCondensed", StringComparison.OrdinalIgnoreCase)) 137if (s.Equals("ExtraCondensed", StringComparison.OrdinalIgnoreCase))
Core\CSharp\System\Windows\FontStyles.cs (3)
39if (s.Equals("Normal", StringComparison.OrdinalIgnoreCase)) 44if (s.Equals("Italic", StringComparison.OrdinalIgnoreCase)) 49if (s.Equals("Oblique", StringComparison.OrdinalIgnoreCase))
Core\CSharp\System\Windows\FontWeights.cs (16)
107if (s.Equals("Bold", StringComparison.OrdinalIgnoreCase)) 112if (s.Equals("Thin", StringComparison.OrdinalIgnoreCase)) 120if (s.Equals("Black", StringComparison.OrdinalIgnoreCase)) 125if (s.Equals("Light", StringComparison.OrdinalIgnoreCase)) 130if (s.Equals("Heavy", StringComparison.OrdinalIgnoreCase)) 138if (s.Equals("Normal", StringComparison.OrdinalIgnoreCase)) 143if (s.Equals("Medium", StringComparison.OrdinalIgnoreCase)) 151if (s.Equals("Regular", StringComparison.OrdinalIgnoreCase)) 159if (s.Equals("SemiBold", StringComparison.OrdinalIgnoreCase)) 164if (s.Equals("DemiBold", StringComparison.OrdinalIgnoreCase)) 172if (s.Equals("ExtraBold", StringComparison.OrdinalIgnoreCase)) 177if (s.Equals("UltraBold", StringComparison.OrdinalIgnoreCase)) 185if (s.Equals("ExtraLight", StringComparison.OrdinalIgnoreCase)) 190if (s.Equals("UltraLight", StringComparison.OrdinalIgnoreCase)) 195if (s.Equals("ExtraBlack", StringComparison.OrdinalIgnoreCase)) 200if (s.Equals("UltraBlack", StringComparison.OrdinalIgnoreCase))
Core\CSharp\System\Windows\Input\Command\KeyGesture.cs (2)
258int index = keyGestures.IndexOf(MULTIPLEGESTURE_DELIMITER, StringComparison.Ordinal); 271index = displayStrings.IndexOf(MULTIPLEGESTURE_DELIMITER, StringComparison.Ordinal);
Core\CSharp\System\Windows\Input\Command\MouseBinding.cs (1)
235if (string.Compare(e.PropertyName, "MouseAction", StringComparison.Ordinal) == 0)
Core\CSharp\System\Windows\Input\Cursor.cs (2)
63(cursorFile.EndsWith(".cur", StringComparison.OrdinalIgnoreCase) || 64cursorFile.EndsWith(".ani", StringComparison.OrdinalIgnoreCase)))
Core\CSharp\System\Windows\Input\CursorConverter.cs (3)
112if (text.LastIndexOf(".", StringComparison.Ordinal) == -1) 178if (text.EndsWith(".cur", StringComparison.OrdinalIgnoreCase) || text.EndsWith(".ani", StringComparison.OrdinalIgnoreCase))
Core\CSharp\System\Windows\Markup\XmlLanguage.cs (1)
643if(!longTag.StartsWith(prefix, StringComparison.OrdinalIgnoreCase))
Core\CSharp\System\Windows\Media\FontEmbeddingManager.cs (1)
140return String.Equals(x.ToString(), y.ToString(), StringComparison.OrdinalIgnoreCase);
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (2)
1185if (String.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase) == 0) 1347(decoderMimeTypes.IndexOf(mimeType, StringComparison.OrdinalIgnoreCase) == -1))
Core\CSharp\System\Windows\Media\KnownColors.cs (2)
255if ((trimmedString.StartsWith("sc#", StringComparison.Ordinal) == true)) 267if ((trimmedString.StartsWith(Parsers.s_ContextColor, StringComparison.OrdinalIgnoreCase) == true))
Core\CSharp\System\Windows\Media\Parsers.cs (2)
103if (!trimmedColor.StartsWith(s_ContextColor, StringComparison.OrdinalIgnoreCase)) 159if (!trimmedColor.StartsWith("sc#", StringComparison.Ordinal))
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (9)
218Debug.Assert(String.Compare(partName, uri.GetComponents(UriComponents.Path, UriFormat.UriEscaped), StringComparison.OrdinalIgnoreCase) == 0); 299if (firstSegment.EndsWith(COMPONENT, StringComparison.OrdinalIgnoreCase)) 327if (assemblyInfo[i].StartsWith(VERSION, StringComparison.OrdinalIgnoreCase)) 357if (component.EndsWith(COMPONENT, StringComparison.OrdinalIgnoreCase)) 370return (String.Compare(SafeSecurityHelper.GetAssemblyPartialName(assembly), assemblyName, StringComparison.OrdinalIgnoreCase) == 0); 390if (Uri.Compare(sUri, SiteOfOriginBaseUri, UriComponents.Scheme, UriFormat.UriEscaped, StringComparison.OrdinalIgnoreCase) == 0) 396if (String.Compare(packageUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped), _packageSiteOfOriginBaseUriEscaped, StringComparison.OrdinalIgnoreCase) == 0) 430string.Compare(uri.OriginalString, 0, Uri.UriSchemeFile, 0, Uri.UriSchemeFile.Length, StringComparison.OrdinalIgnoreCase) != 0) 527assemblyName.Equals(currAssemblyName.Name, StringComparison.Ordinal) &&
Shared\MS\Internal\SecurityHelper.cs (1)
1378return (String.Compare(m1, m2, StringComparison.OrdinalIgnoreCase) == 0);
PresentationFramework (201)
parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
128if (key.Equals(c_versionKey, StringComparison.OrdinalIgnoreCase)) 148else if (key.Equals(c_profileKey, StringComparison.OrdinalIgnoreCase))
src\Framework\Microsoft\Win32\FileDialog.cs (4)
261if (value.StartsWith(".", StringComparison.Ordinal)) // Allow calling code to provide 1446if (!directory.EndsWith(Path.DirectorySeparatorChar.ToString(), StringComparison.Ordinal)) 1631Invariant.Assert(!extensions[j].StartsWith(".", StringComparison.Ordinal), 1639Invariant.Assert(currentExtension.Length == 0 || currentExtension.StartsWith(".", StringComparison.Ordinal),
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (1)
302if (fragment.StartsWith(FRAGMENT_MARKER, StringComparison.Ordinal))
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (2)
116bool fIsMailTo = String.Compare(destinationUri.Scheme, Uri.UriSchemeMailto, StringComparison.OrdinalIgnoreCase) == 0 ; 292.Equals(DocumentStream.XpsFileExtension, StringComparison.OrdinalIgnoreCase))
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (6)
137int index = excpMsg.IndexOf(versionString, StringComparison.Ordinal); 144int indexToFirstDot = version.IndexOf(".", StringComparison.Ordinal); 145int indexToSecondDot = version.IndexOf(".", indexToFirstDot+1, StringComparison.Ordinal); 148if (excpMsg.IndexOf(clrProductName, StringComparison.Ordinal) != -1) 155 int indexToThirdDot = version.IndexOf(".", indexToSecondDot+1, StringComparison.Ordinal); 186if (excpMsg.IndexOf(sentinelAssembly, StringComparison.OrdinalIgnoreCase) > 0)
src\Framework\MS\Internal\AppModel\ResourcePart.cs (2)
156if (String.Compare(Path.GetExtension(_name), ResourceContainer.BamlExt, StringComparison.OrdinalIgnoreCase) == 0) 161if (String.Compare(Path.GetExtension(_name), ResourceContainer.XamlExt, StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\MS\Internal\AppModel\ReturnEventSaver.cs (1)
143if (string.Compare(_returnList[i]._targetTypeName, caller.GetType().AssemblyQualifiedName, StringComparison.Ordinal) != 0)
src\Framework\MS\Internal\AppModel\XappLauncher.cs (2)
1217AssemblyName assyName = new AssemblyName(attr.Substring(attr.IndexOf(",",StringComparison.OrdinalIgnoreCase) + 1)); 1218if (assyName.Name.Equals("WindowsBase", StringComparison.OrdinalIgnoreCase))
src\Framework\MS\Internal\Controls\CustomCategoryAttribute.cs (5)
18Debug.Assert("Content".Equals(name, StringComparison.Ordinal) 19|| "Accessibility".Equals(name, StringComparison.Ordinal) 20|| "Navigation".Equals(name, StringComparison.Ordinal)); 26if (String.Compare(value, "Content", StringComparison.Ordinal) == 0) 28else if(String.Compare(value, "Accessibility", StringComparison.Ordinal) == 0)
src\Framework\MS\Internal\Controls\WebBrowserEvent.cs (4)
126String.Compare(urlString, WebBrowser.AboutBlankUriString, StringComparison.OrdinalIgnoreCase) != 0) 240(String.Compare((string)url, WebBrowser.AboutBlankUriString, StringComparison.OrdinalIgnoreCase) == 0)); 268Invariant.Assert(String.Compare(urlString, WebBrowser.AboutBlankUriString, StringComparison.OrdinalIgnoreCase) == 0); 297Invariant.Assert(String.Compare(urlString, WebBrowser.AboutBlankUriString, StringComparison.OrdinalIgnoreCase) == 0);
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (3)
675if (pgd.StringComparison == StringComparison.OrdinalIgnoreCase || 676pgd.StringComparison == StringComparison.InvariantCultureIgnoreCase) 680else if (pgd.StringComparison == StringComparison.CurrentCultureIgnoreCase)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
449String.Equals(SVI[k].propertyName, propertyName, StringComparison.OrdinalIgnoreCase)))
src\Framework\MS\Internal\Globalization\LocalizationComments.cs (2)
370if (enumName.StartsWith(_enumPrefix , StringComparison.Ordinal)) 378if (string.Compare(enumName, _enumNames[i], StringComparison.Ordinal) == 0)
src\Framework\MS\Internal\Interop\InternalDispatchObject.cs (1)
137if (name.StartsWith("[DISPID=", StringComparison.OrdinalIgnoreCase))
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (5)
560( elementFullName.XmlNamespace.Equals(ElementTableKey.XamlNamespace, StringComparison.Ordinal) 602if (elementFullName.XmlNamespace.Equals(ElementTableKey.XamlNamespace, StringComparison.Ordinal)) 606else if (elementFullName.XmlNamespace.Equals(_inDocumentCodeURI, StringComparison.Ordinal)) 711if (!elementFullName.XmlNamespace.Equals(ElementTableKey.FixedMarkupNamespace, StringComparison.Ordinal)) 944&& attributePropertyName.Equals(propertyName, StringComparison.Ordinal))
src\Framework\MS\Internal\Printing\PrintDlgExMarshaler.cs (1)
387if (printerName.Equals(queue.FullName, StringComparison.OrdinalIgnoreCase))
src\Framework\MS\Internal\Printing\Win32PrintDialog.cs (1)
135if (String.Equals(e.GetType().FullName, "System.Printing.PrintingNotSupportedException", StringComparison.Ordinal))
src\Framework\MS\Internal\TraceData.cs (1)
279if (name.EndsWith(suffix, StringComparison.Ordinal))
src\Framework\MS\Internal\Utility\BindUriHelper.cs (1)
171return uri.OriginalString.StartsWith(FRAGMENTMARKER, StringComparison.Ordinal);
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (1)
223if (ScriptCodesRequiringDedicatedSegmenter.FindIndex(s => s.Equals(script, StringComparison.InvariantCultureIgnoreCase)) == -1)
src\Framework\MS\Win32\UxThemeWrapper.cs (1)
276if(String.Compare(themeName, "aero", StringComparison.OrdinalIgnoreCase) == 0 && Utilities.IsOSWindows8OrNewer)
src\Framework\System\Windows\Application.cs (2)
2679if (String.Compare(fileInBamlConvert, fileCurrent, StringComparison.OrdinalIgnoreCase) == 0) 2706if (String.Compare(bamlConvertUriSegments[l - 1], curUriSegments[m - 1], StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\System\Windows\Controls\ComboBox.cs (1)
761if (!String.Equals(newText, matchedText, StringComparison.CurrentCulture))
src\Framework\System\Windows\Controls\DataGrid.cs (2)
7226if (string.Compare(Items.SortDescriptions[i].PropertyName, sortPropertyName, StringComparison.Ordinal) == 0 && 7374propertyGroupDescription.StringComparison == StringComparison.Ordinal)
src\Framework\System\Windows\Controls\DataGridBoundColumn.cs (3)
219if ((string.Compare(propertyName, "Binding", StringComparison.Ordinal) == 0) || 220(string.Compare(propertyName, "ElementStyle", StringComparison.Ordinal) == 0 && !isCellEditing) || 221(string.Compare(propertyName, "EditingElementStyle", StringComparison.Ordinal) == 0 && isCellEditing))
src\Framework\System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
117string.Compare(propertyName, "IsThreeState", StringComparison.Ordinal) == 0)
src\Framework\System\Windows\Controls\DataGridClipboardHelper.cs (4)
24bool csv = string.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase); 25if (csv || string.Equals(format, DataFormats.Text, StringComparison.OrdinalIgnoreCase) 26|| string.Equals(format, DataFormats.UnicodeText, StringComparison.OrdinalIgnoreCase)) 50else if (string.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase))
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (1)
206string.Compare(propertyName, "ViewportWidth", StringComparison.Ordinal) == 0)
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (2)
418if ((string.Compare(propertyName, "ElementStyle", StringComparison.Ordinal) == 0 && !isCellEditing) || 419(string.Compare(propertyName, "EditingElementStyle", StringComparison.Ordinal) == 0 && isCellEditing))
src\Framework\System\Windows\Controls\DataGridHyperlinkColumn.cs (2)
119if (string.Compare(propertyName, "ContentBinding", StringComparison.Ordinal) == 0) 123else if (string.Compare(propertyName, "TargetName", StringComparison.Ordinal) == 0)
src\Framework\System\Windows\Controls\DataGridLengthConverter.cs (2)
235if (goodString.EndsWith(unitString, StringComparison.Ordinal)) 253if (goodString.EndsWith(unitString, StringComparison.Ordinal))
src\Framework\System\Windows\Controls\DataGridTemplateColumn.cs (4)
216((string.Compare(propertyName, "CellTemplate", StringComparison.Ordinal) == 0) || 217(string.Compare(propertyName, "CellTemplateSelector", StringComparison.Ordinal) == 0))) || 219((string.Compare(propertyName, "CellEditingTemplate", StringComparison.Ordinal) == 0) || 220(string.Compare(propertyName, "CellEditingTemplateSelector", StringComparison.Ordinal) == 0))))
src\Framework\System\Windows\Controls\DatePicker.cs (2)
1193if (string.Compare(selectedDate, s, StringComparison.Ordinal) == 0) 1229if (string.Compare(Text, s, StringComparison.Ordinal) != 0)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (2)
1137if (String.Compare(token, MS.Internal.PresentationFramework.BuildInfo.WCP_PUBLIC_KEY_TOKEN, StringComparison.OrdinalIgnoreCase) == 0 || 1138String.Compare(token, MS.Internal.PresentationFramework.BuildInfo.DEVDIV_PUBLIC_KEY_TOKEN, StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (4)
399string.Compare(propertyName, "ViewportWidth", StringComparison.Ordinal) == 0 || 400string.Compare(propertyName, "DelayedColumnWidthComputation", StringComparison.Ordinal) == 0) 404else if (string.Compare(propertyName, "RealizedColumnsBlockListForNonVirtualizedRows", StringComparison.Ordinal) == 0) 408else if (string.Compare(propertyName, "RealizedColumnsBlockListForVirtualizedRows", StringComparison.Ordinal) == 0)
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (4)
305string.Compare(propertyName, "ViewportWidth", StringComparison.Ordinal) == 0 || 306string.Compare(propertyName, "DelayedColumnWidthComputation", StringComparison.Ordinal) == 0) 315else if (string.Compare(propertyName, "RealizedColumnsBlockListForNonVirtualizedRows", StringComparison.Ordinal) == 0) 319else if (string.Compare(propertyName, "RealizedColumnsBlockListForVirtualizedRows", StringComparison.Ordinal) == 0)
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
3310if (String.Compare(sb.ToString(), WebOCWindowClassName, StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\System\Windows\Controls\TextBox.cs (1)
1690int index = newText.IndexOf(oldText, StringComparison.Ordinal);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
12390int dotIndex = filename.LastIndexOf(".", StringComparison.Ordinal);
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
127if (string.Compare(hostProcessName, "AppLaunch.exe", StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\System\Windows\Data\PropertyGroupDescription.cs (5)
102StringComparison stringComparison) 155[DefaultValue(StringComparison.Ordinal)] 156public StringComparison StringComparison 274StringComparison _stringComparison = StringComparison.Ordinal;
src\Framework\System\Windows\DeferrableContent.cs (1)
71assemblyTargetsFramework2 = schemaContext.LocalAssembly.ImageRuntimeVersion.StartsWith("v2", StringComparison.Ordinal);
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
906if (baseUri.Scheme.Equals(PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase)) 934if (baseUri.Scheme.Equals(PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase))
src\Framework\System\Windows\Documents\FixedFindEngine.cs (1)
409String.Compare(sidewaysString, Boolean.TrueString, StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\System\Windows\Documents\FixedSchema.cs (13)
46if (!encoding.Equals(Encoding.Unicode.WebName, StringComparison.OrdinalIgnoreCase) && 47!encoding.Equals(Encoding.UTF8.WebName, StringComparison.OrdinalIgnoreCase)) 401return namespaceUri.Equals(_xpsS0SchemaNamespace, StringComparison.Ordinal); 415if (attrName.Equals("Source", StringComparison.Ordinal) || 416attrName.Equals("FontUri", StringComparison.Ordinal)) 420else if (attrName.Equals("ImageSource", StringComparison.Ordinal)) 422if (attrValue.StartsWith(_colorConvertedBitmap, StringComparison.Ordinal)) 434else if (attrName.Equals("Color", StringComparison.Ordinal) || 435attrName.Equals("Fill", StringComparison.Ordinal) || 436attrName.Equals("Stroke", StringComparison.Ordinal)) 439if (attrValue.StartsWith(_contextColor, StringComparison.Ordinal)) 734if (attrName.Equals("Source", StringComparison.Ordinal)) // Cannot chain remote ResourceDictionary parts. 777return namespaceUri.Equals(_xpsDocStructureSchemaNamespace, StringComparison.Ordinal);
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (1)
444charIndex = s.IndexOf(" ", charIndex+1, s.Length - charIndex -1, StringComparison.Ordinal);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
1704if (addSpace && run.Text.Length>0 && !run.Text.EndsWith(" ", StringComparison.Ordinal) && !IsHyphen(run.Text[run.Text.Length - 1]))
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (9)
3797if (string.Compare(lhs_tag, rhs_tag, StringComparison.OrdinalIgnoreCase) == 0) 3809if (string.Compare(s, rhs_name, StringComparison.OrdinalIgnoreCase) == 0) 8198if (instructionName.IndexOf("HYPERLINK", StringComparison.Ordinal) == 0) 8202else if (instructionName.IndexOf("SYMBOL", StringComparison.Ordinal) == 0) 8206else if (instructionName.IndexOf("INCLUDEPICTURE", StringComparison.Ordinal) == 0) 8243int uriSourceIndex = dnImage.Xaml.IndexOf("UriSource=", StringComparison.Ordinal); 8244int uriSourceEndIndex = dnImage.Xaml.IndexOf("\"", uriSourceIndex + 11, StringComparison.Ordinal); 8411int uriIndex = instructionName.IndexOf("http:", StringComparison.OrdinalIgnoreCase); 8417int pictureUriEndIndex = pictureUri.IndexOf("\"", StringComparison.OrdinalIgnoreCase);
src\Framework\System\windows\Documents\TextEditor.cs (2)
503if (!String.Equals(inputCultureInfo.IetfLanguageTag, language.IetfLanguageTag, StringComparison.OrdinalIgnoreCase)) 1271int endOfFirstLine = textData.IndexOf(Environment.NewLine, StringComparison.Ordinal);
src\Framework\System\Windows\Documents\TextRangeBase.cs (1)
1368bool pastedFragmentEndsWithNewLine = textData.EndsWith("\n", StringComparison.Ordinal);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
1965String.Compare(stringValue, "NaN", StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\System\Windows\Documents\WpfPayload.cs (6)
571if (imageUriString.EndsWith(ImageBmpFileExtension, StringComparison.OrdinalIgnoreCase)) 575else if (imageUriString.EndsWith(ImageGifFileExtension, StringComparison.OrdinalIgnoreCase)) 579else if (imageUriString.EndsWith(ImageJpegFileExtension, StringComparison.OrdinalIgnoreCase) || imageUriString.EndsWith(ImageJpgFileExtension, StringComparison.OrdinalIgnoreCase)) 583else if (imageUriString.EndsWith(ImageTiffFileExtension, StringComparison.OrdinalIgnoreCase)) 741Invariant.Assert(imageSourceString.StartsWith("./", StringComparison.OrdinalIgnoreCase));
src\Framework\System\Windows\Documents\XamlToRtfParser.cs (1)
528if (string.Compare(xamlTag, xamlTag.Length, top, top.Length, top.Length, StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (26)
2235int extensionIndex = imageName.LastIndexOf(".", StringComparison.OrdinalIgnoreCase); 2241if (string.Compare(".png", imageFormatName, StringComparison.OrdinalIgnoreCase) == 0) 2245if (string.Compare(".jpeg", imageFormatName, StringComparison.OrdinalIgnoreCase) == 0 || 2246string.Compare(".jpg", imageFormatName, StringComparison.OrdinalIgnoreCase) == 0) 2250if (string.Compare(".gif", imageFormatName, StringComparison.OrdinalIgnoreCase) == 0) 2254if (string.Compare(".tif", imageFormatName, StringComparison.OrdinalIgnoreCase) == 0 || 2255string.Compare(".tiff", imageFormatName, StringComparison.OrdinalIgnoreCase) == 0) 2259if (string.Compare(".bmp", imageFormatName, StringComparison.OrdinalIgnoreCase) == 0) 2263if (string.Compare(".dib", imageFormatName, StringComparison.OrdinalIgnoreCase) == 0) 2275if (string.Compare("Fill", imageStretch, StringComparison.OrdinalIgnoreCase) == 0) 2279else if (string.Compare("UniformToFill", imageStretch, StringComparison.OrdinalIgnoreCase) == 0) 2292if (string.Compare("UpOnly", imageStretchDirection, StringComparison.OrdinalIgnoreCase) == 0) 2296else if (string.Compare("DownOnly", imageStretchDirection, StringComparison.OrdinalIgnoreCase) == 0) 2724if (string.Compare(name, "&gt;", StringComparison.OrdinalIgnoreCase) == 0) 2728else if (string.Compare(name, "&lt;", StringComparison.OrdinalIgnoreCase) == 0) 2732else if (string.Compare(name, "&amp;", StringComparison.OrdinalIgnoreCase) == 0) 2736else if (name.IndexOf("&#x", StringComparison.OrdinalIgnoreCase) == 0) 2753else if (name.IndexOf("&#", StringComparison.OrdinalIgnoreCase) == 0) 2884if (string.Compare(valueString, "Normal", StringComparison.OrdinalIgnoreCase) == 0) 2888else if (string.Compare(valueString, "Bold", StringComparison.OrdinalIgnoreCase) == 0) 2904if (string.Compare(valueString, "Italic", StringComparison.OrdinalIgnoreCase) == 0) 3475if (string.Compare(entries[i].Name, name, StringComparison.OrdinalIgnoreCase) == 0) 3682if (decoration.IndexOf("Underline", StringComparison.OrdinalIgnoreCase) != -1) 3686if (decoration.IndexOf("Strikethrough", StringComparison.OrdinalIgnoreCase) != -1) 3699if (string.Compare("RightToLeft", dirName, StringComparison.OrdinalIgnoreCase) == 0) 3704else if (string.Compare("LeftToRight", dirName, StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\System\Windows\Documents\ZoomPercentageConverter.cs (2)
178StringComparison.CurrentCultureIgnoreCase)) 187StringComparison.CurrentCultureIgnoreCase))
src\Framework\System\Windows\FrameworkElementFactory.cs (1)
1174return !childName.StartsWith(AutoGenChildNamePrefix, StringComparison.Ordinal);
src\Framework\System\Windows\Input\Command\CommandConverter.cs (1)
245int Offset = localName.LastIndexOf(".", StringComparison.Ordinal);
src\Framework\System\Windows\LengthConverter.cs (1)
209if (goodString.EndsWith(PixelUnitStrings[i], StringComparison.Ordinal))
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2156if (xamlNs.StartsWith(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal))
src\Framework\System\Windows\Markup\BamlMapTable.cs (4)
1183int dotIndex = typeFullName.LastIndexOf(".", StringComparison.Ordinal); 1591if (!ownerAsm.FullName.StartsWith("PresentationFramework", StringComparison.OrdinalIgnoreCase) && 1592!ownerAsm.FullName.StartsWith("PresentationCore", StringComparison.OrdinalIgnoreCase) && 1593!ownerAsm.FullName.StartsWith("WindowsBase", StringComparison.OrdinalIgnoreCase))
src\Framework\System\Windows\Markup\BamlReader.cs (13)
404int index = info.Name.LastIndexOf(".", StringComparison.Ordinal); 451int index = cpInfo.Name.LastIndexOf(".", StringComparison.Ordinal); 1320typeName = typeName.Substring(typeName.LastIndexOf(".", StringComparison.Ordinal) + 1); 1440markupString = markupString.Substring(markupString.LastIndexOf(".", StringComparison.Ordinal) + 1); 1567typename = typename.Substring(typename.LastIndexOf(".", StringComparison.Ordinal) + 1); 1981_localName = _name.Substring(_name.LastIndexOf(".", StringComparison.Ordinal) + 1); 2099int index = nodeInfo.Name.LastIndexOf(".", StringComparison.Ordinal); 2170int index = nodeInfo.Name.LastIndexOf(".", StringComparison.Ordinal); 2428typeName = typeName.Substring(typeName.LastIndexOf(".", StringComparison.Ordinal) + 1); 2503typeName = typeName.Substring(typeName.LastIndexOf(".", StringComparison.Ordinal) + 1); 2617typeName = typeName.Substring(typeName.LastIndexOf(".", StringComparison.Ordinal) + 1); 2666(assemblyFullName.StartsWith("PresentationFramework", StringComparison.Ordinal) 2667|| assemblyFullName.StartsWith("System.Xaml", StringComparison.Ordinal)))
src\Framework\System\Windows\Markup\Primitives\ExtensionSimplifierMarkupObject.cs (1)
330if (typeName.EndsWith("Extension", StringComparison.Ordinal))
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (5)
492name.EndsWith("Extension", StringComparison.Ordinal)) 851if (property.IsComposite || property.StringValue.IndexOf("{", StringComparison.Ordinal) == 0) 1059name.EndsWith("Extension", StringComparison.Ordinal)) 1658if (uri.StartsWith(clrUriPrefix, StringComparison.Ordinal)) 1660string ns = uri.Substring(clrUriPrefix.Length, uri.IndexOf(";", StringComparison.Ordinal) - clrUriPrefix.Length);
src\Framework\System\Windows\Markup\XamlFigureLengthSerializer.cs (2)
223if (goodString.EndsWith(UnitStrings[i].Name, StringComparison.Ordinal)) 240if (goodString.EndsWith(PixelUnitStrings[i], StringComparison.Ordinal))
src\Framework\System\Windows\Markup\XamlGridLengthSerializer.cs (2)
224if (goodString.EndsWith(UnitStrings[i], StringComparison.Ordinal)) 241if (goodString.EndsWith(PixelUnitStrings[i], StringComparison.Ordinal))
src\Framework\System\Windows\Markup\XamlParseException.cs (1)
311if (-1 == xamlFilePath.LastIndexOf(XamlExt, StringComparison.Ordinal))
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
3401if (xmlNamespace.StartsWith(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal))
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (3)
255int clrNsIndex = xmlNamespace.IndexOf(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal); 265int assemblyIndex = xmlNamespace.IndexOf(XamlReaderHelper.MappingAssembly, StringComparison.Ordinal); 363if (xamlNamespace.StartsWith(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal))
src\Framework\System\Windows\Navigation\JournalEntry.cs (1)
371bool isPack = String.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase) == 0;
src\Framework\System\Windows\Navigation\NavigationService.cs (2)
262StringComparison.OrdinalIgnoreCase) == 0); 830if (String.Compare(name, fe.Name, StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\System\Windows\SystemResources.cs (1)
1165Debug.Assert(callerName.Equals(nameof(EnsureResourceChangeListener), StringComparison.InvariantCulture));
src\Framework\System\Windows\ThemeDictionaryExtension.cs (1)
121if (assemblyName.Equals(SystemResources.PresentationFrameworkName, StringComparison.OrdinalIgnoreCase))
src\Shared\MS\Internal\SecurityHelper.cs (1)
1378return (String.Compare(m1, m2, StringComparison.OrdinalIgnoreCase) == 0);
SMDiagnostics (3)
System\ServiceModel\Diagnostics\TraceXPathNavigator.cs (3)
477if (string.Compare(ns, node.xmlns, StringComparison.Ordinal) == 0) 485if (string.Compare("xmlns", attributeNode.prefix, StringComparison.Ordinal) == 0) 487if (string.Compare(ns, attributeNode.nodeValue, StringComparison.Ordinal) == 0)
SMSvcHost (3)
System\ServiceModel\Activation\ListenerAdapter.cs (3)
483if (string.Compare(this.ProtocolName, protocol, StringComparison.OrdinalIgnoreCase) != 0) 501if (string.Compare(path, SiteRootPath, StringComparison.OrdinalIgnoreCase) == 0) 543if (string.Compare(path, SiteRootPath, StringComparison.OrdinalIgnoreCase) == 0)
System (306)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
549if (string.Compare(m.Groups[full ? 6 : 1].Value, "warning", StringComparison.OrdinalIgnoreCase) == 0) { 1962if (e.Parameters.Count > 0 && String.Compare(e.Name, "Item", StringComparison.OrdinalIgnoreCase) == 0) { 3066if( current.Name.Equals("system.paramarrayattribute", StringComparison.OrdinalIgnoreCase)) {
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)) {
compmod\microsoft\win32\SystemEvents.cs (2)
1097int firstDot = ns.IndexOf(".", StringComparison.Ordinal); 1147int lastDot = ns.LastIndexOf(".", StringComparison.Ordinal);
compmod\system\codedom\compiler\CodeDOMProvider.cs (5)
322if (Path.GetFileName(s).Equals("mscorlib.dll", StringComparison.OrdinalIgnoreCase)) { 328if (s.IndexOf(referenceAssemblyFolderPrefix, StringComparison.OrdinalIgnoreCase) >= 0) { 334if (String.Equals(dirs[i], "Reference Assemblies", StringComparison.OrdinalIgnoreCase)) { 337if (dirs[i + 4].StartsWith("v", StringComparison.OrdinalIgnoreCase)) { 339if (!String.Equals(multiTargetingPackRoot, Path.GetDirectoryName(s), StringComparison.OrdinalIgnoreCase)) {
compmod\system\codedom\compiler\CodeValidator.cs (1)
254if (e.Parameters.Count > 0 && String.Compare(e.Name, "Item", StringComparison.OrdinalIgnoreCase) == 0) {
compmod\system\codedom\compiler\TempFiles.cs (1)
337if (tempDir.EndsWith("\\", StringComparison.Ordinal))
compmod\system\componentmodel\ComponentCollection.cs (1)
61if (comp != null && comp.Site != null && comp.Site.Name != null && string.Equals(comp.Site.Name, name, StringComparison.OrdinalIgnoreCase)) {
compmod\system\componentmodel\ComponentResourceManager.cs (1)
129if (string.Compare(key, 0, objectName, 0, objectName.Length, StringComparison.OrdinalIgnoreCase) != 0) {
compmod\system\componentmodel\Container.cs (1)
249&& string.Equals(s.Name, name, StringComparison.OrdinalIgnoreCase)
compmod\system\componentmodel\CultureInfoConverter.cs (2)
102if (text == null || text.Length == 0 || string.Compare(text, DefaultCultureString, StringComparison.Ordinal) == 0) { 113if (info != null && string.Compare(GetCultureName(info), text, StringComparison.Ordinal) == 0) {
compmod\system\componentmodel\EventDescriptorCollection.cs (2)
225if (String.Equals(events[i].Name, name, StringComparison.OrdinalIgnoreCase)) { 233if (String.Equals(events[i].Name, name, StringComparison.Ordinal)) {
compmod\system\componentmodel\PropertyDescriptorCollection.cs (1)
264if (String.Equals(properties[i].Name, name, StringComparison.OrdinalIgnoreCase)) {
compmod\system\configuration\appsettingsreader.cs (1)
83if (count > 0 && string.Compare(NullString, 0, val, count, len - 2 * count, StringComparison.Ordinal) != 0) {
compmod\system\security\permissions\AspNetHostingPermission.cs (2)
214if (className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) < 0) { 219if (string.Compare(version, "1", StringComparison.OrdinalIgnoreCase) != 0) {
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
241if (unrestrictedValue != null && (string.Compare(unrestrictedValue, "true", StringComparison.OrdinalIgnoreCase) == 0)) {
net\System\Net\_AuthenticationManagerDefault.cs (2)
154StringComparison.OrdinalIgnoreCase) == 0) 456StringComparison.OrdinalIgnoreCase) == 0)
net\System\Net\_AutoWebProxyScriptHelper.cs (18)
52if (string.Compare(name, "isPlainHostName", StringComparison.Ordinal)==0) { 55else if (string.Compare(name, "dnsDomainIs", StringComparison.Ordinal)==0) { 58else if (string.Compare(name, "localHostOrDomainIs", StringComparison.Ordinal)==0) { 61else if (string.Compare(name, "isResolvable", StringComparison.Ordinal)==0) { 64else if (string.Compare(name, "dnsResolve", StringComparison.Ordinal)==0) { 67else if (string.Compare(name, "myIpAddress", StringComparison.Ordinal)==0) { 70else if (string.Compare(name, "dnsDomainLevels", StringComparison.Ordinal)==0) { 73else if (string.Compare(name, "isInNet", StringComparison.Ordinal)==0) { 76else if (string.Compare(name, "shExpMatch", StringComparison.Ordinal)==0) { 79 else if (string.Compare(name, "weekdayRange", StringComparison.Ordinal)==0) { 94 if (string.Compare(name, "dnsResolveEx", StringComparison.Ordinal)==0) { 97 else if (string.Compare(name, "isResolvableEx", StringComparison.Ordinal)==0) { 100 else if (string.Compare(name, "myIpAddressEx", StringComparison.Ordinal)==0) { 103 else if (string.Compare(name, "isInNetEx", StringComparison.Ordinal)==0) { 106 else if (string.Compare(name, "sortIpAddressList", StringComparison.Ordinal)==0) { 109 else if (string.Compare(name, "getClientVersion", StringComparison.Ordinal)==0) { 296return string.Compare(host, hostDom, StringComparison.OrdinalIgnoreCase)==0; 488return string.Compare(gmt, "GMT", StringComparison.OrdinalIgnoreCase)==0;
net\System\Net\_BasicClient.cs (1)
130bool canMapToCurrentCodePage = string.Compare(rawString, rawCopy, StringComparison.Ordinal)==0;
net\System\Net\_Connection.cs (1)
2713&& string.Compare(m_ResponseData.m_StatusDescription, "Bad Request ( The HTTP request includes a non-supported header. Contact the Server administrator. )", StringComparison.OrdinalIgnoreCase)==0) {
net\System\Net\_DigestClient.cs (6)
808if (string.Compare(name, DA_charset, StringComparison.OrdinalIgnoreCase)==0) { 816if (string.Compare(value, "utf-8", StringComparison.OrdinalIgnoreCase)==0) { 915charset = string.Compare(rawString, rawCopy, StringComparison.Ordinal)==0 ? Charset.ANSI : Charset.UTF8; 1086nonce.StartsWith(Upgraded, StringComparison.Ordinal); 1135if (challenge.Algorithm==null || string.Compare(challenge.Algorithm, "md5" ,StringComparison.OrdinalIgnoreCase)==0) { 1138else if (string.Compare(challenge.Algorithm, "md5-sess" ,StringComparison.OrdinalIgnoreCase)==0) {
net\System\Net\_FtpControlStream.cs (1)
627&& request.RenameTo.StartsWith("/", StringComparison.OrdinalIgnoreCase))
net\System\Net\_HeaderInfoTable.cs (1)
85bool isExpires = (lastAttribute.IndexOf("Expires", StringComparison.OrdinalIgnoreCase) >= 0) && (lastAttribute.Length == 7);
net\System\Net\_ListenerResponseStream.cs (1)
397if ((m_HttpContext.Response.BoundaryType==BoundaryType.Chunked || m_HttpContext.Response.BoundaryType==BoundaryType.None) && (String.Compare(m_HttpContext.Request.HttpMethod, "HEAD", StringComparison.OrdinalIgnoreCase)!=0)) {
net\System\Net\_ServiceNameStore.cs (2)
180if (String.Compare(hostname, "*", StringComparison.InvariantCultureIgnoreCase) == 0 || 181String.Compare(hostname, "+", StringComparison.InvariantCultureIgnoreCase) == 0 ||
net\System\Net\_SpnDictionary.cs (1)
77if(String.Compare(s,0,canonicalKey,0,s.Length,StringComparison.OrdinalIgnoreCase) == 0){
net\System\Net\_SSPIWrapper.cs (4)
64if (string.Compare(supportedSecurityPackages[i].Name, packageName, StringComparison.OrdinalIgnoreCase) == 0) { 904if (string.Compare(name, Kerberos, StringComparison.OrdinalIgnoreCase)==0) { 907else if (string.Compare(name, NTLM, StringComparison.OrdinalIgnoreCase)==0) { 910else if (string.Compare(name, WDigest, StringComparison.OrdinalIgnoreCase)==0) {
net\System\Net\_WebProxyDataBuilder.cs (1)
247if (string.Compare(trimmedBypassString, "<local>", StringComparison.OrdinalIgnoreCase)==0) {
net\System\Net\AuthenticationManager.cs (1)
265Debug.Assert(signature.ToLowerInvariant().Equals(signature, StringComparison.Ordinal),
net\System\Net\Cache\IERequestCache.cs (2)
286if (cacheEntry.EntryMetadata != null && value.StartsWith(c_SPARSE_ENTRY_HACK, StringComparison.Ordinal)) 1045(m_Entry.MetaInfo != "\r\n" && m_Entry.MetaInfo.IndexOf("\r\n\r\n", StringComparison.Ordinal) == -1))
net\System\Net\Configuration\UriSection.cs (2)
255if (appConfigFile.StartsWith("http://", StringComparison.OrdinalIgnoreCase) || 256appConfigFile.StartsWith("https://", StringComparison.OrdinalIgnoreCase)) {
net\System\Net\Configuration\UriSectionReader.cs (2)
222return string.Compare(value1, value2, StringComparison.OrdinalIgnoreCase) == 0; 276string.Compare(reader.Name, elementName, StringComparison.OrdinalIgnoreCase) == 0;
net\System\Net\cookie.cs (13)
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) 732&& (string.Compare(Value, other.Value, StringComparison.Ordinal) == 0) 733&& (string.Compare(Path, other.Path, StringComparison.Ordinal) == 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) { 1638if ((result = string.Compare(left.Path, right.Path, StringComparison.Ordinal)) != 0) {
net\System\Net\cookiecollection.cs (1)
84if (string.Compare(c.Name, name, StringComparison.OrdinalIgnoreCase ) == 0) {
net\System\Net\cookiecontainer.cs (2)
550if (string.Compare(m_fqdnMyDomain, 0, host, dot, m_fqdnMyDomain.Length, StringComparison.OrdinalIgnoreCase ) == 0) 640if ((String.Compare(headerName, HeaderInfo[i].Name, 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\DNS.cs (2)
626return normalizedHost1.Equals(normalizedHost2, StringComparison.OrdinalIgnoreCase); 629return host1.Equals(host2, StringComparison.OrdinalIgnoreCase);
net\System\Net\DnsPermission.cs (1)
184m_noRestriction = (str!=null?(0 == string.Compare( str, "true", StringComparison.OrdinalIgnoreCase)):false);
net\System\Net\FtpWebRequest.cs (1)
2018return name == null? null: (String.Compare(name,"anonymous", StringComparison.InvariantCultureIgnoreCase) == 0? null: name);
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\HttpListenerRequest.cs (3)
394StringComparison.OrdinalIgnoreCase)) { 490if (string.Compare(connection, HttpKnownHeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase) == 0) 504if (string.Compare(upgrade, WebSocketHelpers.WebSocketUpgradeToken, StringComparison.OrdinalIgnoreCase) == 0)
net\System\Net\HttpListenerRequestUriBuilder.cs (2)
430if (uriString.StartsWith("http://", StringComparison.OrdinalIgnoreCase)) 434else if (uriString.StartsWith("https://", StringComparison.OrdinalIgnoreCase))
net\System\Net\HttpWebRequest.cs (6)
5015&& acceptEncodingValues.IndexOf(GZipHeader, StringComparison.OrdinalIgnoreCase) < 0) { 5018&& acceptEncodingValues.IndexOf(DeflateHeader, StringComparison.OrdinalIgnoreCase) < 0) { 5026&& acceptEncodingValues.IndexOf(DeflateHeader, StringComparison.OrdinalIgnoreCase) < 0) { 5056if (connectionValues.IndexOf(HttpKnownHeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase) < 0) 5785UriFormat.Unescaped, StringComparison.OrdinalIgnoreCase) != 0; 6284if (String.Compare(curRange.Substring(0, curRange.IndexOf('=')), rangeSpecifier, StringComparison.OrdinalIgnoreCase) != 0) {
net\System\Net\HttpWebResponse.cs (2)
543contentEncoding.IndexOf(HttpWebRequest.GZipHeader, StringComparison.CurrentCulture) != -1) { 553contentEncoding.IndexOf(HttpWebRequest.DeflateHeader, StringComparison.CurrentCulture) != -1) {
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\ContentDisposition.cs (1)
327return (String.Compare(ToString(), rparam.ToString(), StringComparison.OrdinalIgnoreCase) == 0);
net\System\Net\mail\ContentType.cs (1)
247return (String.Compare(ToString(), rparam.ToString(), StringComparison.OrdinalIgnoreCase ) == 0);
net\System\Net\mail\MailAddress.cs (1)
200return ToString().Equals(value.ToString(),StringComparison.InvariantCultureIgnoreCase);
net\System\Net\mail\Message.cs (1)
510StringComparison.InvariantCultureIgnoreCase) == 0)
net\System\Net\mail\MimePart.cs (4)
57if (value.Equals("base64", StringComparison.OrdinalIgnoreCase)) 59else if (value.Equals("quoted-printable", StringComparison.OrdinalIgnoreCase)) 61else if (value.Equals("7bit", StringComparison.OrdinalIgnoreCase)) 63else if (value.Equals("8bit", StringComparison.OrdinalIgnoreCase))
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\NetWebProxyFinder.cs (2)
427if (!proxyString.StartsWith("PROXY ", StringComparison.OrdinalIgnoreCase)) 429if (string.Compare("DIRECT", proxyString, StringComparison.OrdinalIgnoreCase) == 0)
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\ServicePoint.cs (6)
681Debug.Assert(connectionGroupPrefixSafeInternal.StartsWith(connectionGroupPrefixSafe, StringComparison.Ordinal)); 682Debug.Assert(connectionGroupPrefixUnsafeInternal.StartsWith(connectionGroupPrefixUnsafe, StringComparison.Ordinal)); 697if (current.StartsWith(connectionGroupPrefixSafeInternal, StringComparison.Ordinal) || 698current.StartsWith(connectionGroupPrefixUnsafeInternal, StringComparison.Ordinal)) 712else if ((current.StartsWith(connectionGroupPrefixSafe, StringComparison.Ordinal) || 713current.StartsWith(connectionGroupPrefixUnsafe, StringComparison.Ordinal)) &&
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\webclient.cs (1)
747if ((contentType != null) && (String.Compare(contentType, UploadValuesContentType, StringComparison.OrdinalIgnoreCase) != 0)) {
net\System\Net\WebHeaderCollection.cs (1)
2105if (!(string.Compare(m_String, copy, StringComparison.Ordinal) == 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;
net\System\Net\webproxy.cs (1)
367string.Compare(local, 0, hostString, dot, local.Length, StringComparison.OrdinalIgnoreCase ) == 0) {
net\System\Net\WebRequest.cs (3)
170StringComparison.OrdinalIgnoreCase ) == 0) { 386if (!prefix.EndsWith("/", StringComparison.Ordinal) 416if (String.Compare(Current.Prefix, prefix, StringComparison.OrdinalIgnoreCase) == 0) {
net\System\Net\WebSockets\ClientWebSocket.cs (5)
272StringComparison.OrdinalIgnoreCase)) 281StringComparison.OrdinalIgnoreCase)) 291if (!string.Equals(websocketAcceptHeader, expectedAcceptHeader, StringComparison.OrdinalIgnoreCase)) 305if (string.Equals(requestedSubProtocol, subProtocol, StringComparison.OrdinalIgnoreCase)) 572if (string.Equals(item, subProtocol, StringComparison.OrdinalIgnoreCase))
net\System\Net\WebSockets\WebSocketHelpers.cs (2)
261if (string.Compare(acceptProtocol, currentRequestProtocol, StringComparison.OrdinalIgnoreCase) == 0) 340if (string.Compare(secWebSocketVersion, WebSocketProtocolComponent.SupportedVersion, StringComparison.OrdinalIgnoreCase) != 0)
net\System\Net\WebSockets\WebSocketProtocolComponent.cs (2)
398StringComparison.OrdinalIgnoreCase) == 0) 468StringComparison.OrdinalIgnoreCase) == 0)
net\System\URI.cs (4)
1794else if (String.Compare(m_String, obj.m_String, StringComparison.OrdinalIgnoreCase) == 0) { 1908IsUncOrDosPath ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal ) == 0); 1930&& !(uri.IsDosPath && otherPath.Equals(relativeUriString, StringComparison.Ordinal)))
net\System\UriExt.cs (1)
425StringComparison comparisonType)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
128if (key.Equals(c_versionKey, StringComparison.OrdinalIgnoreCase)) 148else if (key.Equals(c_profileKey, StringComparison.OrdinalIgnoreCase))
parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (1)
62int index = envVar.IndexOf(cacheName, StringComparison.OrdinalIgnoreCase);
regex\system\text\regularexpressions\RegexCharClass.cs (1)
1150int res = String.Compare(capname, _propTable[mid,0], StringComparison.Ordinal);
security\system\security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
196return (String.Compare(serviceName1, serviceName2, StringComparison.OrdinalIgnoreCase) == 0);
security\system\security\cryptography\asnencodeddata.cs (1)
125if (String.Compare(szOid1, szOid2, StringComparison.OrdinalIgnoreCase) != 0)
security\system\security\cryptography\cryptoapi.cs (1)
3798if (pvPara != null && pvPara.StartsWith(@"\\", StringComparison.Ordinal))
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)
security\system\security\cryptography\x509\x509extension.cs (1)
642if (String.Compare(extension.Oid.Value, oidValue, StringComparison.OrdinalIgnoreCase) == 0)
security\system\security\permissions\storepermission.cs (2)
124if (className == null || className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) == -1) 128if (unrestricted != null && String.Compare(unrestricted, "true", StringComparison.OrdinalIgnoreCase) == 0) {
security\system\security\permissions\typedescriptorpermission.cs (2)
196if (className == null || className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) == -1) 200if (unrestricted != null && String.Compare(unrestricted, "true", StringComparison.OrdinalIgnoreCase) == 0)
services\io\system\io\FileSystemEventArgs.cs (1)
31if (!directory.EndsWith("\\", StringComparison.Ordinal)) {
services\io\system\io\FileSystemWatcher.cs (2)
223if (String.Compare(filter, value, StringComparison.OrdinalIgnoreCase) != 0) { 303if (String.Compare(directory, value, StringComparison.OrdinalIgnoreCase) != 0) {
services\io\system\io\PatternMatcher.cs (1)
170if (name.Length >= rightLength && String.Compare(expression, 1, name, name.Length - rightLength, rightLength, StringComparison.OrdinalIgnoreCase) == 0) {
services\io\system\io\RenamedEventArgs.cs (1)
33if (!directory.EndsWith("\\", StringComparison.Ordinal)) {
services\monitoring\system\diagnosticts\EventLog.cs (5)
467if ( string.Compare(logNameFirst8,"AppEvent",StringComparison.OrdinalIgnoreCase) ==0 || 468string.Compare(logNameFirst8,"SecEvent",StringComparison.OrdinalIgnoreCase) ==0 || 469string.Compare(logNameFirst8,"SysEvent",StringComparison.OrdinalIgnoreCase) ==0 ) 725if ( string.Compare(keyname, index+1, source, 0, keyname.Length - index, StringComparison.Ordinal) == 0 ) 847string.Compare(currentLogName.Substring(0, 8), logNameFirst8, StringComparison.OrdinalIgnoreCase) == 0)
services\monitoring\system\diagnosticts\EventLogInternal.cs (2)
1535if (rightLogName != null && currentLogName != null && String.Compare(rightLogName, currentLogName, StringComparison.OrdinalIgnoreCase) != 0) 1553if (rightLogName != null && currentLogName != null && String.Compare(rightLogName, currentLogName, StringComparison.OrdinalIgnoreCase) != 0)
services\monitoring\system\diagnosticts\PerformanceCounter.cs (4)
157if (categoryName == null || String.Compare(categoryName, value, StringComparison.OrdinalIgnoreCase) != 0) { 206if (counterName == null || String.Compare(counterName, value, StringComparison.OrdinalIgnoreCase) != 0) { 278String.Compare(instanceName, value, StringComparison.OrdinalIgnoreCase) != 0) { 516if (currentMachineName != "." && String.Compare(currentMachineName, PerformanceCounterLib.ComputerName, 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\Process.cs (4)
1560if( String.Equals(processName, procs[i].ProcessName, StringComparison.OrdinalIgnoreCase)) { 1952bool fileNameIsQuoted = (fileName.StartsWith("\"", StringComparison.Ordinal) && fileName.EndsWith("\"", StringComparison.Ordinal)); 2790return String.Compare(sa, sb, StringComparison.OrdinalIgnoreCase);
services\monitoring\system\diagnosticts\ProcessManager.cs (12)
315if (machineName.StartsWith("\\", StringComparison.Ordinal)) 324if (String.Compare(computerName, baseName, StringComparison.OrdinalIgnoreCase) == 0) return false; 687if (string.Compare(moduleInfo.fileName, "\\SystemRoot\\System32\\smss.exe", StringComparison.OrdinalIgnoreCase) == 0) { 693&& moduleInfo.fileName.StartsWith(@"\\?\", StringComparison.Ordinal)) { 834if (processInfo.processId == 0 && string.Compare(instanceName, "Idle", StringComparison.OrdinalIgnoreCase) != 0) { 853if (instanceName.EndsWith(".", StringComparison.Ordinal )) processName = instanceName.Substring(0, 14); 854else if (instanceName.EndsWith(".e", StringComparison.Ordinal )) processName = instanceName.Substring(0, 13); 855else if (instanceName.EndsWith(".ex", StringComparison.Ordinal)) processName = instanceName.Substring(0, 12); 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) )
services\monitoring\system\diagnosticts\ProcessStartInfo.cs (1)
306if (string.Compare(names[i], "new", StringComparison.OrdinalIgnoreCase) != 0)
services\monitoring\system\diagnosticts\SharedUtils.cs (1)
320if (!installRoot.EndsWith("\\", StringComparison.Ordinal))
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)) {
sys\system\configuration\ConfigurationException.cs (1)
175if (filename.StartsWith(HTTP_PREFIX, StringComparison.OrdinalIgnoreCase)) {
sys\system\io\ports\SerialPort.cs (1)
419if (value.StartsWith("\\\\", StringComparison.Ordinal))
sys\system\io\ports\SerialStream.cs (1)
649if ((portName == null) || !portName.StartsWith("COM", StringComparison.OrdinalIgnoreCase))
sys\system\runtime\versioning\FrameworkName.cs (2)
174if (key.Equals(c_versionKey, StringComparison.OrdinalIgnoreCase)) { 191else if (key.Equals(c_profileKey, StringComparison.OrdinalIgnoreCase)) {
System.Activities (28)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (3)
618if (string.Equals(reference.Name, targetName, StringComparison.OrdinalIgnoreCase)) 633if (string.Equals(reference.Name, targetName, StringComparison.OrdinalIgnoreCase)) 644if (string.Equals(reference.Name, targetName, StringComparison.OrdinalIgnoreCase))
Microsoft\VisualBasic\Activities\VisualBasicImportReference.cs (1)
126if (string.Compare(this.Import, other.Import, StringComparison.OrdinalIgnoreCase) != 0)
Microsoft\VisualBasic\Activities\VisualBasicNameShadowingConstraint.cs (1)
54if (string.Equals(reference.Name, targetName, StringComparison.OrdinalIgnoreCase))
System\Activities\Debugger\DebugInfo.cs (8)
268if (!(variable.Name.StartsWith("_", StringComparison.Ordinal) || // private variables that should be hidden 322if (t == typeof(string) && value.StartsWith("\"", StringComparison.Ordinal) && value.EndsWith("\"", StringComparison.Ordinal)) 396if (value.EndsWith("M", StringComparison.OrdinalIgnoreCase) || // suffix for Decimal format in C# 397value.EndsWith("D", StringComparison.OrdinalIgnoreCase)) // suffix for Decimal format in VB 454if (stringValue.StartsWith("0X", StringComparison.Ordinal)) 463if (stringValue.StartsWith("\"", StringComparison.Ordinal)) 467if (stringValue.EndsWith("\"", StringComparison.Ordinal))
System\Activities\Expressions\AssemblyNameEqualityComparer.cs (1)
43if (string.Compare(x.Name, y.Name, StringComparison.OrdinalIgnoreCase) != 0)
System\Activities\Expressions\AssemblyReference.cs (1)
188if ((String.Compare(curAsmName.Name, assemblyName.Name, StringComparison.OrdinalIgnoreCase) == 0) &&
System\Activities\Expressions\Literal.cs (1)
170if (originalString.EndsWith("]", StringComparison.Ordinal) && ExpressionEscapeRegex.IsMatch(originalString))
System\Activities\Expressions\TextExpression.cs (1)
185return string.Equals(left, right, StringComparison.OrdinalIgnoreCase);
System\Activities\ExpressionUtilities.cs (3)
129else if (method.IsSpecialName && method.Name.StartsWith("get_", StringComparison.Ordinal)) 195else if (method.IsSpecialName && method.Name.StartsWith("get_", StringComparison.Ordinal)) 500Fx.Assert(this.getItemMethod.IsSpecialName && this.getItemMethod.Name.StartsWith("get_", StringComparison.Ordinal), "Special get_Item method required.");
System\Activities\RuntimeArgument.cs (1)
562return string.Compare(x.Name, y.Name, StringComparison.CurrentCulture);
System\Activities\Statements\StateMachineIdHelper.cs (1)
75return state2Id.StartsWith(state1Id + StateIdSeparator, StringComparison.Ordinal);
System\Activities\Statements\TimerTable.cs (1)
389return string.Compare(x.Bookmark.Name, y.Bookmark.Name, StringComparison.OrdinalIgnoreCase);
System\Activities\Tracking\ActivityStateRecord.cs (1)
289bool isActivityStateExecuting = ActivityStates.Executing.Equals(this.State, StringComparison.Ordinal);
System\Activities\XamlIntegration\ActivityWithResultConverter.cs (3)
150if (text.EndsWith("]", StringComparison.Ordinal) && LiteralEscapeRegex.IsMatch(text)) 177return (text.StartsWith("[", StringComparison.Ordinal) && text.EndsWith("]", StringComparison.Ordinal));
System\Activities\XamlIntegration\DynamicActivityXamlReader.cs (1)
574if (ns.StartsWith(clrNamespacePart, StringComparison.Ordinal))
System.Activities.Core.Presentation (8)
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (4)
95if (string.Equals(e.Key, FlowchartSizeFeature.WidthPropertyName, StringComparison.Ordinal)) 99else if (string.Equals(e.Key, FlowchartSizeFeature.HeightPropertyName, StringComparison.Ordinal)) 147if (e.Key.Equals(FlowchartDesigner.FlowSwitchDefaultViewStateKey, StringComparison.CurrentCulture)) 151else if (e.Key.EndsWith(CaseViewStateKeyAppendString, StringComparison.CurrentCulture))
System\Activities\Core\Presentation\StateContainerEditor.ModelChangeReactions.cs (2)
254if (string.Equals(e.Key, StateContainerWidthViewStateKey, StringComparison.Ordinal)) 260else if (string.Equals(e.Key, StateContainerHeightViewStateKey, StringComparison.Ordinal))
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (1)
435if (string.Equals(stateName, stateModelItem.Properties[StateDesigner.DisplayNamePropertyName].ComputedValue as string, StringComparison.Ordinal))
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (1)
583.Where<string>(p => 0 == string.Compare(p, 0, this.ArgumentPrefix, 0, this.ArgumentPrefix.Length, StringComparison.Ordinal))
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\SerializationUtilities.cs (1)
261return ((decimalAsString.Length - decimalAsString.IndexOf(".", StringComparison.Ordinal)) - 1 <= 18);
System\Activities\DurableInstancing\StoreUtilities.cs (1)
125if (string.Compare("Result", columnName, StringComparison.Ordinal) == 0)
System.Activities.Presentation (80)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\TypeNameHelper.cs (2)
58int start = name.IndexOf("[[", StringComparison.Ordinal); 59int end = name.LastIndexOf("]]", StringComparison.Ordinal);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (3)
96if (inputReader.Namespace.Namespace.Equals(NameSpaces.Design2010, StringComparison.Ordinal)) 632if (member.DeclaringType.UnderlyingType == typeof(WorkflowViewStateService) && member.Name.Equals("ViewState", StringComparison.Ordinal)) 636else if (member.DeclaringType.UnderlyingType == typeof(VirtualizedContainerService) && member.Name.Equals("HintSize", StringComparison.Ordinal))
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (3)
216return ns.StartsWith(XamlNamespaceHelper.ClrNamespacePrefix, StringComparison.OrdinalIgnoreCase) && 217ns.IndexOf(XamlNamespaceHelper.ClrNamespaceAssemblyField, StringComparison.OrdinalIgnoreCase) == -1; 224return !string.IsNullOrEmpty(this.localAssemblyNsPostfix) && ns.EndsWith(this.localAssemblyNsPostfix, StringComparison.OrdinalIgnoreCase);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlNamespaceHelper.cs (2)
18if (!xamlNamespace.StartsWith(ClrNamespacePrefix, StringComparison.Ordinal)) 23int assemblyIndex = xamlNamespace.IndexOf(ClrNamespaceAssemblyField, StringComparison.Ordinal);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\manifestimages.cs (4)
68return extensionlessResourceName != null && extensionlessResourceName.EndsWith(typeName, StringComparison.Ordinal); 158if (SupportedExtensions[i].Equals(extension, StringComparison.OrdinalIgnoreCase)) 170return ".xaml".Equals(Path.GetExtension(resourceName), StringComparison.OrdinalIgnoreCase); 182int dotIconIndex = resourceName.LastIndexOf(".Icon", StringComparison.OrdinalIgnoreCase);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
250if (string.Compare(category.CategoryName, this[index].CategoryName, StringComparison.CurrentCulture) < 0)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (1)
312return string.Compare(x.GetType().ToString(), y.GetType().ToString(), StringComparison.CurrentCulture);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (3)
713if (element != null && element.Name.Equals("PART_EditableTextBox", StringComparison.Ordinal)) 839if (element != null && element.Name.Equals("PART_EditableTextBox", StringComparison.Ordinal)) 853if (element != null && element.Name.Equals("PART_EditableTextBox", StringComparison.Ordinal))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
231else if (EditorUtilities.IsNullableEnumType(this.ParentProperty.PropertyType) && stringToConvert.Equals(EditorUtilities.NullString, StringComparison.Ordinal))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\PropertyEntryNameComparer.cs (1)
38return string.Compare(j.DisplayName, k.DisplayName, StringComparison.CurrentCulture);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\PropertyEntryPropertyOrderComparer.cs (1)
86return result != 0 ? result : string.Compare(j.DisplayName, k.DisplayName, StringComparison.CurrentCulture);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (2)
1598member.Name.StartsWith("Get", StringComparison.Ordinal) && 1701if (info.IsStatic && info.Name.StartsWith("Get", StringComparison.Ordinal))
System.Activities.Presentation\System\Activities\Presentation\Debugger\DebuggerService.cs (1)
722return !string.IsNullOrEmpty(sourceLocation.FileName) && sourceLocation.FileName.StartsWith(unresolvedPrefix, StringComparison.OrdinalIgnoreCase);
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (2)
78stackTrace = stackTrace.Remove(0, stackTrace.IndexOf(Environment.NewLine, StringComparison.Ordinal) + 1); 91stackTrace = stackTrace.Remove(0, stackTrace.IndexOf(Environment.NewLine, StringComparison.Ordinal) + 1);
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (3)
106expressionText.StartsWith("\"", StringComparison.CurrentCulture) && 107expressionText.EndsWith("\"", StringComparison.CurrentCulture) && 108expressionText.IndexOf("\"", 1, StringComparison.CurrentCulture) == expressionText.Length - 1;
System.Activities.Presentation\System\Activities\Presentation\Model\GenericArgumentsUpdater.cs (1)
53if (string.Equals((string)modelItem.Properties["DisplayName"].ComputedValue, GetActivityDefaultName(oldModelItemType), StringComparison.Ordinal))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
394this.nameProperty = this.Properties.FirstOrDefault<ModelProperty>(p => (0 == string.Compare(p.Name, "Name", StringComparison.OrdinalIgnoreCase)));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (3)
97return string.Equals(property.Name, "Variables", StringComparison.Ordinal) 98|| string.Equals(property.Name, DisplayNamePropertyName, StringComparison.Ordinal) 99|| string.Equals(property.Name, "Id", StringComparison.Ordinal);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelService.cs (2)
144return FromName(scope, name, StringComparison.Ordinal); 168public abstract ModelItem FromName(ModelItem scope, string name, StringComparison comparison);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelServiceImpl.cs (1)
61public override ModelItem FromName(ModelItem scope, string name, StringComparison comparison)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemLoader.cs (16)
68if (entry.StartsWith("[", StringComparison.CurrentCulture) && entry.EndsWith("]", StringComparison.CurrentCulture)) 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))
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (1)
157if (string.IsNullOrEmpty(tool.DisplayName) || tool.DisplayName.IndexOf(text, StringComparison.OrdinalIgnoreCase) < 0)
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));
System.Activities.Presentation\System\Activities\Presentation\View\AssemblyContextControlItem.cs (1)
51if (LocalAssemblyName == null || !assemblyName.FullName.Equals(LocalAssemblyName.FullName, StringComparison.Ordinal))
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
370return value.ToString().StartsWith(this.lastInput, StringComparison.OrdinalIgnoreCase);
System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (2)
169int startIndex = nameSpace.IndexOf(":", StringComparison.Ordinal); 170int endIndex = nameSpace.IndexOf(";", StringComparison.Ordinal);
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
468return string.Equals(propertyName, attr.PromotedProperty, StringComparison.Ordinal);
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (7)
777if (string.Equals(searchText, entry.FullName, StringComparison.OrdinalIgnoreCase)) 797if (searchText.Contains('.') && ns.DisplayName != null && ns.DisplayName.StartsWith(searchText, StringComparison.OrdinalIgnoreCase)) 838if (searchText.StartsWith(".", StringComparison.OrdinalIgnoreCase)) 840return -1 != type.FullName.IndexOf(searchText, StringComparison.OrdinalIgnoreCase); 843if (type.FullName.StartsWith(searchText, StringComparison.OrdinalIgnoreCase)) 848if (-1 != type.FullName.IndexOf("." + searchText, StringComparison.OrdinalIgnoreCase)) 858return type.DisplayName.StartsWith(searchText, StringComparison.OrdinalIgnoreCase);
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));
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierName.cs (2)
135else if (trimedName.StartsWith("[", StringComparison.Ordinal) && trimedName.EndsWith("]", StringComparison.Ordinal))
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (5)
522if (String.Equals(this.ExpressionText, string.Empty, StringComparison.OrdinalIgnoreCase) && this.ExpressionType != null) 1076context.ExpressionText.StartsWith("\"", StringComparison.CurrentCulture) && 1077context.ExpressionText.EndsWith("\"", StringComparison.CurrentCulture) && 1078context.ExpressionText.IndexOf("\"", 1, StringComparison.CurrentCulture) == context.ExpressionText.Length - 1; 1189if (e.PropertyName.Equals("ExpressionText", StringComparison.Ordinal))
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.SerializationHelpers.cs (1)
115(this.isModelChanged && !string.Equals(newText, this.Text, StringComparison.Ordinal)))
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
422if (!this.CustomItemStatus.EndsWith(" ", StringComparison.Ordinal))
System.AddIn (15)
System\Addin\Hosting\ActivationWorker.cs (1)
152if (assembly.FullName.Equals(assemblyName, StringComparison.OrdinalIgnoreCase)) {
System\Addin\Hosting\AddInStore.cs (11)
518if (!String.Equals(defaultAddInLocation, addInPath, StringComparison.OrdinalIgnoreCase)) 844if (file.EndsWith(".dll", StringComparison.OrdinalIgnoreCase) || file.EndsWith(".exe", StringComparison.OrdinalIgnoreCase)) 853if (file.EndsWith(".dll", StringComparison.OrdinalIgnoreCase) || file.EndsWith(".exe", StringComparison.OrdinalIgnoreCase)) 862if (file.EndsWith(".dll", StringComparison.OrdinalIgnoreCase) || file.EndsWith(".exe", StringComparison.OrdinalIgnoreCase)) 872if (file.EndsWith(".dll", StringComparison.OrdinalIgnoreCase) || file.EndsWith(".exe", StringComparison.OrdinalIgnoreCase)) 979return file.EndsWith(".dll", StringComparison.OrdinalIgnoreCase) || file.EndsWith(".exe", StringComparison.OrdinalIgnoreCase);
System\Addin\Hosting\QualificationDataItem.cs (2)
51return (String.Equals(m_key, that.m_key, StringComparison.Ordinal) && 52String.Equals(m_value, that.m_value, StringComparison.Ordinal) &&
System\Addin\Hosting\Utils.cs (1)
151if (!path.StartsWith(root, StringComparison.OrdinalIgnoreCase))
System.ComponentModel.DataAnnotations (8)
DataAnnotations\PhoneAttribute.cs (3)
91.LastIndexOf("ext.", StringComparison.InvariantCultureIgnoreCase); 100.LastIndexOf("ext", StringComparison.InvariantCultureIgnoreCase); 110.LastIndexOf("x", StringComparison.InvariantCultureIgnoreCase);
DataAnnotations\UrlAttribute.cs (3)
34(valueAsString.StartsWith("http://", StringComparison.InvariantCultureIgnoreCase) 35|| valueAsString.StartsWith("https://", StringComparison.InvariantCultureIgnoreCase) 36|| valueAsString.StartsWith("ftp://", StringComparison.InvariantCultureIgnoreCase));
parent\parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
128if (key.Equals(c_versionKey, StringComparison.OrdinalIgnoreCase)) 148else if (key.Equals(c_profileKey, StringComparison.OrdinalIgnoreCase))
System.Configuration (18)
System\Configuration\BaseConfigurationRecord.cs (2)
4368if (string.Equals(configKey, RESERVED_SECTION_PROTECTED_CONFIGURATION, StringComparison.Ordinal) || 4370string.Equals(configKey, Microsoft_CONFIGURATION_SECTION, StringComparison.Ordinal)) {
System\Configuration\ClientConfigPaths.cs (2)
534int lastDot = ns.LastIndexOf(".", StringComparison.Ordinal); 560int firstDot = ns.IndexOf(".", StringComparison.Ordinal);
System\Configuration\ClientConfigurationSystem.cs (2)
57return configKey == SystemDiagnosticsConfigKey || (_isAppConfigHttp && configKey.StartsWith(SystemNetGroupKey, StringComparison.Ordinal)); 64return _isAppConfigHttp && configKey.StartsWith(SystemNetGroupKey, StringComparison.Ordinal);
System\Configuration\ConfigurationLockCollection.cs (1)
158if (name.Equals(_ignoreName) || ParentListEnclosed.IndexOf("," + name + ",", StringComparison.Ordinal) >= 0) {
System\Configuration\ConfigurationPermission.cs (1)
154if (className.IndexOf(this.GetType().FullName, StringComparison.Ordinal ) < 0) {
System\Configuration\FipsAwareEncryptedXml.cs (1)
69return string.Equals(symmetricAlgorithmUri, EncryptedXml.XmlEncAES256Url, StringComparison.InvariantCultureIgnoreCase);
System\Configuration\MgmtConfigurationRecord.cs (3)
1764if (String.Equals(configSection.SectionInformation.Name, ConfigurationStringConstants.WinformsApplicationConfigurationSectionName, StringComparison.Ordinal) 1765&& (String.Equals(configSection._configRecord.ConfigPath, ClientConfigurationHost.MachineConfigName, StringComparison.Ordinal) 1766|| String.Equals(updatedXml, WriteEmptyElement(Microsoft_CONFIGURATION_SECTION), StringComparison.Ordinal))) {
System\Configuration\StringUtil.cs (4)
43return String.Equals(s1, s2, StringComparison.Ordinal); 50return String.Equals(s1, s2, StringComparison.OrdinalIgnoreCase); 78return 0 == String.Compare(s1, 0, s2, 0, s2.Length, StringComparison.Ordinal); 89return 0 == String.Compare(s1, 0, s2, 0, s2.Length, StringComparison.OrdinalIgnoreCase);
System\Configuration\UrlPath.cs (2)
62if (String.Compare(dir, 0, subdir, 0, lDir, StringComparison.OrdinalIgnoreCase) != 0) 121if (String.Compare(path, 0, subpath, 0, lPath, StringComparison.OrdinalIgnoreCase) != 0)
System.Core (29)
Microsoft\Scripting\Actions\ExpandoClass.cs (3)
76if (string.Equals(klass._keys[klass._keys.Length - 1], newKey, StringComparison.Ordinal)) { 130StringComparison.Ordinal)) { 156StringComparison.OrdinalIgnoreCase)) {
Microsoft\Scripting\Ast\ElementInit.cs (1)
126if (!addMethod.Name.Equals("Add", StringComparison.OrdinalIgnoreCase)) {
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (3)
203if (String.Compare(channelName, "Application", StringComparison.OrdinalIgnoreCase ) == 0) 205else if ( String.Compare(channelName, "System", StringComparison.OrdinalIgnoreCase ) == 0) 207else if ( String.Compare(channelName, "Security", StringComparison.OrdinalIgnoreCase ) == 0)
System\Diagnostics\EventSchemaTraceListener.cs (5)
532if (String.Compare(retOption, "SingleFileUnboundedSize", StringComparison.OrdinalIgnoreCase) == 0) 534else if (String.Compare(retOption, "LimitedCircularFiles", StringComparison.OrdinalIgnoreCase) == 0) 536else if (String.Compare(retOption, "UnlimitedSequentialFiles", StringComparison.OrdinalIgnoreCase) == 0) 538else if (String.Compare(retOption, "SingleFileBoundedSize", StringComparison.OrdinalIgnoreCase) == 0) 540else if (String.Compare(retOption, "LimitedSequentialFiles", StringComparison.OrdinalIgnoreCase) == 0)
System\IO\LogStream.cs (1)
84if (filePath.StartsWith("\\\\.\\", StringComparison.Ordinal))
System\IO\Pipes\Pipe.cs (3)
510if (String.Compare(normalizedPipePath, @"\\.\pipe\anonymous", StringComparison.OrdinalIgnoreCase) == 0) { 1047if (String.Compare(m_normalizedPipePath, @"\\.\pipe\anonymous", StringComparison.OrdinalIgnoreCase) == 0) { 1099if (String.Compare(m_normalizedPipePath, @"\\.\pipe\anonymous", StringComparison.OrdinalIgnoreCase) == 0) {
System\Management\Automation\UMPAttributes.cs (1)
124|| (once && String.Compare(namespacePart, "root", StringComparison.OrdinalIgnoreCase) != 0) // Must start with 'root'
System\Security\Cryptography\CngProperty.cs (1)
100if (!String.Equals(Name, other.Name, StringComparison.Ordinal)) {
System\Security\Cryptography\Rfc4050KeyFormatter.cs (1)
136if (!oidUrn.StartsWith(OidUrnPrefix, StringComparison.OrdinalIgnoreCase)) {
System\Security\Cryptography\Xml\ManifestSignedXml.cs (10)
204if (KeyInfo != null && String.Compare(KeyInfo.Id, idValue, StringComparison.OrdinalIgnoreCase) == 0) { 446if (String.Compare(publisherName, publisherCertificate.SubjectName.Name, StringComparison.Ordinal) != 0 || 447String.Compare(publisherIssuerKeyHash, actualKeyHash, StringComparison.Ordinal) != 0) { 570String.Compare(identityAttribute.Value, signatureValue, StringComparison.Ordinal) != 0) { 586if (String.Compare(signatureNode.Attributes[i].LocalName, "id", StringComparison.OrdinalIgnoreCase) == 0) { 594if (String.Compare(signatureId, "StrongNameSignature", StringComparison.Ordinal) != 0) { 623String.Compare(transforms[0].Algorithm, SignedXml.XmlDsigEnvelopedSignatureTransformUrl, StringComparison.Ordinal) == 0 && 624String.Compare(transforms[1].Algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) == 0; 626else if (String.Compare(reference.Uri, "#StrongNameKeyInfo", StringComparison.Ordinal) == 0) { 630String.Compare(transforms[0].Algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) == 0;
System.Data (220)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\TypeNameHelper.cs (2)
58int start = name.IndexOf("[[", StringComparison.Ordinal); 59int end = name.LastIndexOf("]]", StringComparison.Ordinal);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (3)
96if (inputReader.Namespace.Namespace.Equals(NameSpaces.Design2010, StringComparison.Ordinal)) 632if (member.DeclaringType.UnderlyingType == typeof(WorkflowViewStateService) && member.Name.Equals("ViewState", StringComparison.Ordinal)) 636else if (member.DeclaringType.UnderlyingType == typeof(VirtualizedContainerService) && member.Name.Equals("HintSize", StringComparison.Ordinal))
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (3)
216return ns.StartsWith(XamlNamespaceHelper.ClrNamespacePrefix, StringComparison.OrdinalIgnoreCase) && 217ns.IndexOf(XamlNamespaceHelper.ClrNamespaceAssemblyField, StringComparison.OrdinalIgnoreCase) == -1; 224return !string.IsNullOrEmpty(this.localAssemblyNsPostfix) && ns.EndsWith(this.localAssemblyNsPostfix, StringComparison.OrdinalIgnoreCase);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlNamespaceHelper.cs (2)
18if (!xamlNamespace.StartsWith(ClrNamespacePrefix, StringComparison.Ordinal)) 23int assemblyIndex = xamlNamespace.IndexOf(ClrNamespaceAssemblyField, StringComparison.Ordinal);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\VisualStudio\Activities\WorkflowDesignerExtensionManager.cs (1)
196string assemblyName = args.Name.Substring(0, args.Name.IndexOf(",", StringComparison.Ordinal));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\manifestimages.cs (4)
68return extensionlessResourceName != null && extensionlessResourceName.EndsWith(typeName, StringComparison.Ordinal); 158if (SupportedExtensions[i].Equals(extension, StringComparison.OrdinalIgnoreCase)) 170return ".xaml".Equals(Path.GetExtension(resourceName), StringComparison.OrdinalIgnoreCase); 182int dotIconIndex = resourceName.LastIndexOf(".Icon", StringComparison.OrdinalIgnoreCase);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
250if (string.Compare(category.CategoryName, this[index].CategoryName, StringComparison.CurrentCulture) < 0)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (1)
312return string.Compare(x.GetType().ToString(), y.GetType().ToString(), StringComparison.CurrentCulture);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (3)
713if (element != null && element.Name.Equals("PART_EditableTextBox", StringComparison.Ordinal)) 839if (element != null && element.Name.Equals("PART_EditableTextBox", StringComparison.Ordinal)) 853if (element != null && element.Name.Equals("PART_EditableTextBox", StringComparison.Ordinal))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
231else if (EditorUtilities.IsNullableEnumType(this.ParentProperty.PropertyType) && stringToConvert.Equals(EditorUtilities.NullString, StringComparison.Ordinal))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\PropertyEntryNameComparer.cs (1)
38return string.Compare(j.DisplayName, k.DisplayName, StringComparison.CurrentCulture);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\PropertyEntryPropertyOrderComparer.cs (1)
86return result != 0 ? result : string.Compare(j.DisplayName, k.DisplayName, StringComparison.CurrentCulture);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (2)
1598member.Name.StartsWith("Get", StringComparison.Ordinal) && 1701if (info.IsStatic && info.Name.StartsWith("Get", StringComparison.Ordinal))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Debugger\DebuggerService.cs (1)
722return !string.IsNullOrEmpty(sourceLocation.FileName) && sourceLocation.FileName.StartsWith(unresolvedPrefix, StringComparison.OrdinalIgnoreCase);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (2)
78stackTrace = stackTrace.Remove(0, stackTrace.IndexOf(Environment.NewLine, StringComparison.Ordinal) + 1); 91stackTrace = stackTrace.Remove(0, stackTrace.IndexOf(Environment.NewLine, StringComparison.Ordinal) + 1);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (3)
106expressionText.StartsWith("\"", StringComparison.CurrentCulture) && 107expressionText.EndsWith("\"", StringComparison.CurrentCulture) && 108expressionText.IndexOf("\"", 1, StringComparison.CurrentCulture) == expressionText.Length - 1;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\GenericArgumentsUpdater.cs (1)
53if (string.Equals((string)modelItem.Properties["DisplayName"].ComputedValue, GetActivityDefaultName(oldModelItemType), StringComparison.Ordinal))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
394this.nameProperty = this.Properties.FirstOrDefault<ModelProperty>(p => (0 == string.Compare(p.Name, "Name", StringComparison.OrdinalIgnoreCase)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (3)
97return string.Equals(property.Name, "Variables", StringComparison.Ordinal) 98|| string.Equals(property.Name, DisplayNamePropertyName, StringComparison.Ordinal) 99|| string.Equals(property.Name, "Id", StringComparison.Ordinal);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelService.cs (2)
144return FromName(scope, name, StringComparison.Ordinal); 168public abstract ModelItem FromName(ModelItem scope, string name, StringComparison comparison);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelServiceImpl.cs (1)
61public override ModelItem FromName(ModelItem scope, string name, StringComparison comparison)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemLoader.cs (16)
68if (entry.StartsWith("[", StringComparison.CurrentCulture) && entry.EndsWith("]", StringComparison.CurrentCulture)) 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\Toolbox\TreeViewContainerStyleSelector.cs (1)
157if (string.IsNullOrEmpty(tool.DisplayName) || tool.DisplayName.IndexOf(text, StringComparison.OrdinalIgnoreCase) < 0)
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\AssemblyContextControlItem.cs (1)
51if (LocalAssemblyName == null || !assemblyName.FullName.Equals(LocalAssemblyName.FullName, StringComparison.Ordinal))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
370return value.ToString().StartsWith(this.lastInput, StringComparison.OrdinalIgnoreCase);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (2)
169int startIndex = nameSpace.IndexOf(":", StringComparison.Ordinal); 170int endIndex = nameSpace.IndexOf(";", StringComparison.Ordinal);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
468return string.Equals(propertyName, attr.PromotedProperty, StringComparison.Ordinal);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (7)
777if (string.Equals(searchText, entry.FullName, StringComparison.OrdinalIgnoreCase)) 797if (searchText.Contains('.') && ns.DisplayName != null && ns.DisplayName.StartsWith(searchText, StringComparison.OrdinalIgnoreCase)) 838if (searchText.StartsWith(".", StringComparison.OrdinalIgnoreCase)) 840return -1 != type.FullName.IndexOf(searchText, StringComparison.OrdinalIgnoreCase); 843if (type.FullName.StartsWith(searchText, StringComparison.OrdinalIgnoreCase)) 848if (-1 != type.FullName.IndexOf("." + searchText, StringComparison.OrdinalIgnoreCase)) 858return type.DisplayName.StartsWith(searchText, StringComparison.OrdinalIgnoreCase);
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));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierName.cs (2)
135else if (trimedName.StartsWith("[", StringComparison.Ordinal) && trimedName.EndsWith("]", StringComparison.Ordinal))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (5)
522if (String.Equals(this.ExpressionText, string.Empty, StringComparison.OrdinalIgnoreCase) && this.ExpressionType != null) 1076context.ExpressionText.StartsWith("\"", StringComparison.CurrentCulture) && 1077context.ExpressionText.EndsWith("\"", StringComparison.CurrentCulture) && 1078context.ExpressionText.IndexOf("\"", 1, StringComparison.CurrentCulture) == context.ExpressionText.Length - 1; 1189if (e.PropertyName.Equals("ExpressionText", StringComparison.Ordinal))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.SerializationHelpers.cs (1)
115(this.isModelChanged && !string.Equals(newText, this.Text, StringComparison.Ordinal)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
422if (!this.CustomItemStatus.EndsWith(" ", StringComparison.Ordinal))
fx\src\data\System\Data\CodeGen\datacache.cs (2)
213if (String.Compare("column", columnName, StringComparison.OrdinalIgnoreCase) != 0) 755if (string.Compare(strTemp, "DataRow", StringComparison.Ordinal) == 0) {
fx\src\data\System\Data\Common\AdapterUtil.cs (3)
2308if (quotedString.StartsWith(quotePrefix, StringComparison.Ordinal) == false){ 2316if (quotedString.EndsWith(quoteSuffix, StringComparison.Ordinal) == false){ 2566if (dataSource.EndsWith(AzureSqlServerEndpoints[i], StringComparison.OrdinalIgnoreCase))
fx\src\data\System\Data\Common\DBCommandBuilder.cs (8)
70if (columnName.StartsWith(_originalPrefix, StringComparison.OrdinalIgnoreCase)) { 75if (columnName.StartsWith(_isNullPrefix, StringComparison.OrdinalIgnoreCase)) { 653if (!ADP.IsEmpty(quotePrefix) && (-1 != baseTableName.IndexOf(quotePrefix, StringComparison.Ordinal))) { 656if (!ADP.IsEmpty(quoteSuffix) && (-1 != baseTableName.IndexOf(quoteSuffix, StringComparison.Ordinal))) { 1492if (useQuotes && (name.IndexOf(quotePrefix, currentPos, quotePrefix.Length, StringComparison.Ordinal) == currentPos)) { 1497currentPos = name.IndexOf(quoteSuffix, currentPos, StringComparison.Ordinal); 1507if ((currentPos < name.Length) && (name.IndexOf(quoteSuffix, currentPos, quoteSuffix.Length, StringComparison.Ordinal) == currentPos)) { 1521currentPos = name.IndexOf(Separator, currentPos, StringComparison.Ordinal);
fx\src\data\System\Data\Common\DbConnectionOptions.cs (3)
245(('{' == keyValue[0]) || (0 <= keyValue.IndexOf(';')) || (0 == String.Compare(DbConnectionStringKeywords.Driver, keyName, StringComparison.OrdinalIgnoreCase))) && 387if ((null != value) && value.StartsWith(DataDirectory, StringComparison.OrdinalIgnoreCase)) { 427if (!ADP.GetFullPath(fullPath).StartsWith(rootFolderPath, StringComparison.Ordinal)) {
fx\src\data\System\Data\Common\NameValuePermission.cs (1)
235if (String.Equals(keyInQuestion, permitValue._value, StringComparison.OrdinalIgnoreCase)) {
fx\src\data\System\Data\DataRelation.cs (1)
534if (String.Compare(parentNs, rel.ParentTable.Namespace, StringComparison.Ordinal) != 0) {
fx\src\data\System\Data\DataSet.cs (17)
189if ((String.Compare(attribValue, Keywords.MSD_EXCLUDESCHEMA, StringComparison.OrdinalIgnoreCase) == 0)) { 192else if ((String.Compare(attribValue, Keywords.MSD_INCLUDESCHEMA, StringComparison.OrdinalIgnoreCase) == 0)) { 1586if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 1621if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 1951if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 2002if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 2401if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 2465if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 3122if (string.Compare(nilAttrib, "true", StringComparison.Ordinal) == 0) {// case sensitive true comparison 3131if (string.Equals(_useDataSetSchemaOnly, "true", StringComparison.Ordinal) || 3132string.Equals(_useDataSetSchemaOnly, "1", StringComparison.Ordinal)) 3136else if (!string.Equals(_useDataSetSchemaOnly, "false", StringComparison.Ordinal) && 3137!string.Equals(_useDataSetSchemaOnly, "0", StringComparison.Ordinal)) 3146if (string.Equals(_udtIsWrappedString, "true", StringComparison.Ordinal) || 3147string.Equals(_udtIsWrappedString, "1", StringComparison.Ordinal)) 3152else if (!string.Equals(_udtIsWrappedString, "false", StringComparison.Ordinal) && 3153!string.Equals(_udtIsWrappedString, "0", StringComparison.Ordinal))
fx\src\data\System\Data\DataTable.cs (8)
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) { 3386if (current.StartsWith("[", StringComparison.Ordinal)) { 3387if (current.EndsWith("]", StringComparison.Ordinal)) { 5197if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) { 5255if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) { 5417if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) { 5491if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) {
fx\src\data\System\Data\DataView.cs (3)
1743/// <see cref="RowFilter"/> and <see cref="Sort"/> may differ by <see cref="StringComparison.OrdinalIgnoreCase"/>. 1749(string.Compare(this.RowFilter, view.RowFilter, StringComparison.OrdinalIgnoreCase) != 0) || // case insensitive 1750(string.Compare(this.Sort, view.Sort, StringComparison.OrdinalIgnoreCase) != 0) || // case insensitive
fx\src\data\System\Data\DefaultValueTypeConverter.cs (2)
50if (string.Compare(strValue, nullString, StringComparison.OrdinalIgnoreCase) == 0) 52else if (string.Compare(strValue, dbNullString, StringComparison.OrdinalIgnoreCase) == 0)
fx\src\data\System\Data\Filter\FunctionNode.cs (2)
51if (String.Compare(funcs[i].name, name, StringComparison.OrdinalIgnoreCase) == 0) { 316return((string)argumentValues[1]).IndexOf((string)argumentValues[0], StringComparison.Ordinal);
fx\src\data\System\Data\Odbc\OdbcUtils.cs (2)
486if (String.Compare(tokenString, nextToken, StringComparison.OrdinalIgnoreCase) == 0) { 503if (0 == String.Compare(_sqlstatement, tempidx, tokenString, 0, tokenString.Length, StringComparison.OrdinalIgnoreCase)) {
fx\src\data\System\Data\OleDb\OleDbConnection.cs (2)
112if ((null != value) && !((string)value).StartsWith(DbConnectionOptions.DataDirectory, StringComparison.OrdinalIgnoreCase)) { 146if ((null != value) && !((string)value).StartsWith(DbConnectionOptions.DataDirectory, StringComparison.OrdinalIgnoreCase)) {
fx\src\data\System\Data\OleDb\oledbconnectionstring.cs (2)
101PossiblePrompt = ((!ADP.IsEmpty(prompt) && (0 != String.Compare(prompt, VALUES.NoPrompt, StringComparison.OrdinalIgnoreCase))) 401return (("msdasql" == progid) || progid.StartsWith("msdasql.", StringComparison.Ordinal) || ("microsoft ole db provider for odbc drivers" == progid));
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
576else if (info._description.EndsWith(" Provider", StringComparison.OrdinalIgnoreCase)) {
fx\src\data\System\Data\ProviderBase\DbConnectionPoolAuthenticationContextKey.cs (2)
78return (String.Equals(StsAuthority, otherKey.StsAuthority, StringComparison.InvariantCultureIgnoreCase) 79&& String.Equals(ServicePrincipalName, otherKey.ServicePrincipalName, StringComparison.InvariantCultureIgnoreCase));
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (2)
500if (0 > string.Compare( _normalizedServerVersion,(string)version, StringComparison.OrdinalIgnoreCase)){ 514if (0 < string.Compare( _normalizedServerVersion,(string)version, StringComparison.OrdinalIgnoreCase)){
fx\src\data\System\Data\SimpleType.cs (2)
373if (string.Compare(this.BaseType, otherSimpleType.BaseType, StringComparison.Ordinal) != 0) 387if (string.Compare(rootType.BaseType, "string", 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\LocalDBAPI.cs (1)
40if (!serverName.StartsWith(const_localDbPrefix, StringComparison.OrdinalIgnoreCase))
fx\src\data\System\Data\SqlClient\SqlAeadAes256CbcHmac256Factory.cs (1)
35Debug.Assert(string.Equals(encryptionAlgorithm, SqlAeadAes256CbcHmac256Algorithm.AlgorithmName, StringComparison.OrdinalIgnoreCase) == true);
fx\src\data\System\Data\SqlClient\SqlAes256CbcFactory.cs (1)
38Debug.Assert(string.Equals(encryptionAlgorithm, SqlAes256CbcAlgorithm.AlgorithmName, StringComparison.OrdinalIgnoreCase) == true);
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCertificateStoreProvider.cs (4)
340if (string.Equals(encryptionAlgorithm, RSAEncryptionAlgorithmWithOAEP, StringComparison.OrdinalIgnoreCase) != true) 411if (string.Equals(certParts[0], _certLocationLocalMachine, StringComparison.OrdinalIgnoreCase) == true) 415else if (string.Equals(certParts[0], _certLocationCurrentUser, StringComparison.OrdinalIgnoreCase) == true) 429if (string.Equals(certParts[certParts.Length - 2], _myCertificateStore, StringComparison.OrdinalIgnoreCase) == true)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCngProvider.cs (1)
284if (!string.Equals(encryptionAlgorithm, RSAEncryptionAlgorithmWithOAEP, StringComparison.OrdinalIgnoreCase))
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCspProvider.cs (1)
290if (string.Equals(encryptionAlgorithm, RSAEncryptionAlgorithmWithOAEP, StringComparison.OrdinalIgnoreCase) != true)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
3989if (sqlParameter.ParameterNameFixed.Equals(parameterName, StringComparison.Ordinal)) {
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
182if (key.StartsWith(ADP.ColumnEncryptionSystemProviderNamePrefix, StringComparison.InvariantCultureIgnoreCase)) 2206if (string.Compare(asmRef.Name, "Microsoft.SqlServer.Types", StringComparison.OrdinalIgnoreCase) == 0) {
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (1)
99if (!instanceName.StartsWith("\\\\.\\", StringComparison.Ordinal)) {
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)) {
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (4)
523if (0 == String.Compare(msgType, "http://schemas.microsoft.com/SQL/Notifications/QueryNotification", StringComparison.OrdinalIgnoreCase)) { 1064if ((XmlNodeType.Element != xmlReader.NodeType) || (0 != String.Compare(xmlReader.LocalName, MessageNode, StringComparison.OrdinalIgnoreCase))) { 1182String.Equals(temp._queue, _queue, StringComparison.OrdinalIgnoreCase)) { 1192String.Equals(temp._queue, _queue, StringComparison.OrdinalIgnoreCase)) {
fx\src\data\System\Data\SqlClient\sqlmetadatafactory.cs (2)
61if (0 > string.Compare(ServerVersion, _serverVersionNormalized90, StringComparison.OrdinalIgnoreCase)){ 184if (0 > string.Compare(ServerVersion, _serverVersionNormalized10, StringComparison.OrdinalIgnoreCase)){
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (1)
303s => s.Equals(keyPath, StringComparison.InvariantCultureIgnoreCase)) == false)) {
fx\src\data\System\Data\SqlClient\SqlSymmetricKeyCache.cs (1)
72(trustedKeyPaths.Any(s => s.Equals(keyInfo.keyPath, StringComparison.InvariantCultureIgnoreCase)) == false)) {
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (4)
441Debug.Assert ( path.StartsWith ( @"\\", StringComparison.OrdinalIgnoreCase ) ); 442Debug.Assert ( !path.StartsWith ( @"\\.\", StringComparison.Ordinal ) ); 484if (!path.StartsWith(@"\\", StringComparison.OrdinalIgnoreCase)) 499if (path.StartsWith(@"\\.\", StringComparison.Ordinal))
fx\src\data\System\Data\XDRSchema.cs (3)
190if ((string.Compare(occurs, "1" , StringComparison.Ordinal) != 0) && (typeNode==null)){ 211public int CompareTo(object obj) { return String.Compare(name, (string)obj, StringComparison.Ordinal); } 476int bZeroOrMore = string.Compare(occurs, Keywords.STAR , StringComparison.Ordinal);
fx\src\data\System\Data\XmlDataLoader.cs (3)
234if (ownerNode.NamespaceURI.StartsWith("x-schema:#", StringComparison.Ordinal)) 241if (fIsXdr && node.NamespaceURI.StartsWith("x-schema:#", StringComparison.Ordinal)) 896} else if (dataReader.LocalName.StartsWith("hidden", StringComparison.Ordinal)) {
fx\src\data\System\Data\XMLDiffLoader.cs (2)
265if ((string.Compare(dt.TableName, tableName, StringComparison.Ordinal) == 0) 266&& (string.Compare(dt.Namespace, ns, StringComparison.Ordinal) == 0))
fx\src\data\System\Data\xmlsaver.cs (16)
1590 == String.Compare(pd.Name, "Namespace" , StringComparison.Ordinal) || 1600 == String.Compare(pd.Name, "PrimaryKey" , StringComparison.Ordinal) || 1610 == String.Compare(pd.Name, "ColumnName" , StringComparison.Ordinal) || 1620 == String.Compare(pd.Name, "DefaultValue" , StringComparison.Ordinal) || 1630 == String.Compare(pd.Name, "TableName" , StringComparison.Ordinal) || 1640 == String.Compare(pd.Name, "DataSetName" , StringComparison.Ordinal) || 1650 == String.Compare(pd.Name, "AllowDBNull" , StringComparison.Ordinal) || 1660 == String.Compare(pd.Name, "Unique" , StringComparison.Ordinal) || 1670 == String.Compare(pd.Name, "NestedInDataSet" , StringComparison.Ordinal) || 1680 == String.Compare(pd.Name, "Locale" , StringComparison.Ordinal) || 1690 == String.Compare(pd.Name, "CaseSensitive", StringComparison.Ordinal) || 1700 == String.Compare(pd.Name, "RemotingFormat" , StringComparison.Ordinal) 176if (0 == String.Compare(pd.Name, "DataType", StringComparison.Ordinal)) { 191if (0 == String.Compare(pd.Name, "Attribute", StringComparison.Ordinal)) { 1415if (!rel.RelationName.StartsWith(rName, StringComparison.Ordinal)) 1423if (!unique.ConstraintName.StartsWith("Constraint", StringComparison.Ordinal))
fx\src\data\System\Data\XMLSchema.cs (9)
296if (propName.StartsWith(Keywords.MSD_FK_PREFIX, StringComparison.Ordinal)) 301if ((instance is DataRelation) && (propName.StartsWith(Keywords.MSD_REL_PREFIX, StringComparison.Ordinal))) { 304else if ((instance is DataRelation) && (propName.StartsWith(Keywords.MSD_FK_PREFIX, StringComparison.Ordinal))) { 385if (0 == String.Compare(rels[i].RelationName, strName, StringComparison.Ordinal)) 715if (this.FromInference && ds.Tables.Count == 0 && String.Compare(ds.DataSetName, "NewDataSet", StringComparison.Ordinal) == 0) 992if (field.StartsWith("@", StringComparison.Ordinal)) { 1535public int CompareTo(object obj) { return String.Compare(name, (string)obj, StringComparison.Ordinal); } 1966(string.Compare(attrib.QualifiedName.Namespace, column.Namespace, StringComparison.Ordinal) == 0)) 2126(string.Compare(elem.QualifiedName.Namespace, column.Namespace, StringComparison.Ordinal) == 0))
fx\src\data\System\Data\XmlToDatasetMap.cs (5)
35(String.Compare(this.LocalName, id.LocalName, StringComparison.OrdinalIgnoreCase) == 0) && 36(String.Compare(this.NamespaceURI, id.NamespaceURI, StringComparison.OrdinalIgnoreCase) == 0) 199if (col.ColumnName.StartsWith("xml", StringComparison.OrdinalIgnoreCase)) { 231if (col.ColumnName.StartsWith("xml", StringComparison.OrdinalIgnoreCase)) { 463Debug.Assert(col.ColumnName.StartsWith("xml", StringComparison.OrdinalIgnoreCase), "column name should start with xml");
System.Data.Entity (91)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
347if (!from.VariableName.Equals(to.VariableName, StringComparison.Ordinal) ||
System\Data\Common\CommandTrees\ExpressionBuilder\EdmFunctions.cs (1)
33func => string.Equals(func.Name, functionName, StringComparison.Ordinal))
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (2)
449if (input.VariableName.Equals(apply.VariableName, StringComparison.Ordinal)) 534if (left.VariableName.Equals(right.VariableName, StringComparison.Ordinal))
System\Data\Common\EntitySql\AST\QueryParameter.cs (1)
35if (_name.StartsWith("_", StringComparison.OrdinalIgnoreCase) || Char.IsDigit(_name, 0))
System\Data\Common\EntitySql\CqlLexerHelpers.cs (1)
511if (punct.Equals(".", StringComparison.OrdinalIgnoreCase))
System\Data\Common\EntitySql\CqlParserHelpers.cs (1)
146if (s.Equals(_internalYaccSyntaxErrorMessage, StringComparison.Ordinal))
System\Data\Common\EntitySql\SemanticAnalyzer.cs (4)
1586toEnd = (RelationshipEndMember)relationshipType.Members.FirstOrDefault(m => m.Name.Equals(relshipExpr.ToEndIdentifier.Name, StringComparison.OrdinalIgnoreCase)); 1629fromEnd = (RelationshipEndMember)relationshipType.Members.FirstOrDefault(m => m.Name.Equals(relshipExpr.FromEndIdentifier.Name, StringComparison.OrdinalIgnoreCase)); 1712toEnd = (RelationshipEndMember)relationshipType.Members.FirstOrDefault(m => m.Name.Equals(relshipExpr.ToEndIdentifier.Name, StringComparison.OrdinalIgnoreCase)); 1729fromEnd = (RelationshipEndMember)relationshipType.Members.FirstOrDefault(m => m.Name.Equals(relshipExpr.FromEndIdentifier.Name, StringComparison.OrdinalIgnoreCase));
System\Data\Common\EntityUtil.cs (2)
1864StringComparison.OrdinalIgnoreCase)) 1913if (! string.Equals(targetAssemblyName.Name, assemblyName.Name, StringComparison.OrdinalIgnoreCase))
System\Data\Common\QueryCache\QueryCacheKey.cs (2)
40protected static StringComparison _stringComparison = StringComparison.Ordinal;
System\Data\Common\Utils\TrailingSpaceComparer.cs (1)
65if (null == value || !value.EndsWith(" ", StringComparison.Ordinal)) { return value; }
System\Data\EntityClient\DbConnectionOptions.cs (2)
107if ((null != value) && value.StartsWith(DataDirectory, StringComparison.OrdinalIgnoreCase)) 148if (!EntityUtil.GetFullPath(fullPath).StartsWith(rootFolderPath, StringComparison.Ordinal))
System\Data\EntityClient\EntityConnectionStringBuilder.cs (13)
201if (string.Compare(keyword, MetadataParameterName, StringComparison.OrdinalIgnoreCase) == 0) 205else if (string.Compare(keyword, ProviderConnectionStringParameterName, StringComparison.OrdinalIgnoreCase) == 0) 209else if (string.Compare(keyword, NameParameterName, StringComparison.OrdinalIgnoreCase) == 0) 213else if (string.Compare(keyword, ProviderParameterName, StringComparison.OrdinalIgnoreCase) == 0) 240if (string.Compare(keyword, MetadataParameterName, StringComparison.OrdinalIgnoreCase) == 0) 244else if (string.Compare(keyword, ProviderConnectionStringParameterName, StringComparison.OrdinalIgnoreCase) == 0) 248else if (string.Compare(keyword, NameParameterName, StringComparison.OrdinalIgnoreCase) == 0) 252else if (string.Compare(keyword, ProviderParameterName, StringComparison.OrdinalIgnoreCase) == 0) 286if (validKeyword.Equals(keyword, StringComparison.OrdinalIgnoreCase)) 325if (string.Compare(keyword, MetadataParameterName, StringComparison.OrdinalIgnoreCase) == 0) 329else if (string.Compare(keyword, ProviderConnectionStringParameterName, StringComparison.OrdinalIgnoreCase) == 0) 333else if (string.Compare(keyword, NameParameterName, StringComparison.OrdinalIgnoreCase) == 0) 337else if (string.Compare(keyword, ProviderParameterName, StringComparison.OrdinalIgnoreCase) == 0)
System\Data\EntityModel\SchemaObjectModel\Utils.cs (1)
315return string.Compare(lhsName,rhsName,StringComparison.Ordinal);
System\Data\Mapping\ObjectTypeMapping.cs (1)
172if (keyValuePair.Key.Equals(propertyName, StringComparison.OrdinalIgnoreCase))
System\Data\Mapping\StorageMappingItemCollection.cs (1)
720return entityContainerMaps.Any(map => map.StorageEntityContainer.Name.Equals(storageEntityContainerName, StringComparison.Ordinal));
System\Data\Mapping\StorageMappingItemLoader.cs (3)
944bool isTypeOf = name.StartsWith(StorageMslConstructs.IsTypeOf, StringComparison.Ordinal); 949if (!name.EndsWith(StorageMslConstructs.IsTypeOfTerminal, StringComparison.Ordinal)) 3041int isTypeOfIndex = currentTypeName.IndexOf(StorageMslConstructs.IsTypeOf, StringComparison.Ordinal);
System\Data\Metadata\AspProxy.cs (1)
145Debug.Assert(path.StartsWith(EdmConstants.WebHomeSymbol, StringComparison.Ordinal));
System\Data\Metadata\Edm\MetadataCollection.cs (2)
522if (String.Equals(collectionData.OrderedList[i].Identity, identity, StringComparison.OrdinalIgnoreCase)) 655(ignoreCase && String.Equals(_collectionData.OrderedList[index].Identity, identity, StringComparison.OrdinalIgnoreCase)) ||
System\Data\Metadata\MetadataArtifactLoader.cs (9)
229if (!extension.Equals(validExtension, StringComparison.OrdinalIgnoreCase)) 305return path.StartsWith(MetadataArtifactLoader.resPathPrefix, StringComparison.OrdinalIgnoreCase); 321return string.Compare(extn, XmlConstants.CSpaceSchemaExtension, StringComparison.OrdinalIgnoreCase) == 0; 339return string.Compare(extn, XmlConstants.SSpaceSchemaExtension, StringComparison.OrdinalIgnoreCase) == 0; 357return string.Compare(extn, XmlConstants.CSSpaceSchemaExtension, StringComparison.OrdinalIgnoreCase) == 0; 391string.Compare(extn, XmlConstants.CSpaceSchemaExtension, StringComparison.OrdinalIgnoreCase) == 0 || 392string.Compare(extn, XmlConstants.SSpaceSchemaExtension, StringComparison.OrdinalIgnoreCase) == 0 || 393string.Compare(extn, XmlConstants.CSSpaceSchemaExtension, StringComparison.OrdinalIgnoreCase) == 0 443if (path.StartsWith(EdmConstants.WebHomeSymbol, StringComparison.Ordinal))
System\Data\Metadata\MetadataArtifactLoaderCompositeFile.cs (1)
283if (fileName.EndsWith(extension, StringComparison.OrdinalIgnoreCase))
System\Data\Metadata\MetadataArtifactLoaderCompositeResource.cs (1)
201if (string.Equals(resourceName, current, StringComparison.OrdinalIgnoreCase))
System\Data\Metadata\MetadataArtifactLoaderFile.cs (1)
77return string.Compare(_path, loader._path, StringComparison.OrdinalIgnoreCase);
System\Data\Metadata\MetadataArtifactLoaderResource.cs (1)
72return string.Compare(Path, loader.Path, StringComparison.OrdinalIgnoreCase);
System\Data\Metadata\MetadataCache.cs (4)
128int indexStart = paths.IndexOf(MetadataCache.s_dataDirectory, StringComparison.OrdinalIgnoreCase); 134StringComparison.Ordinal 146StringComparison.Ordinal); 159indexStart = paths.IndexOf(MetadataCache.s_dataDirectory, StringComparison.OrdinalIgnoreCase);
System\Data\Metadata\Perspective.cs (1)
96functionImport = entityContainer.FunctionImports.Where(fi => String.Equals(fi.Name, functionImportName, StringComparison.OrdinalIgnoreCase)).SingleOrDefault();
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
492((DbVariableReferenceExpression)projection).VariableName.Equals(input.VariableName, StringComparison.Ordinal))
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (1)
143if (m.Method.Name.StartsWith("op_", StringComparison.Ordinal))
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
842if (varRef.VariableName.Equals(expression.Input.VariableName, StringComparison.Ordinal))
System\Data\Objects\ObjectParameterCollection.cs (1)
472if (0 == String.Compare(name, parameter.Name, StringComparison.OrdinalIgnoreCase))
System\Data\Objects\Span.cs (1)
245if (!Navigations[i].Equals(rhs.Navigations[i], StringComparison.OrdinalIgnoreCase))
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1278if (string.Equals(e.Property.Name, ((EdmMember)propertyOrEndMembers[idx]).Name, StringComparison.Ordinal))
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (2)
410return (String.Equals(instance1.VariableName, expr1BindingVariableName, StringComparison.Ordinal) 411&& String.Equals(instance2.VariableName, expr2BindingVariableName, StringComparison.Ordinal));
System\Data\SqlClient\SqlGen\SqlGenerator.cs (2)
2485if (inputColumns.Any(c => String.Equals(c.Name, row_numberName, StringComparison.OrdinalIgnoreCase))) 2663&& String.Equals(functionAggregate.Function.Name, "BigCount", StringComparison.Ordinal))
System\Data\SqlClient\SqlProviderManifest.cs (20)
183return name.Equals("time", StringComparison.Ordinal) || 184name.Equals("date", StringComparison.Ordinal) || 185name.Equals("datetime2", StringComparison.Ordinal) || 186name.Equals("datetimeoffset", StringComparison.Ordinal) || 187name.Equals("geography", StringComparison.Ordinal) || 188name.Equals("geometry", StringComparison.Ordinal); 200return name.Equals("xml", StringComparison.Ordinal) || name.EndsWith("(max)", StringComparison.Ordinal); 254return ((name.Equals("DateTimeOffset", StringComparison.OrdinalIgnoreCase)) || 255(name.Equals("Time", StringComparison.OrdinalIgnoreCase))); 265return ((name.Equals("DateTimeOffset", StringComparison.OrdinalIgnoreCase)) || 266(name.Equals("Time", StringComparison.OrdinalIgnoreCase))); 274return ((param1Name.Equals("Time", StringComparison.OrdinalIgnoreCase)) || 275(param2Name.Equals("Time", StringComparison.OrdinalIgnoreCase)) || 276(param1Name.Equals("DateTimeOffset", StringComparison.OrdinalIgnoreCase)) || 277(param2Name.Equals("DateTimeOffset", StringComparison.OrdinalIgnoreCase))); 283return ((name.Equals("DateTimeOffset", StringComparison.OrdinalIgnoreCase)) || 284(name.Equals("Time", StringComparison.OrdinalIgnoreCase))); 311return name.Equals("Guid", StringComparison.OrdinalIgnoreCase); 318if (funParam.TypeUsage.EdmType.Name.Equals("Int64", StringComparison.OrdinalIgnoreCase))
System\Data\SqlClient\SqlProviderUtilities.cs (1)
366if (type.EdmType.BuiltInTypeKind == BuiltInTypeKind.PrimitiveType && typeName.EndsWith(maxSuffix, StringComparison.Ordinal))
System\Data\SqlClient\SqlSpatialDataReader.cs (2)
59if (!fieldTypeName.EndsWith(geographySqlType, StringComparison.Ordinal)) // Use EndsWith so that we just see the schema and type name, not the database name. 68if (!fieldTypeName.EndsWith(geometrySqlType, StringComparison.Ordinal)) // Use EndsWith so that we just see the schema and type name, not the database name.
System.Data.Entity.Design (26)
System\Data\Entity\Design\AspNet\BuildProviderUtils.cs (3)
59Debug.Assert(name.StartsWith("~/", StringComparison.OrdinalIgnoreCase), "Expected app-relative path to start with ~/"); 60if (name.StartsWith("~/", StringComparison.OrdinalIgnoreCase)) 67Debug.Assert(name.StartsWith(".", StringComparison.OrdinalIgnoreCase) == false, "resource name unexpectedly starts with .");
System\Data\Entity\Design\EntityDesignerUtils.cs (3)
106if (a.Name.Equals("Name", StringComparison.Ordinal) && a.Value.Equals("MetadataArtifactProcessing", StringComparison.OrdinalIgnoreCase)) 110if (a2.Name.Equals("Value", StringComparison.Ordinal))
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (2)
707int index = targetSchemaNamespace.IndexOf("Target", StringComparison.OrdinalIgnoreCase); 733int targetIndex = _modelEntityContainerName.IndexOf("Target", StringComparison.OrdinalIgnoreCase);
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (4)
232item.Identity.Equals(member.Identity, StringComparison.OrdinalIgnoreCase)) 531internal StringComparison LanguageAppropriateStringComparer 537return StringComparison.Ordinal; 541return StringComparison.OrdinalIgnoreCase;
System\Data\EntityModel\Emitters\CommentEmitter.cs (2)
246if (leadingBlanks2 == leadingBlanks || leadingBlanks2.StartsWith(leadingBlanks, StringComparison.Ordinal)) 249if (leadingBlanks.StartsWith(leadingBlanks2, StringComparison.OrdinalIgnoreCase))
System\Data\EntityModel\Emitters\FixUp.cs (2)
220int idx = line.IndexOf(str1, StringComparison.Ordinal); 394int index = line.IndexOf(keyword,StringComparison.Ordinal);
System\Data\EntityModel\Emitters\FixUpCollection.cs (7)
165else if ( string.IsNullOrEmpty(trimmedLine) || trimmedLine.StartsWith("//",StringComparison.Ordinal) ) 329int index = line.IndexOf(_CSClassKeyWord,StringComparison.Ordinal); 343if (className.StartsWith("@", StringComparison.Ordinal)) 617while ( line.IndexOf(" ", 0,StringComparison.Ordinal) >= 0 ) 642int index = line.IndexOf(keyword,StringComparison.Ordinal); 683if (name.StartsWith("[", StringComparison.Ordinal) && name.EndsWith("]", StringComparison.Ordinal))
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
275internal static bool IsNameAlreadyAMemberName(StructuralType type, string generatedPropertyName, StringComparison comparison)
System\Data\EntityModel\Emitters\Utils.cs (2)
336public static bool DoesTypeReserveMemberName(StructuralType type, string name, StringComparison comparison) 353public static bool TryGetReservedName(string name, StringComparison comparison, out Type applyToSpecificType)
System.Data.Linq (56)
Mapping\AttributedMetaModel.cs (1)
774if (string.Compare((string)mt.InheritanceCode, skey, StringComparison.OrdinalIgnoreCase) == 0)
Mapping\MappedMetaModel.cs (6)
223if (string.Compare(rootMapping.Name, type.Name, StringComparison.Ordinal) == 0 224|| string.Compare(rootMapping.Name, type.FullName, StringComparison.Ordinal) == 0 225|| string.Compare(rootMapping.Name, type.AssemblyQualifiedName, StringComparison.Ordinal) == 0) 246int dotIndex = name.LastIndexOf(".", StringComparison.CurrentCulture); 703if(String.Compare(mi.Name, orphan.Value.MemberName, StringComparison.Ordinal)==0) { 854if (string.Compare((string)mt.InheritanceCode, skey, StringComparison.OrdinalIgnoreCase) == 0)
parent\DbmlShared\Mapping.cs (5)
45if (string.Compare(tmap.TableName, tableName, StringComparison.Ordinal) == 0) 61if (string.Compare(map.Name, type.Name, StringComparison.Ordinal) == 0 62|| string.Compare(map.Name, type.FullName, StringComparison.Ordinal) == 0 63|| string.Compare(map.Name, type.AssemblyQualifiedName, StringComparison.Ordinal) == 0) 74if (string.Compare(fmap.Name, functionName, StringComparison.Ordinal) == 0)
SqlClient\Query\SqlFormatter.cs (1)
426if (s.StartsWith("@",StringComparison.Ordinal))
SqlClient\Query\SqlIdentifier.cs (9)
33return s.StartsWith(QuotePrefix, StringComparison.Ordinal) 34&& s.EndsWith(QuoteSuffix, StringComparison.Ordinal); 49if (s.StartsWith(ParameterPrefix, StringComparison.Ordinal)) { 54else if (!s.StartsWith(QuotePrefix, StringComparison.Ordinal) && s.EndsWith(QuoteSuffix, StringComparison.Ordinal)) { 67else if (s.StartsWith(QuotePrefix, StringComparison.Ordinal) && !s.EndsWith(QuoteSuffix, StringComparison.Ordinal)) { 100if (s.StartsWith(ParameterPrefix, StringComparison.Ordinal)) { 116if (s.StartsWith(ParameterPrefix, StringComparison.Ordinal)) {
SqlClient\Query\SqlMethodCallConverter.cs (8)
216if (mc.Method.Name.StartsWith("DateDiff", StringComparison.Ordinal) && mc.Arguments.Count == 2) { 352if (mc.Method.Name.StartsWith("To", StringComparison.Ordinal)) { 1014if (name.StartsWith("DateDiff", StringComparison.Ordinal) && mc.Arguments.Count == 2) { 1434if (mc.Method.Name.StartsWith("To", StringComparison.Ordinal)) { 1625if (mc.Arguments[1].ClrType == typeof(StringComparison)) { 1646if (mc.Arguments[2].ClrType == typeof(StringComparison)) { 1709if (mc.Arguments[1].ClrType == typeof(StringComparison)) { 1745if (mc.Arguments[2].ClrType == typeof(StringComparison)) {
SqlClient\Query\SqlMethodTransformer.cs (1)
82if (string.Compare(functionName, "DATEADD", StringComparison.OrdinalIgnoreCase) != 0)
SqlClient\Query\SqlNamer.cs (2)
114if (sc != c && string.Compare(sc.Name, name, StringComparison.OrdinalIgnoreCase) == 0) 137return String.IsNullOrEmpty(name) || string.Compare(name, colRef.Column.Name, StringComparison.OrdinalIgnoreCase) == 0;
SqlClient\SqlBuilder.cs (2)
50if (String.Compare(schema, "DBO", StringComparison.OrdinalIgnoreCase) != 0 && 51String.Compare(schema, "[DBO]", StringComparison.OrdinalIgnoreCase) != 0) {
SqlClient\SqlProvider.cs (14)
171if (serverVersion.StartsWith("06.00.", StringComparison.Ordinal)) { 174else if (serverVersion.StartsWith("06.50.", StringComparison.Ordinal)) { 177else if (serverVersion.StartsWith("07.00.", StringComparison.Ordinal)) { 180else if (serverVersion.StartsWith("08.00.", StringComparison.Ordinal)) { 199if (serverVersion.StartsWith("09.00.", StringComparison.Ordinal)) { 349if (this.dbName.EndsWith(".sdf", StringComparison.OrdinalIgnoreCase)) { 392if (con.ConnectionString.IndexOf("MultipleActiveResultSets", StringComparison.OrdinalIgnoreCase) >= 0) { 395if (string.Compare((string)builder["MultipleActiveResultSets"], "true", StringComparison.OrdinalIgnoreCase) == 0) { 484if (fileOrServerOrConnectionString.EndsWith(".mdf", StringComparison.OrdinalIgnoreCase)) { 492else if (fileOrServerOrConnectionString.EndsWith(".sdf", StringComparison.OrdinalIgnoreCase)) { 519&& ((string)builder["Data Source"]).EndsWith(".sdf", StringComparison.OrdinalIgnoreCase)) { 731string.Compare(conManager.Connection.ConnectionString, holdConnStr, StringComparison.Ordinal) != 0) { 769string.Compare(conManager.Connection.ConnectionString, holdConnStr, StringComparison.Ordinal) != 0) { 1826if (string.Compare(parameters[i].Parameter.Name, paramName, StringComparison.OrdinalIgnoreCase) == 0) {
SqlClient\SqlTypeSystemProvider.cs (7)
393return s1.TrimEnd(' ').Equals(s2.TrimEnd(' '), StringComparison.Ordinal); 857if (String.Compare(typeName, "rowversion", StringComparison.OrdinalIgnoreCase) == 0) { 861if (String.Compare(typeName, "numeric", StringComparison.OrdinalIgnoreCase) == 0) { 865if (String.Compare(typeName, "sql_variant", StringComparison.OrdinalIgnoreCase) == 0) { 869if (String.Compare(typeName, "filestream", StringComparison.OrdinalIgnoreCase) == 0) { 886if (String.Compare(param1.Trim(), "max", StringComparison.OrdinalIgnoreCase) == 0) { 897if (String.Compare(param2.Trim(), "max", StringComparison.OrdinalIgnoreCase) == 0) {
System.Data.Services (50)
parent\Client\System\Data\Services\Client\BatchStream.cs (9)
296if (String.Equals(XmlConstants.MimeMultiPartMixed, mime, StringComparison.OrdinalIgnoreCase)) 302if (String.Equals(parameter.Key, XmlConstants.HttpMultipartBoundary, StringComparison.OrdinalIgnoreCase)) 483if (delimiter.EndsWith("--", StringComparison.Ordinal)) 549if (String.Equals(contentType, XmlConstants.MimeApplicationHttp, StringComparison.OrdinalIgnoreCase)) 780if (XmlConstants.HttpMethodGet.Equals(methodName, StringComparison.Ordinal)) 784else if (XmlConstants.HttpMethodDelete.Equals(methodName, StringComparison.Ordinal)) 788else if (XmlConstants.HttpMethodPost.Equals(methodName, StringComparison.Ordinal)) 792else if (XmlConstants.HttpMethodPut.Equals(methodName, StringComparison.Ordinal)) 796else if (XmlConstants.HttpMethodMerge.Equals(methodName, StringComparison.Ordinal))
parent\Client\System\Data\Services\Client\Common.cs (1)
63Debug.Assert(!type.FullName.StartsWith("System.Tuple", StringComparison.Ordinal), "System.Tuple is not blocked by unsupported type check");
parent\Client\System\Data\Services\Client\XmlUtil.cs (1)
66if (unescaped.StartsWith(XmlConstants.DataWebRelatedNamespace, StringComparison.Ordinal))
System\Data\Services\DataService.cs (2)
2257if (contentId.StartsWith("$", StringComparison.Ordinal)) 2729if (identifier.StartsWith("$", StringComparison.Ordinal))
System\Data\Services\HttpProcessUtility.cs (8)
269if (String.Compare("utf-8", part.Charset, StringComparison.OrdinalIgnoreCase) == 0) 593if (String.Compare(text, textIndex, literal, 0, literal.Length, StringComparison.Ordinal) != 0) 1083if (String.Equals(parameter.Key, XmlConstants.HttpQValueParameter, StringComparison.OrdinalIgnoreCase)) 1119if (String.Equals(parameter.Key, XmlConstants.HttpCharsetParameter, StringComparison.OrdinalIgnoreCase)) 1131if (String.Equals(this.type, XmlConstants.MimeTextType, StringComparison.OrdinalIgnoreCase)) 1139if (String.Equals(this.subType, XmlConstants.MimeXmlSubType, StringComparison.OrdinalIgnoreCase)) 1148else if (String.Equals(this.type, XmlConstants.MimeApplicationType, StringComparison.OrdinalIgnoreCase) && 1149String.Equals(this.subType, XmlConstants.MimeJsonSubType, StringComparison.OrdinalIgnoreCase))
System\Data\Services\Parsing\ExpressionLexer.cs (3)
425if (String.Equals(tokenText, "datetime", StringComparison.OrdinalIgnoreCase)) 429else if (String.Equals(tokenText, "guid", StringComparison.OrdinalIgnoreCase)) 433else if (String.Equals(tokenText, "binary", StringComparison.OrdinalIgnoreCase) || tokenText == "X" || tokenText == "x")
System\Data\Services\Parsing\RequestQueryParser.cs (1)
1325return token.Id == TokenId.Identifier && String.Equals(id, token.Text, StringComparison.OrdinalIgnoreCase);
System\Data\Services\Parsing\WebConvert.cs (2)
768if (text.Length <= suffix.Length || !text.EndsWith(suffix, StringComparison.OrdinalIgnoreCase)) 788if (text.StartsWith(prefix, StringComparison.OrdinalIgnoreCase))
System\Data\Services\Providers\BasicExpandProvider.cs (3)
518Debug.Assert(property == null || String.Equals(property.Name, name, StringComparison.Ordinal), "The name of the property must match the specified name."); 549return String.Equals(x.name, y.name, StringComparison.Ordinal) && x.property == y.property; 882if (String.Equals(child.Node.PropertyName, name, StringComparison.Ordinal))
System\Data\Services\Providers\DataServiceStreamProviderWrapper.cs (2)
111if (!result.EndsWith(XmlConstants.UriValueSegment, StringComparison.Ordinal)) 113if (!result.EndsWith("/", StringComparison.Ordinal))
System\Data\Services\Providers\ExpandedProjectionNode.cs (2)
266projectionNode => String.Equals(projectionNode.PropertyName, propertyName, StringComparison.Ordinal)); 389return String.Compare(x.PropertyName, y.PropertyName, StringComparison.Ordinal);
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1626int index = metadataProperty.Name.LastIndexOf(":", StringComparison.Ordinal);
System\Data\Services\RequestUriProcessor.cs (5)
196if (!builder.Path.EndsWith("/", StringComparison.Ordinal)) 239if (absoluteServiceUri.OriginalString.EndsWith("/", StringComparison.Ordinal)) 241if (reference.StartsWith("/", StringComparison.Ordinal)) 246else if (!reference.StartsWith("/", StringComparison.Ordinal)) 298if (resultBuilder.Path.EndsWith("()", StringComparison.Ordinal))
System\Data\Services\Serializers\Deserializer.cs (1)
639if (segmentInfo.Identifier.StartsWith("$", StringComparison.Ordinal) && service.GetSegmentForContentId(segmentInfo.Identifier) != null)
System\Data\Services\Serializers\JsonReader.cs (3)
252if (s.Equals(XmlConstants.XmlTrueLiteral, StringComparison.Ordinal)) 256else if (s.Equals(XmlConstants.XmlFalseLiteral, StringComparison.Ordinal)) 314else if (!s.Equals("null", StringComparison.Ordinal))
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
492Debug.Assert(absoluteUri.AbsoluteUri.StartsWith(this.AbsoluteServiceUri.AbsoluteUri, StringComparison.Ordinal), "absoluteUri.AbsoluteUri.StartsWith(this.AbsoluteServiceUri.AbsoluteUri, StringComparison.Ordinal))");
System\Data\Services\UpdatableWrapper.cs (1)
340Debug.Assert(ifMatchHeaderValue.StartsWith(XmlConstants.HttpWeakETagPrefix, StringComparison.Ordinal), "If-Match header must be properly formatted - this check is done in DataService.CheckETagValues method");
System\Data\Services\WebUtil.cs (4)
826if (etag.StartsWith(XmlConstants.HttpWeakETagPrefix, StringComparison.Ordinal) && etag[etag.Length - 1] == '"') 995Debug.Assert(fullName.StartsWith(XmlConstants.EdmNamespace, StringComparison.Ordinal), "fullName.StartsWith(XmlConstants.EdmNamespace, StringComparison.Ordinal)"); 1467return String.Equals(mimeType1, mimeType2, StringComparison.OrdinalIgnoreCase); 1623if (scheme != null && !scheme.EndsWith("://", StringComparison.Ordinal))
System.Data.Services.Client (37)
parent\Server\System\Data\Services\HttpProcessUtility.cs (5)
1119if (String.Equals(parameter.Key, XmlConstants.HttpCharsetParameter, StringComparison.OrdinalIgnoreCase)) 1131if (String.Equals(this.type, XmlConstants.MimeTextType, StringComparison.OrdinalIgnoreCase)) 1139if (String.Equals(this.subType, XmlConstants.MimeXmlSubType, StringComparison.OrdinalIgnoreCase)) 1148else if (String.Equals(this.type, XmlConstants.MimeApplicationType, StringComparison.OrdinalIgnoreCase) && 1149String.Equals(this.subType, XmlConstants.MimeJsonSubType, StringComparison.OrdinalIgnoreCase))
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (1)
249if (visited.Method.IsStatic && visited.Method.Name.StartsWith("op_", StringComparison.Ordinal))
System\Data\Services\Client\ALinq\InputBinder.cs (1)
154if (currentProp.Name.Equals(targetSet.TransparentScope.Accessor, StringComparison.Ordinal))
System\Data\Services\Client\ALinq\UriWriter.cs (1)
527if (keys[ii].Value.ToString().Equals(UriHelper.DOLLARSIGN + UriHelper.OPTIONCOUNT, StringComparison.OrdinalIgnoreCase))
System\Data\Services\Client\AtomParser.cs (4)
508return (String.Equals(XmlConstants.MimeApplicationXml, contentType, StringComparison.OrdinalIgnoreCase) || 509String.Equals(XmlConstants.MimeApplicationAtom, contentType, StringComparison.OrdinalIgnoreCase)); 521isFeed = String.Equals(XmlConstants.LinkMimeTypeFeed, linkType, StringComparison.OrdinalIgnoreCase); 522return isFeed ? true : String.Equals(XmlConstants.LinkMimeTypeEntry, linkType, StringComparison.OrdinalIgnoreCase);
System\Data\Services\Client\BatchStream.cs (9)
296if (String.Equals(XmlConstants.MimeMultiPartMixed, mime, StringComparison.OrdinalIgnoreCase)) 302if (String.Equals(parameter.Key, XmlConstants.HttpMultipartBoundary, StringComparison.OrdinalIgnoreCase)) 483if (delimiter.EndsWith("--", StringComparison.Ordinal)) 549if (String.Equals(contentType, XmlConstants.MimeApplicationHttp, StringComparison.OrdinalIgnoreCase)) 780if (XmlConstants.HttpMethodGet.Equals(methodName, StringComparison.Ordinal)) 784else if (XmlConstants.HttpMethodDelete.Equals(methodName, StringComparison.Ordinal)) 788else if (XmlConstants.HttpMethodPost.Equals(methodName, StringComparison.Ordinal)) 792else if (XmlConstants.HttpMethodPut.Equals(methodName, StringComparison.Ordinal)) 796else if (XmlConstants.HttpMethodMerge.Equals(methodName, StringComparison.Ordinal))
System\Data\Services\Client\ClientType.cs (2)
223if (propertyName.EndsWith("ID", StringComparison.Ordinal)) 227propertyName.StartsWith(declaringTypeName, StringComparison.Ordinal))
System\Data\Services\Client\Common.cs (1)
63Debug.Assert(!type.FullName.StartsWith("System.Tuple", StringComparison.Ordinal), "System.Tuple is not blocked by unsupported type check");
System\Data\Services\Client\DataServiceContext.cs (6)
174if (!serviceRootString.EndsWith("/", StringComparison.Ordinal)) 1930requestUri.Scheme.Equals("http", StringComparison.OrdinalIgnoreCase) || 1931requestUri.Scheme.Equals("https", StringComparison.OrdinalIgnoreCase), 2310Debug.Assert(null != baseUriWithSlash && baseUriWithSlash.IsAbsoluteUri && CommonUtil.UriToString(baseUriWithSlash).EndsWith("/", StringComparison.Ordinal), "baseUriWithSlash"); 2311Debug.Assert(!String.IsNullOrEmpty(entitySetName) && !entitySetName.StartsWith("/", StringComparison.Ordinal), "entitySetName"); 5560if (!String.Equals(XmlConstants.MimeApplicationAtom, mime, StringComparison.OrdinalIgnoreCase))
System\Data\Services\Client\DataServiceRequest.cs (2)
86if (String.Equals(mime, XmlConstants.MimeApplicationAtom, StringComparison.OrdinalIgnoreCase) || 87String.Equals(mime, XmlConstants.MimeApplicationXml, StringComparison.OrdinalIgnoreCase))
System\Data\Services\Client\Util.cs (2)
284if (baseUri.OriginalString.EndsWith("/", StringComparison.Ordinal)) 286if (requestUri.OriginalString.StartsWith("/", StringComparison.Ordinal))
System\Data\Services\Client\WebUtil.cs (2)
138if (string.Equals(header.Key, XmlConstants.HttpRequestAccept, StringComparison.Ordinal)) 145else if (string.Equals(header.Key, XmlConstants.HttpContentType, StringComparison.Ordinal))
System\Data\Services\Client\XmlUtil.cs (1)
66if (unescaped.StartsWith(XmlConstants.DataWebRelatedNamespace, StringComparison.Ordinal))
System.Data.Services.Design (27)
System\Data\EntityModel\DataServiceBuildProvider.cs (4)
62if (extension.Equals(DataSvcMapExtension, StringComparison.OrdinalIgnoreCase)) 172Debug.Assert(virtualPath.StartsWith(webReferencesRootVirtualPath, StringComparison.OrdinalIgnoreCase), 179Debug.Assert(string.Equals(webReferencesRootVirtualPath, virtualPath, StringComparison.OrdinalIgnoreCase), 257if (validTypeName.Equals("_", StringComparison.Ordinal))
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
541System.Data.Services.XmlConstants.DataWebAccessDefaultStreamPropertyValue, StringComparison.Ordinal))
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (4)
388String.Equals(Identity(item), Identity(member), StringComparison.OrdinalIgnoreCase)) 648internal StringComparison LanguageAppropriateStringComparer 654return StringComparison.Ordinal; 658return StringComparison.OrdinalIgnoreCase;
System\Data\EntityModel\Emitters\CommentEmitter.cs (2)
243if (leadingBlanks2 == leadingBlanks || leadingBlanks2.StartsWith(leadingBlanks, StringComparison.Ordinal)) 246if (leadingBlanks.StartsWith(leadingBlanks2, StringComparison.OrdinalIgnoreCase))
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
251new CodeTypeReferenceExpression(TypeReference.ForType(typeof(StringComparison))), 252Enum.GetName(typeof(StringComparison), this.Generator.LanguageAppropriateStringComparer)); 409string vbScopedcontainerName = (string.IsNullOrEmpty(containerNamespace) || container.Name.Equals(containerNamespace, StringComparison.OrdinalIgnoreCase))
System\Data\EntityModel\Emitters\FixUp.cs (2)
218int idx = line.IndexOf(str1, StringComparison.Ordinal); 392int index = line.IndexOf(keyword,StringComparison.Ordinal);
System\Data\EntityModel\Emitters\FixUpCollection.cs (7)
161else if ( string.IsNullOrEmpty(nakedLine) || nakedLine.StartsWith("//",StringComparison.Ordinal) ) 325int index = line.IndexOf(_CSClassKeyWord,StringComparison.Ordinal); 339if (className.StartsWith("@", StringComparison.Ordinal)) 613while ( line.IndexOf(" ", 0,StringComparison.Ordinal) >= 0 ) 638int index = line.IndexOf(keyword,StringComparison.Ordinal); 679if (name.StartsWith("[", StringComparison.Ordinal) && name.EndsWith("]", StringComparison.Ordinal))
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
247string.Equals(prop.Value.ToString(), "true", StringComparison.OrdinalIgnoreCase);
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
276internal static bool IsNameAlreadyAMemberName(StructuralType type, string generatedPropertyName, StringComparison comparison)
System\Data\EntityModel\Emitters\Utils.cs (2)
316public static bool DoesTypeReserveMemberName(StructuralType type, string name, StringComparison comparison) 333public static bool TryGetReservedName(string name, StringComparison comparison, out Type applyToSpecificType)
System.Data.SqlXml (19)
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (6)
152StringComparison comparison = ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal; 173StringComparison comparison = ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal;
System\Xml\Xsl\Runtime\XsltFunctions.cs (1)
172if (!lang.StartsWith(value, StringComparison.OrdinalIgnoreCase)) {
System\Xml\Xsl\XsltOld\AttributeAction.cs (1)
40if (qname.Prefix.StartsWith("xml", StringComparison.Ordinal)) {
System\Xml\Xsl\XsltOld\ContainerAction.cs (6)
751String.Compare(langName, "jscript" , StringComparison.OrdinalIgnoreCase) == 0 || 752String.Compare(langName, "javascript", StringComparison.OrdinalIgnoreCase) == 0 756String.Compare(langName, "c#" , StringComparison.OrdinalIgnoreCase) == 0 || 757String.Compare(langName, "csharp", StringComparison.OrdinalIgnoreCase) == 0 763String.Compare(langName, "vb" , StringComparison.OrdinalIgnoreCase) == 0 || 764String.Compare(langName, "visualbasic", StringComparison.OrdinalIgnoreCase) == 0
System\Xml\Xsl\XsltOld\SequentialOutput.cs (2)
326if (node.NamespaceURI.Length == 0 && String.Compare("html", node.LocalName, StringComparison.OrdinalIgnoreCase) == 0) { 626if(abr && 0 == string.Compare(attribute.LocalName, attrValue, StringComparison.OrdinalIgnoreCase) ) {
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (3)
48return String.Compare(baseUri, nextbaseUri, StringComparison.Ordinal); 104if(string.Compare(name, methods[i].Name, ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal) == 0) {
System.Drawing (11)
commonui\System\Drawing\Advanced\ColorTranslator.cs (1)
256if (c.IsEmpty && String.Equals(htmlColor, "LightGrey", StringComparison.OrdinalIgnoreCase))
commonui\System\Drawing\Advanced\Font.cs (2)
99if (String.Equals(sie.Name, "Name", StringComparison.OrdinalIgnoreCase)) 101else if (String.Equals(sie.Name, "Size", StringComparison.OrdinalIgnoreCase))
commonui\System\Drawing\Advanced\ImageFormatConverter.cs (1)
74if (string.Equals(prop.Name, text, StringComparison.OrdinalIgnoreCase))
commonui\System\Drawing\FontConverter.cs (1)
495if (String.Equals(UnitName.names[i].name, units, StringComparison.OrdinalIgnoreCase)) {
commonui\System\Drawing\Image.cs (1)
94if (String.Equals(sie.Name, "Data", StringComparison.OrdinalIgnoreCase))
commonui\System\Drawing\Printing\PrintingPermission.cs (1)
203if (unrestricted != null && String.Equals(unrestricted, "true", StringComparison.OrdinalIgnoreCase))
commonui\System\Drawing\ToolboxBitmapAttribute.cs (1)
319if (ext != null && string.Equals(ext, ".ico", StringComparison.OrdinalIgnoreCase))
misc\DpiHelper.cs (1)
82if (!string.IsNullOrEmpty(value) && string.Equals(value, "true", StringComparison.InvariantCultureIgnoreCase))
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
128if (key.Equals(c_versionKey, StringComparison.OrdinalIgnoreCase)) 148else if (key.Equals(c_profileKey, StringComparison.OrdinalIgnoreCase))
System.IdentityModel (34)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
128if (key.Equals(c_versionKey, StringComparison.OrdinalIgnoreCase)) 148else if (key.Equals(c_profileKey, StringComparison.OrdinalIgnoreCase))
System\IdentityModel\Claims\ClaimsConversionHelper.cs (1)
50if (String.Equals(claimset[i].Right, System.IdentityModel.Claims.Rights.PossessProperty, StringComparison.Ordinal))
System\IdentityModel\Configuration\TimeSpanOrInfiniteConverter.cs (1)
39if (string.Equals((string)data, "infinite", StringComparison.OrdinalIgnoreCase))
System\IdentityModel\Metadata\MetadataSerializer.cs (1)
742int index = xsiType.IndexOf(":", 0, StringComparison.Ordinal);
System\IdentityModel\SecurityUtils.cs (1)
966if (string.Compare(defaultServiceBinding, serviceBinding, StringComparison.OrdinalIgnoreCase) == 0)
System\IdentityModel\Selectors\X509CertificateStore.cs (2)
282if (0 != String.Compare((string)findValue, cert.SubjectName.Name, StringComparison.OrdinalIgnoreCase)) 291if (0 != String.Compare((string)findValue, cert.IssuerName.Name, StringComparison.OrdinalIgnoreCase))
System\IdentityModel\SignedXml.cs (2)
1181else if (idref.StartsWith("xpointer(id(", StringComparison.Ordinal) && (idref.IndexOf(")", StringComparison.Ordinal) > 0))
System\IdentityModel\SspiWrapper.cs (3)
229if (string.Compare(name, "Kerberos", StringComparison.OrdinalIgnoreCase) == 0) 233else if (string.Compare(name, "NTLM", StringComparison.OrdinalIgnoreCase) == 0) 346if (String.Compare(supportedSecurityPackages[i].Name, packageName, StringComparison.OrdinalIgnoreCase) == 0)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (5)
3050if (attributeValueXsiTypeSuffixWithLocalPrefix.IndexOf(":", StringComparison.Ordinal) == -1) 3055else if (attributeValueXsiTypeSuffixWithLocalPrefix.IndexOf(":", StringComparison.Ordinal) > 0 && 3056attributeValueXsiTypeSuffixWithLocalPrefix.IndexOf(":", StringComparison.Ordinal) < attributeValueXsiTypeSuffixWithLocalPrefix.Length - 1) 3058string localPrefix = attributeValueXsiTypeSuffixWithLocalPrefix.Substring(0, attributeValueXsiTypeSuffixWithLocalPrefix.IndexOf(":", StringComparison.Ordinal)); 3060attributeValueXsiTypeSuffix = attributeValueXsiTypeSuffixWithLocalPrefix.Substring(attributeValueXsiTypeSuffixWithLocalPrefix.IndexOf(":", StringComparison.Ordinal) + 1);
System\IdentityModel\Tokens\SamlAttributeKeyComparer.cs (6)
85return x.Name.Equals( y.Name, StringComparison.Ordinal ) 86&& x.FriendlyName.Equals( y.FriendlyName, StringComparison.Ordinal ) 87&& x.ValueType.Equals( y.ValueType, StringComparison.Ordinal ) 88&& x.OriginalIssuer.Equals( y.OriginalIssuer, StringComparison.Ordinal ) 89&& x.NameFormat.Equals( y.NameFormat, StringComparison.Ordinal ) 90&& x.Namespace.Equals( y.Namespace, StringComparison.Ordinal );
System\IdentityModel\Tokens\SamlAuthorizationDecisionStatement.cs (2)
174if (decisionString.Equals(SamlAccessDecision.Deny.ToString(), StringComparison.OrdinalIgnoreCase)) 176else if (decisionString.Equals(SamlAccessDecision.Permit.ToString(), StringComparison.OrdinalIgnoreCase))
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (8)
705if (attributeNamespace.EndsWith("/", StringComparison.Ordinal)) 2646if (attributeValueXsiTypeSuffixWithLocalPrefix.IndexOf(":", StringComparison.Ordinal) == -1) // "some-non-empty-string" case 2651else if (attributeValueXsiTypeSuffixWithLocalPrefix.IndexOf(":", StringComparison.Ordinal) > 0 && 2652attributeValueXsiTypeSuffixWithLocalPrefix.IndexOf(":", StringComparison.Ordinal) < attributeValueXsiTypeSuffixWithLocalPrefix.Length - 1) // "some-non-empty-local-prefix:some-non-empty-string" case 2654string localPrefix = attributeValueXsiTypeSuffixWithLocalPrefix.Substring(0, attributeValueXsiTypeSuffixWithLocalPrefix.IndexOf(":", StringComparison.Ordinal)); 2657attributeValueXsiTypeSuffix = attributeValueXsiTypeSuffixWithLocalPrefix.Substring(attributeValueXsiTypeSuffixWithLocalPrefix.IndexOf(":", StringComparison.Ordinal) + 1); 3163if (decisionString.Equals(SamlAccessDecision.Deny.ToString(), StringComparison.OrdinalIgnoreCase)) 3167else if (decisionString.Equals(SamlAccessDecision.Permit.ToString(), StringComparison.OrdinalIgnoreCase))
System.IO.Compression.FileSystem (2)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
128if (key.Equals(c_versionKey, StringComparison.OrdinalIgnoreCase)) 148else if (key.Equals(c_profileKey, StringComparison.OrdinalIgnoreCase))
System.IO.Log (2)
System\IO\Log\LogStore.cs (2)
105StringComparison.OrdinalIgnoreCase)) 251StringComparison.OrdinalIgnoreCase))
System.Management (85)
Instrumentation\Attributes.cs (1)
65|| (once && String.Compare(namespacePart, "root", StringComparison.OrdinalIgnoreCase) != 0) // Must start with 'root'
Instrumentation\EventSource.cs (1)
741if(0==String.Compare(ManagedNameAttribute.GetMemberName(type), strFilter, StringComparison.Ordinal))
Instrumentation\ManagementInstaller.cs (1)
150if(String.Compare(mofFile.Substring(mofFile.Length-4,4),".mof",StringComparison.OrdinalIgnoreCase)!=0)
Instrumentation\SchemaRegistration.cs (2)
162return (0==String.Compare(AssemblyUniqueIdentifier,inst["RegisteredBuild"].ToString(),StringComparison.OrdinalIgnoreCase)); 179 bRet = (0 != String.Compare(AssemblyUniqueIdentifier, obj["RegisteredBuild"].ToString(), StringComparison.OrdinalIgnoreCase));
Instrumentation\WMICapabilities.cs (1)
102if(String.Compare(mof, path, StringComparison.OrdinalIgnoreCase) == 0)
InteropClasses\WMIInterop.cs (1)
161if(String.Compare(wszName, "__path", StringComparison.OrdinalIgnoreCase) == 0)
managementbaseobject.cs (3)
534if (propertyName.StartsWith ("__", StringComparison.Ordinal)) 714StringComparison.OrdinalIgnoreCase); 885if (propertyName.StartsWith ("__", StringComparison.Ordinal))
managementeventwatcher.cs (2)
650if((0==String.Compare(eventWatcher.Scope.Path.Server, ".", StringComparison.OrdinalIgnoreCase)) || 651(0==String.Compare(eventWatcher.Scope.Path.Server, System.Environment.MachineName, StringComparison.OrdinalIgnoreCase)))
managementobject.cs (1)
2841if (String.Compare(propertyName, RETURNVALUE, StringComparison.OrdinalIgnoreCase) == 0)
managementpath.cs (6)
143if (String.Compare("root", nsPath, StringComparison.OrdinalIgnoreCase) != 0) 276if (String.Compare(path, "root", StringComparison.OrdinalIgnoreCase) == 0) 637if (0 != String.Compare(oldValue,value,StringComparison.OrdinalIgnoreCase)) 694if (String.Compare(nsOrg, nsNew, StringComparison.OrdinalIgnoreCase) != 0) 759if (status >= 0 && String.Compare(serverOrg, serverNew, StringComparison.OrdinalIgnoreCase) != 0) 889if (0 != String.Compare(oldValue,value,StringComparison.OrdinalIgnoreCase))
managementquery.cs (39)
129 if (0 != q.IndexOf(op, StringComparison.Ordinal)) 662 if (queryOrClassName.TrimStart().StartsWith(tokenSelect, StringComparison.OrdinalIgnoreCase)) 976 if ((q.Length >= keyword.Length) && (String.Compare(q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase) == 0)) //select clause found 1019 if ((q.Length >= keyword.Length) && (String.Compare(q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase) == 0)) //from clause found 1026 if ((q.Length >= keyword.Length) && (String.Compare(q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase) == 0)) //where clause exists 1038 (0 != String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 1053 (0 != String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 1062 (0 != String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 1074 (0 != String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 1257if (queryOrSourceObject.TrimStart().StartsWith(tokenAssociators, StringComparison.OrdinalIgnoreCase)) 1647 if (0 != String.Compare(q, 0, tokenAssociators, 0, tokenAssociators.Length, StringComparison.OrdinalIgnoreCase)) 1660 if (0 != String.Compare(q, 0, tokenOf, 0, tokenOf.Length, StringComparison.OrdinalIgnoreCase)) 1684 if (0 != String.Compare (q, 0, tokenWhere, 0, tokenWhere.Length, StringComparison.OrdinalIgnoreCase)) 1708 if ((q.Length >= tokenResultClass.Length) && (0 == String.Compare (q, 0, tokenResultClass, 0, tokenResultClass.Length, StringComparison.OrdinalIgnoreCase))) 1710 else if ((q.Length >= tokenAssocClass.Length) && (0 == String.Compare (q, 0, tokenAssocClass, 0, tokenAssocClass.Length, StringComparison.OrdinalIgnoreCase))) 1712 else if ((q.Length >= tokenResultRole.Length) && (0 == String.Compare (q, 0, tokenResultRole, 0, tokenResultRole.Length, StringComparison.OrdinalIgnoreCase))) 1714 else if ((q.Length >= tokenRole.Length) && (0 == String.Compare (q, 0, tokenRole, 0, tokenRole.Length, StringComparison.OrdinalIgnoreCase))) 1716 else if ((q.Length >= tokenRequiredQualifier.Length) && (0 == String.Compare (q, 0, tokenRequiredQualifier, 0, tokenRequiredQualifier.Length, StringComparison.OrdinalIgnoreCase))) 1718 else if ((q.Length >= tokenRequiredAssocQualifier.Length) && (0 == String.Compare (q, 0, tokenRequiredAssocQualifier, 0, tokenRequiredAssocQualifier.Length, StringComparison.OrdinalIgnoreCase))) 1720 else if ((q.Length >= tokenSchemaOnly.Length) && (0 == String.Compare (q, 0, tokenSchemaOnly, 0, tokenSchemaOnly.Length, StringComparison.OrdinalIgnoreCase))) 1725 else if ((q.Length >= tokenClassDefsOnly.Length) && (0 == String.Compare (q, 0, tokenClassDefsOnly, 0, tokenClassDefsOnly.Length, StringComparison.OrdinalIgnoreCase))) 1884 if (queryOrSourceObject.TrimStart().StartsWith(tokenReferences, StringComparison.OrdinalIgnoreCase)) 2162 if (0 != String.Compare(q, 0, tokenReferences, 0, tokenReferences.Length, StringComparison.OrdinalIgnoreCase)) 2175 if (0 != String.Compare(q, 0, tokenOf, 0, tokenOf.Length, StringComparison.OrdinalIgnoreCase)) 2199 if (0 != String.Compare (q, 0, tokenWhere, 0, tokenWhere.Length, StringComparison.OrdinalIgnoreCase)) 2220 if ((q.Length >= tokenResultClass.Length) && (0 == String.Compare (q, 0, tokenResultClass, 0, tokenResultClass.Length, StringComparison.OrdinalIgnoreCase))) 2222 else if ((q.Length >= tokenRole.Length) && (0 == String.Compare (q, 0, tokenRole, 0, tokenRole.Length, StringComparison.OrdinalIgnoreCase))) 2224 else if ((q.Length >= tokenRequiredQualifier.Length) && (0 == String.Compare (q, 0, tokenRequiredQualifier, 0, tokenRequiredQualifier.Length, StringComparison.OrdinalIgnoreCase))) 2226 else if ((q.Length >= tokenClassDefsOnly.Length) && (0 == String.Compare (q, 0, tokenClassDefsOnly, 0, tokenClassDefsOnly.Length, StringComparison.OrdinalIgnoreCase))) 2231 else if ((q.Length >= tokenSchemaOnly.Length) && (0 == String.Compare (q, 0, tokenSchemaOnly, 0, tokenSchemaOnly.Length, StringComparison.OrdinalIgnoreCase))) 2475 if (queryOrEventClassName.TrimStart().StartsWith(tokenSelectAll, StringComparison.OrdinalIgnoreCase)) 3030 if ((q.Length < keyword.Length) || (0 != String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 3034 if (!q.StartsWith("*", StringComparison.Ordinal)) 3040 if ((q.Length < keyword.Length) || (0 != String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 3046 if ((q.Length >= keyword.Length) && (0 == String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 3055 if ((q.Length >= keyword.Length) && ((i = q.ToLower(CultureInfo.InvariantCulture).IndexOf(keyword, StringComparison.Ordinal)) != -1)) //found 3067 if ((q.Length >= keyword.Length) && (0 == String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 3106 if ((q.Length >= keyword.Length) && (0 == String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 3122 if ((w.Length >= keyword.Length) && (0 == String.Compare (w, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) //where clause exists
wmieventsink.cs (4)
94if((0==String.Compare(this.path.Server, ".", StringComparison.OrdinalIgnoreCase)) || 95(0==String.Compare(this.path.Server, System.Environment.MachineName, StringComparison.OrdinalIgnoreCase))) 106if((0==String.Compare(this.scope.Path.Server, ".", StringComparison.OrdinalIgnoreCase)) || 107(0==String.Compare(this.scope.Path.Server, System.Environment.MachineName, StringComparison.OrdinalIgnoreCase)))
WmiGenerator.cs (23)
625if (String.Compare(q.Name,"singleton",StringComparison.OrdinalIgnoreCase) == 0) 1635if (String.Compare(q.Name,"description",StringComparison.OrdinalIgnoreCase) == 0) 1640if (String.Compare(q.Name,"Not_Null",StringComparison.OrdinalIgnoreCase) == 0) 1645if (String.Compare(q.Name,"key",StringComparison.OrdinalIgnoreCase) == 0) 1653else if (string.Compare(q.Name,"static",StringComparison.OrdinalIgnoreCase) == 0) 1659else if (string.Compare(q.Name,"read",StringComparison.OrdinalIgnoreCase) == 0) 1670else if (string.Compare(q.Name,"write",StringComparison.OrdinalIgnoreCase) == 0) 1684else if (string.Compare(q.Name,"ValueMap",StringComparison.OrdinalIgnoreCase) == 0 && bMapsFailed == false) 1722else if (string.Compare(q.Name,"Values",StringComparison.OrdinalIgnoreCase) == 0 && bMapsFailed == false) 1755else if (string.Compare(q.Name,"BitMap",StringComparison.OrdinalIgnoreCase) == 0 && bMapsFailed == false) 1784else if (string.Compare(q.Name,"BitValues",StringComparison.OrdinalIgnoreCase) == 0 && bMapsFailed == false) 2868if (string.Compare(q.Name,"static",StringComparison.OrdinalIgnoreCase) == 0) 2876if (string.Compare(q.Name,"privileges",StringComparison.OrdinalIgnoreCase) == 0) 2986if (string.Compare(prop.Name,outParamsName[i].ToString(),StringComparison.OrdinalIgnoreCase) == 0) 3075if (string.Compare(prop.Name,inoutParams[i].ToString(),StringComparison.OrdinalIgnoreCase) == 0) 3083if (string.Compare(prop.Name,"ReturnValue",StringComparison.OrdinalIgnoreCase) == 0) 4632if (String.Compare(sortedList.GetByIndex(i).ToString(),strToFind,StringComparison.OrdinalIgnoreCase) == 0) 4919if (String.Compare(arrToSearch[i].ToString(),strToFind,StringComparison.OrdinalIgnoreCase) == 0) 5121if (bitMap.StartsWith(strTemp, StringComparison.Ordinal) || bitMap.StartsWith(strTemp.ToUpper(CultureInfo.InvariantCulture), StringComparison.Ordinal)) 5244if (String.Compare(propName,"Path",StringComparison.OrdinalIgnoreCase) != 0) 5708if(String.Compare(strType,PublicNamesUsed["PathClass"].ToString(),StringComparison.OrdinalIgnoreCase) == 0) 6241if(String.Compare(prop.Qualifiers["SubType"].Value.ToString() ,"interval",StringComparison.OrdinalIgnoreCase) == 0)
System.Net (6)
net\PeerToPeer\Collaboration\PeerCollaborationPermission.cs (2)
181if (className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) < 0){ 185m_noRestriction = (str != null ? (0 == string.Compare(str, "true", StringComparison.OrdinalIgnoreCase)) : false);
net\PeerToPeer\PeerName.cs (1)
335return string.Compare(other.m_PeerName, m_PeerName, StringComparison.Ordinal) == 0;
net\PeerToPeer\PnrpPermission.cs (2)
168if (className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) < 0) { 172m_noRestriction = (str != null ? (0 == string.Compare(str, "true", StringComparison.OrdinalIgnoreCase)) : false);
net\PeerToPeer\UnsafePeerToPeerMethods.cs (1)
309if (String.Compare(installType, InstallTypeStringServerCore, StringComparison.OrdinalIgnoreCase) == 0) {
System.Runtime.Caching (4)
System\Caching\FileChangeNotificationSystem.cs (1)
38return 0 == string.Compare(s1, 0, s2, 0, s2.Length, StringComparison.OrdinalIgnoreCase);
System\Caching\MemoryCache.cs (2)
296if (String.Equals(name, "default", StringComparison.OrdinalIgnoreCase)) { 314if (String.Equals(name, "default", StringComparison.OrdinalIgnoreCase)) {
System\Caching\MemoryCacheKeyEqualityComparer.cs (1)
18return (String.Compare(a.Key, b.Key, StringComparison.Ordinal) == 0);
System.Runtime.Remoting (54)
channels\core\basetransportheaders.cs (4)
144if (String.Compare(headerName, CommonTransportKeys.ConnectionId, StringComparison.OrdinalIgnoreCase) == 0) 147if (String.Compare(headerName, CommonTransportKeys.IPAddress, StringComparison.OrdinalIgnoreCase) == 0) 150if (String.Compare(headerName, CommonTransportKeys.RequestUri, StringComparison.OrdinalIgnoreCase) == 0) 153if (String.Compare(headerName, "Content-Type", StringComparison.OrdinalIgnoreCase) == 0)
channels\core\corechannel.cs (8)
614if (string.Compare(mimeType, SOAPMimeType, StringComparison.Ordinal) == 0) 619if (string.Compare(mimeType, BinaryMimeType, StringComparison.Ordinal) == 0) 647if (string.Compare(mimeType, BinaryMimeType, StringComparison.Ordinal) == 0) 652if (string.Compare(mimeType, SOAPMimeType, StringComparison.Ordinal) == 0) 730if (string.Compare(mimeType, SOAPMimeType, StringComparison.Ordinal) == 0) 735if (string.Compare(mimeType, BinaryMimeType, StringComparison.Ordinal) == 0) 763if (String.Compare(appName, 0, uri, 0, appName.Length, StringComparison.OrdinalIgnoreCase) == 0) 1136if (mdPath.StartsWith("/LM/", StringComparison.Ordinal))
channels\http\httpchannelhelper.cs (1)
163if (String.Compare(key, "charset", StringComparison.OrdinalIgnoreCase) == 0)
channels\http\httpclientchannel.cs (3)
468if (_channelURI.EndsWith("/", StringComparison.Ordinal)) 580if (!msgUri.StartsWith("/", StringComparison.Ordinal)) 675if ((key != null) && !key.StartsWith("__", StringComparison.Ordinal))
channels\http\httpremotinghandler.cs (6)
132if (String.Compare(hook.ChannelScheme, "http", StringComparison.OrdinalIgnoreCase) == 0) 227if (String.Compare(context.Request.HttpMethod, "GET", StringComparison.OrdinalIgnoreCase) != 0) { 237if (values.Length != 1 || String.Compare(values[0], "wsdl", StringComparison.OrdinalIgnoreCase) != 0) 241if (String.Compare(objectUri, "RemoteApplicationMetadata.rem", StringComparison.OrdinalIgnoreCase) == 0) 399bool bVerbIsGET = (String.Compare(httpRequest.HttpMethod, "GET", StringComparison.OrdinalIgnoreCase) == 0); 657if (!key.StartsWith("__", StringComparison.Ordinal))
channels\http\httpserverchannel.cs (1)
298if (!objectUri.StartsWith("/", StringComparison.Ordinal))
channels\http\httpsocketmanager.cs (9)
66if (String.Compare(headerName, "Transfer-Encoding", StringComparison.OrdinalIgnoreCase) == 0) 68if (String.Compare(headerValue, "chunked", StringComparison.OrdinalIgnoreCase) == 0) 74if (String.Compare(headerName, "Connection", StringComparison.OrdinalIgnoreCase) == 0) 76if (String.Compare(headerValue, "Keep-Alive", StringComparison.OrdinalIgnoreCase) == 0) 79if (String.Compare(headerValue, "Close", StringComparison.OrdinalIgnoreCase) == 0) 83if (String.Compare(headerName, "Expect", StringComparison.OrdinalIgnoreCase) == 0) 85if (String.Compare(headerValue, "100-continue", StringComparison.OrdinalIgnoreCase) == 0) 89if (String.Compare(headerName, "Content-Length", StringComparison.OrdinalIgnoreCase) == 0) 110if (!headerName.StartsWith("__", StringComparison.Ordinal)) // exclude special headers
channels\ipc\ipcserverchannel.cs (1)
246if (!objectUri.StartsWith("/", StringComparison.Ordinal))
channels\sinks\binaryformattersinks.cs (1)
372if (String.Compare("http", 0, uri, 0, 4, StringComparison.OrdinalIgnoreCase) == 0)
channels\sinks\soapformattersinks.cs (3)
265if (String.Compare(contentTypeValue, CoreChannel.SOAPMimeType, StringComparison.Ordinal) == 0) 423if (String.Compare("http", 0, uri, 0, 4, StringComparison.OrdinalIgnoreCase) == 0) 555(String.Compare(contentType, CoreChannel.SOAPMimeType, StringComparison.Ordinal) != 0))
channels\tcp\tcpserverchannel.cs (1)
306if (!objectUri.StartsWith("/", StringComparison.Ordinal))
channels\tcp\tcpsocketmanager.cs (1)
256if (String.Compare(headerName, "Content-Type", StringComparison.OrdinalIgnoreCase) == 0)
metadata\sdlchannelsink.cs (2)
232(String.Compare(objectUri, "RemoteApplicationMetadata.rem", StringComparison.OrdinalIgnoreCase) == 0)) 253if (String.Compare(objectUri, "RemoteApplicationMetadata.rem", StringComparison.OrdinalIgnoreCase) == 0)
metadata\wsdlparser.cs (13)
751else if (protocol.StartsWith("http", StringComparison.Ordinal)) 1886if ((methodInfo.methodName.StartsWith("get_", StringComparison.Ordinal) && methodInfo.methodName.Length > 4)) 1888else if ((methodInfo.methodName.StartsWith("set_", StringComparison.Ordinal) && methodInfo.methodName.Length > 4)) 3270if (diskFileName.EndsWith(".exe", StringComparison.Ordinal) || diskFileName.EndsWith(".dll", StringComparison.Ordinal)) 4453Debug.Assert(ns.StartsWith("System", StringComparison.Ordinal), "Invalid System type"); 4751if ((iType != UrtType.Interop) && baseIFaceNS.StartsWith("System", StringComparison.Ordinal)) 5199Debug.Assert(ns.StartsWith("System", StringComparison.Ordinal), "Invalid System type"); 5767if (urtType == UrtType.UrtSystem || baseTypeNS.StartsWith("System", StringComparison.Ordinal)) 6274if (baseString == null || baseString.StartsWith("System.", StringComparison.Ordinal)) 6312if (baseString == null || baseString.StartsWith("System.", StringComparison.Ordinal)) 6565if (_encodedNS.StartsWith("//", StringComparison.Ordinal)) 6622if (_namespace != null && _namespace.StartsWith("System", StringComparison.Ordinal))
System.Runtime.Serialization (35)
System\Runtime\Serialization\CodeExporter.cs (4)
132if (String.Compare(existingName, assemblyName, StringComparison.OrdinalIgnoreCase) == 0) 757if (String.Compare(typeName, type.Name, StringComparison.OrdinalIgnoreCase) == 0) 782if (String.Compare(typeName, ((CodeTypeDeclaration)member).Name, StringComparison.OrdinalIgnoreCase) == 0) 1501if (uriString.StartsWith(Globals.DataContractXsdBaseNamespace, StringComparison.Ordinal))
System\Runtime\Serialization\Configuration\DeclaredTypeValidator.cs (1)
22if (type.StartsWith(Globals.TypeOfObject.FullName, StringComparison.Ordinal))
System\Runtime\Serialization\DataContract.cs (4)
722if (!typeName.StartsWith("System.", StringComparison.Ordinal)) 1773if (trimmedNs.Length == 0 || trimmedNs.IndexOf("##", StringComparison.Ordinal) != -1) 1912return uriString.StartsWith(Globals.DataContractXsdBaseNamespace, StringComparison.Ordinal) ? uriString.Substring(Globals.DataContractXsdBaseNamespace.Length) : uriString; 2217if (collectionElementTypeName.StartsWith(DataContract.GetClrTypeFullName(rootType), StringComparison.Ordinal))
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (2)
189!dateTimeValue.StartsWith(JsonGlobals.DateTimeStartGuardReader, StringComparison.Ordinal) || 190!dateTimeValue.EndsWith(JsonGlobals.DateTimeEndGuardReader, StringComparison.Ordinal))
System\Runtime\Serialization\Json\XmlJsonWriter.cs (1)
787if (!name.Equals("xml", StringComparison.OrdinalIgnoreCase))
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
97else if (dataContractNamespace.StartsWith(Globals.DataContractXsdBaseNamespace, StringComparison.Ordinal))
System\Runtime\Serialization\NetDataContractSerializer.cs (2)
551if (string.Equals(newAssembly.Name, Globals.MscorlibAssemblySimpleName, StringComparison.OrdinalIgnoreCase) || 552string.Equals(newAssembly.Name, Globals.MscorlibFileName, StringComparison.OrdinalIgnoreCase))
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
737if (xmlReader.NamespaceURI.StartsWith(Globals.DataContractXsdBaseNamespace, StringComparison.Ordinal))
System\Xml\StringHandle.cs (1)
276return string.Compare(this.GetString(), that.GetString(), StringComparison.Ordinal);
System\Xml\XmlBaseWriter.cs (1)
387else if (text.IndexOf("--", StringComparison.Ordinal) != -1 || (text.Length > 0 && text[text.Length - 1] == '-'))
System\Xml\XmlC14NWriter.cs (1)
271if (String.Compare(Encoding.UTF8.GetString(xmlnsBuffer, xmlnsAttribute.prefixOffset, xmlnsAttribute.prefixLength), this.inclusivePrefixes[i], StringComparison.Ordinal) == 0)
System\Xml\XmlMtomReader.cs (13)
150if (String.Compare(MtomGlobals.MediaType, header.MediaType, StringComparison.OrdinalIgnoreCase) != 0 151|| String.Compare(MtomGlobals.MediaSubtype, header.MediaSubtype, StringComparison.OrdinalIgnoreCase) != 0) 175if (String.Compare(MtomGlobals.XopMediaType, header.MediaType, StringComparison.OrdinalIgnoreCase) != 0 176|| String.Compare(MtomGlobals.XopMediaSubtype, header.MediaSubtype, StringComparison.OrdinalIgnoreCase) != 0) 186if (String.Compare(charset, expectedEncodings[i].WebName, StringComparison.OrdinalIgnoreCase) == 0) 195if (String.Compare(charset, "utf-16LE", StringComparison.OrdinalIgnoreCase) == 0) 199if (String.Compare(expectedEncodings[i].WebName, Encoding.Unicode.WebName, StringComparison.OrdinalIgnoreCase) == 0) 206else if (String.Compare(charset, "utf-16BE", StringComparison.OrdinalIgnoreCase) == 0) 210if (String.Compare(expectedEncodings[i].WebName, Encoding.BigEndianUnicode.WebName, StringComparison.OrdinalIgnoreCase) == 0) 267if (startUri.StartsWith("<", StringComparison.Ordinal)) 269if (startUri.EndsWith(">", StringComparison.Ordinal)) 359if (uri.StartsWith(MimeGlobals.ContentIDScheme, StringComparison.Ordinal)) 361else if (uri.StartsWith("<", StringComparison.Ordinal))
System\Xml\XmlMtomWriter.cs (3)
180if (String.Compare(name, Encoding.UTF8.WebName, StringComparison.OrdinalIgnoreCase) == 0) 182if (String.Compare(name, Encoding.Unicode.WebName, StringComparison.OrdinalIgnoreCase) == 0) 184if (String.Compare(name, Encoding.BigEndianUnicode.WebName, StringComparison.OrdinalIgnoreCase) == 0)
System.Security (31)
system\security\cryptography\cryptoapi.cs (1)
2784if (pvPara != null && pvPara.StartsWith(@"\\", StringComparison.Ordinal))
system\security\cryptography\cryptographicattribute.cs (3)
55if (0 != String.Compare(asn.Oid.Value, oid.Value, StringComparison.Ordinal)) 160if ((szOid1 != null && szOid2 != null) && (String.Compare(szOid1, szOid2, StringComparison.OrdinalIgnoreCase) == 0)) { 165if (String.Compare(szOid1, CAPI.szOID_RSA_signingTime, StringComparison.OrdinalIgnoreCase) == 0)
system\security\cryptography\pkcs\envelopedpkcs7.cs (1)
464if (String.Compare(this.ContentInfo.ContentType.Value, CAPI.szOID_RSA_data, StringComparison.OrdinalIgnoreCase) == 0) {
system\security\cryptography\pkcs\pkcsmisc.cs (2)
65if (String.Compare(CAPI.DummySignerCommonName, dummyName.Name, StringComparison.OrdinalIgnoreCase) == 0) { 97if (String.Compare(CAPI.szOID_KEYID_RDN, certRdnAttr.pszObjId, StringComparison.OrdinalIgnoreCase) == 0)
system\security\cryptography\pkcs\pkcsutils.cs (4)
499if (String.Compare(extension.Oid.Value, CAPI.szOID_KEY_USAGE, StringComparison.OrdinalIgnoreCase) == 0) { 536if (String.Compare(extension.Oid.Value, CAPI.szOID_KEY_USAGE, StringComparison.OrdinalIgnoreCase) == 0) { 724StringComparison.Ordinal)) 855if (String.Compare(parameters.ProviderName, CAPI.MS_DEF_PROV, StringComparison.OrdinalIgnoreCase) == 0)
system\security\cryptography\pkcs\signedpkcs7.cs (1)
318if (String.Compare(this.ContentInfo.ContentType.Value, CAPI.szOID_RSA_data, StringComparison.OrdinalIgnoreCase) == 0) {
system\security\cryptography\pkcs\signerinfo.cs (6)
188if (String.Compare(attribute.Oid.Value, CAPI.szOID_RSA_counterSign, StringComparison.OrdinalIgnoreCase) == 0) { 198if ((String.Compare(issuerSerial1.IssuerName, issuerSerial2.IssuerName, StringComparison.OrdinalIgnoreCase) == 0) && 199(String.Compare(issuerSerial1.SerialNumber, issuerSerial2.SerialNumber, StringComparison.OrdinalIgnoreCase) == 0)) { 209if (String.Compare(keyIdentifier1, keyIdentifier2, StringComparison.OrdinalIgnoreCase) == 0) { 564if (String.Compare(attr.pszObjId, CAPI.szOID_RSA_counterSign, StringComparison.OrdinalIgnoreCase) == 0) { 702if (String.Compare(extension.Oid.Value, CAPI.szOID_KEY_USAGE, StringComparison.OrdinalIgnoreCase) == 0) {
system\security\cryptography\x509\x509utils.cs (1)
247if (String.Compare(certificate.SubjectName.Name, certificate.IssuerName.Name, StringComparison.OrdinalIgnoreCase) == 0)
system\security\cryptography\xml\signedxml.cs (4)
317if (String.Compare(extension.Oid.Value, CAPI.szOID_KEY_USAGE, StringComparison.OrdinalIgnoreCase) == 0) { 623if (String.Equals(safeAlgorithm, SignedInfo.CanonicalizationMethod, StringComparison.OrdinalIgnoreCase)) { 652if (String.Equals(safeAlgorithm, transformAlgorithm, StringComparison.OrdinalIgnoreCase)) { 658if (String.Equals(safeAlgorithm, transformAlgorithm, StringComparison.OrdinalIgnoreCase)) {
system\security\cryptography\xml\utils.cs (6)
612if (idref.StartsWith("xpointer(id(", StringComparison.Ordinal)) { 613int startId = idref.IndexOf("id(", StringComparison.Ordinal); 614int endId = idref.IndexOf(")", StringComparison.Ordinal); 629if (idref.StartsWith("xpointer(id(", StringComparison.Ordinal)) { 630int startId = idref.IndexOf("id(", StringComparison.Ordinal); 631int endId = idref.IndexOf(")", StringComparison.Ordinal);
system\security\permissions\dataprotectionpermission.cs (2)
130if (className == null || className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) == -1) 134if (unrestricted != null && String.Compare(unrestricted, "true", StringComparison.OrdinalIgnoreCase) == 0) {
System.ServiceModel (332)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
128if (key.Equals(c_versionKey, StringComparison.OrdinalIgnoreCase)) 148else if (key.Equals(c_profileKey, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Activation\AspNetEnvironment.cs (1)
362if (assembly.FullName.StartsWith(systemWebName, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (2)
34&& String.Equals((string)instance.GetProperty(AdministrationStrings.Name), AppDomainInfo.Current.Name, StringComparison.Ordinal)) 139&& String.Equals((string)instance.GetProperty(AdministrationStrings.Name), AppDomainInfo.Current.Name, StringComparison.Ordinal))
System\ServiceModel\Administration\EndpointInstanceProvider.cs (3)
53if (!AdministrationStrings.Localhost.Equals(host, StringComparison.OrdinalIgnoreCase) 54&& !AppDomainInfo.Current.MachineName.Equals(host, StringComparison.OrdinalIgnoreCase)) 649if (null != endpointInfo.ListenUri && String.Equals(endpointInfo.ListenUri.ToString(), address, StringComparison.OrdinalIgnoreCase)
System\ServiceModel\Administration\ServiceInstanceProvider.cs (1)
45if (String.Equals((string)instance.GetProperty(AdministrationStrings.DistinguishedName), info.DistinguishedName, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Channels\AuthenticationSchemesHelper.cs (3)
20if (authType.Equals("kerberos", StringComparison.OrdinalIgnoreCase) || 21authType.Equals("negotiate", StringComparison.OrdinalIgnoreCase)) 25else if (authType.Equals("ntlm", 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\BinaryMessageEncoder.cs (1)
928return contentType == supportedContentType || contentType.StartsWith(supportedContentType, StringComparison.OrdinalIgnoreCase);
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (4)
193StringComparison comparisonType = ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal; 542if (!(requested == null ? string.IsNullOrWhiteSpace(obtained) : requested.Equals(obtained, StringComparison.OrdinalIgnoreCase)))
System\ServiceModel\Channels\ContextBindingElement.cs (2)
330&& !"http".Equals(context.Binding.Scheme, StringComparison.OrdinalIgnoreCase) 331&& !"https".Equals(context.Binding.Scheme, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Channels\ContextBindingElementPolicy.cs (3)
134if (EncryptAndSignName.Equals(protectionLevelAttribute, StringComparison.Ordinal)) 138else if (SignName.Equals(protectionLevelAttribute, StringComparison.Ordinal)) 142else if (NoneName.Equals(protectionLevelAttribute, StringComparison.Ordinal))
System\ServiceModel\Channels\ContextProtocol.cs (1)
109if (trimmedToken.StartsWith(HttpCookieToolbox.ContextHttpCookieName, StringComparison.Ordinal))
System\ServiceModel\Channels\DefaultWebSocketConnectionHandler.cs (2)
85if (string.Compare(protocol, this.subProtocol, StringComparison.OrdinalIgnoreCase) == 0) 219return headerValue.Equals(this.transferMode, StringComparison.OrdinalIgnoreCase);
System\ServiceModel\Channels\FaultConverter.cs (14)
95if (string.Compare(fault.Code.Namespace, version.Envelope.Namespace, StringComparison.Ordinal) == 0 96&& string.Compare(fault.Code.Name, MessageStrings.MustUnderstandFault, StringComparison.Ordinal) == 0) 132if (string.Compare(code.Namespace, version.Addressing.Namespace, StringComparison.Ordinal) == 0) 134if (string.Compare(code.Name, AddressingStrings.ActionNotSupported, StringComparison.Ordinal) == 0) 139else if (string.Compare(code.Name, AddressingStrings.DestinationUnreachable, StringComparison.Ordinal) == 0) 144else if (string.Compare(code.Name, Addressing10Strings.InvalidAddressingHeader, StringComparison.Ordinal) == 0) 146if (code.SubCode != null && string.Compare(code.SubCode.Namespace, version.Addressing.Namespace, StringComparison.Ordinal) == 0 && 147string.Compare(code.SubCode.Name, Addressing10Strings.InvalidCardinality, StringComparison.Ordinal) == 0) 155if (string.Compare(code.Name, Addressing10Strings.MessageAddressingHeaderRequired, StringComparison.Ordinal) == 0) 160else if (string.Compare(code.Name, Addressing10Strings.InvalidAddressingHeader, StringComparison.Ordinal) == 0) 168if (string.Compare(code.Name, Addressing200408Strings.MessageInformationHeaderRequired, StringComparison.Ordinal) == 0) 173else if (string.Compare(code.Name, Addressing200408Strings.InvalidMessageInformationHeader, StringComparison.Ordinal) == 0) 185if (string.Compare(code.Namespace, version.Addressing.Namespace, StringComparison.Ordinal) == 0) 187if (string.Compare(code.Name, AddressingStrings.EndpointUnavailable, StringComparison.Ordinal) == 0)
System\ServiceModel\Channels\HttpChannelFactory.cs (2)
737Fx.Assert(httpWebRequest.Method.Equals("GET", StringComparison.OrdinalIgnoreCase), "the default HTTP method of HttpWebRequest should be 'Get'."); 841if (requestProperty.QueryString.StartsWith("?", StringComparison.Ordinal))
System\ServiceModel\Channels\HttpChannelHelpers.cs (36)
340if (action.Length > 0 && string.Compare(message.Headers.Action, action, StringComparison.Ordinal) != 0) 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) 2563if (value.Length > 0 && string.Compare(value, action, StringComparison.Ordinal) != 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) 2668if (string.Compare(value, action, StringComparison.Ordinal) != 0) 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\HttpChannelListener.cs (1)
726string.Equals(listenUri.Scheme, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase))//SPN list not used for HTTPS (CBT is used instead).
System\ServiceModel\Channels\HttpCookieContainerBindingElement.cs (2)
41if (!context.Binding.Scheme.Equals("http", StringComparison.OrdinalIgnoreCase) && 42!context.Binding.Scheme.Equals("https", StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Channels\HttpHeaderInfo.cs (1)
167if (string.Equals(headerEnumString, HttpResponseHeader.ETag.ToString(), StringComparison.Ordinal))
System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (2)
173if ((value is HttpRequestMessageProperty && string.Equals(key, HttpRequestMessageProperty.Name, StringComparison.OrdinalIgnoreCase)) || 174(value is HttpResponseMessageProperty && string.Equals(key, HttpResponseMessageProperty.Name, StringComparison.OrdinalIgnoreCase)))
System\ServiceModel\Channels\HttpTransportManager.cs (1)
160&& string.Compare(requestUri.AbsolutePath, methodListener.Uri.AbsolutePath, StringComparison.OrdinalIgnoreCase) != 0)
System\ServiceModel\Channels\MessageEncoder.cs (3)
132contentType.StartsWith(supportedContentType, StringComparison.Ordinal) && 137if (contentType.StartsWith(supportedContentType, StringComparison.OrdinalIgnoreCase)) 185if (supportedMediaType.Length > 0 && !supportedMediaType.Equals(parsedContentType.MediaType, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Channels\MessageFault.cs (7)
139if (String.Compare(code.Name, MessageStrings.MustUnderstandFault, StringComparison.Ordinal) != 0) 144if ((String.Compare(code.Namespace, EnvelopeVersion.Soap11.Namespace, StringComparison.Ordinal) != 0) && 145(String.Compare(code.Namespace, EnvelopeVersion.Soap12.Namespace, StringComparison.Ordinal) != 0)) 234if ((String.Compare(headerInfo.Name, Message12Strings.NotUnderstood, StringComparison.Ordinal) == 0) && 235(String.Compare(headerInfo.Namespace, Message12Strings.Namespace, StringComparison.Ordinal) == 0)) 247(String.Compare(name, actualName, StringComparison.Ordinal) == 0) && 248(String.Compare(ns, actualNamespace, StringComparison.Ordinal) == 0))
System\ServiceModel\Channels\MsmqBindingFilter.cs (1)
36if (string.Compare(CanonicalPrefix, 0, name, 0, CanonicalPrefix.Length, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Channels\MsmqBindingMonitor.cs (1)
38if (string.Compare(host, "localhost", StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Channels\MsmqSubqueueLockingQueue.cs (6)
36if (string.Compare(hostname, string.Empty, StringComparison.OrdinalIgnoreCase) == 0) 52if (string.Compare(hostname, "localhost", StringComparison.OrdinalIgnoreCase) == 0) 274if (subqueueName.StartsWith(MsmqSubqueueLockingQueue.LockSubqueuePrefix, StringComparison.OrdinalIgnoreCase)) 429if (formatName.StartsWith(directFormatNamePrefix, StringComparison.OrdinalIgnoreCase)) 439if (formatNameWithProtocol.StartsWith(tcpProtocolPrefix, StringComparison.OrdinalIgnoreCase)) 445else if (formatNameWithProtocol.StartsWith(osProtocolPrefix, 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\PeerHelpers.cs (1)
556&& string.Compare(address.EndpointAddress.Uri.Scheme, Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase) == 0
System\ServiceModel\Channels\PeerMessageDispatcher.cs (2)
174UriFormat.SafeUnescaped, StringComparison.OrdinalIgnoreCase) != 0) 182UriFormat.SafeUnescaped, StringComparison.OrdinalIgnoreCase) == 0;
System\ServiceModel\Channels\PeerNodeImplementation.cs (1)
689UriFormat.SafeUnescaped, StringComparison.OrdinalIgnoreCase) == 0);
System\ServiceModel\Channels\PeerSecurityHelpers.cs (4)
567return ((String.Compare(first, second, StringComparison.Ordinal) == 0) 568&& (String.Compare(firstNS, secondNS, StringComparison.OrdinalIgnoreCase) == 0)); 618if (String.Compare(response.TokenType, PeerHashToken.TokenTypeString, StringComparison.OrdinalIgnoreCase) != 0) 635if (String.Compare(code, ValidString, StringComparison.OrdinalIgnoreCase) != 0)
System\ServiceModel\Channels\PipeConnection.cs (2)
2862if (!path.EndsWith("/", StringComparison.Ordinal)) 2869if (path.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
571if ((0 == String.Compare(parts[0], PeerStrings.KnownServiceUriPrefix, StringComparison.OrdinalIgnoreCase)))
System\ServiceModel\Channels\RedirectionDuration.cs (2)
165if (string.Equals(this.Value, RedirectionConstants.Duration.Temporary, StringComparison.Ordinal)) 169else if (string.Equals(this.Value, RedirectionConstants.Duration.Permanent, StringComparison.Ordinal))
System\ServiceModel\Channels\RedirectionScope.cs (3)
171if (string.Equals(this.Value, RedirectionConstants.Scope.Message, StringComparison.Ordinal)) 175else if (string.Equals(this.Value, RedirectionConstants.Scope.Session, StringComparison.Ordinal)) 179else if (string.Equals(this.Value, RedirectionConstants.Scope.Endpoint, StringComparison.Ordinal))
System\ServiceModel\Channels\RedirectionType.cs (3)
173if (string.Equals(this.Value, RedirectionConstants.Type.Cache, StringComparison.Ordinal)) 177else if (string.Equals(this.Value, RedirectionConstants.Type.Resource, StringComparison.Ordinal)) 181else if (string.Equals(this.Value, RedirectionConstants.Type.UseIntermediary, StringComparison.Ordinal))
System\ServiceModel\Channels\RedirectionUtility.cs (2)
15result = string.Equals(value1, value2, StringComparison.Ordinal); 34else if (string.Equals(namespace1, namespace2, StringComparison.Ordinal))
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
3403return (action.StartsWith(WsrmIndex.GetNamespaceString(reliableMessagingVersion), StringComparison.Ordinal));
System\ServiceModel\Channels\ServiceChannel.cs (8)
1114if (string.Compare(code.Namespace, FaultCodeConstants.Namespaces.NetDispatch, StringComparison.Ordinal) == 0) 1116if (string.Compare(code.Name, FaultCodeConstants.Codes.SessionTerminated, StringComparison.Ordinal) == 0) 1121if (string.Compare(code.Name, FaultCodeConstants.Codes.TransactionAborted, StringComparison.Ordinal) == 0) 1128if (string.Compare(code.Namespace, SecurityVersion.Default.HeaderNamespace.Value, StringComparison.Ordinal) == 0) 1130if (string.Compare(code.Name, SecurityVersion.Default.FailedAuthenticationFaultCode.Value, StringComparison.Ordinal) == 0) 1139if (string.Compare(code.Namespace, FaultCodeConstants.Namespaces.NetDispatch, StringComparison.Ordinal) == 0) 1141if (string.Compare(code.Name, FaultCodeConstants.Codes.InternalServiceFault, StringComparison.Ordinal) == 0) 1154if (string.Compare(code.Name, FaultCodeConstants.Codes.DeserializationFailed, StringComparison.Ordinal) == 0)
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
309&& methodData.MethodBase.Name.Equals("Close", StringComparison.Ordinal))
System\ServiceModel\Channels\SharedHttpTransportManager.cs (3)
428if (string.Compare(listenerContext.Request.HttpMethod, "POST", StringComparison.OrdinalIgnoreCase) != 0) 540if (!path.StartsWith("/", StringComparison.Ordinal)) 543if (!path.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\Channels\SocketConnection.cs (2)
828if (string.Compare(sr, SR.TcpConnectionTimedOut, StringComparison.OrdinalIgnoreCase) == 0) 834else if (string.Compare(sr, SR.TcpConnectionResetError, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Channels\TextMessageEncoder.cs (2)
142&& string.Compare("charset=", 0, contentType, semiColonIndex + 2, 8, StringComparison.OrdinalIgnoreCase) == 0) 149int paramIndex = contentType.IndexOf("charset=", semiColonIndex + 1, StringComparison.OrdinalIgnoreCase);
System\ServiceModel\Channels\TransportChannelFactory.cs (1)
180if (string.Compare(via.Scheme, this.Scheme, StringComparison.OrdinalIgnoreCase) != 0)
System\ServiceModel\Channels\TransportChannelListener.cs (8)
115if (string.Compare(context.ListenUriBaseAddress.Scheme, this.Scheme, StringComparison.OrdinalIgnoreCase) != 0) 131if (relativeAddress.Length > 0 && !relativeAddress.EndsWith("/", StringComparison.Ordinal)) 345if (!builder.Path.EndsWith("/", StringComparison.Ordinal)) 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) 601if (!baseAddress.AbsolutePath.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\Channels\TransportDefaults.cs (1)
118if (compare.Equals(charSet, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
543if (!baseAddress.AbsolutePath.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\Channels\WebSocketHelper.cs (4)
87if (Uri.UriSchemeHttp.Equals(httpUri.Scheme, StringComparison.OrdinalIgnoreCase)) 94Uri.UriSchemeHttps.Equals(httpUri.Scheme, StringComparison.OrdinalIgnoreCase), 105(WebSocketHelper.SchemeWs.Equals(uri.Scheme, StringComparison.OrdinalIgnoreCase) || 106WebSocketHelper.SchemeWss.Equals(uri.Scheme, StringComparison.OrdinalIgnoreCase));
System\ServiceModel\ComIntegration\ComPlusInstanceContextInitializer.cs (1)
95int indexOfComma = args.Name.IndexOf(",", StringComparison.Ordinal);
System\ServiceModel\ComIntegration\ComPlusTypeValidator.cs (1)
30iid.ToString("D").EndsWith("C000-000000000046", StringComparison.OrdinalIgnoreCase)) //other ole/com standard interfaces
System\ServiceModel\ComIntegration\MonikerUtility.cs (3)
16int indexOfEqualSign = moniker.IndexOf("=", StringComparison.Ordinal); 20int indexOfComma = moniker.IndexOf(",", StringComparison.Ordinal); 130int indexOfMonikerData = displayName.IndexOf(":", StringComparison.Ordinal);
System\ServiceModel\ComIntegration\TypeCacheManager.cs (2)
115int indexOfDot = version.IndexOf(".", StringComparison.Ordinal); 128int indexOfDot2 = minorVersion.IndexOf(".", StringComparison.Ordinal);
System\ServiceModel\ComIntegration\WebHostedComPlusServiceHost.cs (1)
73StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Configuration\BindingCollectionElement.cs (1)
69if (collectionElement.Type.Equals(extensionSectionType.AssemblyQualifiedName, StringComparison.Ordinal))
System\ServiceModel\Configuration\EncodingConverter.cs (1)
41if (String.Compare(encoding, TextEncoderDefaults.EncodingString, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Configuration\EndpointCollectionElement.cs (1)
71if (collectionElement.Type.Equals(extensionSectionType.AssemblyQualifiedName, StringComparison.Ordinal))
System\ServiceModel\Configuration\ExtensionElementCollection.cs (4)
62element.Type.Equals(oldElement.Type, StringComparison.Ordinal)) 76if (element.Name.Equals(extension.Name, StringComparison.Ordinal)) 83if (element.Type.Equals(extension.Type, StringComparison.OrdinalIgnoreCase)) 87else if (element.TypeName.Equals(extension.TypeName, StringComparison.Ordinal))
System\ServiceModel\Configuration\ServiceActivationElement.cs (2)
37if (relativeAddress.StartsWith(PathSeparatorString, StringComparison.CurrentCultureIgnoreCase) 38|| relativeAddress.StartsWith(ReversSlashString, StringComparison.CurrentCultureIgnoreCase))
System\ServiceModel\Configuration\ServiceModelConfigurationElementCollection.cs (1)
232if (this.GetElementKey(value).ToString().Equals((string)key, StringComparison.Ordinal))
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (1)
264if (configuredSectionName.Equals(elementName, StringComparison.Ordinal))
System\ServiceModel\Configuration\ServiceModelExtensionElement.cs (3)
51if (extensionTypeName.Equals(thisAssemblyQualifiedName, StringComparison.Ordinal)) 57if (extensionElement.TypeName.Equals(thisTypeName, StringComparison.Ordinal)) 240if (collectionElement.Type.Equals(extensionSectionType.AssemblyQualifiedName, StringComparison.Ordinal))
System\ServiceModel\Configuration\SessionIdTypeConverter.cs (2)
43if (string.Equals((string)data, ApplicationContainerSettingsDefaults.CurrentUserSessionDefaultString, StringComparison.OrdinalIgnoreCase)) 47else if (string.Equals((string)data, ApplicationContainerSettingsDefaults.Session0ServiceSessionString, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Configuration\TimeSpanOrInfiniteConverter.cs (1)
39if (string.Equals((string)data, "infinite", StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Configuration\XmlElementElement.cs (2)
74if (!String.Equals(elementName, ConfigurationStrings.XmlElement, StringComparison.Ordinal)) 84if (!String.Equals(elementName, ConfigurationStrings.XmlElement, StringComparison.Ordinal))
System\ServiceModel\Configuration\XPathMessageFilterElement.cs (1)
46if (reader.Name.Equals(ConfigurationStrings.NodeQuota, StringComparison.Ordinal))
System\ServiceModel\Configuration\XPathMessageFilterElementCollection.cs (1)
127if (String.Equals(oldKey, newKey, StringComparison.Ordinal))
System\ServiceModel\Configuration\XPathMessageFilterElementComparer.cs (1)
22return String.Compare(elementKey1, elementKey2, StringComparison.Ordinal);
System\ServiceModel\Description\ClientClassGenerator.cs (11)
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) 937String.Compare(interfaceName, 0, Strings.InterfaceTypePrefix, 0, Strings.InterfaceTypePrefix.Length, StringComparison.Ordinal) == 0 && 996return method.ReturnType == null || String.Compare(method.ReturnType.BaseType, typeof(void).FullName, StringComparison.Ordinal) == 0;
System\ServiceModel\Description\ConfigLoader.cs (4)
622if (standardEndpointElement.Name.Equals(endpointConfiguration, StringComparison.Ordinal)) 795if (standardEndpointElement.Name.Equals(endpointConfiguration, StringComparison.Ordinal)) 1125if (bindingElement.Name.Equals(configurationName, StringComparison.Ordinal)) 1459return String.Equals(endpointConfigurationName, "*", StringComparison.Ordinal);
System\ServiceModel\Description\DispatcherBuilder.cs (2)
564if (!baseAddress.AbsoluteUri.EndsWith("/", StringComparison.Ordinal)) 570if (thisAddressString.StartsWith(baseAddressString, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Description\MessageContractExporter.cs (1)
306if (!refNs.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\Description\MetadataExchangeBindings.cs (4)
134if (String.Compare(scheme, "http", StringComparison.OrdinalIgnoreCase) == 0) 138else if (String.Compare(scheme, "https", StringComparison.OrdinalIgnoreCase) == 0) 142else if (String.Compare(scheme, "net.tcp", StringComparison.OrdinalIgnoreCase) == 0) 146else if (String.Compare(scheme, "net.pipe", StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Description\MetadataExchangeClient.cs (1)
1344ApplicationBase, StringComparison.OrdinalIgnoreCase) == 0;
System\ServiceModel\Description\OperationGenerator.cs (6)
488if (String.Compare(name, methodName, StringComparison.OrdinalIgnoreCase) == 0) 517if (String.Compare(parameter.Name, name, StringComparison.OrdinalIgnoreCase) == 0) 913if (!String.Equals(parent.Request.Body.WrapperName, defaultName.EncodedName, StringComparison.Ordinal)) 921if (!String.Equals(parent.Response.Body.WrapperName, TypeLoader.GetBodyWrapperResponseName(defaultName).EncodedName, StringComparison.Ordinal)) 950return overrideValue == null || String.Equals(overrideValue, defaultValue, StringComparison.Ordinal); 997return String.Compare(a.Name, b.Name, StringComparison.Ordinal);
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
80if (String.Compare(existingName, assemblyName, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Description\ServiceDebugBehavior.cs (2)
83if (!value.Scheme.Equals(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase)) 112if (!value.Scheme.Equals(Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Description\ServiceMetadataBehavior.cs (2)
88if (!value.Scheme.Equals(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase)) 117if (!value.Scheme.Equals(Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Description\ServiceMetadataExtension.cs (11)
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)) 1891else if (text.StartsWith(this.oldValue, StringComparison.Ordinal)) 1943text.StartsWith(ServiceMetadataExtension.BaseAddressPattern, StringComparison.Ordinal))
System\ServiceModel\Description\ServiceReflector.cs (8)
37if (baseUri.EndsWith("/", StringComparison.Ordinal)) 39return baseUri + (path.StartsWith("/", StringComparison.Ordinal) ? path.Substring(1) : path); 43return baseUri + (path.StartsWith("/", StringComparison.Ordinal) ? path : "/" + path); 116if (!contractName.Namespace.EndsWith("/", StringComparison.Ordinal)) 278return string.Equals(this.EncodedName, xmlName.EncodedName, StringComparison.Ordinal); 875if (!method.Name.StartsWith(BeginMethodNamePrefix, StringComparison.Ordinal) || 935if (!method.Name.StartsWith(EndMethodNamePrefix, StringComparison.Ordinal) || 980else if (isTask && method.Name.EndsWith(AsyncMethodNameSuffix, StringComparison.Ordinal))
System\ServiceModel\Description\TypeLoader.cs (2)
591int nsCmp = string.Compare(a.Namespace, b.Namespace, StringComparison.Ordinal); 597return string.Compare(a.Name, b.Name, StringComparison.Ordinal);
System\ServiceModel\Description\UniqueCodeIdentifierScope.cs (1)
153if (String.Compare(codeType.Name, typeName, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Description\WsdlHelper.cs (2)
164if (policyId != null && policyIdString != null && policyIdString.StartsWith(policyIdStringWithOldBindingName, StringComparison.Ordinal)) 202if (policyReference != null && policyReferenceValue != null && policyReferenceValue.StartsWith(policyReferenceValueWithOldBindingName, StringComparison.Ordinal))
System\ServiceModel\Description\WsdlImporter.cs (3)
1068string delimiter = ns.StartsWith("urn:", StringComparison.OrdinalIgnoreCase) ? ":" : "/"; 1070string baseActionUri = ns.EndsWith(delimiter, StringComparison.OrdinalIgnoreCase) ? ns : ns + delimiter; 1965return this.XPath.StartsWith(CreateXPathString(item), StringComparison.Ordinal);
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
604string key = mappingKey.StartsWith(":", StringComparison.Ordinal) ? keyBase + mappingKey : mappingKey;
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
352return string.Compare(this.key, a.key, StringComparison.Ordinal);
System\ServiceModel\Dispatcher\ErrorBehavior.cs (2)
100string.Compare(e.Fault.Code.SubCode.Namespace, FaultCodeConstants.Namespaces.NetDispatch, StringComparison.Ordinal) == 0 && 101string.Compare(e.Fault.Code.SubCode.Name, FaultCodeConstants.Codes.InternalServiceFault, StringComparison.Ordinal) == 0)
System\ServiceModel\Dispatcher\QueryFunctions.cs (5)
804else if (docLang.Length > 0 && lang.Length < docLang.Length && docLang.StartsWith(lang, StringComparison.Ordinal) && docLang[lang.Length] == '-') 1071context.SetValue(context, arg2.basePtr, (-1 != leftString.IndexOf(rightString, StringComparison.Ordinal))); 1105context.SetValue(context, arg2.basePtr, leftString.StartsWith(rightString, StringComparison.Ordinal)); 1122int idx = str1.IndexOf(str2, StringComparison.Ordinal); 1140int idx = str1.IndexOf(str2, StringComparison.Ordinal);
System\ServiceModel\Dispatcher\QueryPrefixOp.cs (2)
767context.Values[arg.basePtr].Boolean = target.StartsWith(this.literal, StringComparison.Ordinal); 775context.Values[i].Boolean = target.StartsWith(this.literal, StringComparison.Ordinal);
System\ServiceModel\EndpointAddress.cs (5)
373if (string.Compare(u1.Host, u2.Host, StringComparison.OrdinalIgnoreCase) != 0) 379if (string.Compare(u1.AbsolutePath, u2.AbsolutePath, ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal) == 0) 393return string.Compare(u1Path, 0, u2Path, 0, u1Len, ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal) == 0;
System\ServiceModel\Security\IdentityVerifier.cs (1)
243if (expectedSpn.Equals((string)claim.Resource, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Security\SecuritySessionFilter.cs (1)
56if (String.Equals(action, excludedActions[i], StringComparison.Ordinal))
System\ServiceModel\Security\SecurityUtils.cs (4)
434|| self.User.Value.StartsWith("S-1-5-82", StringComparison.OrdinalIgnoreCase)); 2315if ((Environment.OSVersion.ServicePack == string.Empty) || String.Equals(Environment.OSVersion.ServicePack, ServicePack1, StringComparison.OrdinalIgnoreCase) || String.Equals(Environment.OSVersion.ServicePack, ServicePack2, StringComparison.OrdinalIgnoreCase)) 2327if (Environment.OSVersion.ServicePack == string.Empty || String.Equals(Environment.OSVersion.ServicePack, ServicePack1, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Security\WindowsSspiNegotiation.cs (1)
545if (isServer && ((this.contextFlags & SspiContextFlags.AcceptAnonymous) == 0) && (string.Compare(this.ProtocolName, NegotiationInfoClass.Kerberos, StringComparison.OrdinalIgnoreCase) != 0) && policyHelper.ShouldCheckServiceBinding)
System\ServiceModel\ServiceHost.cs (5)
701if (path.StartsWith("/", StringComparison.Ordinal) || path.StartsWith("\\", StringComparison.Ordinal)) 718if (!baseUri.AbsoluteUri.EndsWith("/", StringComparison.Ordinal)) 1003("http".Equals(serviceEndpoint.ListenUri.Scheme, StringComparison.OrdinalIgnoreCase) || "https".Equals(serviceEndpoint.ListenUri.Scheme, StringComparison.OrdinalIgnoreCase)) &&
System\ServiceModel\Transactions\WsatConfiguration.cs (1)
246StringComparison.OrdinalIgnoreCase) == 0;
System\ServiceModel\Transactions\WsatExtendedInformation.cs (1)
55StringComparison.Ordinal) == 0;
System\UriTemplate.cs (14)
68if (template.StartsWith("/", StringComparison.Ordinal)) 233else if (string.Compare(kvp.Value, UriTemplate.NullableDefault, StringComparison.OrdinalIgnoreCase) == 0) 472if (!candidatePath.StartsWith(basePath, StringComparison.OrdinalIgnoreCase)) 624if (!String.Equals(originalHostHeader, host, StringComparison.OrdinalIgnoreCase)) 787Fx.Assert(relPathSeg.EndsWith("/", StringComparison.Ordinal), "problem with relative path segment"); 813if (relPathSeg.EndsWith("/", StringComparison.Ordinal)) 915if (string.Compare(extraParameter, kvp.Value, StringComparison.Ordinal) == 0) 1217(string.Compare(value, UriTemplate.NullableDefault, StringComparison.OrdinalIgnoreCase) == 0)) 1235if (varName.IndexOf(UriTemplate.WildcardPath, StringComparison.Ordinal) != -1) 1257if (string.Compare(defaultValue, UriTemplate.NullableDefault, StringComparison.OrdinalIgnoreCase) == 0) 1274if (varName.IndexOf(UriTemplate.WildcardPath, StringComparison.Ordinal) != -1) 1505defaultValue, StringComparison.Ordinal) != 0) 1645if (string.Compare(extraParameter, kvp.Value, StringComparison.Ordinal) == 0) 1670Fx.Assert(!segment.EndsWith("/", StringComparison.Ordinal), "We are expecting to check this earlier");
System\UriTemplateCompoundPathSegment.cs (11)
34bool endsWithSlash = segment.EndsWith("/", StringComparison.Ordinal); 40int nextVarStart = segment.IndexOf("{", StringComparison.Ordinal); 43if (firstLiteral.IndexOf(UriTemplate.WildcardPath, StringComparison.Ordinal) != -1) 52int nextVarEnd = segment.IndexOf("}", nextVarStart + 1, StringComparison.Ordinal); 66nextVarStart = segment.IndexOf("{", nextVarEnd + 1, StringComparison.Ordinal); 85if (literal.IndexOf(UriTemplate.WildcardPath, StringComparison.Ordinal) != -1) 197if (segment.StartsWith(this.firstLiteral, StringComparison.Ordinal)) 208int nextLiteralPosition = segment.IndexOf(this.varLitPairs[pairIndex].Literal, segmentPosition, StringComparison.Ordinal); 232segment.EndsWith(this.varLitPairs[varLitPairs.Count - 1].Literal, StringComparison.Ordinal)) 433return string.Compare(other.firstLiteral, this.firstLiteral, StringComparison.OrdinalIgnoreCase); 439return string.Compare(reversedOtherSuffix, reversedSuffix, StringComparison.OrdinalIgnoreCase);
System\UriTemplateHelpers.cs (7)
165int varStartIndex = part.IndexOf("{", StringComparison.Ordinal); 166int varEndIndex = part.IndexOf("}", StringComparison.Ordinal); 188((varEndIndex == part.Length - 2) && !part.EndsWith("/", StringComparison.Ordinal))) 215return (string.Compare(segment, UriTemplate.WildcardPath, StringComparison.Ordinal) == 0); 221return ((segment.IndexOf(UriTemplate.WildcardPath, StringComparison.Ordinal) == 1) && 222!segment.EndsWith("/", StringComparison.Ordinal) && 376return (string.Compare(x, y, StringComparison.OrdinalIgnoreCase) == 0);
System\UriTemplateLiteralPathSegment.cs (3)
22: base(segment, UriTemplatePartType.Literal, segment.EndsWith("/", StringComparison.Ordinal)) 37if (string.Compare(segment, "/", StringComparison.Ordinal) == 0) 42if (segment.IndexOf(UriTemplate.WildcardPath, StringComparison.Ordinal) != -1)
System\UriTemplateLiteralQueryValue.cs (2)
44return string.Compare(this.value, other.value, StringComparison.Ordinal); 82Fx.Assert(string.Compare(this.value, value, StringComparison.Ordinal) == 0, "How can that be?");
System\UriTemplatePathSegment.cs (1)
61if (segment.EndsWith("/", StringComparison.Ordinal))
System\UriTemplateTable.cs (4)
367Fx.Assert(relPathSeg.EndsWith("/", StringComparison.Ordinal), "problem with relative path segment"); 439if (this.addTrailingSlashToBaseAddress && !ub.Path.EndsWith("/", StringComparison.Ordinal)) 462if (!uriPath.StartsWith(basePath, StringComparison.OrdinalIgnoreCase)) 470if (uriPath.Length > basePath.Length && !basePath.EndsWith("/", StringComparison.Ordinal) && uriPath[basePath.Length] != '/')
System.ServiceModel.Activation (33)
System\ServiceModel\Activation\ApplyHostConfigurationBehavior.cs (2)
121return string.Compare(scheme, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) == 0 || 122string.Compare(scheme, Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) == 0;
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (1)
520if (virtualPath != null && virtualPath.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\Activation\HostedHttpContext.cs (4)
554bool httpMethodIsHead = string.Compare(this.context.HttpMethod, "HEAD", StringComparison.OrdinalIgnoreCase) == 0; 580if (string.Compare(name, "content-type", StringComparison.OrdinalIgnoreCase) == 0) 584else if (string.Compare(name, HttpChannelUtilities.MIMEVersionHeader, StringComparison.OrdinalIgnoreCase) == 0) 588else if (string.Compare(name, "content-length", StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (3)
150string.Compare(method, "DEBUG", StringComparison.OrdinalIgnoreCase) == 0) 435if (string.Compare(GetHttpMethod(), "GET", StringComparison.OrdinalIgnoreCase) == 0 && 449if (string.Compare(GetHttpMethod(), "GET", StringComparison.OrdinalIgnoreCase) == 0 &&
System\ServiceModel\Activation\HostedTransportConfigurationBase.cs (2)
62if ((string.Compare(listenAddresses[i].BaseAddress.Scheme, uri.Scheme, StringComparison.OrdinalIgnoreCase) == 0) 76&& (string.Compare(listenAddresses[i].BaseAddress.Host, uri.Host, StringComparison.OrdinalIgnoreCase) == 0))
System\ServiceModel\Activation\HttpHostedTransportConfiguration.cs (4)
134(string.Compare(manager.Scheme, uri.Scheme, StringComparison.OrdinalIgnoreCase) == 0) && 136string.Compare(manager.ListenUri.Host, uri.NormalizedHost(), StringComparison.OrdinalIgnoreCase) == 0)) 155string.Compare(manager.Scheme, scheme, StringComparison.OrdinalIgnoreCase) == 0) 169StringComparison.OrdinalIgnoreCase) == 0))
System\ServiceModel\Activation\MetabaseSettings.cs (5)
129int position = parts[1].IndexOf(DotDelimiter, StringComparison.CurrentCultureIgnoreCase); 261if (providers[i].StartsWith(NegotiateAuthProvider, StringComparison.OrdinalIgnoreCase)) 265else if (string.Compare(providers[i], NtlmAuthProvider, StringComparison.OrdinalIgnoreCase) == 0) 315return (string.Compare(matchedAppPath, curAppPath, StringComparison.OrdinalIgnoreCase) == 0); 334if (absoluteVirtualPath.StartsWith(childPath, StringComparison.OrdinalIgnoreCase)
System\ServiceModel\Activation\ServiceParser.cs (3)
551if (string.Compare(directiveName, ServiceParser.DefaultDirectiveName, StringComparison.OrdinalIgnoreCase) == 0) 598else if (string.Compare(directiveName, "assembly", StringComparison.OrdinalIgnoreCase) == 0) 907return (typeName.IndexOf(",", StringComparison.Ordinal) >= 0);
System\ServiceModel\Activation\ServiceRoute.cs (2)
45if (routePrefix.EndsWith(PathSeperator.ToString(), StringComparison.CurrentCultureIgnoreCase) 46|| routePrefix.Equals(String.Empty, StringComparison.CurrentCultureIgnoreCase))
System\ServiceModel\Channels\MsmqHostedTransportManager.cs (4)
174if (serviceFile.StartsWith("~", StringComparison.OrdinalIgnoreCase)) 176if (serviceFile.StartsWith("/", StringComparison.OrdinalIgnoreCase)) 180if (virtualPath.EndsWith("/", StringComparison.OrdinalIgnoreCase)) 182if (virtualPath.StartsWith("/", StringComparison.OrdinalIgnoreCase))
System\ServiceModel\ServiceHostingEnvironment.cs (3)
521HostingEnvironmentWrapper.UnsafeApplicationID, 0, ISAPIApplicationIdPrefix.Length, StringComparison.OrdinalIgnoreCase) != 0); 544!processedVirtualPath.StartsWith(RelativeVirtualPathPrefix, StringComparison.Ordinal)) 1168(string.Compare(baseUri.Host, filterUri.Host, StringComparison.OrdinalIgnoreCase) == 0))
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\Tracking\DefaultProfileManager.cs (3)
58if (string.Compare(profileName, profile.Name, StringComparison.OrdinalIgnoreCase) == 0) 61if (string.Compare("*", profile.ActivityDefinitionId, StringComparison.OrdinalIgnoreCase) == 0) 68else if (string.Compare(activityDefinitionId, profile.ActivityDefinitionId, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
683int index = fullVirtualPath.LastIndexOf("/", StringComparison.OrdinalIgnoreCase);
System.ServiceModel.Channels (10)
System\ServiceModel\Channels\MessageExtensionMethods.cs (1)
124string.Equals(property.Key, MessageHeadersPropertyKey, StringComparison.Ordinal))
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (1)
279if (!destination.Scheme.Equals(UdpConstants.Scheme, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Channels\UdpChannelFactory.cs (1)
89if (!via.Scheme.Equals(UdpConstants.Scheme, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Channels\UdpChannelListener.cs (1)
689if (listenUriBase.Scheme.Equals(this.Scheme, StringComparison.OrdinalIgnoreCase) == false)
System\ServiceModel\Channels\UdpTransportBindingElement.cs (2)
292if (assertion.LocalName.Equals(UdpConstants.RetransmissionEnabled, StringComparison.Ordinal)) 328if (!String.Equals(this.MulticastInterfaceId, udpTransport.MulticastInterfaceId, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Channels\UdpTransportImporter.cs (2)
32if (!string.IsNullOrEmpty(transportUri) && transportUri.Equals(UdpConstants.WsdlSoapUdpTransportUri, StringComparison.Ordinal)) 48if (transportUri != null && transportUri.Equals(UdpConstants.WsdlSoapUdpTransportUri, StringComparison.Ordinal) && !context.BindingElements.Contains(typeof(TransportBindingElement)))
System\ServiceModel\Channels\UdpUtility.cs (2)
22if (!basepath.AbsolutePath.EndsWith("/", StringComparison.Ordinal)) 290if (string.Equals(adapter.Id, multicastInterfaceIdentifier, StringComparison.OrdinalIgnoreCase))
System.ServiceModel.Discovery (13)
System\ServiceModel\Discovery\Configuration\ConfigurationUtility.cs (1)
56bool wildcard = string.Equals(endpointConfigurationName, "*", StringComparison.Ordinal);
System\ServiceModel\Discovery\DiscoveryVersion.cs (3)
159if (WSDiscovery11.Name.Equals(name, StringComparison.OrdinalIgnoreCase)) 163else if (WSDiscoveryCD1.Name.Equals(name, StringComparison.OrdinalIgnoreCase)) 167else if (WSDiscoveryApril2005.Name.Equals(name, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Discovery\ScopeCompiler.cs (9)
79StringComparison.Ordinal)) 105if (string.Compare(scope.Scheme, "ldap", StringComparison.OrdinalIgnoreCase) == 0) 133if (string.Compare(scope.Scheme, "ldap", StringComparison.OrdinalIgnoreCase) != 0) 229if (!segment.EndsWith("/", StringComparison.Ordinal)) 240if (string.Compare(scope.Scheme, "uuid", StringComparison.OrdinalIgnoreCase) == 0) 244else if (string.Compare(scope.Scheme, "urn", StringComparison.OrdinalIgnoreCase) == 0) 247if (string.Compare(scopeString, 4, "uuid:", 0, 5, StringComparison.OrdinalIgnoreCase) == 0) 338if (token.EndsWith("\\", StringComparison.Ordinal)) 394if (token.EndsWith("\\", StringComparison.Ordinal))
System.ServiceModel.Internals (1)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
410if (methodName.StartsWith("ThrowHelper", StringComparison.Ordinal))
System.ServiceModel.Routing (8)
System\ServiceModel\Dispatcher\EndpointNameMessageFilter.cs (1)
60return string.Equals(messageEndpoint, this.endpointName, StringComparison.Ordinal);
System\ServiceModel\Routing\RoutingUtilities.cs (4)
34if (string.Equals(headerInfo.Namespace, "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", StringComparison.Ordinal) || //wsu 35string.Equals(headerInfo.Namespace, "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", StringComparison.Ordinal) || //wsse 36string.Equals(headerInfo.Namespace, "http://docs.oasis-open.org/wss/oasis-wss-wsecurity-secext-1.1.xsd", StringComparison.Ordinal)) //wsse11 68return string.Equals(contractNamespace, RoutingUtilities.RoutingNamespace, StringComparison.Ordinal);
System\ServiceModel\Routing\SoapProcessingBehavior.cs (3)
189if (string.Equals(header.Namespace, addressingNamespace, StringComparison.Ordinal)) 237if (string.Equals(action, sourceVersion.Addressing.DefaultFaultAction, StringComparison.Ordinal)) 297if (string.Equals(header.Namespace, addressingNamespace, StringComparison.Ordinal) &&
System.ServiceModel.WasHosting (5)
System\ServiceModel\WasHosting\MetabaseSettingsIis7.cs (5)
110else if (string.Compare(protocol, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) == 0 || 111string.Compare(protocol, Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) == 0) 447else if (string.Compare(protocol, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) == 0 || 448string.Compare(protocol, Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) == 0) 631if (String.Equals((string)element[attributeName], value, StringComparison.OrdinalIgnoreCase))
System.ServiceModel.Web (37)
System\ServiceModel\Configuration\WebHttpEndpointElement.cs (2)
185else if (!string.Equals(channelEndpointElement.Binding, WebHttpBinding.WebHttpBindingConfigurationStrings.WebHttpBindingCollectionElementName, StringComparison.Ordinal)) 197else if (!string.Equals(serviceEndpointElement.Binding, WebHttpBinding.WebHttpBindingConfigurationStrings.WebHttpBindingCollectionElementName, StringComparison.Ordinal))
System\ServiceModel\Configuration\WebScriptEndpointElement.cs (2)
152else if (!string.Equals(channelEndpointElement.Binding, WebHttpBinding.WebHttpBindingConfigurationStrings.WebHttpBindingCollectionElementName, StringComparison.Ordinal)) 164else if (!string.Equals(serviceEndpointElement.Binding, WebHttpBinding.WebHttpBindingConfigurationStrings.WebHttpBindingCollectionElementName, StringComparison.Ordinal))
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (1)
182if (uriString.StartsWith(DataContractXsdBaseNamespace, StringComparison.Ordinal))
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
256builder.Path += builder.Path.EndsWith("/", StringComparison.OrdinalIgnoreCase)
System\ServiceModel\Dispatcher\DataContractJsonSerializerOperationFormatter.cs (3)
551if (!typeAttribute.Equals(JsonGlobals.objectString, StringComparison.Ordinal)) 569if (!typeAttribute.Equals(JsonGlobals.nullString, StringComparison.Ordinal)) 737if (!typeAttribute.Equals(JsonGlobals.objectString, StringComparison.Ordinal))
System\ServiceModel\Dispatcher\MultiplexingDispatchMessageFormatter.cs (1)
93if (!string.Equals(automatedSelectionContentType, defaultContentTypes[WebMessageFormat.Xml], StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Dispatcher\MultiplexingFormatMapping.cs (1)
62!string.Equals(charset, this.DefaultContentType.CharSet, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Dispatcher\UriTemplateClientFormatter.cs (2)
163if (string.Compare(parameterName, pathVar, StringComparison.OrdinalIgnoreCase) == 0) 178if (string.Compare(parameterName, queryVar, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Dispatcher\UriTemplateDispatchFormatter.cs (1)
96if (String.Compare(key, kvp.Key, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (1)
316if (ub.Path.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\Web\AutomaticEndpointGenerator.cs (1)
124string.Equals(protocolMappingItem.Binding, this.BindingCollectionElementName, StringComparison.Ordinal))
System\ServiceModel\Web\CachingParameterInspector.cs (1)
71if (string.Equals(this.cacheProfile.SqlDependency, "CommandNotification", StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Web\IncomingWebRequestContext.cs (13)
181if (!string.Equals(this.Method, IncomingWebRequestContext.HttpGetMethod, StringComparison.OrdinalIgnoreCase) && 182!string.Equals(this.Method, IncomingWebRequestContext.HttpHeadMethod, StringComparison.OrdinalIgnoreCase)) 228(!string.Equals(acceptHeaderWhenHeaderElementsCached, acceptHeader, StringComparison.OrdinalIgnoreCase))) 275if (!string.Equals(this.Method, IncomingWebRequestContext.HttpGetMethod, StringComparison.OrdinalIgnoreCase) && 276!string.Equals(this.Method, IncomingWebRequestContext.HttpHeadMethod, StringComparison.OrdinalIgnoreCase)) 300bool isPutMethod = string.Equals(this.Method, IncomingWebRequestContext.HttpPutMethod, StringComparison.OrdinalIgnoreCase); 302!string.Equals(this.Method, IncomingWebRequestContext.HttpPostMethod, StringComparison.OrdinalIgnoreCase) && 303!string.Equals(this.Method, IncomingWebRequestContext.HttpDeleteMethod, StringComparison.OrdinalIgnoreCase)) 348if (string.Equals(nextEntityTag, entityTag, StringComparison.Ordinal)) 375if (string.Equals(xTypeSubType[0], yTypeSubType[0], StringComparison.OrdinalIgnoreCase)) 377if (string.Equals(xTypeSubType[1], yTypeSubType[1], StringComparison.OrdinalIgnoreCase)) 429if (string.Equals("q", key, StringComparison.OrdinalIgnoreCase)) 447if (!string.Equals("q", param, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Web\OutgoingWebResponseContext.cs (2)
244if (entityTag.StartsWith("W/\"", StringComparison.OrdinalIgnoreCase) && 245entityTag.EndsWith("\"", StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Web\Utility.cs (4)
34return contentTypeProcessed.StartsWith(applicationXml, StringComparison.OrdinalIgnoreCase) 35|| contentTypeProcessed.StartsWith(textXml, StringComparison.OrdinalIgnoreCase); 47return contentTypeProcessed.StartsWith(applicationJson, StringComparison.OrdinalIgnoreCase) 48|| contentTypeProcessed.StartsWith(textJson, StringComparison.OrdinalIgnoreCase);
System\ServiceModel\Web\WebServiceHost.cs (1)
126string.Equals(protocolMappingItem.Binding, WebHttpBinding.WebHttpBindingConfigurationStrings.WebHttpBindingCollectionElementName, StringComparison.Ordinal))
System.Web (334)
Cache\OutputCache.cs (1)
469if (String.Compare(dep.GetUniqueID(), 0, depKey, idStartIndex, idLength, StringComparison.Ordinal) == 0) {
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))) {
Compilation\AssemblyBuilder.cs (1)
1111error.ErrorText != null && error.ErrorText.IndexOf("FrameworkInitialize", StringComparison.OrdinalIgnoreCase) >= 0)) {
Compilation\AssemblyResolver.cs (2)
122if (string.Equals(name.Identifier, targetName.Identifier, StringComparison.OrdinalIgnoreCase) && 123string.Equals(name.Profile, targetName.Profile, StringComparison.OrdinalIgnoreCase)) {
Compilation\BaseCodeDomTreeGenerator.cs (1)
803if ((index = line.IndexOf(_dummyVariable, StringComparison.Ordinal)) != -1) {
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
1039if (String.Compare(previousControlName, entry.ControlID, StringComparison.Ordinal) != 0) {
Compilation\BuildManager.cs (8)
737StringComparison.OrdinalIgnoreCase) == 0 || 739StringComparison.OrdinalIgnoreCase) == 0 || 741StringComparison.OrdinalIgnoreCase) == 0 || 743StringComparison.OrdinalIgnoreCase) == 0) { 2079StringComparison.OrdinalIgnoreCase) == 0) { 2088StringComparison.OrdinalIgnoreCase) == 0) { 3307if (assemblyName.StartsWith(CodeDirectoryAssemblyName, StringComparison.Ordinal)) { 3314if (assemblyName.StartsWith(SubCodeDirectoryAssemblyNamePrefix + directory.AssemblyName + ".", StringComparison.Ordinal)) {
Compilation\BuildManagerHost.cs (1)
315if (filePath.Equals(pair.Value, StringComparison.Ordinal)) {
Compilation\BuildResult.cs (1)
551if (string.Equals(assemblyDir, s_codegenDir, StringComparison.OrdinalIgnoreCase))
Compilation\BuildResultCache.cs (1)
508if (!assemblyName.StartsWith(BuildManager.WebAssemblyNamePrefix, StringComparison.Ordinal)) {
Compilation\ClientBuildManager.cs (1)
221&& appVirtualDir.StartsWith(IISExpressPrefix, StringComparison.OrdinalIgnoreCase)
Compilation\CodeDOMUtility.cs (1)
255if (targetPropertyName.Equals("Style", StringComparison.Ordinal)) {
Compilation\ConnectionStringsExpressionBuilder.cs (2)
32if (expression.EndsWith(connectionStringSuffix, StringComparison.OrdinalIgnoreCase)) { 36if (expression.EndsWith(providerNameSuffix, StringComparison.OrdinalIgnoreCase)) {
Compilation\MultiTargetingUtil.cs (1)
254if (String.Equals(name.FullName, supportedName.FullName, StringComparison.OrdinalIgnoreCase)) {
Compilation\RouteUrlExpressionBuilder.cs (1)
64if (key.Equals("RouteName", StringComparison.OrdinalIgnoreCase)) {
Configuration\AuthorizationRule.cs (2)
503if (String.Equals(sVerb, verb, StringComparison.OrdinalIgnoreCase)) { 512if (String.Equals(user, principal, StringComparison.OrdinalIgnoreCase)) {
Configuration\BrowserCapabilitiesCodeGenerator.cs (7)
241ServiceController controller = services.SingleOrDefault(s => String.Equals(s.ServiceName, "W3SVC", StringComparison.OrdinalIgnoreCase)); 275int lastSlash = fullPath.LastIndexOf("\\", StringComparison.Ordinal); 392if (String.Compare(nodeName, "Default", StringComparison.OrdinalIgnoreCase) == 0) 396if (String.Compare(nodeName, treeRootName, StringComparison.OrdinalIgnoreCase) == 0) { 425if (filePath.EndsWith("ie.browser", StringComparison.OrdinalIgnoreCase)) { 428else if (filePath.EndsWith("mozilla.browser", StringComparison.OrdinalIgnoreCase)) { 431else if (filePath.EndsWith("opera.browser", StringComparison.OrdinalIgnoreCase)) {
Configuration\BrowserDefinition.cs (1)
184if(_id.IndexOf(" ", StringComparison.Ordinal) != -1) {
Configuration\CompilationSection.cs (1)
858if (assemblyName.StartsWith(BuildManager.WebAssemblyNamePrefix, StringComparison.Ordinal))
Configuration\HttpCapabilitiesBase.cs (2)
591else if (string.Compare(tagWriter, typeof(System.Web.UI.HtmlTextWriter).FullName, StringComparison.Ordinal) == 0) { 1758if (String.Equals(browserName, (string)_browsers[i], StringComparison.OrdinalIgnoreCase)) {
Configuration\MachineKeySection.cs (4)
182if (s != "Auto" && s != "AES" && s != "3DES" && s != "DES" && !s.StartsWith(ALGO_PREFIX, StringComparison.Ordinal)) 187if (value != "AES" && value != "3DES" && value != "Auto" && value != "DES" && !value.StartsWith(ALGO_PREFIX, StringComparison.Ordinal)) 1095if (!_CustomValidationName.StartsWith(ALGO_PREFIX, StringComparison.Ordinal)) { 1179if (!Decryption.StartsWith(ALGO_PREFIX, StringComparison.Ordinal)) {
Configuration\MachineKeyValidationConverter.cs (1)
81if (strValue.StartsWith("alg:", StringComparison.Ordinal))
Configuration\RemoteWebConfigurationHostServer.cs (3)
44if (!fileName.ToLowerInvariant().EndsWith(".config", StringComparison.Ordinal)) 66if (!fileName.ToLowerInvariant().EndsWith(".config", StringComparison.Ordinal)) 247if (!name.ToLowerInvariant().EndsWith(".config", StringComparison.Ordinal))
Configuration\RuleInfoComparer.cs (1)
60return String.Compare(xType.ToString(), yType.ToString(), StringComparison.Ordinal);
DataAccess\DataConnectionHelper.cs (1)
81StringComparison.OrdinalIgnoreCase ) == 0 )
DataAccess\SqlConnectionHelper.cs (6)
145int startPos = strUpper.IndexOf(s_strUpperDataDirWithToken, StringComparison.Ordinal) + s_strUpperDataDirWithToken.Length; 147while (partialFileName.StartsWith("\\", StringComparison.Ordinal)) 156else if (lookingForDB && (strUpper.StartsWith("INITIAL CATALOG", StringComparison.Ordinal) || strUpper.StartsWith("DATABASE", StringComparison.Ordinal))) { 162else if (lookingForUserInstance && strUpper.StartsWith(s_strUpperUserInstance, StringComparison.Ordinal)) { 171else if (lookingForTimeout && strUpper.StartsWith("CONNECT TIMEOUT", StringComparison.Ordinal)) {
ErrorFormatter.cs (3)
293StringComparison.OrdinalIgnoreCase) != 0) { 763if (virtualPath != null && !virtualPath.StartsWith("/", StringComparison.Ordinal)) { 1070StringComparison.OrdinalIgnoreCase) == 0 && sf.GetNativeOffset() > 0) {
FileChangesMonitor.cs (3)
954int indexStart = fileName.IndexOf(HttpRuntime.LocalResourcesDirectoryName, StringComparison.OrdinalIgnoreCase); 1506&& fullPathName.IndexOf(_appPathInternal, StringComparison.OrdinalIgnoreCase) > -1 1578if (dirName.IndexOf(HttpRuntime.LocalResourcesDirectoryName, StringComparison.OrdinalIgnoreCase) > -1) {
Handlers\AssemblyResourceLoader.cs (7)
200if (String.Equals(resourceName, "WebForms.js", StringComparison.Ordinal)) { 209else if (String.Equals(resourceName, "WebUIValidation.js", StringComparison.Ordinal)) { 218else if (String.Equals(resourceName, "SmartNav.htm", StringComparison.Ordinal)) { 227else if (String.Equals(resourceName, "SmartNav.js", StringComparison.Ordinal)) { 245if ((wra != null) && String.Equals(wra.WebResource, resourceName, StringComparison.Ordinal)) { 473if (String.Equals(requestPath, webResourceHandlerUrl, StringComparison.OrdinalIgnoreCase)) { 672if (String.Equals(embeddedResourceName, resourceName, StringComparison.Ordinal)) {
Handlers\TraceHandler.cs (1)
134_response.Redirect(url.Substring(0, url.IndexOf("?", StringComparison.Ordinal)));
Hosting\ApplicationManager.cs (3)
1032if (element.Key != null && element.Key.Length > _clrQuirkAppSettingsAppContextPrefix.Length && element.Key.StartsWith(_clrQuirkAppSettingsAppContextPrefix, StringComparison.OrdinalIgnoreCase)) { 1468if (strFileData.IndexOf("$Gac$", StringComparison.Ordinal) != -1) { 1810return String.Equals(envVar, "1", StringComparison.Ordinal);
Hosting\IIS7WorkerRequest.cs (1)
2595return String.Equals(GetServerVariableInternal("IIS_WEBSOCK"), "websockets", StringComparison.Ordinal);
Hosting\ProcessHost.cs (1)
1177if (String.Equals(copiedError.Key, appId, StringComparison.OrdinalIgnoreCase)) {
HttpClientCertificate.cs (1)
285iStart = strAllL.IndexOf(strSubject + "=", iStart, StringComparison.Ordinal);
HttpCookie.cs (1)
528if (strval != null && strval.Equals("Unspecified", StringComparison.InvariantCultureIgnoreCase))
HttpFileCollection.cs (1)
153if (String.Equals(key, name, StringComparison.InvariantCultureIgnoreCase)) {
HttpRequest.cs (1)
1972if (r.IndexOf("://", StringComparison.Ordinal) >= 0)
HttpResponse.cs (5)
481if (contentType.IndexOf("charset=", StringComparison.Ordinal) < 0) { 2458int i = url.IndexOf(RedirectQueryStringAssignment, StringComparison.Ordinal); 3232if (!UrlPath.IsRooted(virtualPath) || virtualPath.StartsWith("//", StringComparison.Ordinal)) { 3239if (_appPathModifier == null || virtualPath.IndexOf(_appPathModifier, StringComparison.Ordinal) >= 0) { 3289int pos = virtualPath.IndexOf(_appPathModifier, StringComparison.Ordinal);
HttpRuntime.cs (2)
1005if (appDomainAppPath.IndexOf(DoubleDirectorySeparatorString, 1, StringComparison.Ordinal) >= 1) { 3263int ndx = strFileData.IndexOf("$Gac$", StringComparison.Ordinal);
HttpValueCollection.cs (2)
88if (key != null && key.StartsWith(System.Web.UI.Page.systemPostFieldPrefix, StringComparison.Ordinal)) { 311if (ignoreViewStateKeys && key != null && key.StartsWith(Page.ViewStateFieldPrefixID, StringComparison.Ordinal)) continue;
Management\regiisutil.cs (2)
277else if (appVPath.StartsWith("//", StringComparison.Ordinal)) // UNC share? 295Debug.Assert(appPath.StartsWith("/", StringComparison.Ordinal), "This check is done in main.cxx in regiis");
Management\SqlServices.cs (2)
456if (cmdText.IndexOf("sp_add_category", StringComparison.Ordinal) > -1) { 459else if (cmdText.IndexOf("sp_delete_job", StringComparison.Ordinal) > -1) {
ModelBinding\DataAnnotationsModelMetadataProvider.cs (1)
27UIHintAttribute uiHintAttribute = uiHintAttributes.FirstOrDefault(a => String.Equals(a.PresentationLayer, "MVC", StringComparison.OrdinalIgnoreCase))
ModelBinding\DataAnnotationsModelValidator.cs (1)
128if (String.Equals(errorMemberName, memberName, StringComparison.Ordinal))
ModelBinding\DictionaryHelpers.cs (1)
21if (!key.StartsWith(prefix, StringComparison.OrdinalIgnoreCase)) {
ModelBinding\ElementalValueProvider.cs (1)
34return (String.Equals(key, Name, StringComparison.OrdinalIgnoreCase))
ModelBinding\ModelMetadata.cs (1)
392if (!toStringResult.Equals(Model.GetType().FullName, StringComparison.Ordinal)) {
ModelBinding\PrefixContainer.cs (1)
49if (!testString.StartsWith(prefix, StringComparison.OrdinalIgnoreCase)) {
OutputCacheModule.cs (1)
396int indexStart = acceptEncoding.IndexOf(coding, startSearchIndex, StringComparison.OrdinalIgnoreCase);
Routing\HttpMethodConstraint.cs (2)
41StringComparison.OrdinalIgnoreCase)); 69StringComparison.OrdinalIgnoreCase));
Routing\PageRouteHandler.cs (1)
23if (string.IsNullOrEmpty(virtualPath) || !virtualPath.StartsWith("~/", StringComparison.OrdinalIgnoreCase)) {
Routing\ParameterSubsegment.cs (1)
6if (parameterName.StartsWith("*", StringComparison.Ordinal)) {
Routing\ParsedRoute.cs (4)
381if (String.Equals(parameterName, parameterSubsegment.ParameterName, StringComparison.OrdinalIgnoreCase)) { 444if (!String.Equals(requestPathSegment, "/", StringComparison.Ordinal)) { 567int indexOfLiteral = requestPathSegment.LastIndexOf(literalSubsegment.Literal, startIndex, StringComparison.OrdinalIgnoreCase); 652return String.Equals(sa, sb, StringComparison.OrdinalIgnoreCase);
Routing\RouteParser.cs (3)
45return String.Equals(s, "/", StringComparison.Ordinal); 64return (routeUrl.StartsWith("~", StringComparison.Ordinal) || 65routeUrl.StartsWith("/", StringComparison.Ordinal) ||
Security\ADMembershipProvider.cs (8)
356if ((String.Compare(connProtection, "Secure", StringComparison.Ordinal) != 0) && 357(String.Compare(connProtection, "None", StringComparison.Ordinal) != 0)) 3162if (String.Compare(valueName, "attributeMapUsername", StringComparison.Ordinal) == 0) 3242if (String.Compare(valueName, "attributeMapUsername", StringComparison.Ordinal) != 0) 3497if (!(adspath.StartsWith("LDAP", StringComparison.Ordinal))) 3547if (String.Compare(connProtection, "Secure", StringComparison.Ordinal) == 0) 4175bool endsWith = containerDN.EndsWith(namingContext, StringComparison.Ordinal); 4176int lastIndexOf = containerDN.LastIndexOf(namingContext, StringComparison.Ordinal);
Security\AuthStoreRoleProvider.cs (1)
541if (_ConnectionString.ToLower(CultureInfo.InvariantCulture).StartsWith("msxml://", StringComparison.Ordinal)) {
Security\CookielessHelper.cs (4)
76int endPos = path.LastIndexOf(")/", StringComparison.Ordinal); 77int startPos = (endPos > 2 ? path.LastIndexOf("/(", endPos - 1, endPos, StringComparison.Ordinal) : -1); 191startPos = headers.IndexOf(tag, StringComparison.Ordinal); // Search for "X(" 297if (redirectPath.IndexOf("?", StringComparison.Ordinal) > 0)
Security\Cryptography\MachineKeyCryptoAlgorithmFactory.cs (1)
96if (configAttributeValue != null && configAttributeValue.StartsWith("alg:", StringComparison.Ordinal)) {
Security\FormsAuthentication.cs (9)
387? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal)) 589int pos = strUrl.IndexOf("://", StringComparison.Ordinal); 703if (_LoginUrl.Length == 0 || (_LoginUrl[0] != '/' && _LoginUrl.IndexOf("//", StringComparison.Ordinal) < 0)) 716if (_DefaultUrl.Length == 0 || (_DefaultUrl[0] != '/' && _DefaultUrl.IndexOf("//", StringComparison.Ordinal) < 0)) 898for (int pos = strUrl.LastIndexOf(token, StringComparison.Ordinal); pos >= posQ; pos = strUrl.LastIndexOf(token, StringComparison.Ordinal)) 900int end = strUrl.IndexOf(sep, pos + token.Length, StringComparison.Ordinal) + sep.Length; 917if (!absUri.IsLoopback && !string.Equals(context.Request.Url.Host, absUri.Host, StringComparison.OrdinalIgnoreCase))
Security\FormsAuthenticationModule.cs (2)
261if (strUrl.IndexOf("?" + FormsAuthentication.ReturnUrlVar + "=", StringComparison.Ordinal) != -1 262|| strUrl.IndexOf("&" + FormsAuthentication.ReturnUrlVar + "=", StringComparison.Ordinal) != -1) {
Security\PassportAuthenticationModule.cs (1)
178if ( _LoginUrl==null || _LoginUrl.Length < 1 || String.Compare(_LoginUrl, "internal", StringComparison.Ordinal) == 0) {
Security\PassportIdentity.cs (1)
825if (str != null && str.Length > 0 && str.IndexOf("Passport", StringComparison.Ordinal) >= 0) {
Security\WindowsTokenRoleProvider.cs (1)
134if (roles[iter].ToLower(CultureInfo.InvariantCulture).StartsWith(computerName, StringComparison.Ordinal)) // Is it a local group?
SiteMapNode.cs (1)
441(String.Equals(_url, node._url, StringComparison.OrdinalIgnoreCase));
SiteMapProvider.cs (1)
145int queryStringIndex = rawUrl.IndexOf("?", StringComparison.Ordinal);
State\OutOfProcStateClientManager.cs (2)
111if (appId.StartsWith("/", StringComparison.Ordinal)) { 196if (!stateConnectionString.StartsWith("tcpip=", StringComparison.Ordinal)) {
State\StateWorkerRequest.cs (1)
92if (_uri.StartsWith("//", StringComparison.Ordinal)) {
UI\BatchParser.cs (1)
165int newPos = text.IndexOf("<%@", textPos, StringComparison.Ordinal);
UI\BindableTemplateBuilder.cs (1)
92if (String.Compare(previousControlName, entry.ControlID, StringComparison.Ordinal) != 0) {
UI\ClientScriptManager.cs (1)
292(String.Equals(_owner.RequestInternal.Url.Scheme, "https", 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\ControlValuePropertyAttribute.cs (1)
79if (String.Equals(_name, other.Name, StringComparison.Ordinal)) {
UI\DataBindingHandlerAttribute.cs (1)
67StringComparison.Ordinal) == 0);
UI\DataKeyPropertyAttribute.cs (1)
33return String.Equals(_name, other.Name, StringComparison.Ordinal);
UI\DataSourceCache.cs (3)
130Debug.Assert(key.StartsWith(CacheInternal.PrefixDataSourceControl, StringComparison.Ordinal), "All keys passed in should start with the prefix specified in CacheInternal.PrefixDataSourceControl."); 148Debug.Assert(key.StartsWith(CacheInternal.PrefixDataSourceControl, StringComparison.Ordinal), "All keys passed in should start with the prefix specified in CacheInternal.PrefixDataSourceControl."); 197Debug.Assert(key.StartsWith(CacheInternal.PrefixDataSourceControl, StringComparison.Ordinal), "All keys passed in should start with the prefix specified in CacheInternal.PrefixDataSourceControl.");
UI\DataSourceCacheDurationConverter.cs (1)
47if (String.Equals(textValue, "infinite", StringComparison.OrdinalIgnoreCase)) {
UI\Html32TextWriter.cs (4)
323if (s.IndexOf("underline", StringComparison.Ordinal) != -1) { 326if (s.IndexOf("line-through", StringComparison.Ordinal) != -1) { 357if (s.IndexOf("underline", StringComparison.Ordinal) != -1) { 360if (s.IndexOf("line-through", StringComparison.Ordinal) != -1) {
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\HtmlControls\HtmlInputText.cs (1)
174Type.Equals("password", StringComparison.OrdinalIgnoreCase)) {
UI\HTMLTextWriter.cs (1)
1027if (attr.key != HtmlTextWriterAttribute.Href || !attrValue.StartsWith("javascript:", StringComparison.Ordinal)) {
UI\MinimizableAttributeTypeConverter.cs (1)
27if ((strValue.Length > 0) && !String.Equals(strValue, "false", StringComparison.OrdinalIgnoreCase)) {
UI\Page.cs (6)
1957if (nullValues[i].StartsWith(ViewStateFieldPrefixID, StringComparison.Ordinal) || nullValues[i] == postEventSourceID) { 1977else if (Request.QueryStringText.IndexOf(HttpResponse.RedirectQueryStringAssignment, StringComparison.Ordinal) != -1) 4075if (!String.Equals(browser.Browser, "ie", StringComparison.OrdinalIgnoreCase) || browser.MajorVersion < 6 || 4673if (String.Equals(Request.QueryString["scope"], "shared", StringComparison.OrdinalIgnoreCase)) { 4969if (String.Equals(Request.QueryString["scope"], "shared", StringComparison.OrdinalIgnoreCase)) { 6220StringComparison.Ordinal)) {
UI\SimpleWebHandlerParser.cs (1)
406StringComparison.OrdinalIgnoreCase) == 0);
UI\SqlDataSourceCache.cs (1)
44if (sqlCacheDependency.Length > 0 && !String.Equals(sqlCacheDependency, Sql9CacheDependencyDirective, StringComparison.OrdinalIgnoreCase)) {
UI\TemplateParser.cs (2)
1085if (code.StartsWith("$", StringComparison.Ordinal)) { 2737StringComparison.OrdinalIgnoreCase) == 0) {
UI\TraceContext.cs (1)
770int loc = url.IndexOf("?", StringComparison.Ordinal);
UI\Util.cs (4)
328if (location.IndexOf("{0}", StringComparison.Ordinal) >= 0) { 1259return (String.Compare(t.FullName, "System.__ComObject", StringComparison.Ordinal) == 0); 1409if (!appPath.EndsWith("/", StringComparison.OrdinalIgnoreCase)) { 1652if (secondScript.TrimStart().StartsWith(ClientScriptManager.JscriptPrefix, StringComparison.Ordinal)) {
UI\WebControls\AdRotator.cs (1)
635return(String.Equals(keywordFilter, adRec.keyword, StringComparison.OrdinalIgnoreCase));
UI\WebControls\Calendar.cs (2)
1163if (String.Compare(eventArgument, 0, NAVIGATE_MONTH_COMMAND, 0, NAVIGATE_MONTH_COMMAND.Length, StringComparison.Ordinal) == 0) { 1181else if (String.Compare(eventArgument, 0, SELECT_RANGE_COMMAND, 0, SELECT_RANGE_COMMAND.Length, StringComparison.Ordinal) == 0) {
UI\WebControls\ChangePassword.cs (3)
1914if (ce.CommandName.Equals(ChangePasswordButtonCommandName, StringComparison.CurrentCultureIgnoreCase)) { 1918else if (ce.CommandName.Equals(CancelButtonCommandName, StringComparison.CurrentCultureIgnoreCase)) { 1922else if (ce.CommandName.Equals(ContinueButtonCommandName, StringComparison.CurrentCultureIgnoreCase)) {
UI\WebControls\CompositeDataBoundControl.cs (3)
38if (!String.Equals(_updateMethod, value, StringComparison.OrdinalIgnoreCase)) { 53if (!String.Equals(_deleteMethod, value, StringComparison.OrdinalIgnoreCase)) { 68if (!String.Equals(_insertMethod, value, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\ControlParameter.cs (1)
179String.Equals(controlValueProp.Name, propertyName, StringComparison.OrdinalIgnoreCase) &&
UI\WebControls\CreateUserWizard.cs (1)
2673if (ce.CommandName.Equals(ContinueButtonCommandName, StringComparison.CurrentCultureIgnoreCase)) {
UI\WebControls\DataBoundControl.cs (2)
130if (!String.Equals(_itemType, value, StringComparison.OrdinalIgnoreCase)) { 151if (!String.Equals(_selectMethod, value, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\DataBoundControlHelper.cs (1)
71if (!String.Equals(stringA[i], stringB[i], StringComparison.Ordinal)) {
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\GridView.cs (1)
3937if (!String.IsNullOrEmpty(SortExpression) && String.Equals(field.SortExpression, SortExpression, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\HiddenField.cs (1)
111if (!current.Equals(postData, StringComparison.Ordinal)) {
UI\WebControls\LinkButton.cs (1)
359String.Equals(Page.Request.Browser.Browser, "IE", StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\login.cs (2)
1193if (Page.Form != null && String.Equals(Page.Form.Method, "get", StringComparison.OrdinalIgnoreCase)) { 1293if (String.Equals(ce.CommandName, LoginButtonCommandName, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\loginstatus.cs (1)
308if (Page.Form != null && String.Equals(Page.Form.Method, "get", StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\Menu.cs (1)
1706if (String.Equals(data.Path, _currentSiteMapNodeUrl, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\MenuItemBindingCollection.cs (2)
84if (String.Equals(binding.DataMember, dataMember, StringComparison.CurrentCultureIgnoreCase)) { 92else if (String.Equals(binding.DataMember, dataMember, StringComparison.CurrentCultureIgnoreCase) &&
UI\WebControls\MenuRendererClassic.cs (1)
186(String.Equals(Menu.Page.Request.Url.Scheme, "https", 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\ObjectDataSource.cs (1)
882if (viewName == null || (viewName.Length != 0 && !String.Equals(viewName, DefaultViewName, 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\ParameterCollection.cs (1)
171if (String.Equals(this[i].Name, name, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\PasswordRecovery.cs (1)
1496if (ce.CommandName.Equals(SubmitButtonCommandName, StringComparison.CurrentCultureIgnoreCase)) {
UI\WebControls\QueryExtensions.cs (1)
24if (sortExpression.EndsWith(SORT_DIRECTION_DESC, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\Repeater.cs (2)
132if (!String.Equals(_itemType, value, StringComparison.OrdinalIgnoreCase)) { 153if (!String.Equals(_selectMethod, value, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\SiteMapPath.cs (1)
594if (node.Url.StartsWith("\\\\", StringComparison.Ordinal)) {
UI\WebControls\SqlDataSource.cs (1)
980if (viewName == null || (viewName.Length != 0 && !String.Equals(viewName, DefaultViewName, StringComparison.OrdinalIgnoreCase))) {
UI\WebControls\SqlDataSourceView.cs (2)
330String.Equals(_owner.ProviderName, "System.Data.SqlClient", StringComparison.OrdinalIgnoreCase)) { 1015if (String.Equals(sqlCache.SqlCacheDependency, SqlDataSourceCache.Sql9CacheDependencyDirective, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\TextBox.cs (3)
598if (result.StartsWith("Business", StringComparison.Ordinal)) { 601else if (result.StartsWith("Home", StringComparison.Ordinal)) { 653if (!ReadOnly && !current.Equals(postData, StringComparison.Ordinal)) {
UI\WebControls\TreeNodeBindingCollection.cs (2)
79if (String.Equals(binding.DataMember, dataMember, StringComparison.CurrentCultureIgnoreCase)) { 87else if (String.Equals(binding.DataMember, dataMember, StringComparison.CurrentCultureIgnoreCase) &&
UI\WebControls\TreeView.cs (4)
1694if (String.Equals(data.Path, _currentSiteMapNodeDataPath, StringComparison.OrdinalIgnoreCase)) { 3475if (String.Equals(strValue, fullyExpandedString, StringComparison.OrdinalIgnoreCase)) { 3491if (String.Equals(strValue, fullyExpandedString, StringComparison.OrdinalIgnoreCase)) { 3499if (String.Equals(strValue, fullyExpandedString, 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\WebControls\WizardStepBase.cs (2)
82if (value != null && value.Equals(Owner.ID, StringComparison.OrdinalIgnoreCase)) { 91if (step.ID != null && step.ID.Equals(value, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\CatalogPartCollection.cs (1)
36if (String.Equals(catalogPart.ID, id, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\CatalogZoneBase.cs (3)
492else if (String.Equals(eventArgument, addEventArgument, StringComparison.OrdinalIgnoreCase)) { 497else if (String.Equals(eventArgument, closeEventArgument, StringComparison.OrdinalIgnoreCase)) { 662if (String.Equals(zone.ID, _selectedZoneID, 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\EditorZoneBase.cs (3)
341if (String.Equals(eventArgument, applyEventArgument, StringComparison.OrdinalIgnoreCase)) { 346else if (String.Equals(eventArgument, cancelEventArgument, StringComparison.OrdinalIgnoreCase)) { 351else if (String.Equals(eventArgument, okEventArgument, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\PersonalizationStateInfoCollection.cs (2)
214StringComparison.OrdinalIgnoreCase); 220StringComparison.OrdinalIgnoreCase);
UI\WebParts\ProxyWebPartConnectionCollection.cs (1)
50if (connection != null && String.Equals(connection.ID, id, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\RowToFieldTransformer.cs (1)
130if (String.Equals(item.Value, _owner.FieldName, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\RowToParametersTransformer.cs (2)
282StringComparison.OrdinalIgnoreCase) && 294if (String.Equals(item.Value, consumerFieldValue, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\ToolZone.cs (1)
274if (String.Equals(eventArgument, headerCloseEventArgument, StringComparison.OrdinalIgnoreCase) &&
UI\WebParts\WebPart.cs (1)
872c = String.Compare(p1.ID, p2.ID, StringComparison.CurrentCulture);
UI\WebParts\WebPartCollection.cs (4)
65if (String.Equals(webPart.ID, id, StringComparison.OrdinalIgnoreCase)) { 73if (String.Equals(control.ID, id, StringComparison.OrdinalIgnoreCase)) { 81if ((String.Equals(proxyWebPart.OriginalID, id, StringComparison.OrdinalIgnoreCase)) || 82(String.Equals(proxyWebPart.GenericWebPartID, id, StringComparison.OrdinalIgnoreCase))) {
UI\WebParts\WebPartConnectionCollection.cs (1)
56if (String.Equals(connection.ID, id, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\WebPartDisplayModeCollection.cs (1)
36if (String.Equals(displayMode.Name, modeName, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\WebPartManager.cs (5)
2724if (!String.Equals(version, ExportPartNamespaceValue, StringComparison.OrdinalIgnoreCase)) { 2995StringComparison.OrdinalIgnoreCase); 3127String.Equals(scope, PersonalizationScope.Shared.ToString(), StringComparison.OrdinalIgnoreCase) ? 3476if (String.Equals(connection.ID, idToDelete, StringComparison.OrdinalIgnoreCase)) { 3483if (String.Equals(connection.ID, idToDelete, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\WebPartPersonalization.cs (2)
219!String.Equals(value, ProviderName, StringComparison.Ordinal)) { 664if (page.Form == null || String.Equals(page.Form.Method, "post", StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\WebPartZoneBase.cs (10)
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)) { 1109if (wholePartID.StartsWith(WebPart.WholePartIDPrefix, StringComparison.Ordinal)) {
UI\WebParts\WebPartZoneCollection.cs (1)
59if (String.Equals(zone.ID, id, StringComparison.OrdinalIgnoreCase)) {
UI\WebResourceAttribute.cs (1)
60if (String.IsNullOrEmpty(cdnPath) || !CdnSupportsSecureConnection || !cdnPath.StartsWith("http://", StringComparison.OrdinalIgnoreCase)) {
Util\AppVerifier.cs (1)
760&& thisFrame.GetMethod().DeclaringType.FullName.StartsWith("System.Web.Util.AppVerifier", StringComparison.Ordinal)) {
Util\FileUtil.cs (4)
109&& filePath.IndexOf(appRoot, StringComparison.OrdinalIgnoreCase) > -1 190int idxSlashDots = physicalPath.IndexOf(slashDots, StringComparison.Ordinal); 249StringComparison.OrdinalIgnoreCase) != 0; 500&& currentParentDir.IndexOf(rootDirectoryPath, StringComparison.OrdinalIgnoreCase) == 0) {
Util\HttpEncoder.cs (1)
104int loc = s.IndexOf("%u", StringComparison.Ordinal);
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);
Util\UriUtil.cs (8)
65if (String.Equals(escaped, unescaped, StringComparison.Ordinal)) 137return url.IndexOf(":", StringComparison.Ordinal) == -1 || 138url.StartsWith("http:", StringComparison.OrdinalIgnoreCase) || 139url.StartsWith("https:", StringComparison.OrdinalIgnoreCase) || 140url.StartsWith("ftp:", StringComparison.OrdinalIgnoreCase) || 141url.StartsWith("file:", StringComparison.OrdinalIgnoreCase) || 142url.StartsWith("news:", StringComparison.OrdinalIgnoreCase); 168int authorityIndex = inputWithoutQueryFragment.IndexOf(authority, StringComparison.OrdinalIgnoreCase);
Util\UrlPath.cs (2)
728((IsRooted(absUriOrLocalPath) || IsRelativeUrl(absUriOrLocalPath)) && !absUriOrLocalPath.TrimStart(' ').StartsWith("//", StringComparison.Ordinal)); 731return absUri.IsLoopback || string.Equals(currentRequestUri.Host, absUri.Host, StringComparison.OrdinalIgnoreCase);
XmlSiteMapProvider.cs (4)
282if (String.Equals(siteMapMode.Name, "siteMap", StringComparison.Ordinal)) { 559if (!_virtualPath.Extension.Equals(_xmlSiteMapFileExtension, StringComparison.OrdinalIgnoreCase)) { 679if (temp.ToLower(CultureInfo.InvariantCulture).StartsWith(_resourcePrefix, StringComparison.Ordinal)) { 784if (!String.Equals(url, decodedUrl, StringComparison.Ordinal)) {
System.Web.ApplicationServices (1)
Hosting\CustomLoaderHelper.cs (1)
121return String.Equals("Full", trustLevel, StringComparison.Ordinal);
System.Web.DataVisualization (384)
Common\Annotation\AnnotationBase.cs (2)
3278int separatorIndex = dataPointName.IndexOf("\\r", StringComparison.Ordinal); 3311int separatorIndex = axisName.IndexOf("\\r", StringComparison.Ordinal);
Common\ChartTypes\BarChart.cs (15)
370 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase ) == 0) 374else if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 378else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 875if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 877if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 879if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 881else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0) 1228if (String.Compare(emptyPointValue, "Zero", StringComparison.OrdinalIgnoreCase) == 0) 1339 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 1343 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 1347 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 1901if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1903else if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1905else if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1907else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\BoxPlotChart.cs (22)
265 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 283 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0 ) 287else if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 291else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 466 if(String.Compare( showAverageValue, "True", StringComparison.OrdinalIgnoreCase ) == 0 ) 470 else if(String.Compare( showAverageValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 522 if(String.Compare(showMedianValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 526 else if(String.Compare(showMedianValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 751 if(markerStyle.Length > 0 && String.Compare(markerStyle, "None", StringComparison.OrdinalIgnoreCase ) != 0) 778if (String.Compare(markerStyle, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1035 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1052 if(String.Compare( attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 1056else if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 1060else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 1253 if(String.Compare(showAverageValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 1257 else if(String.Compare(showAverageValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 1302 if(String.Compare( showMedianValue, "True", StringComparison.OrdinalIgnoreCase ) == 0) 1306 else if(String.Compare(showMedianValue, "False", StringComparison.OrdinalIgnoreCase ) == 0) 1551 if(String.Compare( boxPlotSeries.ChartTypeName, ChartTypeNames.BoxPlot, StringComparison.OrdinalIgnoreCase) != 0) 1581 int valueTypeIndex = linkedSeriesName.IndexOf(":", StringComparison.OrdinalIgnoreCase); 1715 if(String.Compare(showUnusualValues, "True", StringComparison.OrdinalIgnoreCase ) == 0) 1719 else if(String.Compare(showUnusualValues, "False", StringComparison.OrdinalIgnoreCase ) == 0)
Common\ChartTypes\BubbleChart.cs (5)
258 if(String.Compare(ser[CustomPropertyName.BubbleUseSizeForLabel], "true", StringComparison.OrdinalIgnoreCase) == 0) 358 if( String.Compare( ser.ChartTypeName, ChartTypeNames.Bubble, StringComparison.OrdinalIgnoreCase) == 0 && 385 if(String.Compare(ser[CustomPropertyName.BubbleUseSizeForLabel], "true", StringComparison.OrdinalIgnoreCase) == 0) 400 if( String.Compare(ser.ChartTypeName, ChartTypeNames.Bubble, StringComparison.OrdinalIgnoreCase) == 0 476 if( String.Compare( ser.ChartTypeName, ChartTypeNames.Bubble, StringComparison.OrdinalIgnoreCase) == 0 &&
Common\ChartTypes\ColumnChart.cs (6)
281 if(String.Compare( attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0 ) 285 else if(String.Compare( attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 289 else if(String.Compare( attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 678 if(String.Compare( attribValue, "False", StringComparison.OrdinalIgnoreCase)==0) 682 else if(String.Compare( attribValue, "True", StringComparison.OrdinalIgnoreCase)==0) 686 else if(String.Compare( attribValue, "Auto", StringComparison.OrdinalIgnoreCase)==0)
Common\ChartTypes\ErrorBarChart.cs (41)
312 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 340 int valueTypeIndex = linkedSeriesName.IndexOf(":", StringComparison.Ordinal); 363 if(String.Compare(linkedSeriesChartType, ChartTypeNames.Column, StringComparison.OrdinalIgnoreCase) ==0 364|| String.Compare(linkedSeriesChartType, ChartTypeNames.RangeColumn, StringComparison.OrdinalIgnoreCase) == 0 374 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 378 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 382 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 414 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) ==0) 418 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) ==0) 428 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) ==0) 506if(String.Compare( errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase ) == 0) 510 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase ) == 0) 516 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase ) == 0) 656 if(String.Compare(errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase) == 0) 660 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase) == 0) 665 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase) == 0) 819 if(markerStyle.Length > 0 && String.Compare(markerStyle, "None", StringComparison.OrdinalIgnoreCase) != 0) 839 if(String.Compare(markerStyle, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1091 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1122int valueTypeIndex = attribValue.IndexOf(":", StringComparison.Ordinal); 1143 if(String.Compare(linkedSeriesChartType, ChartTypeNames.Column, StringComparison.OrdinalIgnoreCase ) == 0 1144|| String.Compare(linkedSeriesChartType, ChartTypeNames.RangeColumn, StringComparison.OrdinalIgnoreCase) == 0 1154 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase ) == 0) 1158 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase ) == 0) 1162 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase ) == 0) 1258 if(String.Compare(errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase) == 0) 1262 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase) == 0) 1268 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase) == 0) 1426 if(String.Compare(errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase ) == 0) 1430 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase ) == 0) 1435 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase ) == 0) 1606 if(String.Compare(errorBarSeries.ChartTypeName, ChartTypeNames.ErrorBar, StringComparison.OrdinalIgnoreCase) != 0 ) 1624 if(typeName.StartsWith("FixedValue", StringComparison.OrdinalIgnoreCase)) 1628 else if(typeName.StartsWith("Percentage", StringComparison.OrdinalIgnoreCase)) 1632 else if(typeName.StartsWith("StandardDeviation", StringComparison.OrdinalIgnoreCase)) 1636 else if(typeName.StartsWith("StandardError", StringComparison.OrdinalIgnoreCase)) 1640 else if(typeName.StartsWith("None", StringComparison.OrdinalIgnoreCase)) 1654if (!typeName.StartsWith("(", StringComparison.Ordinal) || !typeName.EndsWith(")", StringComparison.Ordinal)) 1801 if(String.Compare(errorBarSeries.ChartTypeName, ChartTypeNames.ErrorBar, StringComparison.OrdinalIgnoreCase) != 0 || errorBarSeries.Chart == null) 1815 int valueTypeIndex = linkedSeriesName.IndexOf(":", StringComparison.Ordinal);
Common\ChartTypes\KagiChart.cs (3)
108if (String.Compare(series.ChartTypeName, ChartTypeNames.Kagi, StringComparison.OrdinalIgnoreCase) != 0 || !series.IsVisible()) 214 if(series.Name.StartsWith("KAGI_ORIGINAL_DATA_", StringComparison.Ordinal)) 289bool usePercentage = attrValue.EndsWith("%", StringComparison.Ordinal);
Common\ChartTypes\LineChart.cs (2)
1391 if(String.Compare(pointAttr.dataPoint[CustomPropertyName.ShowMarkerLines], "TRUE", StringComparison.OrdinalIgnoreCase) == 0) 1400if (String.Compare(pointAttr.dataPoint.series[CustomPropertyName.ShowMarkerLines], "TRUE", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\PieChart.cs (33)
282 if( String.Compare(series.ChartTypeName, ChartTypeNames.Pie, StringComparison.OrdinalIgnoreCase ) != 0 && 283 String.Compare(series.ChartTypeName, ChartTypeNames.Doughnut, StringComparison.OrdinalIgnoreCase ) != 0 351 if(string.Compare(series[CustomPropertyName.CollectedThresholdUsePercent], "True", StringComparison.OrdinalIgnoreCase) == 0) 355else if (string.Compare(series[CustomPropertyName.CollectedThresholdUsePercent], "False", StringComparison.OrdinalIgnoreCase) == 0) 478 if(series.Name.StartsWith("PIE_ORIGINAL_DATA_", StringComparison.Ordinal)) 831 if( String.Compare(explodedAttrib,"true", StringComparison.OrdinalIgnoreCase) == 0 ) 1107 if( String.Compare(labelStyleAttrib,"disabled",StringComparison.OrdinalIgnoreCase) == 0 ) 1109else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1119if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1121else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1133if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1135else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1146if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1148else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1528if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1530else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1540if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1542else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1554if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1556else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1566if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1568else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1606 if( String.Compare(labelStyleAttrib,"disabled", StringComparison.OrdinalIgnoreCase) == 0 ) 1608else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1618if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1620else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1632if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1634else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1644if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1646else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 2436 if( String.Compare(explodedAttrib,"true",StringComparison.OrdinalIgnoreCase) == 0 ) 2572 if( String.Compare(explodedAttrib,"true",StringComparison.OrdinalIgnoreCase) == 0 ) 5623String.Equals(point.series.GetCustomProperty(CustomPropertyName.PieAutoAxisLabels), "false", StringComparison.OrdinalIgnoreCase))
Common\ChartTypes\PointAndFigureChart.cs (5)
124 if(String.Compare( series.ChartTypeName, ChartTypeNames.PointAndFigure, StringComparison.OrdinalIgnoreCase ) != 0 || !series.IsVisible()) 238 if(series.Name.StartsWith("POINTANDFIGURE_ORIGINAL_DATA_", StringComparison.Ordinal)) 378bool usePercentage = attrValue.EndsWith("%", StringComparison.Ordinal); 710 if(series.Name.StartsWith("POINTANDFIGURE_ORIGINAL_DATA_", StringComparison.Ordinal)) 718 if(attrValue != null && String.Compare( attrValue, "True", StringComparison.OrdinalIgnoreCase ) != 0 )
Common\ChartTypes\PointChart.cs (11)
724if (String.Compare(attrib, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 728else if (String.Compare(attrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 732else if (String.Compare(attrib, "Bottom", StringComparison.OrdinalIgnoreCase) == 0) 736else if (String.Compare(attrib, "TopLeft", StringComparison.OrdinalIgnoreCase) == 0) 740else if (String.Compare(attrib, "TopRight", StringComparison.OrdinalIgnoreCase) == 0) 744else if (String.Compare(attrib, "BottomLeft", StringComparison.OrdinalIgnoreCase) == 0) 748else if (String.Compare(attrib, "BottomRight", StringComparison.OrdinalIgnoreCase) == 0) 752else if (String.Compare(attrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 756else if (String.Compare(attrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 760else if (String.Compare(attrib, "Top", StringComparison.OrdinalIgnoreCase) == 0) 1562 if( String.Compare(emptyPointValue, "Zero", StringComparison.OrdinalIgnoreCase) == 0 )
Common\ChartTypes\PolarChart.cs (2)
210 if(String.Compare(attributeValue, "Line", StringComparison.OrdinalIgnoreCase ) == 0) 214 else if(String.Compare(attributeValue, "Marker", StringComparison.OrdinalIgnoreCase ) == 0)
Common\ChartTypes\RadarChart.cs (14)
1091if (String.Compare(attrib, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 1095else if (String.Compare(attrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1099else if (String.Compare(attrib, "Bottom", StringComparison.OrdinalIgnoreCase) == 0) 1103else if (String.Compare(attrib, "TopLeft", StringComparison.OrdinalIgnoreCase) == 0) 1107else if (String.Compare(attrib, "TopRight", StringComparison.OrdinalIgnoreCase) == 0) 1111else if (String.Compare(attrib, "BottomLeft", StringComparison.OrdinalIgnoreCase) == 0) 1115else if (String.Compare(attrib, "BottomRight", StringComparison.OrdinalIgnoreCase) == 0) 1119else if (String.Compare(attrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1123else if (String.Compare(attrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1127else if (String.Compare(attrib, "Top", StringComparison.OrdinalIgnoreCase) == 0) 1350 if(String.Compare(attributeValue, "Area", StringComparison.OrdinalIgnoreCase) == 0 ) 1354else if (String.Compare(attributeValue, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1358 else if(String.Compare(attributeValue, "Marker", StringComparison.OrdinalIgnoreCase) == 0) 1458 if( String.Compare(emptyPointValue, "Zero", StringComparison.OrdinalIgnoreCase) == 0 )
Common\ChartTypes\RenkoChart.cs (3)
115 if( String.Compare( series.ChartTypeName, ChartTypeNames.Renko, StringComparison.OrdinalIgnoreCase ) != 0 || !series.IsVisible()) 219if (series.Name.StartsWith("RENKO_ORIGINAL_DATA_", StringComparison.Ordinal)) 305 bool usePercentage = attrValue.EndsWith("%", StringComparison.Ordinal);
Common\ChartTypes\StackedAreaChart.cs (10)
277if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 463 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 808 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 914 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1244 if(String.Compare(ser.Name, secondPoint.dataPoint.series.Name, StringComparison.Ordinal) == 0) 1259 if(String.Compare(ser.ChartTypeName, secondPoint.dataPoint.series.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0) 1262if (pointProperties != null && String.Compare(ser.Name, secondPoint.dataPoint.series.Name, StringComparison.Ordinal) == 0) 1624 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1625String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1647if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\StackedBarChart.cs (20)
235 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 236String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 279if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 540 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 570 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 592 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 659 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 992 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 1000 int index = stackGroupName.IndexOf("__", StringComparison.Ordinal); 1113if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1115else if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1117else if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1119else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0) 1287 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1288String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1320if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 1860if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1862else if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1864else if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1866else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\StackedColumnChart.cs (13)
230 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 231String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 274if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 547 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 577 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 599 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 669 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 998 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 1006 int index = stackGroupName.IndexOf("__", StringComparison.Ordinal); 1043if (String.Compare(series.ChartTypeName, chartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1330 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1331String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1363if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\StockChart.cs (17)
336 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 685 if(String.Compare(styleType, "Candlestick", StringComparison.OrdinalIgnoreCase) == 0) 689else if (String.Compare(styleType, "Triangle", StringComparison.OrdinalIgnoreCase) == 0) 693else if (String.Compare(styleType, "Line", StringComparison.OrdinalIgnoreCase) == 0) 714 if(String.Compare(showOpenClose, "Both", StringComparison.OrdinalIgnoreCase) == 0) 719else if (String.Compare(showOpenClose, "Open", StringComparison.OrdinalIgnoreCase) == 0) 724else if (String.Compare(showOpenClose, "Close", StringComparison.OrdinalIgnoreCase) == 0) 966if (String.Compare(valueType, "High", StringComparison.OrdinalIgnoreCase) == 0) 970else if (String.Compare(valueType, "Low", StringComparison.OrdinalIgnoreCase) == 0) 974else if (String.Compare(valueType, "Open", StringComparison.OrdinalIgnoreCase) == 0) 1134 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1510 if(String.Compare(styleType, "Candlestick", StringComparison.OrdinalIgnoreCase) == 0) 1514else if (String.Compare(styleType, "Triangle", StringComparison.OrdinalIgnoreCase) == 0) 1518else if (String.Compare(styleType, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1539 if(String.Compare(showOpenClose, "Both", StringComparison.OrdinalIgnoreCase) == 0) 1544else if (String.Compare(showOpenClose, "Open", StringComparison.OrdinalIgnoreCase) == 0) 1549else if (String.Compare(showOpenClose, "Close", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\ThreeLineBreakChart.cs (2)
117 if(String.Compare(series.ChartTypeName, ChartTypeNames.ThreeLineBreak, StringComparison.OrdinalIgnoreCase ) != 0 || !series.IsVisible()) 220if (series.Name.StartsWith("THREELINEBREAK_ORIGINAL_DATA_", StringComparison.Ordinal))
Common\Converters\AxisConverters.cs (6)
313if (String.Compare(crossingValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 317else if (String.Compare(crossingValue, Constants.MinValue, StringComparison.OrdinalIgnoreCase) == 0) 321else if (String.Compare(crossingValue, Constants.MaxValue, StringComparison.OrdinalIgnoreCase) == 0) 513if (String.Compare(crossingValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 661if (String.Compare(crossingValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 665else if (String.Compare(crossingValue, Constants.NotSetValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\Converters\CustomAttributesConverters.cs (2)
414if (attrInfo.Name.Equals(CustomPropertyName.ErrorBarType, StringComparison.Ordinal)) 625 return (String.Compare(val, defaultValue, StringComparison.Ordinal) == 0);
Common\Converters\ElementPositionConverter.cs (1)
113if (String.Compare(posValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\Converters\LegendConverters.cs (2)
290if (String.Compare(stringValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 490if (String.Compare(stringValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\DataManager\DataPoint.cs (26)
174 if(String.Compare(sortBy, "X", StringComparison.Ordinal) == 0) 178else if (String.Compare(sortBy, "Y", StringComparison.Ordinal) == 0) 182else if (String.Compare(sortBy, "AXISLABEL", StringComparison.Ordinal) == 0) 187 sortBy.StartsWith("Y", StringComparison.Ordinal) && 230result = string.Compare(x.AxisLabel, y.AxisLabel, StringComparison.CurrentCulture); 1654bool isYValue = useValue.StartsWith("Y", StringComparison.OrdinalIgnoreCase); 1710bool isYValue = useValue.StartsWith("Y", StringComparison.OrdinalIgnoreCase); 1968 if(String.Compare(propertyName, "AxisLabel", StringComparison.OrdinalIgnoreCase) == 0) 1972else if (String.Compare(propertyName, "Tooltip", StringComparison.OrdinalIgnoreCase) == 0) 1977 else if(String.Compare(propertyName, "Url", StringComparison.OrdinalIgnoreCase) == 0) 1981else if (String.Compare(propertyName, "PostBackValue", StringComparison.OrdinalIgnoreCase) == 0) 1985else if (String.Compare(propertyName, "LabelUrl", StringComparison.OrdinalIgnoreCase) == 0) 1989else if (String.Compare(propertyName, "LabelPostBackValue", StringComparison.OrdinalIgnoreCase) == 0) 1993else if (String.Compare(propertyName, "LegendUrl", StringComparison.OrdinalIgnoreCase) == 0) 1997else if (String.Compare(propertyName, "LegendPostBackValue", StringComparison.OrdinalIgnoreCase) == 0) 2002else if (String.Compare(propertyName, "Label", StringComparison.OrdinalIgnoreCase) == 0) 2006else if (String.Compare(propertyName, "LegendTooltip", StringComparison.OrdinalIgnoreCase) == 0) 2010else if (String.Compare(propertyName, "LegendText", StringComparison.OrdinalIgnoreCase) == 0) 2014else if (String.Compare(propertyName, "LabelToolTip", StringComparison.OrdinalIgnoreCase) == 0) 2396 if(String.Compare(valueName, "X", StringComparison.Ordinal) == 0) 2400else if (valueName.StartsWith("Y", StringComparison.Ordinal)) 2561while ((keyIndex = result.IndexOf(keyword, StringComparison.Ordinal)) != -1) 2597while ((keyStartIndex = result.IndexOf(KeywordName.CustomProperty, StringComparison.Ordinal)) >= 0) 4693 if(String.Compare(attributeName, name, StringComparison.OrdinalIgnoreCase) == 0) 4768if (String.Compare(existingAttributeNameStr, values[0], StringComparison.OrdinalIgnoreCase) == 0) 7007 if(string.Compare(info.Name, values[0], StringComparison.OrdinalIgnoreCase) == 0)
Common\DataManager\DataSeries.cs (6)
1213 while((keyIndex = result.IndexOf(keyword, StringComparison.Ordinal)) != -1) 1331 while((keyIndex = result.IndexOf(keyword, StringComparison.Ordinal)) != -1) 1617 if(String.Compare(this["UseDummyData"], "True", StringComparison.OrdinalIgnoreCase) == 0) 2375 if(String.Compare(this.ChartTypeName, ChartTypeNames.OneHundredPercentStackedArea, StringComparison.OrdinalIgnoreCase) == 0) 2379else if (String.Compare(this.ChartTypeName, ChartTypeNames.OneHundredPercentStackedBar, StringComparison.OrdinalIgnoreCase) == 0) 2383else if (String.Compare(this.ChartTypeName, ChartTypeNames.OneHundredPercentStackedColumn, StringComparison.OrdinalIgnoreCase) == 0)
Common\Formulas\FormulaHelpers.cs (2)
1508else if (seriesFieldId.StartsWith("Y", StringComparison.Ordinal)) 1598else if (seriesFieldId.StartsWith("Y", StringComparison.Ordinal))
Common\Formulas\TimeSeriesAndForecasting.cs (5)
164if (String.Equals(parameterList[0],"Exponential", StringComparison.OrdinalIgnoreCase)) 169else if (String.Equals(parameterList[0],"Linear", StringComparison.OrdinalIgnoreCase)) 174else if (String.Equals(parameterList[0],"IsLogarithmic", StringComparison.OrdinalIgnoreCase) || 175String.Equals(parameterList[0],"Logarithmic", StringComparison.OrdinalIgnoreCase)) 180else if (String.Equals(parameterList[0],"Power", StringComparison.OrdinalIgnoreCase))
Common\General\AxisScrollZoom.cs (2)
1529if (String.Compare(crossingValue, Constants.NotSetValue, StringComparison.OrdinalIgnoreCase) == 0) 1689if (String.Compare(crossingValue, Constants.NotSetValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\General\Chart.cs (1)
1376if ( String.Equals((string)dataSourceFields[i], xField, StringComparison.OrdinalIgnoreCase ) )
Common\General\ChartArea.cs (6)
2780 if(String.Compare(series[CustomPropertyName.AreaDrawingStyle], "Polygon", StringComparison.OrdinalIgnoreCase) == 0) 2784else if (String.Compare(series[CustomPropertyName.AreaDrawingStyle], "Circle", StringComparison.OrdinalIgnoreCase) == 0) 2816 if(String.Compare( styleName, "Auto", StringComparison.OrdinalIgnoreCase) == 0 ) 2820 else if(String.Compare( styleName,"Circular", StringComparison.OrdinalIgnoreCase) == 0) 2824 else if(String.Compare( styleName,"Radial", StringComparison.OrdinalIgnoreCase) == 0) 2828else if (String.Compare(styleName, "Horizontal", StringComparison.OrdinalIgnoreCase) == 0)
Common\General\ChartArea3D.cs (5)
905 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 909 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 913else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 950 if(String.Compare(curSeries.ChartTypeName, smallestIntervalSeries.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 ) 981 if(String.Compare(curSeries.ChartTypeName, smallestIntervalSeries.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 )
Common\General\ChartAreaAxes.cs (1)
1531 if( String.Compare( chartType, Common.DataManager.Series[seriesName].ChartTypeName, StringComparison.OrdinalIgnoreCase ) == 0 )
Common\General\ChartElement.cs (1)
1366if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0)
Common\General\ChartGraphics.cs (8)
4941 if(String.Compare(styleName, "Default", StringComparison.OrdinalIgnoreCase) == 0) 4945else if (String.Compare(styleName, "SoftEdge", StringComparison.OrdinalIgnoreCase) == 0) 4949else if (String.Compare(styleName, "Concave", StringComparison.OrdinalIgnoreCase) == 0) 5534 if(String.Compare(styleName, "Default", StringComparison.OrdinalIgnoreCase) == 0) 5538else if (String.Compare(styleName, "Cylinder", StringComparison.OrdinalIgnoreCase) == 0) 5542else if (String.Compare(styleName, "Emboss", StringComparison.OrdinalIgnoreCase) == 0) 5546else if (String.Compare(styleName, "LightToDark", StringComparison.OrdinalIgnoreCase) == 0) 5550else if (String.Compare(styleName, "Wedge", StringComparison.OrdinalIgnoreCase) == 0)
Common\General\ChartGraphics3D.cs (3)
2704(neighborDataPoint == null || String.Compare(neighborDataPoint.dataPoint.series.Name, point.dataPoint.series.Name, StringComparison.Ordinal) == 0)) 2718(neighborDataPoint == null || String.Compare(neighborDataPoint.dataPoint.series.Name, point.dataPoint.series.Name, StringComparison.Ordinal) == 0)) 2737if (String.Compare(neighborDataPoint.dataPoint.series.Name, point3D.dataPoint.series.Name, StringComparison.Ordinal) != 0)
Common\General\DataManipulator.cs (1)
3145 else if(formulaParts[0].StartsWith("Y", StringComparison.Ordinal))
Common\General\FormulaData.cs (1)
621if (parts[1].StartsWith("Y", StringComparison.Ordinal))
Common\General\ImageMap.cs (3)
423if (checkValue.StartsWith("javascript:", StringComparison.OrdinalIgnoreCase)) 443name.Trim().StartsWith("on", StringComparison.OrdinalIgnoreCase)) 530if (this._attributes.IndexOf(" alt=", StringComparison.OrdinalIgnoreCase) == -1)
Common\General\Selection.cs (4)
2049if (!String.IsNullOrEmpty(alowedElements) && alowedElements.IndexOf(region.Type.ToString() + ";", StringComparison.Ordinal) == -1) 3170if (elementType.ToString().StartsWith("Legend", StringComparison.Ordinal) || elementType.ToString().StartsWith("Title", StringComparison.Ordinal)) 3174if (elementType.ToString().StartsWith("PlottingArea", StringComparison.Ordinal))
Common\Utilities\ImageLoader.cs (1)
223int columnIndex = imageURL.IndexOf("::", StringComparison.Ordinal);
Common\Utilities\ValueConverter.cs (1)
83 if(!convertionFormat.Substring(bracketIndex).StartsWith("{0:", StringComparison.Ordinal))
Common\Utilities\XmlSerializer.cs (34)
550 int charIndex = fontString.IndexOf(", GdiCharSet=", StringComparison.Ordinal); 555int commaIndex = val.IndexOf(",", StringComparison.Ordinal); 569charIndex = fontString.IndexOf(", GdiVerticalFont", StringComparison.Ordinal); 1119if (typeStr.EndsWith(".CustomPropertiesTypeConverter", StringComparison.OrdinalIgnoreCase)) { result = new CustomPropertiesTypeConverter(); } 1120else if (typeStr.EndsWith(".DoubleNanValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new DoubleNanValueConverter(); } 1121else if (typeStr.EndsWith(".DoubleDateNanValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new DoubleDateNanValueConverter(); } 1123else if (typeStr.EndsWith(".MapAreaCoordinatesConverter", StringComparison.OrdinalIgnoreCase)) { result = new MapAreaCoordinatesConverter(); } 1125else if (typeStr.EndsWith(".ElementPositionConverter", StringComparison.OrdinalIgnoreCase)) { result = new ElementPositionConverter(); } 1126else if (typeStr.EndsWith(".SeriesAreaNameConverter", StringComparison.OrdinalIgnoreCase)) { result = new SeriesAreaNameConverter(); } 1127else if (typeStr.EndsWith(".ChartDataSourceConverter", StringComparison.OrdinalIgnoreCase)) { result = new ChartDataSourceConverter(); } 1128else if (typeStr.EndsWith(".SeriesDataSourceMemberConverter", StringComparison.OrdinalIgnoreCase)) { result = new SeriesDataSourceMemberConverter(); } 1129else if (typeStr.EndsWith(".SeriesLegendNameConverter", StringComparison.OrdinalIgnoreCase)) { result = new SeriesLegendNameConverter(); } 1130else if (typeStr.EndsWith(".ChartTypeConverter", StringComparison.OrdinalIgnoreCase)) { result = new ChartTypeConverter(); } 1131else if (typeStr.EndsWith(".SeriesNameConverter", StringComparison.OrdinalIgnoreCase)) { result = new SeriesNameConverter(); } 1132else if (typeStr.EndsWith(".NoNameExpandableObjectConverter", StringComparison.OrdinalIgnoreCase)) { result = new NoNameExpandableObjectConverter(); } 1133else if (typeStr.EndsWith(".DoubleArrayConverter", StringComparison.OrdinalIgnoreCase)) { result = new DoubleArrayConverter(); } 1134else if (typeStr.EndsWith(".DataPointValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new DataPointValueConverter(); } 1135else if (typeStr.EndsWith(".SeriesYValueTypeConverter", StringComparison.OrdinalIgnoreCase)) { result = new SeriesYValueTypeConverter(typeof(ChartValueType)); } 1136else if (typeStr.EndsWith(".ColorArrayConverter", StringComparison.OrdinalIgnoreCase)) { result = new ColorArrayConverter(); } 1137else if (typeStr.EndsWith(".LegendAreaNameConverter", StringComparison.OrdinalIgnoreCase)) { result = new LegendAreaNameConverter(); } 1138else if (typeStr.EndsWith(".LegendConverter", StringComparison.OrdinalIgnoreCase)) { result = new LegendConverter(); } 1139else if (typeStr.EndsWith(".SizeEmptyValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new SizeEmptyValueConverter(); } 1140else if (typeStr.EndsWith(".MarginExpandableObjectConverter", StringComparison.OrdinalIgnoreCase)) { result = new MarginExpandableObjectConverter(); } 1141else if (typeStr.EndsWith(".IntNanValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new IntNanValueConverter(); } 1142else if (typeStr.EndsWith(".AxesArrayConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxesArrayConverter(); } 1143else if (typeStr.EndsWith(".AxisLabelDateValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxisLabelDateValueConverter(); } 1144else if (typeStr.EndsWith(".AxisMinMaxValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxisMinMaxValueConverter(); } 1145else if (typeStr.EndsWith(".AxisCrossingValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxisCrossingValueConverter(); } 1146else if (typeStr.EndsWith(".AxisMinMaxAutoValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxisMinMaxAutoValueConverter(); } 1147else if (typeStr.EndsWith(".StripLineTitleAngleConverter", StringComparison.OrdinalIgnoreCase)) { result = new StripLineTitleAngleConverter(); } 1148else if (typeStr.EndsWith(".AxisIntervalValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxisIntervalValueConverter(); } 1149else if (typeStr.EndsWith(".AxisElementIntervalValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxisElementIntervalValueConverter(); } 1150else if (typeStr.EndsWith(".AnchorPointValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AnchorPointValueConverter(); } 1151else if (typeStr.EndsWith(".AnnotationAxisValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AnnotationAxisValueConverter(); }
WebForm\ChartWebControl.cs (11)
459indexUID = _currentChartImageLocation.IndexOf("#UID", StringComparison.Ordinal); 460int indexSEQ = _currentChartImageLocation.IndexOf("#SEQ", StringComparison.Ordinal); 484int indexNoGuidParam = _currentChartImageLocation.IndexOf("#NOGUIDPARAM", StringComparison.Ordinal); 491if (_currentChartImageLocation.StartsWith("~", StringComparison.Ordinal) && HttpContext.Current != null && this.Page.Request != null) 543_isImageRendersBorder = sw.ToString().IndexOf("border", 0, StringComparison.OrdinalIgnoreCase) != -1 ? 1 : -1; 655 int indexNoGuidParam = this.ImageLocation.IndexOf("#NOGUIDPARAM", StringComparison.Ordinal); 750 int indexSEQ = imageURL.IndexOf("#SEQ", StringComparison.Ordinal); 807 int indexSEQ = imageUrl.IndexOf("#SEQ", StringComparison.Ordinal); 1853 int indexSEQ = value.IndexOf("#SEQ", StringComparison.Ordinal); 2042 int versionIndex = buildNumber.IndexOf("VERSION=", StringComparison.Ordinal); 2047versionIndex = buildNumber.IndexOf(",", StringComparison.Ordinal);
WebForm\General\ChartHttpHandler.cs (25)
364if (!appDir.EndsWith("/", StringComparison.Ordinal)) 393else if (".css,.html,.xml".IndexOf(ext, StringComparison.Ordinal) != -1) 397else if (".jpg;.jpeg;.gif;.png;.emf".IndexOf(ext, StringComparison.Ordinal) != -1) 578settings.Add(ChartHttpHandler.WebDevServerUseConfigSettings, String.Equals(Settings[ChartHttpHandler.WebDevServerUseConfigSettings], "true", StringComparison.OrdinalIgnoreCase).ToString()); 906if (!(value.EndsWith("/", StringComparison.Ordinal) || value.EndsWith("\\", StringComparison.Ordinal))) 1077if (name.StartsWith("stor", StringComparison.OrdinalIgnoreCase)) 1079if (value.StartsWith("inproc", StringComparison.OrdinalIgnoreCase) || value.StartsWith("memory", StringComparison.OrdinalIgnoreCase)) 1083else if (value.StartsWith("file", StringComparison.OrdinalIgnoreCase)) 1087else if (value.StartsWith("session", StringComparison.OrdinalIgnoreCase)) 1096else if (name.StartsWith("url", StringComparison.OrdinalIgnoreCase)) 1098if (!value.EndsWith("/", StringComparison.Ordinal)) 1104else if (name.StartsWith("dir", StringComparison.OrdinalIgnoreCase)) 1108else if (name.StartsWith("time", StringComparison.OrdinalIgnoreCase)) 1131else if (name.StartsWith("handler", StringComparison.OrdinalIgnoreCase)) 1135else if (name.StartsWith("privateImages", StringComparison.OrdinalIgnoreCase)) 1143else if (name.StartsWith("imageOwnerKey", StringComparison.OrdinalIgnoreCase)) 1175if (process.ProcessName.StartsWith("WebDev.WebServer", StringComparison.OrdinalIgnoreCase)) 1179if (process.ProcessName.StartsWith("ii----press", StringComparison.OrdinalIgnoreCase)) 1202if (IsWebDevActive() && !( String.Compare(this[ChartHttpHandler.WebDevServerUseConfigSettings], "true", StringComparison.OrdinalIgnoreCase) == 0)) 1226if (!fileDirectory.EndsWith("\\", StringComparison.Ordinal)) 1378return !(String.Compare(this["DeleteAfterServicing"], "false", StringComparison.OrdinalIgnoreCase) == 0); 1572if (!String.Equals((string)_storageData[key + _privacyKeyName], privacyKey, StringComparison.Ordinal)) 1639StringComparison.Ordinal))
System.Web.DynamicData (11)
DynamicData\MetaModel.cs (2)
338nameConflictTable = tablesToInitialize.Find(t => t.Name.Equals(table.Name, StringComparison.CurrentCulture)); 599return ContextType == other.ContextType && TableName.Equals(other.TableName, StringComparison.Ordinal);
DynamicData\ModelProviders\DLinqColumnProvider.cs (7)
68if (dbType.StartsWith("NText", StringComparison.OrdinalIgnoreCase)) { 72if (dbType.StartsWith("Text", StringComparison.OrdinalIgnoreCase)) { 76if (dbType.StartsWith("NVarChar(MAX)", StringComparison.OrdinalIgnoreCase)) { 80if (dbType.StartsWith("VarChar(MAX)", StringComparison.OrdinalIgnoreCase)) { 97(dbType.StartsWith("Text", StringComparison.OrdinalIgnoreCase) 98|| dbType.StartsWith("NText", StringComparison.OrdinalIgnoreCase))) { 102if (memberType == typeof(Binary) && dbType.StartsWith("Image", StringComparison.OrdinalIgnoreCase)) {
DynamicData\QueryStringHandler.cs (2)
28if (!virtualPath.EndsWith("?", StringComparison.Ordinal) && !virtualPath.EndsWith("&", StringComparison.Ordinal)) {
System.Web.Entity (6)
System\Data\WebControls\EntityDataSourceUtil.cs (3)
108if (null != parameterName && String.Equals(propertyName, parameterName, StringComparison.Ordinal)) 133if (String.Equals(p.Name, propertyName, StringComparison.Ordinal)) 657if (components[0].StartsWith("SRID=", StringComparison.Ordinal))
System\Data\WebControls\OrderByBuilder.cs (3)
130if (!columnName.StartsWith("it.", StringComparison.OrdinalIgnoreCase)) 156if (statement.EndsWith(tail, StringComparison.OrdinalIgnoreCase)) 165if (statement.EndsWith(tail, StringComparison.OrdinalIgnoreCase))
System.Web.Entity.Design (35)
System\Data\WebControls\Design\EntityConnectionStringBuilderItem.cs (1)
105return (String.Compare(this.ToString(), other.ToString(), StringComparison.OrdinalIgnoreCase));
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContext.cs (1)
149if (String.Equals(containerName, containerNameItem.EntityContainerName, StringComparison.OrdinalIgnoreCase))
System\Data\WebControls\Design\EntityDataSourceContainerNameItem.cs (1)
64return (String.Compare(this.EntityContainerName, other.EntityContainerName, StringComparison.OrdinalIgnoreCase));
System\Data\WebControls\Design\EntityDataSourceDataSelection.cs (4)
122if (String.Equals(entitySetNameItem.EntitySetName, entitySetName, StringComparison.OrdinalIgnoreCase)) 257if (String.Equals(entityTypeFilterItem.EntityTypeName, entityTypeFilter, StringComparison.OrdinalIgnoreCase)) 458return propertyName.StartsWith(s_itKeyword, StringComparison.OrdinalIgnoreCase); 471if (String.Equals(UnescapePropertyName(propertyName), _entityTypeProperties[propIndex], StringComparison.OrdinalIgnoreCase))
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (19)
539if (trimmedPath.StartsWith(s_virtualRoot, StringComparison.OrdinalIgnoreCase)) 544else if (trimmedPath.StartsWith(s_relativeCurrentFolder, StringComparison.OrdinalIgnoreCase) || 545trimmedPath.StartsWith(s_altRelativeCurrentFolder, StringComparison.OrdinalIgnoreCase) || 546trimmedPath.StartsWith(s_relativeParentFolder, StringComparison.OrdinalIgnoreCase) || 547trimmedPath.StartsWith(s_altRelativeParentFolder, StringComparison.OrdinalIgnoreCase)) 670&& assembly.GetName().Name.Equals("EntityFramework", StringComparison.InvariantCultureIgnoreCase) 696return (String.Equals(fullName, "*", StringComparison.OrdinalIgnoreCase) || 697fullName.EndsWith(s_ecmPublicKeyToken, StringComparison.OrdinalIgnoreCase)); 860int indexStart = metadataPaths.IndexOf(s_dataDirectory, StringComparison.OrdinalIgnoreCase); 866StringComparison.Ordinal 878StringComparison.Ordinal); 902indexStart = metadataPaths.IndexOf(s_dataDirectory, StringComparison.OrdinalIgnoreCase); 912if (trimmedPath.StartsWith(s_dataDirectory, StringComparison.OrdinalIgnoreCase)) 1197if (!String.Equals(connectionString, this.ConnectionString, StringComparison.OrdinalIgnoreCase) || 1198!String.Equals(defaultContainerName, this.DefaultContainerName, StringComparison.OrdinalIgnoreCase) || 1199!String.Equals(entitySetName, this.EntitySetName, StringComparison.OrdinalIgnoreCase) || 1200!String.Equals(select, this.Select, StringComparison.OrdinalIgnoreCase) || 1201!String.Equals(commandText, this.CommandText, StringComparison.OrdinalIgnoreCase) || 1230String.Equals(viewName, DefaultViewName, StringComparison.OrdinalIgnoreCase))
System\Data\WebControls\Design\EntityDataSourceEntitySetNameItem.cs (1)
62return (String.Compare(this.EntitySetName, other.EntitySetName, StringComparison.OrdinalIgnoreCase));
System\Data\WebControls\Design\EntityDataSourceEntityTypeFilterItem.cs (1)
61return (String.Compare(this.EntityTypeName, other.EntityTypeName, StringComparison.OrdinalIgnoreCase));
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (4)
57if (String.Equals("Where", operation, StringComparison.Ordinal)) 61else if (String.Equals("OrderBy", operation, StringComparison.Ordinal)) 76if (String.Equals("Where", propertyName, StringComparison.Ordinal)) 80else if (String.Equals("OrderBy", propertyName, StringComparison.Ordinal))
System\Data\WebControls\Design\EntityDataSourceStatementEditorForm.cs (2)
321if (String.Equals(propertyName, "Where", StringComparison.OrdinalIgnoreCase)) 326else if (String.Equals(propertyName, "OrderBy", StringComparison.OrdinalIgnoreCase))
System\Data\WebControls\Design\Util\DesignerForm.cs (1)
81if (!String.Equals(rtlText, "RTL_False", StringComparison.Ordinal))
System.Web.Extensions (139)
ClientServices\Providers\ClientData.cs (2)
279if (string.Compare(cookieName, cd.CookieNames[iter], StringComparison.OrdinalIgnoreCase) == 0) 293if (cd.CookieValues[iter].StartsWith(cookieName + "=", StringComparison.OrdinalIgnoreCase)) {
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (5)
61bool useWFCService = serviceUri.EndsWith(".svc", StringComparison.OrdinalIgnoreCase); 139_SavePasswordHash = (string.Compare(temp, "true", StringComparison.OrdinalIgnoreCase) == 0); 260_UsingWFCService = _ServiceUri.EndsWith(".svc", StringComparison.OrdinalIgnoreCase); 309if (!string.IsNullOrEmpty(lastLoggedInUser) && string.Compare(lastLoggedInUser, username, StringComparison.OrdinalIgnoreCase) == 0) { 361if (currentUser != null && string.Compare(username, currentUser, StringComparison.OrdinalIgnoreCase) != 0)
ClientServices\Providers\ClientRoleProvider.cs (5)
83_HonorCookieExpiry = (string.Compare(temp, "true", StringComparison.OrdinalIgnoreCase) == 0); 103if (string.Compare(role, roleName, StringComparison.OrdinalIgnoreCase) == 0) 117if (!string.IsNullOrEmpty(username) && string.Compare(username, p.Identity.Name, StringComparison.OrdinalIgnoreCase) != 0) 121if (string.Compare(_CurrentUser, p.Identity.Name, StringComparison.OrdinalIgnoreCase) == 0 && DateTime.UtcNow < _CacheExpiryDate) 386_UsingWFCService = _ServiceUri.EndsWith(".svc", StringComparison.OrdinalIgnoreCase);
ClientServices\Providers\ClientSettingsProvider.cs (4)
84if (serviceUri.EndsWith(".svc", StringComparison.OrdinalIgnoreCase)) { 166_HonorCookieExpiry = (string.Compare(temp, "true", StringComparison.OrdinalIgnoreCase) == 0); 363_UsingWFCService = _ServiceUri.EndsWith(".svc", StringComparison.OrdinalIgnoreCase); 919if (_Properties != null && _Properties.Count > 0 && string.Compare(e.UserName, _UserName, StringComparison.OrdinalIgnoreCase) != 0) {
ClientServices\Providers\ClientWindowsAuthenticationMembershipProvider.cs (1)
32if (!string.IsNullOrEmpty(username) && string.Compare(username, id.Name, StringComparison.OrdinalIgnoreCase) != 0)
ClientServices\Providers\ProxyHelper.cs (1)
416if (string.Compare(cookieProps[iter].Trim(), "HttpOnly", StringComparison.OrdinalIgnoreCase) == 0) {
ClientServices\Providers\SqlHelper.cs (2)
42if (string.Compare(connectionString, _SQL_FILES_Tag, StringComparison.OrdinalIgnoreCase) == 0) 197if (string.Compare(conn.Database.Trim(), _SQL_CE_Tag, StringComparison.OrdinalIgnoreCase) != 0) {
Compilation\WCFBuildProvider.cs (6)
101if (extension.Equals(SvcMapExtension, StringComparison.OrdinalIgnoreCase)) 114else if (extension.Equals(DataSvcMapExtension, StringComparison.OrdinalIgnoreCase)) 432Debug.Assert(virtualPath.StartsWith(webReferencesRootVirtualPath, StringComparison.OrdinalIgnoreCase), 439Debug.Assert(string.Equals(webReferencesRootVirtualPath, virtualPath, StringComparison.OrdinalIgnoreCase), 517if (validTypeName.Equals("_", StringComparison.Ordinal)) 551if (String.Equals(extensionFile.Name, TOOL_CONFIG_ITEM_NAME, StringComparison.Ordinal))
Compilation\WCFModel\AsmxEndpointPickerExtension.cs (2)
89if (String.Equals(binding.Name, portToDelete.Binding.Name, StringComparison.Ordinal)) 147if (String.Equals(System.IO.Path.GetExtension(fileName), ".asmx", StringComparison.OrdinalIgnoreCase))
Compilation\WCFModel\HttpBindingExtension.cs (2)
41if (httpVerb.Equals("GET", StringComparison.OrdinalIgnoreCase) || httpVerb.Equals("POST", StringComparison.OrdinalIgnoreCase))
Compilation\WCFModel\MetadataFile.cs (2)
499if (!ns.EndsWith("/", StringComparison.Ordinal)) 508if (ns.Length > defaultExtension.Length && ns.EndsWith(defaultExtension, StringComparison.OrdinalIgnoreCase))
Compilation\WCFModel\SchemaMerger.cs (10)
430return String.Equals(attribute1.LocalName, attribute2.LocalName, StringComparison.Ordinal) && 431String.Equals(attribute1.NamespaceURI, attribute2.NamespaceURI, StringComparison.Ordinal) && 432String.Equals(attribute1.Value, attribute2.Value, StringComparison.Ordinal); 486if (!String.Equals(element1.LocalName, element2.LocalName, StringComparison.Ordinal) || 487!String.Equals(element1.NamespaceURI, element2.NamespaceURI, StringComparison.Ordinal)) 519return String.Equals(text1.Value, text2.Value, StringComparison.Ordinal); 607if (String.Equals(name1, name2, StringComparison.Ordinal)) 727if (String.Equals(property.Name, "Constraints", StringComparison.Ordinal)) 759int namespaceResult = String.Compare(x.NamespaceURI, y.NamespaceURI, StringComparison.Ordinal); 765return String.Compare(x.Name, y.Name, StringComparison.Ordinal);
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (13)
575if (!String.Equals(mapping.Name, contract.Name, StringComparison.Ordinal) || 576!String.Equals(mapping.TargetNamespace, contract.Namespace, StringComparison.Ordinal)) 1015if (configNamespace != null && !configNamespace.Equals(proxyNamespace, StringComparison.Ordinal)) 1055Debug.Assert(originalNamespace.Length == 0 || originalNamespace.EndsWith(".", StringComparison.Ordinal)); 1056Debug.Assert(replacementNamespace.Length == 0 || replacementNamespace.EndsWith(".", StringComparison.Ordinal)); 1059if (typeName.StartsWith(originalNamespace, StringComparison.Ordinal)) 1085else if (!ns.EndsWith(".", StringComparison.Ordinal)) 1676if (String.Equals(proxyNamespace, proxyCodeNamespace.Name, StringComparison.Ordinal)) 1687if (String.Equals(codeAttribute.AttributeType.BaseType, typeof(System.ServiceModel.ServiceContractAttribute).FullName, StringComparison.Ordinal)) 1691if (String.Equals(argument.Name, "ConfigurationName", StringComparison.Ordinal)) 1776if (String.Equals(attribute.Name, type.FullName, StringComparison.Ordinal) || String.Equals(attribute.Name, type.Name, StringComparison.Ordinal)) 1796return String.Equals(language, VB_LANGUAGE_NAME, StringComparison.OrdinalIgnoreCase);
Compilation\WCFModel\WsdlInspector.cs (6)
124int nameDifferent = String.Compare(operationX.Name, operationY.Name, StringComparison.Ordinal); 238int nameDifferent = String.Compare(partX.Name, partY.Name, StringComparison.Ordinal); 386return String.Compare(x.Name, y.Name, StringComparison.Ordinal); 399int namespaceResult = String.Compare(x.Message.Namespace, y.Message.Namespace, StringComparison.Ordinal); 405return String.Compare(x.Message.Name, y.Message.Name, StringComparison.Ordinal); 418return String.Compare(x.Name, y.Name, StringComparison.Ordinal);
Handlers\ScriptModule.cs (1)
49if((path == null) || !path.EndsWith(".axd", StringComparison.OrdinalIgnoreCase)) {
Handlers\ScriptResourceHandler.cs (3)
66scriptResourceName.EndsWith(".debug.js", StringComparison.OrdinalIgnoreCase) ? 237String.Equals(path, ScriptResourceAbsolutePath, StringComparison.OrdinalIgnoreCase); 305if (!AppSettings.ScriptResourceAllowNonJsFiles && !file.Name.EndsWith(".js", StringComparison.OrdinalIgnoreCase)) {
Script\Serialization\JavaScriptObjectDeserializer.cs (2)
224bool hasExponent = input.LastIndexOf("e", StringComparison.OrdinalIgnoreCase) >= 0; 397return String.Equals(next, DateTimePrefix, StringComparison.Ordinal);
Script\Serialization\JavaScriptSerializer.cs (1)
324if (isTypeEntrySet && String.Equals(key, ServerTypeFieldName, StringComparison.Ordinal)) {
Script\Serialization\JavaScriptString.cs (1)
78return _s.IndexOf(substr, _index, StringComparison.CurrentCulture) - _index;
Script\Services\ClientProxyGenerator.cs (6)
220if (!String.IsNullOrEmpty(proxyPath) && (proxyPath.StartsWith("http://", StringComparison.OrdinalIgnoreCase) || proxyPath.StartsWith("https://", StringComparison.OrdinalIgnoreCase))) { 223int domainStart = proxyPath.IndexOf("://", StringComparison.OrdinalIgnoreCase) + "://".Length; 224int domainEnd = proxyPath.IndexOf("/", domainStart, StringComparison.OrdinalIgnoreCase); 239if (!String.IsNullOrEmpty(jsonpParameterName) && !jsonpParameterName.Equals("callback", StringComparison.Ordinal)) { 429int nsIndex = typeName.IndexOf(namespacePart + ".", StringComparison.Ordinal);
Script\Services\RestHandlerFactory.cs (4)
42(request.ContentType.StartsWith("application/json;", StringComparison.OrdinalIgnoreCase) || 43string.Equals(request.ContentType, "application/json", StringComparison.OrdinalIgnoreCase)); 47return string.Equals(pathInfo, ClientDebugProxyRequestPathInfo, StringComparison.OrdinalIgnoreCase); 51return (string.Equals(pathInfo, ClientProxyRequestPathInfo, StringComparison.OrdinalIgnoreCase) ||
Script\Services\WebServiceData.cs (4)
63if (name.Equals(_profileServiceFileName, StringComparison.OrdinalIgnoreCase)) { 66else if (name.Equals(_authenticationServiceFileName, StringComparison.OrdinalIgnoreCase)) { 69else if (name.Equals(_roleServiceFileName, StringComparison.OrdinalIgnoreCase)) { 129else if (virtualPath.EndsWith("_AppService.axd", StringComparison.OrdinalIgnoreCase)) {
UI\ApplicationServiceManager.cs (1)
29if(!string.Equals(serviceUrl, existingUrl, StringComparison.OrdinalIgnoreCase)) {
UI\AsyncPostBackTrigger.cs (1)
132(sourceElement.StartsWith(_associatedControl.UniqueID + "$", StringComparison.Ordinal));
UI\CompositeScriptReference.cs (2)
65if (String.Equals(cultureName, uiCulture.Trim(), StringComparison.OrdinalIgnoreCase)) { 87reference.EffectiveResourceName.StartsWith("MicrosoftAjax.", StringComparison.Ordinal)) {
UI\ControlUtil.cs (8)
64hiddenFieldName.StartsWith("__VIEWSTATE", StringComparison.Ordinal) || 65String.Equals(hiddenFieldName, "__EVENTVALIDATION", StringComparison.Ordinal) || 66String.Equals(hiddenFieldName, "__LASTFOCUS", StringComparison.Ordinal) || 67String.Equals(hiddenFieldName, "__SCROLLPOSITIONX", StringComparison.Ordinal) || 68String.Equals(hiddenFieldName, "__SCROLLPOSITIONY", StringComparison.Ordinal) || 69String.Equals(hiddenFieldName, "__EVENTTARGET", StringComparison.Ordinal) || 70String.Equals(hiddenFieldName, "__EVENTARGUMENT", StringComparison.Ordinal) || 71String.Equals(hiddenFieldName, "__PREVIOUSPAGE", StringComparison.Ordinal);
UI\PageRequestManager.cs (1)
529(_updatePanelRequiresUpdate != null && String.Equals(panel.UniqueID, _updatePanelRequiresUpdate, StringComparison.Ordinal)) ||
UI\ProfileServiceManager.cs (1)
106if (loadProperties && !String.Equals(serviceUrl, defaultServicePath, StringComparison.OrdinalIgnoreCase)) {
UI\RoleServiceManager.cs (1)
93if (loadRoles && !String.Equals(serviceUrl, defaultServicePath, StringComparison.OrdinalIgnoreCase)) {
UI\ScriptManager.cs (6)
1065if (scriptReference.IsAjaxFrameworkScript(this) && (scriptReference.Name.StartsWith("MicrosoftAjax.", StringComparison.OrdinalIgnoreCase) || scriptReference.Name.StartsWith("MicrosoftAjaxCore.", StringComparison.OrdinalIgnoreCase))) { 1913sr.EffectiveResourceName.StartsWith("MicrosoftAjaxApplicationServices.", StringComparison.Ordinal)) { 1939(sr.EffectiveResourceName.StartsWith("MicrosoftAjax.", StringComparison.Ordinal))) && !uniqueScriptDict.Contains(key)) { 1946sr.EffectiveResourceName.StartsWith("MicrosoftAjaxApplicationServices.", StringComparison.Ordinal)) { 2026if (browserCaps.Browser.Equals("IE", StringComparison.OrdinalIgnoreCase)) {
UI\ScriptReference.cs (3)
169if (resourceName.EndsWith(".js", StringComparison.OrdinalIgnoreCase)) { 205if (String.Equals(cultureName, uiCulture.Trim(), StringComparison.OrdinalIgnoreCase)) { 242if (!releaseName.EndsWith(".js", StringComparison.Ordinal)) {
UI\ScriptReferenceBase.cs (2)
177if (!pathWithoutQuery.EndsWith(".js", StringComparison.Ordinal)) { 191Debug.Assert(pathOrName.EndsWith(".js", StringComparison.Ordinal));
UI\ScriptRegistrationManager.cs (1)
672int indexOfScriptEndTag = scriptContent.IndexOf("</script>", indexOfEndOfScriptBeginTag, StringComparison.OrdinalIgnoreCase);
UI\ScriptResourceAttribute.cs (3)
116match.Groups["resourceType"].Value, "ScriptResource", StringComparison.Ordinal); 147if (rawResourceName.EndsWith(".resources", StringComparison.OrdinalIgnoreCase)) { 159if (resourceName.EndsWith(".debug.js", StringComparison.OrdinalIgnoreCase)) {
UI\ScriptResourceDefinition.cs (1)
112if (unsecurePath.StartsWith("http://", StringComparison.OrdinalIgnoreCase)) {
UI\ScriptResourceInfo.cs (3)
43_isDebug = !String.IsNullOrEmpty(_scriptName) && _scriptName.EndsWith(".debug.js", StringComparison.OrdinalIgnoreCase); 123if (String.Equals(wra.WebResource, resourceName, StringComparison.Ordinal)) { 132if (String.Equals(sra.ScriptName, resourceName, StringComparison.Ordinal)) {
UI\WebControls\ContextDataSourceView.cs (1)
146if (String.Equals(members[i].Name, entitySetTypeName, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\DataPager.cs (2)
329IPage.Form.Method.Equals("GET", StringComparison.OrdinalIgnoreCase); 343if (!field.Equals(queryStringField, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\DataSourceHelper.cs (1)
75if (String.Equals(p.Name, parameterName, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\Dynamic.cs (1)
2025return token.id == TokenId.Identifier && String.Equals(id, token.text, StringComparison.OrdinalIgnoreCase);
UI\WebControls\Expressions\SearchExpression.cs (3)
32public StringComparison ComparisonType { 35return o != null ? (StringComparison)o : StringComparison.OrdinalIgnoreCase;
UI\WebControls\LinqDataSourceView.cs (1)
619if (String.Equals(members[i].Name, tableName, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\ListView.cs (10)
1304if (!String.Equals(_updateMethod, value, StringComparison.OrdinalIgnoreCase)) { 1325if (!String.Equals(_deleteMethod, value, StringComparison.OrdinalIgnoreCase)) { 1346if (!String.Equals(_insertMethod, value, StringComparison.OrdinalIgnoreCase)) { 2298if (String.Equals(command, DataControlCommands.SelectCommandName, StringComparison.OrdinalIgnoreCase)) { 2301else if (String.Equals(command, DataControlCommands.SortCommandName, StringComparison.OrdinalIgnoreCase)) { 2304else if (String.Equals(command, DataControlCommands.EditCommandName, StringComparison.OrdinalIgnoreCase)) { 2307else if (String.Equals(command, DataControlCommands.CancelCommandName, StringComparison.OrdinalIgnoreCase)) { 2310else if (String.Equals(command, DataControlCommands.UpdateCommandName, StringComparison.OrdinalIgnoreCase)) { 2313else if (String.Equals(command, DataControlCommands.DeleteCommandName, StringComparison.OrdinalIgnoreCase)) { 2316else if (String.Equals(command, DataControlCommands.InsertCommandName, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\QueryableDataSource.cs (1)
76!String.Equals(viewName, DefaultViewName, StringComparison.OrdinalIgnoreCase)) {
UI\WebResourceUtil.cs (1)
44if (String.Equals(attr.WebResource, resourceName, StringComparison.Ordinal)) {
Util\HeaderUtility.cs (1)
27if (String.Equals(e, expectedEncoding, StringComparison.Ordinal)) {
System.Web.Mobile (139)
Mobile\MobileCapabilities.cs (3)
122StringComparison compareOption = invariantCultureIgnoreCase ? StringComparison.InvariantCultureIgnoreCase : StringComparison.CurrentCulture;
Mobile\UrlPath.cs (1)
37if (url.IndexOf(":", StringComparison.Ordinal) != -1)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (2)
708int i = pattern.IndexOf(FullMonthFormat, StringComparison.Ordinal); 760if (shortDatePattern.IndexOf("yyyy", StringComparison.Ordinal) == -1)
UI\MobileControls\Adapters\ChtmlImageAdapter.cs (1)
32if (source.StartsWith(Constants.SymbolProtocol, StringComparison.Ordinal) &&
UI\MobileControls\Adapters\ChtmlPageAdapter.cs (3)
141else if (String.Compare(request.HttpMethod, "POST", StringComparison.OrdinalIgnoreCase) == 0) 215else if (Constants.UniqueFilePathSuffixVariable.StartsWith(name, StringComparison.Ordinal)) 279int index = name.LastIndexOf(Constants.PagePrefix, StringComparison.Ordinal);
UI\MobileControls\Adapters\HtmlCalendarAdapter.cs (4)
56tagBeginIndex = webCalendarHtml.IndexOf(_selectedDateSearchCellTag, tagBeginIndex, StringComparison.Ordinal); 59int tagEndIndex = webCalendarHtml.IndexOf(">", tagBeginIndex + _bgColorInsertionPointInPattern, StringComparison.Ordinal); 62if (tagComplete.IndexOf(_selectedDateSearchAttr, StringComparison.Ordinal) >= 0) 115index = webCalendarHtml.IndexOf(_selectedDateSearchTableTag, index, StringComparison.Ordinal);
UI\MobileControls\Adapters\HtmlControlAdapter.cs (3)
110(!( (target.StartsWith("http:", StringComparison.Ordinal)) || (target.StartsWith("https:", StringComparison.Ordinal)) )); 116if (target.StartsWith(prefix, StringComparison.Ordinal))
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (2)
540if (eventArgument.StartsWith(ShowMore, StringComparison.Ordinal)) 664String.Compare(defaultCommand, Control.Commands[0].Name, StringComparison.OrdinalIgnoreCase) == 0))
UI\MobileControls\Adapters\HtmlValidationSummaryAdapter.cs (1)
89if (String.Compare(Control.FormToValidate, Control.Form.UniqueID, StringComparison.OrdinalIgnoreCase) != 0)
UI\MobileControls\Adapters\UpWmlMobileTextWriter.cs (2)
434if (_targetUrl.StartsWith(Constants.FormIDPrefix, StringComparison.Ordinal)) 917if (menuTarget.IndexOf(":", StringComparison.Ordinal) >= 0)
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (2)
685int i = pattern.IndexOf(FullMonthFormat, StringComparison.Ordinal); 737if (shortDatePattern.IndexOf("yyyy", StringComparison.Ordinal) == -1)
UI\MobileControls\Adapters\WmlControlAdapter.cs (4)
109if (targetUrl.StartsWith(prefix, StringComparison.Ordinal)) 117bool absoluteUrl = ( (targetUrl.StartsWith("http:", StringComparison.Ordinal)) || (targetUrl.StartsWith("https:", StringComparison.Ordinal)) ); 185if (target.StartsWith(prefix, StringComparison.Ordinal)) // link to another form
UI\MobileControls\Adapters\WmlImageAdapter.cs (1)
65if (source.StartsWith(Constants.SymbolProtocol, StringComparison.Ordinal))
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (4)
870int index = queryString.IndexOf(formsAuthCookieName + "=", StringComparison.Ordinal); 1525if (clientID.StartsWith(unnamedIdPrefix, StringComparison.Ordinal)) { 1532clientID.IndexOf(unnamedIdPrefixWithIdSeparator, unnamedIdPrefixLength, StringComparison.Ordinal) != -1) { 1566name.StartsWith(_shortNamePrefix, StringComparison.Ordinal);
UI\MobileControls\Adapters\WmlObjectListAdapter.cs (2)
306if (eventArgument.StartsWith(_showMore, StringComparison.Ordinal)) 466String.Compare(defaultCommand, Control.Commands[0].Name, StringComparison.OrdinalIgnoreCase) == 0))
UI\MobileControls\Adapters\WmlPageAdapter.cs (3)
307lineEnd = stackTrace.IndexOf("\r\n", lineBegin, StringComparison.Ordinal); 406String.Compare(charset, "utf-8", StringComparison.OrdinalIgnoreCase) != 0) 515String.Compare(charset, "Shift_JIS", StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\Adapters\WmlTextBoxAdapter.cs (1)
105return String.Compare(randomID, "true", StringComparison.OrdinalIgnoreCase) == 0;
UI\MobileControls\Adapters\WmlValidationSummaryAdapter.cs (1)
88if (String.Compare(Control.FormToValidate, Control.Form.UniqueID, StringComparison.OrdinalIgnoreCase) != 0)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (2)
632int i = pattern.IndexOf(FullMonthFormat, StringComparison.Ordinal); 676if (shortDatePattern.IndexOf("yyyy", StringComparison.Ordinal) == -1) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicControlAdapter.cs (11)
41if (url.IndexOf(":", StringComparison.Ordinal) != -1) 174!target.StartsWith("http:", StringComparison.Ordinal) && 175!target.StartsWith("https:", StringComparison.Ordinal); 185if (target.StartsWith(Constants.FormIDPrefix, StringComparison.Ordinal)) { 223Debug.Assert (target.StartsWith (prefix, StringComparison.Ordinal)); 427if (browserCap == null || !String.Equals(browserCap, "false", StringComparison.OrdinalIgnoreCase)) 448if (String.Compare(StyleSheetStorageApplicationSetting, XhtmlConstants.CacheStyleSheetValue, StringComparison.OrdinalIgnoreCase) == 0) { 726pos = queryString.IndexOf(AMP, offset, StringComparison.Ordinal); 753int pos = queryString.IndexOf(name, StringComparison.Ordinal); 755int pos2 = queryString.IndexOf(AMP, pos, StringComparison.Ordinal); 761pos2 = queryString.IndexOf(AMP, StringComparison.Ordinal);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (1)
53if(Control.Action.IndexOf("?", StringComparison.Ordinal) != -1) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (1)
94if (eventArgument.StartsWith(ShowMore, StringComparison.Ordinal)) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (7)
138int index = name.LastIndexOf(Constants.PagePrefix, StringComparison.Ordinal); 208else if (Constants.UniqueFilePathSuffixVariable.StartsWith(name, StringComparison.Ordinal)) { 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\Adapters\XhtmlAdapters\XhtmlBasicTextBoxAdapter.cs (1)
78else if (requiresType != null && String.Equals(requiresType, "true", StringComparison.OrdinalIgnoreCase)) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlCssHandler.cs (1)
31if (cssQueryStringValue.StartsWith(XhtmlConstants.SessionKeyPrefix, StringComparison.Ordinal)) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (1)
199String.Compare(cssClass, (String)_physicalCssClasses.Peek(), StringComparison.Ordinal) != 0;
UI\MobileControls\AdRotator.cs (1)
290relativeUrl.StartsWith(Constants.FormIDPrefix, StringComparison.Ordinal))
UI\MobileControls\CompareValidator.cs (1)
151if (String.Compare(ControlToValidate, ControlToCompare, StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\ControlsConfig.cs (1)
202return String.Compare(allow, "true", StringComparison.OrdinalIgnoreCase) == 0;
UI\MobileControls\Design\Converters\ChoiceConverter.cs (2)
214if (String.Equals(filterName, name, StringComparison.OrdinalIgnoreCase)) { 219else if (e.Current.ToString().StartsWith(name, StringComparison.OrdinalIgnoreCase))
UI\MobileControls\Design\Converters\FontNameConverter.cs (2)
137if (String.Equals(fontName, name, StringComparison.OrdinalIgnoreCase)) { 142else if (fontName.StartsWith(name, StringComparison.OrdinalIgnoreCase)) {
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (3)
95if (null == instanceStyle || 0 != String.Compare(instanceStyle.Name, style.Name, StringComparison.Ordinal)) 114if (null == instanceStyle || 0 != String.Compare(instanceStyle.Name, style.Name, StringComparison.Ordinal)) 132if (String.Equals((String)styleArray[i], preID, StringComparison.OrdinalIgnoreCase)) {
UI\MobileControls\Design\DesignerForm.cs (1)
65if (!String.Equals(rtlText, "RTL_False", StringComparison.Ordinal)) {
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (2)
644if(String.Compare(oldLabel, newLabel, StringComparison.OrdinalIgnoreCase) != 0 653else if(String.Compare(newLabel, _nameOfDefaultFilter, StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\Design\DeviceSpecificDesigner.cs (1)
2800 != String.Compare(_ds.ID, _parentContainer.DeviceSpecific.ID, StringComparison.OrdinalIgnoreCase))
UI\MobileControls\Design\ListComponentEditorPage.cs (2)
139if (String.Compare(node.Name, name, ((!CaseSensitive) ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal)) == 0)
UI\MobileControls\Design\MobileContainerDesigner.cs (10)
502if (childContent.StartsWith("<", StringComparison.Ordinal) && 503!(childContent.StartsWith("</", StringComparison.Ordinal) || (childContent.EndsWith("/>", StringComparison.Ordinal)))) 505if (!childUpperContent.StartsWith("<" + tagPrefix.ToUpper(CultureInfo.InvariantCulture) + ":", StringComparison.Ordinal)) 510else if (childContent.StartsWith("</", StringComparison.Ordinal)) 515childUpperContent.StartsWith("<DEVICESPECIFIC", StringComparison.Ordinal) && 516childUpperContent.EndsWith(">", StringComparison.Ordinal)) 523childUpperContent.StartsWith("<DEVICESPECIFIC", StringComparison.Ordinal) && 524childUpperContent.EndsWith("/>", StringComparison.Ordinal)) 529else if (0 == nestingLevel && 0 == String.Compare(childUpperContent, "</DEVICESPECIFIC>", StringComparison.Ordinal))
UI\MobileControls\Design\MobileControlPersister.cs (2)
723if (!templateContent.StartsWith("\r\n", StringComparison.Ordinal)) { 729if (!templateContent.EndsWith("\r\n", StringComparison.Ordinal)) {
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (1)
714choice.Xmlns.ToLower(CultureInfo.InvariantCulture).IndexOf(_htmlString, StringComparison.Ordinal) != -1;
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))
UI\MobileControls\Design\StyleSheetDesigner.cs (2)
688if (0 == String.Compare(name, reference, StringComparison.OrdinalIgnoreCase)) 802if (CurrentChoice != null && 0 == String.Compare(CurrentStyle.Name, deviceSpecificParentID, StringComparison.OrdinalIgnoreCase))
UI\MobileControls\Design\TemplatingOptionsDialog.cs (6)
284if (0 == String.Compare(_schemasFriendly[i], friendlySchema, StringComparison.OrdinalIgnoreCase)) 296if (0 == String.Compare(_schemasUrl[i], urlSchema, StringComparison.Ordinal)) 385if (String.Compare(str, (String) obj, StringComparison.Ordinal) == 0) 489if (0 != String.Compare(choice.Xmlns, urlSchema, StringComparison.Ordinal)) 497if (0 == String.Compare(choiceTmp.Xmlns, previousUrlSchema, StringComparison.Ordinal)) 508if (0 == String.Compare(_schemasUrl[i], previousUrlSchema, StringComparison.Ordinal))
UI\MobileControls\Design\Util\EditableTreeList.cs (2)
330if(String.Compare(node.Text, label, ((!_caseSensitive) ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal)) == 0)
UI\MobileControls\Design\Util\GenericUI.cs (1)
203return !String.Equals(rtlText, "RTL_False", StringComparison.Ordinal);
UI\MobileControls\Design\Util\SimpleParser.cs (1)
161if (String.Compare(endTag, startTag, StringComparison.OrdinalIgnoreCase) != 0)
UI\MobileControls\Design\Util\WebConfigManager.cs (1)
167if (String.Equals(child.Name, name, StringComparison.Ordinal) &&
UI\MobileControls\DeviceSpecific.cs (1)
376if (String.Compare(tagName, "Choice", StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\DeviceSpecificChoice.cs (2)
159if (String.Equals(propertyName, "id", StringComparison.OrdinalIgnoreCase)) { 170while ((dash = propertyName.IndexOf("-", StringComparison.Ordinal)) != -1)
UI\MobileControls\Link.cs (1)
93if (target.StartsWith(prefix, StringComparison.Ordinal))
UI\MobileControls\ListControlBuilder.cs (1)
30if (String.Compare(tagName, "item", StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\MobileCategoryAttribute.cs (1)
53int index = value.IndexOf(_categoryPrefix, StringComparison.Ordinal);
UI\MobileControls\MobileControl.cs (1)
1157if (text.IndexOf("&nbsp;", StringComparison.Ordinal) != -1)
UI\MobileControls\MobileControlBuilder.cs (1)
44if (String.Compare(tagName, typeof(DeviceSpecific).Name, StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\MobilePage.cs (8)
570i = queryStringText.IndexOf(elementName, i, StringComparison.Ordinal); 751bool queryStringWritten = url.IndexOf("?", StringComparison.Ordinal) != -1 ? true : false; 941if (key.StartsWith(HiddenVariablePrefix, StringComparison.Ordinal)) 1271if (String.Compare(Request.HttpMethod, "GET", StringComparison.OrdinalIgnoreCase) == 0) 1512if (name.StartsWith(systemPostFieldPrefix, StringComparison.Ordinal)) 1520name.StartsWith(HiddenVariablePrefix, StringComparison.Ordinal)) 1528if (controlId.EndsWith(".x", StringComparison.Ordinal) || 1529controlId.EndsWith(".y", StringComparison.Ordinal))
UI\MobileControls\ObjectList.cs (2)
1575if (String.Compare(tagName, "Field", StringComparison.OrdinalIgnoreCase) == 0) 1579else if (String.Compare(tagName, "Command", StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\ObjectListCommandCollection.cs (1)
133if (String.Compare(command.Name, s, StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\ObjectListFieldCollection.cs (1)
184if (id != null && String.Compare(id, fieldIDOrName, StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\PersistNameAttribute.cs (1)
53return(String.Compare(((PersistNameAttribute)obj).Name, _name, StringComparison.OrdinalIgnoreCase) == 0);
UI\MobileControls\PhoneCall.cs (1)
166if (target.StartsWith(prefix, StringComparison.Ordinal))
UI\MobileControls\Style.cs (1)
285String.Equals(reference, _referredStyle.Name, StringComparison.OrdinalIgnoreCase),
UI\MobileControls\StyleSheet.cs (3)
135if (!String.Equals(name, value.Name, StringComparison.OrdinalIgnoreCase)) { 253String.Compare(ss.ResolvedPath, resolvedPath, StringComparison.OrdinalIgnoreCase) == 0) 750if (lowerCaseName.EndsWith(":style", StringComparison.Ordinal))
UI\MobileControls\ValidationSummary.cs (1)
147String.Compare(Form.UniqueID, FormToValidate, StringComparison.OrdinalIgnoreCase) == 0)
System.Web.Services (47)
System\Web\Services\Configuration\WsdlHelpGeneratorElement.cs (4)
103if (!tempVirtualPath.EndsWith("/", StringComparison.Ordinal)) 131if ((tempVirtualPath != null) && !tempVirtualPath.EndsWith("/", StringComparison.Ordinal)) 159if ((this.virtualPath != null) && (!this.virtualPath.EndsWith("/", StringComparison.Ordinal))) 163if ((this.actualPath != null) && (!this.actualPath.EndsWith(@"\", StringComparison.Ordinal)))
System\Web\Services\Description\HttpProtocolReflector.cs (1)
71if (typeNs.EndsWith("/", StringComparison.Ordinal))
System\Web\Services\Description\MimeFormImporter.cs (1)
15if (string.Compare(mimeContentBinding.Type, HtmlFormParameterReader.MimeType, StringComparison.OrdinalIgnoreCase) != 0) return null;
System\Web\Services\Description\ServiceDescriptionImporter.cs (1)
210if (string.Compare(ProtocolName, importer.ProtocolName, StringComparison.OrdinalIgnoreCase) == 0) {
System\Web\Services\Description\Soap12ProtocolImporter.cs (1)
47iStart = uriList.IndexOf(Soap12.Encoding, iStart, StringComparison.Ordinal);
System\Web\Services\Description\SoapProtocolImporter.cs (2)
1082hasWrapper = (parts.Length == 1 && string.Compare(parts[0].Name, "parameters", StringComparison.Ordinal) == 0); 1093iStart = uriList.IndexOf(Soap.Encoding, iStart, StringComparison.Ordinal);
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (5)
186if (0 == string.Compare(refType, typeof(ContractReference).FullName, StringComparison.Ordinal)) { 189else if (0 == string.Compare(refType, typeof(SchemaReference).FullName, StringComparison.Ordinal)) { 192else if (0 == string.Compare(refType, typeof(DiscoveryDocumentReference).FullName, StringComparison.Ordinal)) { 454if (currentDir.Length <= fullPath.Length && string.Compare(currentDir, fullPath.Substring(0, currentDir.Length), StringComparison.OrdinalIgnoreCase) == 0) { 456if (answer.StartsWith("\\", StringComparison.Ordinal))
System\Web\Services\Discovery\DiscoveryDocumentReference.cs (1)
203&& alternate != null && string.Compare(alternate, "yes", StringComparison.OrdinalIgnoreCase) == 0
System\Web\Services\Discovery\DynamicDiscoSearcher.cs (1)
155if ( String.Compare(file.Name, fileToSkipFirst, StringComparison.OrdinalIgnoreCase) == 0 ) { // ignore case compare
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (3)
115if ( !dir.StartsWith(rootPathAsdi, StringComparison.Ordinal) ) { 174if (hostname.Length == 0 || string.Compare(hostname, uri.Host, StringComparison.OrdinalIgnoreCase) == 0) 178if (ip.Length == 0 || string.Compare(ip, uri.Host, StringComparison.OrdinalIgnoreCase) == 0)
System\Web\Services\Discovery\LinkGrep.cs (5)
89if (String.Compare(tag, "link", StringComparison.OrdinalIgnoreCase) == 0) { 100if (String.Compare(attrName, "type", StringComparison.OrdinalIgnoreCase) == 0 && 104else if (String.Compare(attrName, "rel", StringComparison.OrdinalIgnoreCase) == 0 && 105String.Compare(attrValue, "alternate", StringComparison.OrdinalIgnoreCase) == 0) { 108else if (String.Compare(attrName, "href", StringComparison.OrdinalIgnoreCase) == 0) {
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (4)
215string.Compare(queryString, "wsdl", StringComparison.OrdinalIgnoreCase) != 0 && 216string.Compare(queryString, "disco", StringComparison.OrdinalIgnoreCase) != 0) 300if (queryString != null && string.Compare(queryString, "wsdl", StringComparison.OrdinalIgnoreCase) == 0) { 317if (queryString != null && string.Compare(queryString, "disco", StringComparison.OrdinalIgnoreCase) == 0) {
System\Web\Services\Protocols\HttpServerProtocol.cs (1)
114if (String.Compare(method.name, name, StringComparison.OrdinalIgnoreCase) == 0)
System\Web\Services\Protocols\LogicalMethodInfo.cs (2)
468methodInfo.Name.StartsWith("Begin", StringComparison.Ordinal); 479methodInfo.Name.StartsWith("End", StringComparison.Ordinal);
System\Web\Services\Protocols\Scalars.cs (8)
235if (String.Compare(paramDecl, 0, paramName, 0, paramName.Length, StringComparison.OrdinalIgnoreCase) == 0) { 245return string.Compare(GetBase(contentType), baseContentType, StringComparison.OrdinalIgnoreCase) == 0; 249return string.Compare(GetMediaType(contentType), ApplicationBase, StringComparison.OrdinalIgnoreCase) == 0; 254return (String.Compare(type, ContentType.TextXml, StringComparison.OrdinalIgnoreCase) == 0) || 255(String.Compare(type, ContentType.ApplicationSoap, StringComparison.OrdinalIgnoreCase) == 0); 260return (String.Compare(type, ContentType.TextXml, StringComparison.OrdinalIgnoreCase) == 0) || 261(String.Compare(type, ContentType.ApplicationXml, StringComparison.OrdinalIgnoreCase) == 0); 266return String.Compare(type, ContentType.TextHtml, StringComparison.OrdinalIgnoreCase) == 0;
System\Web\Services\Protocols\Soap11ServerProtocol.cs (2)
53if (methodUriString.StartsWith("\"", StringComparison.Ordinal) && methodUriString.EndsWith("\"", StringComparison.Ordinal))
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
849int colon = qnameValue.IndexOf(":", StringComparison.Ordinal);
System\Web\Services\Protocols\SoapReflector.cs (4)
99return string.Compare(((SoapHeaderAttribute)x).MemberName, ((SoapHeaderAttribute)y).MemberName, StringComparison.Ordinal); 139if (ns.EndsWith("/", StringComparison.Ordinal)) 147if (ns.EndsWith("/", StringComparison.Ordinal)) 572if (defaultNs.EndsWith("/", StringComparison.Ordinal))
System.Windows.Forms (82)
misc\DpiHelper.cs (1)
82if (!string.IsNullOrEmpty(value) && string.Equals(value, "true", StringComparison.InvariantCultureIgnoreCase))
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
128if (key.Equals(c_versionKey, StringComparison.OrdinalIgnoreCase)) 148else if (key.Equals(c_profileKey, StringComparison.OrdinalIgnoreCase))
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (7)
368String.Compare(snIdValue, "StrongNameSignature", StringComparison.Ordinal) != 0) { 405else if (String.Compare(algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) != 0) { 412else if (String.Compare(algorithm, SignedXml.XmlDsigEnvelopedSignatureTransformUrl, StringComparison.Ordinal) != 0) { 422else if (String.Compare(uriValue, "#StrongNameKeyInfo", StringComparison.Ordinal) == 0) { 444else if (String.Compare(algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) != 0) { 621if (String.Compare(publisherName, signerCert.SubjectName.Name, StringComparison.Ordinal) != 0 || 622String.Compare(publisherIssuerKeyHash, issuerKeyHash, StringComparison.Ordinal) != 0) {
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (17)
478if (subjectNode == null || String.Compare(signingCertificate.Subject, subjectNode.InnerText, StringComparison.Ordinal) != 0) 605String.Compare(snIdValue, signatureKind, StringComparison.Ordinal) != 0) 650else if (String.Compare(algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) != 0) 659else if (String.Compare(algorithm, SignedXml.XmlDsigEnvelopedSignatureTransformUrl, StringComparison.Ordinal) != 0) 671else if (String.Compare(uriValue, "#StrongNameKeyInfo", StringComparison.Ordinal) == 0) 698else if (String.Compare(algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) != 0) 796if (0 == string.Compare(cao.Oid.Value, Win32.szOID_RSA_signingTime, StringComparison.Ordinal)) 800if (0 == string.Compare(d.Oid.Value, Win32.szOID_RSA_signingTime, StringComparison.Ordinal)) 878if ((time == null) && (0 == string.Compare(cao.Oid.Value, Win32.szOID_RSA_signingTime, StringComparison.Ordinal))) 882if (0 == string.Compare(d.Oid.Value, Win32.szOID_RSA_signingTime, StringComparison.Ordinal)) 890else if ((messageDigest == null) && (0 == string.Compare(cao.Oid.Value, Win32.szOID_RSA_messageDigest, StringComparison.Ordinal))) 894if (0 == string.Compare(d.Oid.Value, Win32.szOID_RSA_messageDigest, StringComparison.Ordinal)) 1084if (hash.Trim().Equals(publisherIssuerKeyHash, StringComparison.OrdinalIgnoreCase)) 1106if (0 == string.Compare(Win32.szOID_KP_LIFETIME_SIGNING, oid.Value, StringComparison.Ordinal)) 1232if (String.Compare(publisherName, signerCert.SubjectName.Name, StringComparison.Ordinal) != 0 || 1233String.Compare(publisherIssuerKeyHash, issuerKeyHash, StringComparison.Ordinal) != 0) 1471if (!oldCsp.CspKeyContainerInfo.ProviderName.StartsWith("Microsoft", StringComparison.Ordinal))
winforms\Managed\System\Resources\ResXDataNode.cs (3)
887if (!string.Equals(newTypeName, serializedType.FullName, StringComparison.InvariantCulture)) { 1019if (string.Compare(assemblyName.Name, names[i].Name, StringComparison.OrdinalIgnoreCase) == 0) { 1069return assemblyPath != null && assemblyPath.StartsWith(NetFrameworkPath, StringComparison.OrdinalIgnoreCase);
winforms\Managed\System\Resources\ResXResourceWriter.cs (1)
580if((type == null && mimeType == null) || (type != null && type.StartsWith("System.Char", StringComparison.Ordinal))) {
winforms\Managed\System\WinForms\Application.cs (2)
1406if (String.Equals(process.MainModule.ModuleName, IEEXEC, StringComparison.OrdinalIgnoreCase)) 1422if (String.Equals(clrPath + "\\" + IEEXEC, process.MainModule.FileName, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\Binding.cs (3)
536if(tempPropInfo==null && String.Equals (propInfos[i].Name, propertyName, StringComparison.OrdinalIgnoreCase)) { 541if(tempPropIsNullInfo == null && String.Equals (propInfos[i].Name, propertyNameIsNull, StringComparison.OrdinalIgnoreCase)) { 567if(tempValidateInfo==null && String.Equals (eventInfos[i].Name, validateName, StringComparison.OrdinalIgnoreCase)) {
winforms\Managed\System\WinForms\BindingMemberInfo.cs (1)
76return (String.Equals(this.BindingMember, otherMember.BindingMember, StringComparison.OrdinalIgnoreCase));
winforms\Managed\System\WinForms\BindingSource.cs (2)
214if (String.Equals(key, dataMember, StringComparison.OrdinalIgnoreCase)) { 320if (String.Equals(value, this.InnerListFilter, StringComparison.Ordinal)) {
winforms\Managed\System\WinForms\ControlBindingsCollection.cs (1)
64if (String.Equals(binding.PropertyName, propertyName, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\Cursor.cs (1)
60if (String.Equals(sie.Name, "CursorData", StringComparison.OrdinalIgnoreCase) ){
winforms\Managed\System\WinForms\CursorConverter.cs (1)
67if (string.Equals(prop.Name, text, StringComparison.OrdinalIgnoreCase) ){
winforms\Managed\System\WinForms\DataFormats.cs (1)
215if (String.Equals(formatList[n].Name, format, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (2)
207if (String.Equals(column.MappingName, columnName, StringComparison.OrdinalIgnoreCase)) 219if (String.Equals(column.MappingName, mappingName, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\DataGridTableCollection.cs (1)
170if (String.Equals(table.MappingName, tableName, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (1)
130if (!string.Equals(value, this.text, StringComparison.Ordinal))
winforms\Managed\System\WinForms\DataGridViewCell.cs (4)
1582if (String.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 1614bool csv = String.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase); 1616String.Equals(format, DataFormats.Text, StringComparison.OrdinalIgnoreCase) || 1617String.Equals(format, DataFormats.UnicodeText, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\DataGridViewColumn.cs (1)
875if (this.DataGridView != null && !string.Equals(this.name, oldName,StringComparison.Ordinal))
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (1)
227if (String.Equals(dataGridViewColumn.Name, columnName, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (4)
162if (String.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 191bool csv = String.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase); 193String.Equals(format, DataFormats.Text, StringComparison.OrdinalIgnoreCase) || 194String.Equals(format, DataFormats.UnicodeText, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (1)
348if (String.Equals(column.DataPropertyName, sortField.Name, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
505if (String.Equals(themeFilename, AEROTHEMEFILENAME, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\DataGridViewLinkColumn.cs (1)
202if (!string.Equals(value, this.text, StringComparison.Ordinal))
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
7483if (String.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 7755if (String.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 8198if (String.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (4)
235if (String.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 266bool csv = String.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase); 268String.Equals(format, DataFormats.Text, StringComparison.OrdinalIgnoreCase) || 269String.Equals(format, DataFormats.UnicodeText, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\FormCollection.cs (1)
36if (string.Equals(form.Name, name, StringComparison.OrdinalIgnoreCase)) {
winforms\Managed\System\WinForms\ImageListStreamer.cs (1)
53if (String.Equals(sie.Name, "Data", StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\LinkUtilities.cs (3)
66if (string.Equals(name, IEAnchorColor, StringComparison.OrdinalIgnoreCase)) { 69else if (string.Equals(name, IEAnchorColorVisited, StringComparison.OrdinalIgnoreCase)) { 72else if (string.Equals(name, IEAnchorColorHover, StringComparison.OrdinalIgnoreCase)) {
winforms\Managed\System\WinForms\ListView.cs (1)
3202if (String.Equals(text,lvsi.Text, StringComparison.OrdinalIgnoreCase)) {
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (3)
1524if (string.Equals(lunaFileName, themeFileName, StringComparison.OrdinalIgnoreCase)) { 1544else if (string.Equals(aeroFileName, themeFileName, StringComparison.OrdinalIgnoreCase)) { 1560else if (string.Equals(royaleFileName, themeFileName,StringComparison.OrdinalIgnoreCase)) {
winforms\Managed\System\WinForms\SendKeys.cs (3)
290if (value.Equals("JournalHook", StringComparison.OrdinalIgnoreCase)) 292else if (value.Equals("SendInput", StringComparison.OrdinalIgnoreCase)) 348if (String.Equals(keywords[i].keyword, keyword, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\ToolStripManager.cs (2)
164if (ToolStrips[i] != null && String.Equals(((ToolStrip)ToolStrips[i]).Name, toolStripName, StringComparison.Ordinal)) { 183if (ToolStrips[i] != null && String.Equals(((ToolStrip)ToolStrips[i]).Name, toolStripName, StringComparison.Ordinal))
winforms\Managed\System\WinForms\TrustManager.cs (1)
237if (!String.Equals(element.Tag, "IApplicationTrustManager", StringComparison.Ordinal))
System.Windows.Forms.DataVisualization (350)
Common\Annotation\AnnotationBase.cs (2)
3278int separatorIndex = dataPointName.IndexOf("\\r", StringComparison.Ordinal); 3311int separatorIndex = axisName.IndexOf("\\r", StringComparison.Ordinal);
Common\ChartTypes\BarChart.cs (15)
370 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase ) == 0) 374else if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 378else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 875if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 877if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 879if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 881else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0) 1228if (String.Compare(emptyPointValue, "Zero", StringComparison.OrdinalIgnoreCase) == 0) 1339 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 1343 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 1347 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 1901if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1903else if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1905else if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1907else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\BoxPlotChart.cs (22)
265 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 283 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0 ) 287else if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 291else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 466 if(String.Compare( showAverageValue, "True", StringComparison.OrdinalIgnoreCase ) == 0 ) 470 else if(String.Compare( showAverageValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 522 if(String.Compare(showMedianValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 526 else if(String.Compare(showMedianValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 751 if(markerStyle.Length > 0 && String.Compare(markerStyle, "None", StringComparison.OrdinalIgnoreCase ) != 0) 778if (String.Compare(markerStyle, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1035 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1052 if(String.Compare( attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 1056else if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 1060else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 1253 if(String.Compare(showAverageValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 1257 else if(String.Compare(showAverageValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 1302 if(String.Compare( showMedianValue, "True", StringComparison.OrdinalIgnoreCase ) == 0) 1306 else if(String.Compare(showMedianValue, "False", StringComparison.OrdinalIgnoreCase ) == 0) 1551 if(String.Compare( boxPlotSeries.ChartTypeName, ChartTypeNames.BoxPlot, StringComparison.OrdinalIgnoreCase) != 0) 1581 int valueTypeIndex = linkedSeriesName.IndexOf(":", StringComparison.OrdinalIgnoreCase); 1715 if(String.Compare(showUnusualValues, "True", StringComparison.OrdinalIgnoreCase ) == 0) 1719 else if(String.Compare(showUnusualValues, "False", StringComparison.OrdinalIgnoreCase ) == 0)
Common\ChartTypes\BubbleChart.cs (5)
258 if(String.Compare(ser[CustomPropertyName.BubbleUseSizeForLabel], "true", StringComparison.OrdinalIgnoreCase) == 0) 358 if( String.Compare( ser.ChartTypeName, ChartTypeNames.Bubble, StringComparison.OrdinalIgnoreCase) == 0 && 385 if(String.Compare(ser[CustomPropertyName.BubbleUseSizeForLabel], "true", StringComparison.OrdinalIgnoreCase) == 0) 400 if( String.Compare(ser.ChartTypeName, ChartTypeNames.Bubble, StringComparison.OrdinalIgnoreCase) == 0 476 if( String.Compare( ser.ChartTypeName, ChartTypeNames.Bubble, StringComparison.OrdinalIgnoreCase) == 0 &&
Common\ChartTypes\ColumnChart.cs (6)
281 if(String.Compare( attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0 ) 285 else if(String.Compare( attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 289 else if(String.Compare( attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 678 if(String.Compare( attribValue, "False", StringComparison.OrdinalIgnoreCase)==0) 682 else if(String.Compare( attribValue, "True", StringComparison.OrdinalIgnoreCase)==0) 686 else if(String.Compare( attribValue, "Auto", StringComparison.OrdinalIgnoreCase)==0)
Common\ChartTypes\ErrorBarChart.cs (41)
312 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 340 int valueTypeIndex = linkedSeriesName.IndexOf(":", StringComparison.Ordinal); 363 if(String.Compare(linkedSeriesChartType, ChartTypeNames.Column, StringComparison.OrdinalIgnoreCase) ==0 364|| String.Compare(linkedSeriesChartType, ChartTypeNames.RangeColumn, StringComparison.OrdinalIgnoreCase) == 0 374 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 378 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 382 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 414 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) ==0) 418 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) ==0) 428 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) ==0) 506if(String.Compare( errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase ) == 0) 510 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase ) == 0) 516 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase ) == 0) 656 if(String.Compare(errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase) == 0) 660 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase) == 0) 665 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase) == 0) 819 if(markerStyle.Length > 0 && String.Compare(markerStyle, "None", StringComparison.OrdinalIgnoreCase) != 0) 839 if(String.Compare(markerStyle, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1091 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1122int valueTypeIndex = attribValue.IndexOf(":", StringComparison.Ordinal); 1143 if(String.Compare(linkedSeriesChartType, ChartTypeNames.Column, StringComparison.OrdinalIgnoreCase ) == 0 1144|| String.Compare(linkedSeriesChartType, ChartTypeNames.RangeColumn, StringComparison.OrdinalIgnoreCase) == 0 1154 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase ) == 0) 1158 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase ) == 0) 1162 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase ) == 0) 1258 if(String.Compare(errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase) == 0) 1262 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase) == 0) 1268 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase) == 0) 1426 if(String.Compare(errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase ) == 0) 1430 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase ) == 0) 1435 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase ) == 0) 1606 if(String.Compare(errorBarSeries.ChartTypeName, ChartTypeNames.ErrorBar, StringComparison.OrdinalIgnoreCase) != 0 ) 1624 if(typeName.StartsWith("FixedValue", StringComparison.OrdinalIgnoreCase)) 1628 else if(typeName.StartsWith("Percentage", StringComparison.OrdinalIgnoreCase)) 1632 else if(typeName.StartsWith("StandardDeviation", StringComparison.OrdinalIgnoreCase)) 1636 else if(typeName.StartsWith("StandardError", StringComparison.OrdinalIgnoreCase)) 1640 else if(typeName.StartsWith("None", StringComparison.OrdinalIgnoreCase)) 1654if (!typeName.StartsWith("(", StringComparison.Ordinal) || !typeName.EndsWith(")", StringComparison.Ordinal)) 1801 if(String.Compare(errorBarSeries.ChartTypeName, ChartTypeNames.ErrorBar, StringComparison.OrdinalIgnoreCase) != 0 || errorBarSeries.Chart == null) 1815 int valueTypeIndex = linkedSeriesName.IndexOf(":", StringComparison.Ordinal);
Common\ChartTypes\KagiChart.cs (3)
108if (String.Compare(series.ChartTypeName, ChartTypeNames.Kagi, StringComparison.OrdinalIgnoreCase) != 0 || !series.IsVisible()) 214 if(series.Name.StartsWith("KAGI_ORIGINAL_DATA_", StringComparison.Ordinal)) 289bool usePercentage = attrValue.EndsWith("%", StringComparison.Ordinal);
Common\ChartTypes\LineChart.cs (2)
1391 if(String.Compare(pointAttr.dataPoint[CustomPropertyName.ShowMarkerLines], "TRUE", StringComparison.OrdinalIgnoreCase) == 0) 1400if (String.Compare(pointAttr.dataPoint.series[CustomPropertyName.ShowMarkerLines], "TRUE", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\PieChart.cs (33)
282 if( String.Compare(series.ChartTypeName, ChartTypeNames.Pie, StringComparison.OrdinalIgnoreCase ) != 0 && 283 String.Compare(series.ChartTypeName, ChartTypeNames.Doughnut, StringComparison.OrdinalIgnoreCase ) != 0 351 if(string.Compare(series[CustomPropertyName.CollectedThresholdUsePercent], "True", StringComparison.OrdinalIgnoreCase) == 0) 355else if (string.Compare(series[CustomPropertyName.CollectedThresholdUsePercent], "False", StringComparison.OrdinalIgnoreCase) == 0) 478 if(series.Name.StartsWith("PIE_ORIGINAL_DATA_", StringComparison.Ordinal)) 831 if( String.Compare(explodedAttrib,"true", StringComparison.OrdinalIgnoreCase) == 0 ) 1107 if( String.Compare(labelStyleAttrib,"disabled",StringComparison.OrdinalIgnoreCase) == 0 ) 1109else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1119if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1121else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1133if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1135else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1146if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1148else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1528if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1530else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1540if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1542else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1554if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1556else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1566if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1568else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1606 if( String.Compare(labelStyleAttrib,"disabled", StringComparison.OrdinalIgnoreCase) == 0 ) 1608else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1618if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1620else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1632if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1634else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1644if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1646else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 2436 if( String.Compare(explodedAttrib,"true",StringComparison.OrdinalIgnoreCase) == 0 ) 2572 if( String.Compare(explodedAttrib,"true",StringComparison.OrdinalIgnoreCase) == 0 ) 5623String.Equals(point.series.GetCustomProperty(CustomPropertyName.PieAutoAxisLabels), "false", StringComparison.OrdinalIgnoreCase))
Common\ChartTypes\PointAndFigureChart.cs (5)
124 if(String.Compare( series.ChartTypeName, ChartTypeNames.PointAndFigure, StringComparison.OrdinalIgnoreCase ) != 0 || !series.IsVisible()) 238 if(series.Name.StartsWith("POINTANDFIGURE_ORIGINAL_DATA_", StringComparison.Ordinal)) 378bool usePercentage = attrValue.EndsWith("%", StringComparison.Ordinal); 710 if(series.Name.StartsWith("POINTANDFIGURE_ORIGINAL_DATA_", StringComparison.Ordinal)) 718 if(attrValue != null && String.Compare( attrValue, "True", StringComparison.OrdinalIgnoreCase ) != 0 )
Common\ChartTypes\PointChart.cs (11)
724if (String.Compare(attrib, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 728else if (String.Compare(attrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 732else if (String.Compare(attrib, "Bottom", StringComparison.OrdinalIgnoreCase) == 0) 736else if (String.Compare(attrib, "TopLeft", StringComparison.OrdinalIgnoreCase) == 0) 740else if (String.Compare(attrib, "TopRight", StringComparison.OrdinalIgnoreCase) == 0) 744else if (String.Compare(attrib, "BottomLeft", StringComparison.OrdinalIgnoreCase) == 0) 748else if (String.Compare(attrib, "BottomRight", StringComparison.OrdinalIgnoreCase) == 0) 752else if (String.Compare(attrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 756else if (String.Compare(attrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 760else if (String.Compare(attrib, "Top", StringComparison.OrdinalIgnoreCase) == 0) 1562 if( String.Compare(emptyPointValue, "Zero", StringComparison.OrdinalIgnoreCase) == 0 )
Common\ChartTypes\PolarChart.cs (2)
210 if(String.Compare(attributeValue, "Line", StringComparison.OrdinalIgnoreCase ) == 0) 214 else if(String.Compare(attributeValue, "Marker", StringComparison.OrdinalIgnoreCase ) == 0)
Common\ChartTypes\RadarChart.cs (14)
1091if (String.Compare(attrib, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 1095else if (String.Compare(attrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1099else if (String.Compare(attrib, "Bottom", StringComparison.OrdinalIgnoreCase) == 0) 1103else if (String.Compare(attrib, "TopLeft", StringComparison.OrdinalIgnoreCase) == 0) 1107else if (String.Compare(attrib, "TopRight", StringComparison.OrdinalIgnoreCase) == 0) 1111else if (String.Compare(attrib, "BottomLeft", StringComparison.OrdinalIgnoreCase) == 0) 1115else if (String.Compare(attrib, "BottomRight", StringComparison.OrdinalIgnoreCase) == 0) 1119else if (String.Compare(attrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1123else if (String.Compare(attrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1127else if (String.Compare(attrib, "Top", StringComparison.OrdinalIgnoreCase) == 0) 1350 if(String.Compare(attributeValue, "Area", StringComparison.OrdinalIgnoreCase) == 0 ) 1354else if (String.Compare(attributeValue, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1358 else if(String.Compare(attributeValue, "Marker", StringComparison.OrdinalIgnoreCase) == 0) 1458 if( String.Compare(emptyPointValue, "Zero", StringComparison.OrdinalIgnoreCase) == 0 )
Common\ChartTypes\RenkoChart.cs (3)
115 if( String.Compare( series.ChartTypeName, ChartTypeNames.Renko, StringComparison.OrdinalIgnoreCase ) != 0 || !series.IsVisible()) 219if (series.Name.StartsWith("RENKO_ORIGINAL_DATA_", StringComparison.Ordinal)) 305 bool usePercentage = attrValue.EndsWith("%", StringComparison.Ordinal);
Common\ChartTypes\StackedAreaChart.cs (10)
277if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 463 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 808 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 914 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1244 if(String.Compare(ser.Name, secondPoint.dataPoint.series.Name, StringComparison.Ordinal) == 0) 1259 if(String.Compare(ser.ChartTypeName, secondPoint.dataPoint.series.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0) 1262if (pointProperties != null && String.Compare(ser.Name, secondPoint.dataPoint.series.Name, StringComparison.Ordinal) == 0) 1624 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1625String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1647if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\StackedBarChart.cs (20)
235 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 236String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 279if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 540 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 570 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 592 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 659 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 992 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 1000 int index = stackGroupName.IndexOf("__", StringComparison.Ordinal); 1113if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1115else if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1117else if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1119else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0) 1287 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1288String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1320if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 1860if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1862else if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1864else if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1866else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\StackedColumnChart.cs (13)
230 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 231String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 274if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 547 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 577 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 599 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 669 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 998 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 1006 int index = stackGroupName.IndexOf("__", StringComparison.Ordinal); 1043if (String.Compare(series.ChartTypeName, chartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1330 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1331String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1363if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\StockChart.cs (17)
336 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 685 if(String.Compare(styleType, "Candlestick", StringComparison.OrdinalIgnoreCase) == 0) 689else if (String.Compare(styleType, "Triangle", StringComparison.OrdinalIgnoreCase) == 0) 693else if (String.Compare(styleType, "Line", StringComparison.OrdinalIgnoreCase) == 0) 714 if(String.Compare(showOpenClose, "Both", StringComparison.OrdinalIgnoreCase) == 0) 719else if (String.Compare(showOpenClose, "Open", StringComparison.OrdinalIgnoreCase) == 0) 724else if (String.Compare(showOpenClose, "Close", StringComparison.OrdinalIgnoreCase) == 0) 966if (String.Compare(valueType, "High", StringComparison.OrdinalIgnoreCase) == 0) 970else if (String.Compare(valueType, "Low", StringComparison.OrdinalIgnoreCase) == 0) 974else if (String.Compare(valueType, "Open", StringComparison.OrdinalIgnoreCase) == 0) 1134 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1510 if(String.Compare(styleType, "Candlestick", StringComparison.OrdinalIgnoreCase) == 0) 1514else if (String.Compare(styleType, "Triangle", StringComparison.OrdinalIgnoreCase) == 0) 1518else if (String.Compare(styleType, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1539 if(String.Compare(showOpenClose, "Both", StringComparison.OrdinalIgnoreCase) == 0) 1544else if (String.Compare(showOpenClose, "Open", StringComparison.OrdinalIgnoreCase) == 0) 1549else if (String.Compare(showOpenClose, "Close", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\ThreeLineBreakChart.cs (2)
117 if(String.Compare(series.ChartTypeName, ChartTypeNames.ThreeLineBreak, StringComparison.OrdinalIgnoreCase ) != 0 || !series.IsVisible()) 220if (series.Name.StartsWith("THREELINEBREAK_ORIGINAL_DATA_", StringComparison.Ordinal))
Common\Converters\AxisConverters.cs (6)
313if (String.Compare(crossingValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 317else if (String.Compare(crossingValue, Constants.MinValue, StringComparison.OrdinalIgnoreCase) == 0) 321else if (String.Compare(crossingValue, Constants.MaxValue, StringComparison.OrdinalIgnoreCase) == 0) 513if (String.Compare(crossingValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 661if (String.Compare(crossingValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 665else if (String.Compare(crossingValue, Constants.NotSetValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\Converters\CustomAttributesConverters.cs (2)
414if (attrInfo.Name.Equals(CustomPropertyName.ErrorBarType, StringComparison.Ordinal)) 625 return (String.Compare(val, defaultValue, StringComparison.Ordinal) == 0);
Common\Converters\ElementPositionConverter.cs (1)
113if (String.Compare(posValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\Converters\LegendConverters.cs (2)
290if (String.Compare(stringValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 490if (String.Compare(stringValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\DataManager\DataPoint.cs (26)
174 if(String.Compare(sortBy, "X", StringComparison.Ordinal) == 0) 178else if (String.Compare(sortBy, "Y", StringComparison.Ordinal) == 0) 182else if (String.Compare(sortBy, "AXISLABEL", StringComparison.Ordinal) == 0) 187 sortBy.StartsWith("Y", StringComparison.Ordinal) && 230result = string.Compare(x.AxisLabel, y.AxisLabel, StringComparison.CurrentCulture); 1654bool isYValue = useValue.StartsWith("Y", StringComparison.OrdinalIgnoreCase); 1710bool isYValue = useValue.StartsWith("Y", StringComparison.OrdinalIgnoreCase); 1968 if(String.Compare(propertyName, "AxisLabel", StringComparison.OrdinalIgnoreCase) == 0) 1972else if (String.Compare(propertyName, "Tooltip", StringComparison.OrdinalIgnoreCase) == 0) 1977 else if(String.Compare(propertyName, "Url", StringComparison.OrdinalIgnoreCase) == 0) 1981else if (String.Compare(propertyName, "PostBackValue", StringComparison.OrdinalIgnoreCase) == 0) 1985else if (String.Compare(propertyName, "LabelUrl", StringComparison.OrdinalIgnoreCase) == 0) 1989else if (String.Compare(propertyName, "LabelPostBackValue", StringComparison.OrdinalIgnoreCase) == 0) 1993else if (String.Compare(propertyName, "LegendUrl", StringComparison.OrdinalIgnoreCase) == 0) 1997else if (String.Compare(propertyName, "LegendPostBackValue", StringComparison.OrdinalIgnoreCase) == 0) 2002else if (String.Compare(propertyName, "Label", StringComparison.OrdinalIgnoreCase) == 0) 2006else if (String.Compare(propertyName, "LegendTooltip", StringComparison.OrdinalIgnoreCase) == 0) 2010else if (String.Compare(propertyName, "LegendText", StringComparison.OrdinalIgnoreCase) == 0) 2014else if (String.Compare(propertyName, "LabelToolTip", StringComparison.OrdinalIgnoreCase) == 0) 2396 if(String.Compare(valueName, "X", StringComparison.Ordinal) == 0) 2400else if (valueName.StartsWith("Y", StringComparison.Ordinal)) 2561while ((keyIndex = result.IndexOf(keyword, StringComparison.Ordinal)) != -1) 2597while ((keyStartIndex = result.IndexOf(KeywordName.CustomProperty, StringComparison.Ordinal)) >= 0) 4693 if(String.Compare(attributeName, name, StringComparison.OrdinalIgnoreCase) == 0) 4768if (String.Compare(existingAttributeNameStr, values[0], StringComparison.OrdinalIgnoreCase) == 0) 7007 if(string.Compare(info.Name, values[0], StringComparison.OrdinalIgnoreCase) == 0)
Common\DataManager\DataSeries.cs (6)
1213 while((keyIndex = result.IndexOf(keyword, StringComparison.Ordinal)) != -1) 1331 while((keyIndex = result.IndexOf(keyword, StringComparison.Ordinal)) != -1) 1617 if(String.Compare(this["UseDummyData"], "True", StringComparison.OrdinalIgnoreCase) == 0) 2375 if(String.Compare(this.ChartTypeName, ChartTypeNames.OneHundredPercentStackedArea, StringComparison.OrdinalIgnoreCase) == 0) 2379else if (String.Compare(this.ChartTypeName, ChartTypeNames.OneHundredPercentStackedBar, StringComparison.OrdinalIgnoreCase) == 0) 2383else if (String.Compare(this.ChartTypeName, ChartTypeNames.OneHundredPercentStackedColumn, StringComparison.OrdinalIgnoreCase) == 0)
Common\Formulas\FormulaHelpers.cs (2)
1508else if (seriesFieldId.StartsWith("Y", StringComparison.Ordinal)) 1598else if (seriesFieldId.StartsWith("Y", StringComparison.Ordinal))
Common\Formulas\TimeSeriesAndForecasting.cs (5)
164if (String.Equals(parameterList[0],"Exponential", StringComparison.OrdinalIgnoreCase)) 169else if (String.Equals(parameterList[0],"Linear", StringComparison.OrdinalIgnoreCase)) 174else if (String.Equals(parameterList[0],"IsLogarithmic", StringComparison.OrdinalIgnoreCase) || 175String.Equals(parameterList[0],"Logarithmic", StringComparison.OrdinalIgnoreCase)) 180else if (String.Equals(parameterList[0],"Power", StringComparison.OrdinalIgnoreCase))
Common\General\AxisScrollZoom.cs (2)
1529if (String.Compare(crossingValue, Constants.NotSetValue, StringComparison.OrdinalIgnoreCase) == 0) 1689if (String.Compare(crossingValue, Constants.NotSetValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\General\Chart.cs (1)
1376if ( String.Equals((string)dataSourceFields[i], xField, StringComparison.OrdinalIgnoreCase ) )
Common\General\ChartArea.cs (6)
2780 if(String.Compare(series[CustomPropertyName.AreaDrawingStyle], "Polygon", StringComparison.OrdinalIgnoreCase) == 0) 2784else if (String.Compare(series[CustomPropertyName.AreaDrawingStyle], "Circle", StringComparison.OrdinalIgnoreCase) == 0) 2816 if(String.Compare( styleName, "Auto", StringComparison.OrdinalIgnoreCase) == 0 ) 2820 else if(String.Compare( styleName,"Circular", StringComparison.OrdinalIgnoreCase) == 0) 2824 else if(String.Compare( styleName,"Radial", StringComparison.OrdinalIgnoreCase) == 0) 2828else if (String.Compare(styleName, "Horizontal", StringComparison.OrdinalIgnoreCase) == 0)
Common\General\ChartArea3D.cs (5)
905 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 909 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 913else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 950 if(String.Compare(curSeries.ChartTypeName, smallestIntervalSeries.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 ) 981 if(String.Compare(curSeries.ChartTypeName, smallestIntervalSeries.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 )
Common\General\ChartAreaAxes.cs (1)
1531 if( String.Compare( chartType, Common.DataManager.Series[seriesName].ChartTypeName, StringComparison.OrdinalIgnoreCase ) == 0 )
Common\General\ChartElement.cs (1)
1366if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0)
Common\General\ChartGraphics.cs (8)
4941 if(String.Compare(styleName, "Default", StringComparison.OrdinalIgnoreCase) == 0) 4945else if (String.Compare(styleName, "SoftEdge", StringComparison.OrdinalIgnoreCase) == 0) 4949else if (String.Compare(styleName, "Concave", StringComparison.OrdinalIgnoreCase) == 0) 5534 if(String.Compare(styleName, "Default", StringComparison.OrdinalIgnoreCase) == 0) 5538else if (String.Compare(styleName, "Cylinder", StringComparison.OrdinalIgnoreCase) == 0) 5542else if (String.Compare(styleName, "Emboss", StringComparison.OrdinalIgnoreCase) == 0) 5546else if (String.Compare(styleName, "LightToDark", StringComparison.OrdinalIgnoreCase) == 0) 5550else if (String.Compare(styleName, "Wedge", StringComparison.OrdinalIgnoreCase) == 0)
Common\General\ChartGraphics3D.cs (3)
2704(neighborDataPoint == null || String.Compare(neighborDataPoint.dataPoint.series.Name, point.dataPoint.series.Name, StringComparison.Ordinal) == 0)) 2718(neighborDataPoint == null || String.Compare(neighborDataPoint.dataPoint.series.Name, point.dataPoint.series.Name, StringComparison.Ordinal) == 0)) 2737if (String.Compare(neighborDataPoint.dataPoint.series.Name, point3D.dataPoint.series.Name, StringComparison.Ordinal) != 0)
Common\General\DataManipulator.cs (1)
3145 else if(formulaParts[0].StartsWith("Y", StringComparison.Ordinal))
Common\General\FormulaData.cs (1)
621if (parts[1].StartsWith("Y", StringComparison.Ordinal))
Common\General\ImageMap.cs (3)
423if (checkValue.StartsWith("javascript:", StringComparison.OrdinalIgnoreCase)) 443name.Trim().StartsWith("on", StringComparison.OrdinalIgnoreCase)) 530if (this._attributes.IndexOf(" alt=", StringComparison.OrdinalIgnoreCase) == -1)
Common\General\Selection.cs (4)
2049if (!String.IsNullOrEmpty(alowedElements) && alowedElements.IndexOf(region.Type.ToString() + ";", StringComparison.Ordinal) == -1) 3170if (elementType.ToString().StartsWith("Legend", StringComparison.Ordinal) || elementType.ToString().StartsWith("Title", StringComparison.Ordinal)) 3174if (elementType.ToString().StartsWith("PlottingArea", StringComparison.Ordinal))
Common\Utilities\ImageLoader.cs (1)
223int columnIndex = imageURL.IndexOf("::", StringComparison.Ordinal);
Common\Utilities\ValueConverter.cs (1)
83 if(!convertionFormat.Substring(bracketIndex).StartsWith("{0:", StringComparison.Ordinal))
Common\Utilities\XmlSerializer.cs (34)
550 int charIndex = fontString.IndexOf(", GdiCharSet=", StringComparison.Ordinal); 555int commaIndex = val.IndexOf(",", StringComparison.Ordinal); 569charIndex = fontString.IndexOf(", GdiVerticalFont", StringComparison.Ordinal); 1119if (typeStr.EndsWith(".CustomPropertiesTypeConverter", StringComparison.OrdinalIgnoreCase)) { result = new CustomPropertiesTypeConverter(); } 1120else if (typeStr.EndsWith(".DoubleNanValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new DoubleNanValueConverter(); } 1121else if (typeStr.EndsWith(".DoubleDateNanValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new DoubleDateNanValueConverter(); } 1123else if (typeStr.EndsWith(".MapAreaCoordinatesConverter", StringComparison.OrdinalIgnoreCase)) { result = new MapAreaCoordinatesConverter(); } 1125else if (typeStr.EndsWith(".ElementPositionConverter", StringComparison.OrdinalIgnoreCase)) { result = new ElementPositionConverter(); } 1126else if (typeStr.EndsWith(".SeriesAreaNameConverter", StringComparison.OrdinalIgnoreCase)) { result = new SeriesAreaNameConverter(); } 1127else if (typeStr.EndsWith(".ChartDataSourceConverter", StringComparison.OrdinalIgnoreCase)) { result = new ChartDataSourceConverter(); } 1128else if (typeStr.EndsWith(".SeriesDataSourceMemberConverter", StringComparison.OrdinalIgnoreCase)) { result = new SeriesDataSourceMemberConverter(); } 1129else if (typeStr.EndsWith(".SeriesLegendNameConverter", StringComparison.OrdinalIgnoreCase)) { result = new SeriesLegendNameConverter(); } 1130else if (typeStr.EndsWith(".ChartTypeConverter", StringComparison.OrdinalIgnoreCase)) { result = new ChartTypeConverter(); } 1131else if (typeStr.EndsWith(".SeriesNameConverter", StringComparison.OrdinalIgnoreCase)) { result = new SeriesNameConverter(); } 1132else if (typeStr.EndsWith(".NoNameExpandableObjectConverter", StringComparison.OrdinalIgnoreCase)) { result = new NoNameExpandableObjectConverter(); } 1133else if (typeStr.EndsWith(".DoubleArrayConverter", StringComparison.OrdinalIgnoreCase)) { result = new DoubleArrayConverter(); } 1134else if (typeStr.EndsWith(".DataPointValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new DataPointValueConverter(); } 1135else if (typeStr.EndsWith(".SeriesYValueTypeConverter", StringComparison.OrdinalIgnoreCase)) { result = new SeriesYValueTypeConverter(typeof(ChartValueType)); } 1136else if (typeStr.EndsWith(".ColorArrayConverter", StringComparison.OrdinalIgnoreCase)) { result = new ColorArrayConverter(); } 1137else if (typeStr.EndsWith(".LegendAreaNameConverter", StringComparison.OrdinalIgnoreCase)) { result = new LegendAreaNameConverter(); } 1138else if (typeStr.EndsWith(".LegendConverter", StringComparison.OrdinalIgnoreCase)) { result = new LegendConverter(); } 1139else if (typeStr.EndsWith(".SizeEmptyValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new SizeEmptyValueConverter(); } 1140else if (typeStr.EndsWith(".MarginExpandableObjectConverter", StringComparison.OrdinalIgnoreCase)) { result = new MarginExpandableObjectConverter(); } 1141else if (typeStr.EndsWith(".IntNanValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new IntNanValueConverter(); } 1142else if (typeStr.EndsWith(".AxesArrayConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxesArrayConverter(); } 1143else if (typeStr.EndsWith(".AxisLabelDateValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxisLabelDateValueConverter(); } 1144else if (typeStr.EndsWith(".AxisMinMaxValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxisMinMaxValueConverter(); } 1145else if (typeStr.EndsWith(".AxisCrossingValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxisCrossingValueConverter(); } 1146else if (typeStr.EndsWith(".AxisMinMaxAutoValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxisMinMaxAutoValueConverter(); } 1147else if (typeStr.EndsWith(".StripLineTitleAngleConverter", StringComparison.OrdinalIgnoreCase)) { result = new StripLineTitleAngleConverter(); } 1148else if (typeStr.EndsWith(".AxisIntervalValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxisIntervalValueConverter(); } 1149else if (typeStr.EndsWith(".AxisElementIntervalValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AxisElementIntervalValueConverter(); } 1150else if (typeStr.EndsWith(".AnchorPointValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AnchorPointValueConverter(); } 1151else if (typeStr.EndsWith(".AnnotationAxisValueConverter", StringComparison.OrdinalIgnoreCase)) { result = new AnnotationAxisValueConverter(); }
WinForm\ChartWinControl.cs (2)
1878 int versionIndex = buildNumber.IndexOf("VERSION=", StringComparison.Ordinal); 1883versionIndex = buildNumber.IndexOf(",", StringComparison.Ordinal);
System.Workflow.Activities (68)
Common\BasePropertyDescriptor.cs (5)
275if (string.Equals(this.realPropertyDescriptor.GetType().FullName, "System.ComponentModel.Design.InheritedPropertyDescriptor", StringComparison.Ordinal)) 431if (memberInfo.Name.Equals(name, ((ignoreCase) ? StringComparison.CurrentCultureIgnoreCase : StringComparison.CurrentCulture))) 502if (this.Name.StartsWith(parameterPrefix, StringComparison.Ordinal)) 548string propertyName = (displayName.StartsWith(parameterPrefix, StringComparison.Ordinal)) ? displayName.Substring(parameterPrefix.Length) : displayName;
Common\CompilerHelpers.cs (2)
141(string.Compare(language, "VB", StringComparison.OrdinalIgnoreCase) == 0 || 142string.Compare(language, "VisualBasic", StringComparison.OrdinalIgnoreCase) == 0))
Common\CompModHelpers.cs (6)
746bool matchName = ((bindingAttr & BindingFlags.IgnoreCase) == BindingFlags.IgnoreCase) ? string.Compare(method.Name, name, StringComparison.OrdinalIgnoreCase) == 0 : string.Compare(method.Name, name, StringComparison.Ordinal) == 0; 968if (String.Compare(inheritedInterface.FullName, interfaceName, StringComparison.Ordinal) == 0) 1142if (string.Equals(activityName, "/Self", StringComparison.Ordinal)) 1146else if (activityName.StartsWith("/Parent", StringComparison.OrdinalIgnoreCase)) 1153activity = (string.Equals(parent, "Parent", StringComparison.OrdinalIgnoreCase)) ? activity.Parent : null;
Common\TypeSystemHelpers.cs (3)
116if ((parseTypeNameLanguage == ParseTypeNameLanguage.VB) && (parameters[loop].StartsWith("Of ", StringComparison.OrdinalIgnoreCase))) 228if (!string.Equals(partValue, "neutral", StringComparison.OrdinalIgnoreCase)) 232if (!string.Equals(partValue, "null", StringComparison.OrdinalIgnoreCase))
Common\ValidationHelpers.cs (6)
43if (language == SupportedLanguages.CSharp && identifier.StartsWith("@", StringComparison.Ordinal) || 44language == SupportedLanguages.VB && identifier.StartsWith("[", StringComparison.Ordinal) && identifier.EndsWith("]", StringComparison.Ordinal) || 88if (language == SupportedLanguages.CSharp && identifier.StartsWith("@", StringComparison.Ordinal) || 89language == SupportedLanguages.VB && identifier.StartsWith("[", StringComparison.Ordinal) && identifier.EndsWith("]", StringComparison.Ordinal) ||
Common\Walker.cs (1)
269if (prop.DeclaringType == typeof(CompositeActivity) && string.Equals(prop.Name, "Activities", StringComparison.Ordinal))
CorrelationValidator.cs (6)
715if (String.Compare("e", parameterDeclaration.Name, StringComparison.Ordinal) == 0) 723if (String.Compare("e", parameterInfo.Name, StringComparison.Ordinal) == 0) 738if (String.Compare(parsedPropertyName[0], parameterDeclaration.Name, StringComparison.Ordinal) == 0) 746if (String.Compare(parsedPropertyName[0], parameterInfo.Name, StringComparison.Ordinal) == 0) 766if (String.Compare(propertyInfo.Name, parsedPropertyName[index], StringComparison.Ordinal) == 0) 784if (String.Compare(fieldInfo.Name, parsedPropertyName[index], StringComparison.Ordinal) == 0)
Designers\StateDesigner.cs (4)
2296if (extendedProperty.Name.Equals("Location", StringComparison.Ordinal)) 2298else if (extendedProperty.Name.Equals("Size", StringComparison.Ordinal)) 2394if (property.Name.Equals("Location", StringComparison.Ordinal) || 2395property.Name.Equals("Size", StringComparison.Ordinal))
InvokeSchedule.cs (1)
133if (designerHost != null && String.Compare(designerHost.RootComponentClassName, type.FullName, StringComparison.Ordinal) == 0)
LocalService\CorrelationService.cs (2)
207if (!initializerValues.Current.Name.Equals(followerValues.Current.Name, StringComparison.OrdinalIgnoreCase)) 215if (initializerValues.Current.Name.Equals(followerEnumerator.Current.Name, StringComparison.OrdinalIgnoreCase))
LocalService\ExternalDataExchangeService.cs (1)
85if (key.Equals(configurationSectionAttributeName, StringComparison.OrdinalIgnoreCase))
Role\ADRole.cs (1)
258if (String.Compare(identity, roleIdentity, StringComparison.Ordinal) == 0)
Role\DirectoryGroupQuery.cs (2)
38if (String.Compare(value, ActiveDirectoryRoleFactory.Configuration.Group, StringComparison.Ordinal) == 0) 67if (String.Compare(propertyName, testPropertyName, StringComparison.Ordinal) == 0)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
483if (this.listBoxAutoComplete.Items[i].Text.StartsWith(currentValue, StringComparison.OrdinalIgnoreCase))
Rules\Design\Dialogs\RuleSetDialog.cs (2)
525retval = String.Compare(item1.SubItems[0].Text, item2.SubItems[0].Text, StringComparison.CurrentCulture); 529retval = String.Compare(item1.SubItems[col].Text, item2.SubItems[col].Text, StringComparison.CurrentCulture);
Rules\Executor.cs (8)
520if (sideEffect.EndsWith("*", StringComparison.Ordinal)) 524if (dependency.EndsWith("*", StringComparison.Ordinal)) 546if (longString.StartsWith(shortString, StringComparison.Ordinal)) 556if (stripDependency.EndsWith("/", StringComparison.Ordinal)) 558if (stripDependency.StartsWith(stripSideEffect, StringComparison.Ordinal)) 571if (dependency.EndsWith("*", StringComparison.Ordinal)) 591if (longString.StartsWith(shortString, StringComparison.Ordinal)) 600if (dependency.StartsWith(sideEffect, StringComparison.Ordinal))
Rules\Helpers.cs (1)
261if (type.GetType().FullName.Equals("System.Workflow.ComponentModel.Compiler.DesignTimeType", StringComparison.Ordinal))// designTimeType = type as System.Workflow.ComponentModel.Compiler.DesignTimeType;
Rules\Parser\Parser.cs (1)
2268if (candidateType.Name.StartsWith(prefix, StringComparison.Ordinal))
Rules\RuleAction.cs (1)
197return ((other != null) && (string.Equals(this.Path, other.Path, StringComparison.Ordinal)));
Rules\RuleAttributes.cs (1)
197if (suffix.StartsWith(optionalPrefix, StringComparison.Ordinal))
Rules\RuleValidation.cs (2)
3730if (arg.BaseType.StartsWith("[", StringComparison.Ordinal)) 3873authorized = (String.Compare(bool.TrueString, authorizedType.Authorized, StringComparison.OrdinalIgnoreCase) == 0);
WebServiceFault.cs (3)
198if ((activity is WebServiceFaultActivity && String.Compare(((WebServiceFaultActivity)activity).InputActivityName, webServiceFault.InputActivityName, StringComparison.Ordinal) == 0) || 199(activity is WebServiceOutputActivity && String.Compare(((WebServiceOutputActivity)activity).InputActivityName, webServiceFault.InputActivityName, StringComparison.Ordinal) == 0)) 212if (String.Compare(activity.QualifiedName, webServiceFault.InputActivityName, StringComparison.OrdinalIgnoreCase) == 0)
WebServiceReceive.cs (2)
679if (member is CodeMemberMethod && String.Compare(member.Name, methodInfo.Name, language == SupportedLanguages.CSharp ? StringComparison.InvariantCulture : StringComparison.InvariantCultureIgnoreCase) == 0)
WebServiceResponse.cs (6)
322if ((activity is WebServiceOutputActivity && String.Compare(((WebServiceOutputActivity)activity).InputActivityName, webServiceResponse.InputActivityName, StringComparison.Ordinal) == 0) || 323(activity is WebServiceFaultActivity && String.Compare(((WebServiceFaultActivity)activity).InputActivityName, webServiceResponse.InputActivityName, StringComparison.Ordinal) == 0)) 335if (String.Compare(activity.QualifiedName, webServiceResponse.InputActivityName, StringComparison.Ordinal) == 0) 423validationError.PropertyName = (String.Compare(paramName, "(ReturnValue)", StringComparison.Ordinal) == 0) ? paramName : ParameterInfoBasedPropertyDescriptor.GetParameterPropertyName(webServiceReceive.GetType(), paramName); 429validationError.PropertyName = (String.Compare(paramName, "(ReturnValue)", StringComparison.Ordinal) == 0) ? paramName : ParameterInfoBasedPropertyDescriptor.GetParameterPropertyName(webServiceReceive.GetType(), paramName); 442if (String.Compare(paramName, "(ReturnValue)", StringComparison.Ordinal) != 0)
System.Workflow.ComponentModel (212)
AuthoringOM\Activity.cs (2)
893if (path.StartsWith(thisPath, StringComparison.Ordinal)) 968if (!dottedPathFromRoot.StartsWith(thisActivityDottedPath, StringComparison.Ordinal))
AuthoringOM\Behaviors\ExceptionHandler.cs (2)
134if (string.Equals(propertyName, "Fault", StringComparison.Ordinal)) 149if (propertyName.Equals("Fault", StringComparison.Ordinal))
AuthoringOM\Behaviors\ExceptionHandlerDesigner.cs (1)
65if (e.Member != null && string.Equals(e.Member.Name, "FaultType", StringComparison.Ordinal))
AuthoringOM\Bind.cs (4)
300authorized = (String.Compare(bool.TrueString, authorizedType.Authorized, StringComparison.OrdinalIgnoreCase) == 0); 906if (string.Equals(context.PropertyDescriptor.Name, "Path", StringComparison.Ordinal) && !String.IsNullOrEmpty(Name) && context.PropertyDescriptor is ActivityBindPathPropertyDescriptor) 1219if (paramType == typeof(String) && argName.StartsWith("\"", StringComparison.Ordinal) && argName.EndsWith("\"", StringComparison.Ordinal))
AuthoringOM\Compiler\CompileXomlTask.cs (14)
156if (String.Compare(this.projectExt, ".csproj", StringComparison.OrdinalIgnoreCase) == 0) 160else if (String.Compare(this.projectExt, ".vbproj", StringComparison.OrdinalIgnoreCase) == 0) 219if (fileSpec != null && fileSpec.EndsWith(".xoml", StringComparison.OrdinalIgnoreCase)) 489if (string.Compare(normalizedVersion, "v3.5", StringComparison.OrdinalIgnoreCase) == 0) 689if (String.Compare(ProjectExtension, ".csproj", StringComparison.OrdinalIgnoreCase) != 0 && String.Compare(ProjectExtension, ".vbproj", StringComparison.OrdinalIgnoreCase) != 0) 951if ((string.Compare(optionName, SuppressWarningOption, StringComparison.OrdinalIgnoreCase) == 0) && 1069if (String.Compare(extension, ".rules", StringComparison.OrdinalIgnoreCase) == 0 || 1070String.Compare(extension, WorkflowDesignerLoader.DesignerLayoutFileExtension, StringComparison.OrdinalIgnoreCase) == 0) 1080if (String.Compare(extension, ".xoml", StringComparison.OrdinalIgnoreCase) == 0) 1106if (String.Compare(extension, ".rules", StringComparison.OrdinalIgnoreCase) == 0 || 1107String.Compare(extension, WorkflowDesignerLoader.DesignerLayoutFileExtension, StringComparison.OrdinalIgnoreCase) == 0) 1117if (String.Compare(extension, ".xoml", StringComparison.OrdinalIgnoreCase) == 0) 1184if (0 == String.Compare(Path.GetExtension(info.cultureNeutralFilename), ".resx", StringComparison.OrdinalIgnoreCase))
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (3)
165if (returnValue.EndsWith("\"", StringComparison.Ordinal)) 168if (language == SupportedLanguages.CSharp && returnValue.StartsWith("@\"", StringComparison.Ordinal)) 170else if (returnValue.StartsWith("\"", StringComparison.Ordinal))
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (7)
135if (string.Equals(attribute.Name, "System.SerializableAttribute", StringComparison.Ordinal) || string.Equals(attribute.Name, "System.Serializable", StringComparison.Ordinal) || string.Equals(attribute.Name, "SerializableAttribute", StringComparison.Ordinal) || string.Equals(attribute.Name, "Serializable", StringComparison.Ordinal)) 501StringComparison compare = (ignoreCase) ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal;
AuthoringOM\Compiler\TypeSystem\Helper.cs (3)
290if (typeName.StartsWith("@", StringComparison.Ordinal)) 292else if (typeName.StartsWith("[", StringComparison.Ordinal) && typeName.EndsWith("]", StringComparison.Ordinal))
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (4)
697bool matchName = ((bindingAttr & BindingFlags.IgnoreCase) == BindingFlags.IgnoreCase) ? string.Compare(method.Name, name, StringComparison.OrdinalIgnoreCase) == 0 : string.Compare(method.Name, name, StringComparison.Ordinal) == 0; 724bool matchName = ((bindingAttr & BindingFlags.IgnoreCase) == BindingFlags.IgnoreCase) ? string.Compare(propInfo.Name, name, StringComparison.OrdinalIgnoreCase) == 0 : string.Compare(propInfo.Name, name, StringComparison.Ordinal) == 0;
AuthoringOM\Compiler\Validation\BindValidator.cs (3)
650if (memberInfo == null && path.StartsWith("[", StringComparison.Ordinal)) 806error = (bind.Name.StartsWith("/", StringComparison.Ordinal)) ? new ValidationError(SR.GetString(SR.Error_CannotResolveRelativeActivity, bind.Name), ErrorNumbers.Error_CannotResolveRelativeActivity) : new ValidationError(SR.GetString(SR.Error_CannotResolveActivity, bind.Name), ErrorNumbers.Error_CannotResolveActivity); 818if (!bind.Name.StartsWith("/", StringComparison.Ordinal) && !ValidationHelpers.IsActivitySourceInOrder(refActivity, activity))
AuthoringOM\Compiler\XomlCompiler.cs (6)
643authorized = (String.Compare(bool.TrueString, authorizedType.Authorized, StringComparison.OrdinalIgnoreCase) == 0); 684if (file.EndsWith(".xoml", StringComparison.OrdinalIgnoreCase)) 716if ((mscorlibIndex == -1) && (string.Compare(mscorlibName, Path.GetFileName(assemblyPath), StringComparison.OrdinalIgnoreCase) == 0)) 980!option.StartsWith("/delaysign", StringComparison.OrdinalIgnoreCase) && 981!option.StartsWith("/keyfile", StringComparison.OrdinalIgnoreCase) && 982!option.StartsWith("/keycontainer", StringComparison.OrdinalIgnoreCase))
AuthoringOM\Compiler\XomlCompilerHelpers.cs (5)
120if (fileName.EndsWith(".designer.cs", StringComparison.OrdinalIgnoreCase)) 122else if (fileName.EndsWith(".designer.vb", StringComparison.OrdinalIgnoreCase)) 255authorized = (String.Compare(bool.TrueString, authorizedType.Authorized, StringComparison.OrdinalIgnoreCase) == 0); 298int switchPos = options.IndexOf(compilerSwitch, StringComparison.OrdinalIgnoreCase); 390if (null != userAssemblyFileName && null != standardAssemblyFileName && 0 == string.Compare(userAssemblyFileName, standardAssemblyFileName, StringComparison.OrdinalIgnoreCase))
AuthoringOM\Compiler\XomlCompilerParameters.cs (5)
203if (path.StartsWith(RuntimeReferencePrefix, StringComparison.Ordinal)) 208else if (path.StartsWith(FrameworkReferencePrefix, StringComparison.Ordinal)) 220if (!path.StartsWith(parentDirectory, StringComparison.CurrentCultureIgnoreCase)) 445if (String.Compare(value, SupportedLanguages.CSharp.ToString(), StringComparison.OrdinalIgnoreCase) != 0 && 446String.Compare(value, SupportedLanguages.VB.ToString(), StringComparison.OrdinalIgnoreCase) != 0)
AuthoringOM\Design\ActivityDesigner.cs (2)
3064if (Form.ActiveForm != null && Form.ActiveForm.GetType().FullName.Equals(typeof(ItemPalette).FullName + "+Palette", StringComparison.Ordinal)) 3074else if (Form.ActiveForm != null && Form.ActiveForm.GetType().FullName.Equals(typeof(ItemPalette).FullName + "+Palette", StringComparison.Ordinal))
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (7)
49while (reader.MoveToNextAttribute() && !reader.LocalName.Equals("Name", StringComparison.Ordinal)); 50if (reader.LocalName.Equals("Name", StringComparison.Ordinal) && reader.ReadAttributeValue()) 60if (activity != null && !associatedActivityName.Equals(activity.Name, StringComparison.Ordinal)) 65if (activity != null && associatedActivityName.Equals(activity.Name, StringComparison.Ordinal)) 81if (associatedActivityName.Equals(activity.Name, StringComparison.Ordinal)) 161property.Name.Equals("AutoSizeMargin", StringComparison.Ordinal) && 338if (colorValue.StartsWith("0X", StringComparison.OrdinalIgnoreCase))
AuthoringOM\Design\ComponentSerializationService.cs (1)
114if (prop.Name.Equals(name, StringComparison.Ordinal))
AuthoringOM\Design\CustomActivityDesigner.cs (2)
338if (!propertyDescriptor.Name.Equals("BaseActivityType", StringComparison.Ordinal) && 339!propertyDescriptor.Name.Equals("Name", StringComparison.Ordinal) &&
AuthoringOM\Design\DesignerHelpers.cs (2)
1662if (string.Compare(existingMethod, uniqueName, StringComparison.OrdinalIgnoreCase) == 0) 1672if (!(member is MethodInfo) && string.Compare(member.Name, uniqueName, StringComparison.OrdinalIgnoreCase) == 0)
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (11)
263if (bindingActivity == activity && member != null && member.Path.Equals(propertyName, StringComparison.Ordinal)) 991if (newLabel.IndexOf("[", StringComparison.Ordinal) == -1 || !newLabel.EndsWith("]", StringComparison.Ordinal)) 997string oldMemberName = oldLabel.Substring(0, oldLabel.IndexOf("[", StringComparison.Ordinal)); 998string newMemberName = newLabel.Substring(0, newLabel.IndexOf("[", StringComparison.Ordinal)); 999incorrectChange = !oldMemberName.Equals(newMemberName, StringComparison.Ordinal); 1017if (newPathInfo.Path.Equals(newLabel, StringComparison.Ordinal)) 1154if (node.Text.Equals(indexPropertyName, StringComparison.Ordinal)) 1158if (i > 0 && pathInfoList[i - 1].Path.Equals(indexPropertyName, StringComparison.Ordinal)) 1180if (string.Equals(currentPropertyName, treeNodePropertyName, StringComparison.Ordinal) && IsSamePropertyIndexer(currentPathInfo.MemberInfo, memberTreeNode.PathInfo.MemberInfo)) 1346return this.path.Equals(otherInfo.path, StringComparison.Ordinal);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (9)
456if (!extension.Equals(WorkflowTheme.DefaultThemeFileExtension.Replace("*", ""), StringComparison.Ordinal)) 488if (!this.bufferedTheme.FilePath.Equals(this.themeLocationTextBox.Text.Trim(), StringComparison.OrdinalIgnoreCase)) 694if (filter.FilterString.StartsWith("Microsoft.Workflow.VSDesigner", StringComparison.OrdinalIgnoreCase) || 695filter.FilterString.StartsWith("System.Workflow.ComponentModel", StringComparison.OrdinalIgnoreCase)) 724Type designerBaseType = (type.FullName.Equals(DesignerHelpers.SequentialWorkflowTypeRef, StringComparison.OrdinalIgnoreCase)) ? typeof(IRootDesigner) : typeof(IDesigner); 836Type designerBaseType = (activityType.FullName.Equals(DesignerHelpers.SequentialWorkflowTypeRef, StringComparison.OrdinalIgnoreCase)) ? typeof(IRootDesigner) : typeof(IDesigner); 883Type designerBaseType = (activityType.FullName.Equals(DesignerHelpers.SequentialWorkflowTypeRef, StringComparison.OrdinalIgnoreCase)) ? typeof(IRootDesigner) : typeof(IDesigner); 905return String.Compare(treeNode1.Text, treeNode2.Text, StringComparison.CurrentCulture); 999if (activityType == null || activityType.FullName.Equals(DesignerHelpers.SequentialWorkflowTypeRef, StringComparison.OrdinalIgnoreCase))
AuthoringOM\Design\DocumentOutline.cs (1)
384if (node != null && string.Equals(e.Member.Name, "Enabled", StringComparison.Ordinal))
AuthoringOM\Design\IdentifierCreationService.cs (4)
66if (language == SupportedLanguages.CSharp && identifier.StartsWith("@", StringComparison.Ordinal) || 67language == SupportedLanguages.VB && identifier.StartsWith("[", StringComparison.Ordinal) && identifier.EndsWith("]", StringComparison.Ordinal) || 168if (string.IsNullOrEmpty(activity.Name) || string.Equals(activity.Name, activity.GetType().Name, StringComparison.Ordinal))
AuthoringOM\Design\PropertyDescriptors.cs (9)
183if (string.Equals(propDesc.Name, "Name", StringComparison.Ordinal) && typeof(Activity).IsAssignableFrom(propDesc.ComponentType)) 472if (memberInfo.DeclaringType == typeof(System.Object) && (string.Equals(memberInfo.Name, "Equals", StringComparison.Ordinal) || string.Equals(memberInfo.Name, "ReferenceEquals", StringComparison.Ordinal))) 611if (string.Compare(activity.Name, fieldName, isVB ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal) == 0) 619if (string.Compare(existingActivity.Name, fieldName, isVB ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal) == 0) 701if (memberInfo.Name.Equals(name, ((ignoreCase) ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal)))
AuthoringOM\Design\ReferenceService.cs (1)
278if (string.Equals(holder.Name, name, StringComparison.OrdinalIgnoreCase))
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
595if (str != null && str.Equals("ActiveView", StringComparison.Ordinal))
AuthoringOM\Design\Themes.cs (3)
357if (extension.Equals(WorkflowTheme.DefaultThemeFileExtension.Replace("*", ""), StringComparison.Ordinal)) 1414if (string.Equals(context.PropertyDescriptor.Name, "BorderStyle", StringComparison.Ordinal)) 3191if (string.Equals(context.PropertyDescriptor.Name, "GridStyle", StringComparison.Ordinal))
AuthoringOM\Design\TypeConverters.cs (2)
386if (activityID.StartsWith(activityIDMatch, StringComparison.OrdinalIgnoreCase) && 387path.StartsWith(pathMatch, StringComparison.OrdinalIgnoreCase))
AuthoringOM\Design\WinOEToolBoxItem.cs (7)
34type.Assembly.FullName.Equals(AssemblyRef.ActivitiesAssemblyRef, StringComparison.OrdinalIgnoreCase)) && 35type.Name.EndsWith(ActivitySuffix, StringComparison.Ordinal) && 36!type.Name.Equals(ActivitySuffix, StringComparison.Ordinal)) 141if ((activityType.Assembly.FullName.Equals(AssemblyRef.ActivitiesAssemblyRef, StringComparison.OrdinalIgnoreCase) || 142activityType.Assembly.FullName.Equals(Assembly.GetExecutingAssembly().FullName, StringComparison.OrdinalIgnoreCase)) && 143displayName.EndsWith(ActivitySuffix, StringComparison.Ordinal) && 144!displayName.Equals(ActivitySuffix, StringComparison.Ordinal))
AuthoringOM\Design\WorkflowInlining.cs (2)
382string.Equals(parameterProperty.Name, "DynamicUpdateCondition", StringComparison.Ordinal))) 421if (string.Equals(e.Member.Name, "TargetWorkflow", StringComparison.Ordinal))
AuthoringOM\Fault.cs (1)
140if (!String.IsNullOrEmpty(propertyName) && propertyName.Equals("Fault", StringComparison.Ordinal))
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (2)
171if (string.Equals(pd.Name, "SynchronizationHandles", StringComparison.Ordinal) && TypeProvider.IsAssignable(typeof(Activity), pd.ComponentType)) 179string.Equals(((CodePropertyReferenceExpression)context.Expression).PropertyName, "SynchronizationHandles", StringComparison.Ordinal))
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (2)
69int nextNewLineIndex = currentXoml.IndexOf(newLine, currentIndex, StringComparison.Ordinal); 172int lastNewLine = currentXoml.IndexOf(stringWriter.NewLine, (int)lineStartIndex, StringComparison.Ordinal);
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (4)
201if (qualifiedPropertyName.Name.Equals(xmlQualifiedName.Name, StringComparison.Ordinal) 202&& qualifiedPropertyName.Namespace.Equals(xmlQualifiedName.Namespace, StringComparison.Ordinal)) 222if (qualifiedPropertyName.Name.Equals(xmlQualifiedName.Name, StringComparison.Ordinal) 223&& qualifiedPropertyName.Namespace.Equals(xmlQualifiedName.Namespace, StringComparison.Ordinal))
AuthoringOM\Serializer\PropertySegmentSerializer.cs (1)
103if (string.Equals(value, "*null", StringComparison.Ordinal))
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (3)
171prefix = (mappingForType.Prefix.Equals(StandardXomlKeys.WorkflowPrefix, StringComparison.Ordinal)) ? String.Empty : mappingForType.Prefix; 220if (assemblyName.Equals(Assembly.GetExecutingAssembly().FullName, StringComparison.Ordinal)) 251if (resolvedType != null && !resolvedType.AssemblyQualifiedName.Equals(assemblyQualifiedName, StringComparison.Ordinal))
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (34)
228if (xmlQualifiedName.Namespace.Equals(StandardXomlKeys.Definitions_XmlNs, StringComparison.Ordinal) && 328if (reader.LocalName.Equals("xmlns", StringComparison.Ordinal) || reader.Prefix.Equals("xmlns", StringComparison.Ordinal)) 333if (xmlQualifiedName.Namespace.Equals(StandardXomlKeys.Definitions_XmlNs, StringComparison.Ordinal) && 507if (obj2 != null && obj2.GetType() == typeof(string) && ((string)obj2).StartsWith("{}", StringComparison.Ordinal)) 674if (!(attribValue.StartsWith("{", StringComparison.Ordinal) && attribValue.EndsWith("}", StringComparison.Ordinal))) 917if (propertyValue is MarkupExtension || !(stringValue.StartsWith("{", StringComparison.Ordinal) && stringValue.EndsWith("}", StringComparison.Ordinal))) 1043if (contents is MarkupExtension || !(stringValue.StartsWith("{", StringComparison.Ordinal) && stringValue.EndsWith("}", StringComparison.Ordinal))) 1233if (value.StartsWith("{}", StringComparison.Ordinal)) 1718if (type == null && !xmlQualifiedName.Name.EndsWith("Extension", StringComparison.Ordinal)) 1841if (string.Equals(reader.LocalName, "xmlns", StringComparison.Ordinal) || string.Equals(reader.Prefix, "xmlns", StringComparison.Ordinal)) 1868if (propValue != null && propValue.GetType() == typeof(string) && ((string)propValue).StartsWith("{}", StringComparison.Ordinal)) 2319authorized = (String.Compare(bool.TrueString, authorizedType.Authorized, StringComparison.OrdinalIgnoreCase) == 0); 2460return (attributeValue.Length > 0 && attributeValue.StartsWith("{", StringComparison.Ordinal) && !attributeValue.StartsWith("{}", StringComparison.Ordinal) && attributeValue.EndsWith("}", StringComparison.Ordinal)); 2473if (attrValue.Length == 0 || !attrValue.StartsWith("{", StringComparison.Ordinal) || !attrValue.EndsWith("}", StringComparison.Ordinal)) 2480int argIndex = attrValue.IndexOf(" ", StringComparison.Ordinal); 2482argIndex = attrValue.IndexOf("}", StringComparison.Ordinal); 2488int typeIndex = typename.IndexOf(":", StringComparison.Ordinal); 2496if (type == null && !typename.EndsWith("Extension", StringComparison.Ordinal)) 3124if (extensionName.EndsWith(StandardXomlKeys.MarkupExtensionSuffix, StringComparison.OrdinalIgnoreCase)) 3132if (xmlQualifiedName.Namespace.Equals(StandardXomlKeys.Definitions_XmlNs, StringComparison.Ordinal)) 3134if (typeName.Equals(typeof(Array).Name, StringComparison.Ordinal)) 3150if (xmlQualifiedName.Namespace.Equals(StandardXomlKeys.Definitions_XmlNs, StringComparison.Ordinal)) 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))
AuthoringOM\Serializer\WorkflowMarkupSerializerMapping.cs (16)
208if (xmlns.Equals(StandardXomlKeys.WorkflowXmlNs, StringComparison.Ordinal)) 212if (typeName.EndsWith("Activity", StringComparison.OrdinalIgnoreCase)) 217if (typeName.EndsWith("Designer", StringComparison.OrdinalIgnoreCase)) 223else if (typeName.EndsWith("Theme", StringComparison.OrdinalIgnoreCase)) 228else if (typeName.StartsWith("Rule", StringComparison.OrdinalIgnoreCase) || 229typeName.EndsWith("Action", StringComparison.OrdinalIgnoreCase)) 235else if (xmlns.Equals(StandardXomlKeys.Definitions_XmlNs, StringComparison.Ordinal)) 262if (xmlNamespace.StartsWith(StandardXomlKeys.CLRNamespaceQualifier, StringComparison.OrdinalIgnoreCase)) 274if (!assemblyName.StartsWith(StandardXomlKeys.AssemblyNameQualifier, StringComparison.OrdinalIgnoreCase)) 282if (clrNamespace.Equals(StandardXomlKeys.GlobalNamespace, StringComparison.OrdinalIgnoreCase)) 313if (xmlnsDefinition.XmlNamespace.Equals(xmlNamespace, StringComparison.Ordinal)) 336if (type.Assembly.FullName.Equals(AssemblyRef.RuntimeAssemblyRef, StringComparison.Ordinal)) 341if (type.Assembly.FullName.Equals(AssemblyRef.ActivitiesAssemblyRef, StringComparison.Ordinal)) 371if (xmlnsDefinition.ClrNamespace.Equals(clrNamespace, StringComparison.Ordinal) && matchingMapping == null) 434if (xmlnsPrefix.XmlNamespace.Equals(xmlNamespace, StringComparison.Ordinal)) 460if (existingPrefix.Equals(prefix, StringComparison.Ordinal))
Shared\BasePropertyDescriptor.cs (5)
274if (string.Equals(this.realPropertyDescriptor.GetType().FullName, "System.ComponentModel.Design.InheritedPropertyDescriptor", StringComparison.Ordinal)) 430if (memberInfo.Name.Equals(name, ((ignoreCase) ? StringComparison.CurrentCultureIgnoreCase : StringComparison.CurrentCulture))) 501if (this.Name.StartsWith(parameterPrefix, StringComparison.Ordinal)) 547string propertyName = (displayName.StartsWith(parameterPrefix, StringComparison.Ordinal)) ? displayName.Substring(parameterPrefix.Length) : displayName;
Shared\CompilerHelpers.cs (2)
139(string.Compare(language, "VB", StringComparison.OrdinalIgnoreCase) == 0 || 140string.Compare(language, "VisualBasic", StringComparison.OrdinalIgnoreCase) == 0))
Shared\CompModHelpers.cs (6)
744bool matchName = ((bindingAttr & BindingFlags.IgnoreCase) == BindingFlags.IgnoreCase) ? string.Compare(method.Name, name, StringComparison.OrdinalIgnoreCase) == 0 : string.Compare(method.Name, name, StringComparison.Ordinal) == 0; 966if (String.Compare(inheritedInterface.FullName, interfaceName, StringComparison.Ordinal) == 0) 1140if (string.Equals(activityName, "/Self", StringComparison.Ordinal)) 1144else if (activityName.StartsWith("/Parent", StringComparison.OrdinalIgnoreCase)) 1151activity = (string.Equals(parent, "Parent", StringComparison.OrdinalIgnoreCase)) ? activity.Parent : null;
Shared\TypeSystemHelpers.cs (3)
115if ((parseTypeNameLanguage == ParseTypeNameLanguage.VB) && (parameters[loop].StartsWith("Of ", StringComparison.OrdinalIgnoreCase))) 227if (!string.Equals(partValue, "neutral", StringComparison.OrdinalIgnoreCase)) 231if (!string.Equals(partValue, "null", StringComparison.OrdinalIgnoreCase))
Shared\ValidationHelpers.cs (6)
42if (language == SupportedLanguages.CSharp && identifier.StartsWith("@", StringComparison.Ordinal) || 43language == SupportedLanguages.VB && identifier.StartsWith("[", StringComparison.Ordinal) && identifier.EndsWith("]", StringComparison.Ordinal) || 87if (language == SupportedLanguages.CSharp && identifier.StartsWith("@", StringComparison.Ordinal) || 88language == SupportedLanguages.VB && identifier.StartsWith("[", StringComparison.Ordinal) && identifier.EndsWith("]", StringComparison.Ordinal) ||
Shared\Walker.cs (1)
268if (prop.DeclaringType == typeof(CompositeActivity) && string.Equals(prop.Name, "Activities", StringComparison.Ordinal))
Shared\XomlSerializationHelpers.cs (3)
347if (method == null && typeMember is CodeMemberMethod && typeMember.Name.Equals("InitializeComponent", StringComparison.Ordinal)) 395else if (codeNamespace.Name.StartsWith(rootNS + ".", StringComparison.Ordinal)) 426else if (codeNamespace.Name.StartsWith(rootNS + ".", StringComparison.Ordinal))
System.Workflow.Runtime (97)
CorrelationToken.cs (1)
93if (string.Equals(context.PropertyDescriptor.Name, "OwnerActivityName", StringComparison.Ordinal))
Hosting\DbResourceAllocator.cs (3)
69if (string.Compare(ConnectionStringToken, key, StringComparison.OrdinalIgnoreCase) == 0) 84if (string.Compare(ConnectionStringToken, key, StringComparison.OrdinalIgnoreCase) == 0) 126if (String.Compare(sharedConnectionTransactionService.ConnectionString, this.connString, StringComparison.Ordinal) != 0)
Hosting\DefaultWorkflowSchedulerService.cs (1)
71if (!key.Equals(MAX_SIMULTANEOUS_WORKFLOWS_KEY, StringComparison.OrdinalIgnoreCase))
Hosting\DefaultWorkflowTransactionService.cs (2)
36if (0 == string.Compare("EnableRetries", key, StringComparison.OrdinalIgnoreCase)) 70if (string.Compare("EnableRetries", key, StringComparison.OrdinalIgnoreCase) == 0)
Hosting\ManualWorkflowSchedulerService.cs (1)
89if (!key.Equals(USE_ACTIVE_TIMERS_KEY, StringComparison.OrdinalIgnoreCase))
Hosting\SharedConnectionWorkflowTransactionService.cs (2)
64if (0 == string.Compare("EnableRetries", key, StringComparison.OrdinalIgnoreCase)) 125if (string.Compare("EnableRetries", key, StringComparison.OrdinalIgnoreCase) == 0)
Hosting\SqlWorkflowPersistenceService.cs (6)
755if (key.Equals(DbResourceAllocator.ConnectionStringToken, StringComparison.OrdinalIgnoreCase)) 759else if (key.Equals(SqlWorkflowPersistenceService.InstanceOwnershipTimeoutSecondsToken, StringComparison.OrdinalIgnoreCase)) 768else if (key.Equals(SqlWorkflowPersistenceService.UnloadOnIdleToken, StringComparison.OrdinalIgnoreCase)) 772else if (key.Equals(LoadingIntervalToken, StringComparison.OrdinalIgnoreCase)) 782else if (key.Equals(SqlWorkflowPersistenceService.EnableRetriesToken, StringComparison.OrdinalIgnoreCase)) 839if (string.Compare(EnableRetriesToken, key, StringComparison.OrdinalIgnoreCase) == 0)
RTTrackingProfile.cs (1)
700&& (0 == String.Compare(activity.QualifiedName, qualifiedId, StringComparison.Ordinal)))
System\Activities\Statements\InteropEnvironment.cs (1)
360!String.Equals(propertyInfo.Name, activityNameMetaProperty, StringComparison.Ordinal))
Tracking\PropertyHelper.cs (1)
229if (0 == string.Compare(s, name, StringComparison.Ordinal))
Tracking\SqlTrackingService.cs (7)
156if (0 == string.Compare("IsTransactional", key, StringComparison.OrdinalIgnoreCase)) 158else if (0 == string.Compare("UseDefaultProfile", key, StringComparison.OrdinalIgnoreCase)) 160else if (0 == string.Compare("PartitionOnCompletion", key, StringComparison.OrdinalIgnoreCase)) 162else if (0 == string.Compare("ProfileChangeCheckInterval", key, StringComparison.OrdinalIgnoreCase)) 168else if (0 == string.Compare("ConnectionString", key, StringComparison.OrdinalIgnoreCase)) 170else if (0 == string.Compare("EnableRetries", key, StringComparison.OrdinalIgnoreCase)) 206if (string.Compare("EnableRetries", key, StringComparison.OrdinalIgnoreCase) == 0)
Tracking\TrackingCondition.cs (2)
125return (0 == string.Compare(o.ToString(), _val, StringComparison.Ordinal)); 132return (0 != string.Compare(o.ToString(), _val, StringComparison.Ordinal));
Tracking\TrackingLocation.cs (3)
397if (0 != String.Compare(_keyName, keyName, StringComparison.Ordinal)) 432if (0 == string.Compare(objType.Name, name, StringComparison.Ordinal)) 452if (0 == string.Compare(b.Name, name, StringComparison.Ordinal))
Tracking\TrackingProfileSerializer.cs (66)
151if (0 != string.Compare(reader.Name, "TrackPoints", StringComparison.Ordinal)) 162if (0 == string.Compare(reader.Name, "ActivityTrackPoint", StringComparison.Ordinal)) 164else if (0 == string.Compare(reader.Name, "UserTrackPoint", StringComparison.Ordinal)) 166else if (0 == string.Compare(reader.Name, "WorkflowTrackPoint", StringComparison.Ordinal)) 170if (0 == string.Compare(reader.Name, "TrackPoints", StringComparison.Ordinal)) 188if (0 != string.Compare(reader.Name, "ActivityTrackPoint", StringComparison.Ordinal)) 201if (0 == string.Compare(reader.Name, "Annotations", StringComparison.Ordinal)) 203else if (0 == string.Compare(reader.Name, "MatchingLocations", StringComparison.Ordinal)) 205else if (0 == string.Compare(reader.Name, "ExcludedLocations", StringComparison.Ordinal)) 207else if (0 == string.Compare(reader.Name, "Extracts", StringComparison.Ordinal)) 214if (0 == string.Compare(reader.Name, "ActivityTrackPoint", StringComparison.Ordinal)) 235if (0 != string.Compare(reader.Name, "ActivityTrackingLocation", StringComparison.Ordinal)) 246if (0 == string.Compare(reader.Name, "TypeName", StringComparison.Ordinal)) 253else if (0 == string.Compare(reader.Name, "Type", StringComparison.Ordinal)) 268else if (0 == string.Compare(reader.Name, "MatchDerivedTypes", StringComparison.Ordinal)) 270else if (0 == string.Compare(reader.Name, "ExecutionStatusEvents", StringComparison.Ordinal)) 272else if (0 == string.Compare(reader.Name, "Conditions", StringComparison.Ordinal)) 276if (0 == string.Compare(reader.Name, "ActivityTrackingLocation", StringComparison.Ordinal)) 304if (0 != string.Compare(reader.Name, "UserTrackPoint", StringComparison.Ordinal)) 317if (0 == string.Compare(reader.Name, "Annotations", StringComparison.Ordinal)) 319else if (0 == string.Compare(reader.Name, "MatchingLocations", StringComparison.Ordinal)) 321else if (0 == string.Compare(reader.Name, "ExcludedLocations", StringComparison.Ordinal)) 323else if (0 == string.Compare(reader.Name, "Extracts", StringComparison.Ordinal)) 330if (0 == string.Compare(reader.Name, "UserTrackPoint", StringComparison.Ordinal)) 351if (0 != string.Compare(reader.Name, "UserTrackingLocation", StringComparison.Ordinal)) 365if (0 == string.Compare(reader.Name, "Activity", StringComparison.Ordinal)) 367else if (0 == string.Compare(reader.Name, "KeyName", StringComparison.Ordinal)) 369else if (0 == string.Compare(reader.Name, "Argument", StringComparison.Ordinal)) 371else if (0 == string.Compare(reader.Name, "TypeName", StringComparison.Ordinal)) 373else if (0 == string.Compare(reader.Name, "Type", StringComparison.Ordinal)) 375else if (0 == string.Compare(reader.Name, "MatchDerivedTypes", StringComparison.Ordinal)) 377else if (0 == string.Compare(reader.Name, "Conditions", StringComparison.Ordinal)) 381if (0 == string.Compare(reader.Name, "UserTrackingLocation", StringComparison.Ordinal)) 400else if (0 == string.Compare(reader.Name, "Activity", StringComparison.Ordinal)) 421else if (0 == string.Compare(reader.Name, "Argument", StringComparison.Ordinal)) 459if (0 != string.Compare(reader.Name, "WorkflowTrackPoint", StringComparison.Ordinal)) 473if (0 == string.Compare(reader.Name, "Annotations", StringComparison.Ordinal)) 475else if (0 == string.Compare(reader.Name, "TrackingWorkflowEvent", StringComparison.Ordinal)) 481if (0 == string.Compare(reader.Name, "WorkflowTrackPoint", StringComparison.Ordinal)) 502if (0 != string.Compare("ExecutionStatusEvents", reader.Name, StringComparison.Ordinal)) 513if (0 == string.Compare(reader.Name, "ExecutionStatus", StringComparison.Ordinal)) 521if (0 == string.Compare(s, status, StringComparison.Ordinal)) 531if (0 == string.Compare(reader.Name, "ExecutionStatusEvents", StringComparison.Ordinal)) 549if (0 != string.Compare("Conditions", reader.Name, StringComparison.Ordinal)) 560if (0 == string.Compare(reader.Name, "ActivityTrackingCondition", StringComparison.Ordinal)) 571if (0 == string.Compare(reader.Name, "Conditions", StringComparison.Ordinal)) 589if (0 != string.Compare(condition.GetType().Name, reader.Name, StringComparison.Ordinal)) 600if (0 == string.Compare(reader.Name, "Member", StringComparison.Ordinal)) 604else if (0 == string.Compare(reader.Name, "Operator", StringComparison.Ordinal)) 612if (0 == string.Compare(s, op, StringComparison.Ordinal)) 617else if (0 == string.Compare(reader.Name, "Value", StringComparison.Ordinal)) 627if (0 == string.Compare(reader.Name, condition.GetType().Name, StringComparison.Ordinal)) 645if (0 != string.Compare("Extracts", reader.Name, StringComparison.Ordinal)) 656if (0 == string.Compare(reader.Name, "ActivityDataTrackingExtract", StringComparison.Ordinal)) 662else if (0 == string.Compare(reader.Name, "WorkflowDataTrackingExtract", StringComparison.Ordinal)) 673if (0 == string.Compare(reader.Name, "Extracts", StringComparison.Ordinal)) 699if (0 == string.Compare(reader.Name, "Member", StringComparison.Ordinal)) 701else if (0 == string.Compare(reader.Name, "Annotations", StringComparison.Ordinal)) 708if (0 == string.Compare(reader.Name, extract.GetType().Name, StringComparison.Ordinal)) 726if (0 != string.Compare(reader.Name, "Annotations", StringComparison.Ordinal)) 737if (0 == string.Compare(reader.Name, "Annotation", StringComparison.Ordinal)) 749if (0 == string.Compare(reader.Name, "Annotations", StringComparison.Ordinal)) 777if (0 == string.Compare(reader.Name, "ActivityTrackingLocation", StringComparison.Ordinal)) 785if (0 == string.Compare(startName, reader.Name, StringComparison.Ordinal)) 813if (0 == string.Compare(reader.Name, "UserTrackingLocation", StringComparison.Ordinal)) 821if (0 == string.Compare(startName, reader.Name, StringComparison.Ordinal))
System.WorkflowServices (22)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (1)
557if (this.canonicalConnectionString.EndsWith(";", StringComparison.Ordinal))
System\Workflow\Activities\ChannelToken.cs (1)
110if (string.Equals(context.PropertyDescriptor.Name, "OwnerActivityName", StringComparison.Ordinal))
System\Workflow\Activities\ContextToken.cs (2)
101if (string.Compare(this.Name, ContextToken.RootContextName, StringComparison.Ordinal) != 0) 113if (string.Equals(context.PropertyDescriptor.Name, "OwnerActivityName", StringComparison.Ordinal))
System\Workflow\Activities\ContractType.cs (2)
191if (string.Compare(this.AssemblyQualifiedName, contract.AssemblyQualifiedName, StringComparison.Ordinal) != 0 || 307if (string.Compare(this.name, name, StringComparison.Ordinal) == 0)
System\Workflow\Activities\OperationInfo.cs (3)
141if (String.Compare(operationInfo.ContractName, this.ContractName, StringComparison.Ordinal) != 0) 293string.Compare(methodInfo.Name, this.Name, StringComparison.Ordinal) == 0) 297else if (string.Compare(operationName, this.Name, StringComparison.Ordinal) == 0)
System\Workflow\Activities\OperationInfoBase.cs (3)
96if (String.Compare(operationInfo.Name, this.Name, StringComparison.Ordinal) != 0) 100if (String.Compare(operationInfo.PrincipalPermissionName, this.PrincipalPermissionName, StringComparison.Ordinal) != 0) 104if (String.Compare(operationInfo.PrincipalPermissionRole, this.PrincipalPermissionRole, StringComparison.Ordinal) != 0)
System\Workflow\Activities\OperationParameterInfo.cs (1)
178if (String.Compare(parameter.Name, this.Name, StringComparison.Ordinal) != 0)
System\Workflow\Activities\OperationParameterInfoCollection.cs (1)
112if (string.Equals(this[index].Name, key, StringComparison.Ordinal))
System\Workflow\Activities\TypedOperationInfo.cs (2)
317string.Compare(currentMethodInfo.Name, this.Name, StringComparison.Ordinal) == 0) 322else if (string.Compare(operationName, this.Name, StringComparison.Ordinal) == 0)
System\Workflow\Activities\ValidationHelper.cs (1)
519if (string.Compare(contextToken.Name, ContextToken.RootContextName, StringComparison.Ordinal) == 0)
System\Workflow\Runtime\Hosting\ChannelManagerHelpers.cs (1)
235bool wildcard = string.Equals(endpointName, "*", StringComparison.Ordinal);
System\Workflow\Runtime\Hosting\ChannelManagerService.cs (4)
80else if (key.Equals(ChannelManagerService.IdleTimeoutSetting, StringComparison.OrdinalIgnoreCase)) 97else if (key.Equals(ChannelManagerService.LeaseTimeoutSetting, StringComparison.OrdinalIgnoreCase)) 114else if (key.Equals(ChannelManagerService.MaxIdleChannelsPerEndpointSetting, StringComparison.OrdinalIgnoreCase)) 313if (string.Equals(value, ChannelManagerService.InfiniteTimeSpanValue, StringComparison.OrdinalIgnoreCase))
System.Xml (75)
parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
128if (key.Equals(c_versionKey, StringComparison.OrdinalIgnoreCase)) 148else if (key.Equals(c_profileKey, StringComparison.OrdinalIgnoreCase))
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
1700if (!prefixStr.StartsWith("xmlns", StringComparison.Ordinal))
System\Xml\Core\SecureStringHasher.cs (1)
46return String.Equals( x, y, StringComparison.Ordinal );
System\Xml\Core\XmlCharCheckingWriter.cs (1)
162while ( ( i = text.IndexOf( "]]>", StringComparison.Ordinal ) ) >= 0 ) {
System\Xml\Core\XmlCharCheckingWriterAsync.cs (1)
81while ( ( i = text.IndexOf( "]]>", StringComparison.Ordinal ) ) >= 0 ) {
System\Xml\Core\XmlTextReaderImpl.cs (7)
2985if ( 0 == String.Compare( newEncodingName, "ucs-2", StringComparison.OrdinalIgnoreCase ) || 29860 == String.Compare( newEncodingName, "utf-16", StringComparison.OrdinalIgnoreCase ) || 29870 == String.Compare( newEncodingName, "iso-10646-ucs-2", StringComparison.OrdinalIgnoreCase ) || 29880 == String.Compare( newEncodingName, "ucs-4", StringComparison.OrdinalIgnoreCase ) ) { 29910 != String.Compare( newEncodingName, "ucs-4", StringComparison.OrdinalIgnoreCase ) ) { 3007if ( 0 == String.Compare( newEncodingName, "utf-8", StringComparison.OrdinalIgnoreCase ) ) { 5654if ( string.Compare( target, "xml", StringComparison.OrdinalIgnoreCase ) == 0 ) {
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
3645if ( string.Compare( target, "xml", StringComparison.OrdinalIgnoreCase ) == 0 ) {
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
687int result = string.Compare(localName, localName2, StringComparison.Ordinal); 692return string.Compare(prefix, prefix2, StringComparison.Ordinal);
System\Xml\Core\XmlTextWriter.cs (4)
615if (null != text && text.IndexOf("]]>", StringComparison.Ordinal) >= 0) { 634if (null != text && (text.IndexOf("--", StringComparison.Ordinal)>=0 || (text.Length != 0 && text[text.Length-1] == '-'))) { 653if (null != text && text.IndexOf("?>", StringComparison.Ordinal)>=0) { 656if (0 == String.Compare(name, "xml", StringComparison.OrdinalIgnoreCase) && this.stateTable == stateTableDocument) {
System\Xml\Core\XmlWellFormedWriter.cs (1)
803if (name.Length == 3 && string.Compare(name, "xml", StringComparison.OrdinalIgnoreCase) == 0) {
System\Xml\Core\XmlWellFormedWriterAsync.cs (1)
654if (name.Length == 3 && string.Compare(name, "xml", StringComparison.OrdinalIgnoreCase) == 0) {
System\Xml\Dom\XmlImplementation.cs (1)
28if (String.Compare("XML", strFeature, StringComparison.OrdinalIgnoreCase) == 0) {
System\Xml\Dom\XmlNode.cs (1)
698if (String.Compare("XML", feature, StringComparison.OrdinalIgnoreCase) == 0) {
System\Xml\Resolvers\XmlPreloadedResolver.cs (2)
178if (relativeUri != null && relativeUri.StartsWith("-//", StringComparison.CurrentCulture)) { 182if ((preloadedDtds & XmlKnownDtds.Xhtml10) != 0 && relativeUri.StartsWith("-//W3C//", StringComparison.CurrentCulture)) {
System\Xml\Schema\DataTypeImplementation.cs (2)
662public int CompareTo(object obj) { return string.Compare(name, (string)obj, StringComparison.Ordinal); } 1224return String.Compare(value1.ToString(), value2.ToString(), StringComparison.Ordinal);
System\Xml\Schema\Inference\Infer.cs (2)
364if (prefix.Length != 0 && String.Compare(prefix, "xml", StringComparison.OrdinalIgnoreCase) != 0) 1593StringComparison.OrdinalIgnoreCase) == 0) {
System\Xml\Schema\XdrBuilder.cs (2)
5190 == string.Compare(uri, 0, x_schema, 0, x_schema.Length, StringComparison.Ordinal) && 520!uri.StartsWith("x-schema:#", StringComparison.Ordinal);
System\Xml\Schema\XmlSchemaDataType.cs (2)
312if (uri.Length > 5 && uri.StartsWith("uuid:", StringComparison.Ordinal)) { 315else if (uri.Length > 9 && uri.StartsWith("urn:uuid:", StringComparison.Ordinal)) {
System\Xml\Serialization\CodeIdentifier.cs (1)
225while (identifier.EndsWith("[]", StringComparison.Ordinal)) {
System\Xml\Serialization\Compiler.cs (2)
140if (baseDir.EndsWith("\\", StringComparison.Ordinal)) 248if (val.StartsWith("/out:", StringComparison.Ordinal)) {
System\Xml\Serialization\Mappings.cs (1)
202if (!Name.StartsWith("xml:", StringComparison.Ordinal)) {
System\Xml\Serialization\SchemaObjectWriter.cs (5)
23int ns = String.Compare(a1.NamespaceURI, a2.NamespaceURI, StringComparison.Ordinal); 25return String.Compare(a1.Name, a2.Name, StringComparison.Ordinal); 35return String.Compare(f1.GetType().Name + ":" + f1.Value, f2.GetType().Name + ":" + f2.Value, StringComparison.Ordinal); 43int ns = String.Compare(qn1.Namespace, qn2.Namespace, StringComparison.Ordinal); 45return String.Compare(qn1.Name, qn2.Name, StringComparison.Ordinal);
System\Xml\Serialization\SoapSchemaImporter.cs (1)
499if (member.Name.EndsWith("Specified", StringComparison.Ordinal)) {
System\Xml\Serialization\SourceInfo.cs (2)
128if (Arg.StartsWith("o.@", StringComparison.Ordinal) || MemberInfo != null) { 129var = ILG.GetVariable(Arg.StartsWith("o.@", StringComparison.Ordinal) ? "o" : Arg);
System\Xml\Serialization\Types.cs (1)
889int arity = name.IndexOf("`", StringComparison.Ordinal);
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1214if (string.Compare(reflectionMembers[i].MemberName, memberName + "Specified", StringComparison.Ordinal) == 0)
System\Xml\Serialization\XmlSchemaImporter.cs (3)
1336if (member.Name.EndsWith("Specified", StringComparison.Ordinal)) { 1376if (member.Name.EndsWith("Specified", StringComparison.Ordinal)) { 1649return String.Compare(e1.ToString(string.Empty), e2.ToString(string.Empty), StringComparison.Ordinal);
System\Xml\Serialization\XmlSerializationILGen.cs (1)
566if (source.StartsWith("o.@", StringComparison.Ordinal)) {
System\Xml\Serialization\XmlSerializationReader.cs (2)
771if (!name.StartsWith("xmlns", StringComparison.Ordinal)) return false; 1384if (!href.StartsWith("#", StringComparison.Ordinal)) throw new InvalidOperationException(Res.GetString(Res.XmlMissingHref, href));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (10)
2727if (source.StartsWith("o.@", StringComparison.Ordinal)) { 2770if (source.EndsWith(".Add(", StringComparison.Ordinal)) { 2771int index = source.LastIndexOf(".Add(", StringComparison.Ordinal); 2808if (source.StartsWith("o.@", StringComparison.Ordinal)) { 2831if (source.EndsWith(".Add(", StringComparison.Ordinal)) { 2832int index = source.LastIndexOf(".Add(", StringComparison.Ordinal); 2880if (source.StartsWith("o.@", StringComparison.Ordinal)) { 3546if (source.StartsWith("GetTarget(ids[", StringComparison.Ordinal)) { 3568if (id.StartsWith("ids[", StringComparison.Ordinal)) { 3685if (elementElseString.StartsWith("UnknownNode(", StringComparison.Ordinal)) {
System\Xml\Serialization\XmlSerializationWriter.cs (3)
484if (name.Length > prefixLength && name.Length <= prefixLength + MaxInt32.Length && name.StartsWith(prefix, StringComparison.Ordinal)) { 834if (localName == "xmlns" || localName.StartsWith("xmlns:", StringComparison.Ordinal)) { 860if (localName == "xmlns" || localName.StartsWith("xmlns:", StringComparison.Ordinal)) {
System\Xml\Serialization\XmlSerializationWriterILGen.cs (3)
1008System.Diagnostics.Debug.Assert(xmlnsSource.StartsWith("o.@", StringComparison.Ordinal)); 2376if (initValue.Arg.StartsWith("o.@", StringComparison.Ordinal)) { 2381else if (initValue.Source.EndsWith("]", StringComparison.Ordinal)) {
System\Xml\XmlConvert.cs (4)
420if (token[0] == ' ' || token[token.Length - 1] == ' ' || token.IndexOfAny(crt) != -1 || token.IndexOf(" ", StringComparison.Ordinal) != -1) { 430if (token[0] == ' ' || token[token.Length - 1] == ' ' || token.IndexOfAny(crt) != -1 || token.IndexOf(" ", StringComparison.Ordinal) != -1) { 1372if (s.Length == 0 || s.IndexOf("##", StringComparison.Ordinal) != -1) { 1389if (s.Length == 0 || s.IndexOf("##", StringComparison.Ordinal) != -1) {
System\Xml\XPath\Internal\BooleanFunctions.cs (1)
74lang.StartsWith(str, StringComparison.OrdinalIgnoreCase) &&
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
6246if (string.Compare(name, "xml", StringComparison.OrdinalIgnoreCase) == 0) throw new ArgumentException(Res.GetString(Res.Argument_InvalidPIName, name));
UIAutomationClient (6)
MS\Internal\Automation\Misc.cs (1)
253return className.IndexOf("windowsforms", StringComparison.OrdinalIgnoreCase) > -1;
MS\Internal\Automation\ProxyManager.cs (4)
282if (String.Compare(className, str, StringComparison.OrdinalIgnoreCase) == 0) 300if (parentClassName.StartsWith("WMP9ActiveXHost", StringComparison.OrdinalIgnoreCase)) 683if (classNameForPartialMatch.IndexOf(pi.ClassName, StringComparison.Ordinal) >= 0) 690if (classNameForPartialMatch.IndexOf(pi.ClassName, StringComparison.Ordinal) >= 0
MS\Internal\Automation\WindowShowOrOpenTracker.cs (1)
86if (String.Compare(str, 0, _wcpClassName, 0, _wcpClassName.Length, StringComparison.OrdinalIgnoreCase) == 0)
UIAutomationClientsideProviders (31)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (2)
378if(String.Compare(className, "eHome Render Window", StringComparison.OrdinalIgnoreCase) == 0) 1096if (String.Compare(className, str, StringComparison.OrdinalIgnoreCase) == 0)
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
694return (0 == String.Compare(Misc.GetClassName(hwndEx), ComboboxEx32, StringComparison.OrdinalIgnoreCase));
MS\Internal\AutomationProxies\WindowsContainer.cs (1)
48else if (className.IndexOf("AfxControlBar", StringComparison.Ordinal) != -1)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (2)
236int i = backwards ? rangeText.LastIndexOf(text, StringComparison.Ordinal) : rangeText.IndexOf(text, StringComparison.Ordinal);
MS\Internal\AutomationProxies\WindowsFormsHelpers.cs (1)
134return className.IndexOf(_WindowsFormsClassName, StringComparison.OrdinalIgnoreCase) > -1;
MS\Internal\AutomationProxies\WindowsHyperlink.cs (1)
301if (text.IndexOf("<A", StringComparison.OrdinalIgnoreCase) < 0)
MS\Internal\AutomationProxies\WindowsListView.cs (1)
1656return string.Compare(className, "DesktopSFTBarHost", StringComparison.OrdinalIgnoreCase) == 0;
MS\Internal\AutomationProxies\WindowsMenu.cs (5)
928return (String.Compare(Misc.ProxyGetClassName(hwnd), WindowsMenu.MenuClassName, StringComparison.OrdinalIgnoreCase) == 0); 1363pos = menuText.LastIndexOf(accelerator, StringComparison.OrdinalIgnoreCase); 1381pos = menuText.LastIndexOf(keywordsAccelerators[i], StringComparison.OrdinalIgnoreCase); 2461if ((pos = menuText.LastIndexOf(sKeyword, StringComparison.Ordinal)) >= 0 && pos + cKeyChars + 2 <= cMenuChars) 2795pos = menuText.LastIndexOf(keywordsAccelerators[i], StringComparison.OrdinalIgnoreCase);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
751if (string.Compare(name, unitRange.Font.Name, StringComparison.Ordinal) != 0)
MS\Internal\AutomationProxies\WindowsScroll.cs (3)
172if (className.StartsWith("RichEdit", StringComparison.OrdinalIgnoreCase) || 173className.StartsWith("WindowForms10.RichEdit", StringComparison.OrdinalIgnoreCase) || 174string.Compare(className, "Edit", StringComparison.OrdinalIgnoreCase) == 0)
MS\Internal\AutomationProxies\WindowsSpinner.cs (2)
84if (Misc.ProxyGetClassName(hwndBuddy).IndexOf("EDIT", StringComparison.OrdinalIgnoreCase) == -1) 298if (className.IndexOf("msctls_updown32", StringComparison.OrdinalIgnoreCase) != -1)
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
92if (Misc.GetClassName(hwndParent).IndexOf("SysListView32", StringComparison.Ordinal) >= 0) 263if (Misc.GetClassName(hwndParent).IndexOf("SysListView32", StringComparison.Ordinal) >= 0)
MS\Internal\AutomationProxies\WindowsTab.cs (1)
766if (className.IndexOf("updown", StringComparison.Ordinal) > -1)
MS\Internal\AutomationProxies\WindowsTooltip.cs (5)
194return String.Compare(className, "tooltips_class32", StringComparison.OrdinalIgnoreCase) == 0 || 195String.Compare(className, CLASS_TITLEBAR_TOOLTIP, StringComparison.OrdinalIgnoreCase) == 0 || 196String.Compare(className, "VBBubble", StringComparison.OrdinalIgnoreCase) == 0; 203if (String.Compare(className, CLASS_TITLEBAR_TOOLTIP, StringComparison.OrdinalIgnoreCase) == 0) 207else if (String.Compare(className, "VBBubble", StringComparison.OrdinalIgnoreCase) == 0)
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
389return hwndBuddy != IntPtr.Zero && Misc.ProxyGetClassName(hwndBuddy).IndexOf("EDIT", StringComparison.OrdinalIgnoreCase) != -1;
MS\Internal\AutomationProxies\WinFormsSpinner.cs (2)
165if (Misc.ProxyGetClassName(hwndLastChild).IndexOf("Edit", StringComparison.OrdinalIgnoreCase) != -1) 173if (Misc.ProxyGetClassName(hwndFirstChild).IndexOf("Edit", StringComparison.OrdinalIgnoreCase) != -1)
WindowsBase (32)
Base\MS\Internal\AssemblyHelper.cs (1)
267assembly.FullName.StartsWith(_records[i].Name, StringComparison.OrdinalIgnoreCase))
Base\MS\Internal\ContentType.cs (4)
263result = (String.Compare(_type, contentType.TypeComponent, StringComparison.OrdinalIgnoreCase) == 0 && 264String.Compare(_subType, contentType.SubTypeComponent, StringComparison.OrdinalIgnoreCase) == 0); 586parameterValue.StartsWith(_quote, StringComparison.Ordinal) && 587parameterValue.EndsWith(_quote, StringComparison.Ordinal))
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileStorageReference.cs (1)
147if (fullName.StartsWith(ContainerUtilities.PathSeparatorAsString, StringComparison.Ordinal))
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileStreamReference.cs (1)
155if (fullName.StartsWith(ContainerUtilities.PathSeparatorAsString, StringComparison.Ordinal))
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
710if (string.Equals(_relationships[index].Id, id, StringComparison.Ordinal))
Base\MS\Internal\IO\Packaging\PieceNameHelper.cs (1)
459StringComparison.Ordinal);
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (1)
1253if (currentReference.Uri.StartsWith("#", StringComparison.Ordinal))
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (1)
608if ((query.Length > _contentTypeQueryStringPrefix.Length) && (query.StartsWith(_contentTypeQueryStringPrefix, StringComparison.Ordinal)))
Base\System\IO\Packaging\Package.cs (3)
445if (Uri.Compare(owningPartUri, PackUriHelper.PackageRootUri, UriComponents.SerializationInfoString, UriFormat.UriEscaped, StringComparison.Ordinal)==0) 1181&& normalizedPartName.StartsWith(precedingPartName, StringComparison.Ordinal) 1185&& followingPartName.StartsWith(normalizedPartName, StringComparison.Ordinal)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
1165StringComparison.Ordinal) == 0,
Base\System\IO\Packaging\PackageRelationshipSelector.cs (1)
59if(Uri.Compare(sourceUri,PackUriHelper.PackageRootUri, UriComponents.SerializationInfoString, UriFormat.UriEscaped, StringComparison.Ordinal) != 0)
Base\System\IO\Packaging\PackUriHelper.cs (5)
442if (Uri.Compare(partUri, PackageRootUri, UriComponents.SerializationInfoString, UriFormat.UriEscaped, StringComparison.Ordinal) == 0) 579string.Compare(uri.Scheme, UriSchemePack, StringComparison.OrdinalIgnoreCase) == 0; 911StringComparison.Ordinal); 1218if (!NormalizedPartUriString.EndsWith(_relationshipPartUpperCaseExtension, StringComparison.Ordinal)) 1257if ((segments[segments.Length - 1]).EndsWith(_relsrelsUpperCaseExtension, StringComparison.Ordinal))
Base\System\IO\Packaging\ZipPackage.cs (4)
572if (zipItemName.StartsWith(ContentTypeHelper.ContentTypeFileName, StringComparison.OrdinalIgnoreCase)) 581if (zipItemName.StartsWith(_forwardSlash, StringComparison.Ordinal)) 587if (zipItemName.EndsWith(_forwardSlash, StringComparison.Ordinal)) 1205if (zipFileInfo.Name.ToUpperInvariant().StartsWith(_contentTypesFileUpperInvariant, StringComparison.Ordinal))
Base\System\Security\Permissions\MediaPermission.cs (1)
400if (className == null || className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) == -1)
Base\System\Security\Permissions\WebBrowserPermission.cs (1)
262if (className == null || className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) == -1)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (2)
658if (String.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 663else if (String.Equals(XmlnsDeclaration, Reader.Prefix, StringComparison.Ordinal))
Shared\MS\Internal\ResourceIDHelper.cs (1)
70if (sourcePath.StartsWith(basePath, StringComparison.OrdinalIgnoreCase))
Shared\MS\Internal\SecurityHelper.cs (1)
1378return (String.Compare(m1, m2, StringComparison.OrdinalIgnoreCase) == 0);
Shared\System\Windows\Markup\ReflectionHelper.cs (1)
415Debug.Assert(!assemblyPath.EndsWith("\\", StringComparison.Ordinal), "the assembly path should be a full file path containing file extension");
WsatConfig (2)
Configuration\RegistryExceptionHelper.cs (1)
29if (!str.EndsWith("\\", StringComparison.OrdinalIgnoreCase))
Configuration\Utilities.cs (1)
29return string.Compare(s1, s2, StringComparison.OrdinalIgnoreCase) == 0;
WsatUI (2)
Configuration\RegistryExceptionHelper.cs (1)
29if (!str.EndsWith("\\", StringComparison.OrdinalIgnoreCase))
Configuration\Utilities.cs (1)
29return string.Compare(s1, s2, StringComparison.OrdinalIgnoreCase) == 0;
XamlBuildTask (24)
Microsoft\Build\Tasks\Xaml\AttributeData.cs (2)
358if (string.Compare(value, "true", StringComparison.OrdinalIgnoreCase) == 0) 362else if (string.Compare(value, "false", StringComparison.OrdinalIgnoreCase) == 0)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (4)
663return string.Equals(this.language, "C#", StringComparison.OrdinalIgnoreCase) || 664string.Equals(this.language, "VB", StringComparison.OrdinalIgnoreCase); 671if (string.Equals(this.language, "C#", StringComparison.OrdinalIgnoreCase)) 680if (string.Equals(this.language, "VB", StringComparison.OrdinalIgnoreCase))
Microsoft\Build\Tasks\Xaml\ClassImporter.cs (1)
310StringComparison.Ordinal))
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (1)
704if (!result.StartsWith(".", StringComparison.Ordinal))
Microsoft\Build\Tasks\Xaml\ResolveAssemblyHelper.cs (1)
66if (string.Equals(targetName, Path.GetFileNameWithoutExtension(reference), StringComparison.OrdinalIgnoreCase))
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (15)
124if (string.Equals(classModifier, InternalClassModifier, StringComparison.OrdinalIgnoreCase)) 128else if (string.Equals(classModifier, PublicClassModifier, StringComparison.OrdinalIgnoreCase)) 145if (string.Equals(memberModifier, XamlBuildTaskServices.PrivateModifier, StringComparison.OrdinalIgnoreCase)) 149else if (string.Equals(memberModifier, XamlBuildTaskServices.PublicModifier, StringComparison.OrdinalIgnoreCase)) 153else if (string.Equals(memberModifier, XamlBuildTaskServices.ProtectedModifier, StringComparison.OrdinalIgnoreCase)) 157else if (string.Equals(memberModifier, XamlBuildTaskServices.InternalModifier, StringComparison.OrdinalIgnoreCase)) 161else if (string.Equals(memberModifier, XamlBuildTaskServices.ProtectedInternalModifier, StringComparison.OrdinalIgnoreCase)) 165else if (string.Equals(memberModifier, XamlBuildTaskServices.ProtectedAndInternalModifier, StringComparison.OrdinalIgnoreCase)) 188if (assemblyName.Name.Equals(parts[0], StringComparison.OrdinalIgnoreCase)) 288if (reference.EndsWith("mscorlib.dll", StringComparison.OrdinalIgnoreCase)) 332if (nsName.StartsWith(ClrNamespaceUriNamespacePart, StringComparison.Ordinal)) 335if (semicolonIndex == -1 || nsName.Trim().EndsWith(";", StringComparison.Ordinal)) 512clrNs.StartsWith(rootNamespace, StringComparison.OrdinalIgnoreCase)) 778bool isMsCorLib = asmName.Equals("mscorlib.dll", StringComparison.OrdinalIgnoreCase); 780&& isSystemReference.Equals("True", StringComparison.OrdinalIgnoreCase);