1860 references to Ordinal
ComSvcConfig (2)
ComplusTypeValidator.cs (1)
304iid.ToString("D").ToLowerInvariant().EndsWith("c000-000000000046", StringComparison.Ordinal)) //other ole/com standard interfaces
WasAdminWrapper.cs (1)
151if (!webDirectory.ToUpperInvariant().StartsWith("ROOT", StringComparison.Ordinal))
Microsoft.Activities.Build (1)
Microsoft\Activities\Build\Expressions\ExpressionsBuildExtension.cs (1)
128int firstIndex = fullActivityNamespace.IndexOf(buildContext.RootNamespace, StringComparison.Ordinal);
mscorlib (160)
system\__filters.cs (1)
126return (name.StartsWith(str, StringComparison.Ordinal));
system\appdomain.cs (1)
4168if (String.Equals(propertyNames[i], "PARTIAL_TRUST_VISIBLE_ASSEMBLIES", StringComparison.Ordinal)) {
system\AppDomainSetup.cs (3)
442int index = appBase.IndexOf(":/", StringComparison.Ordinal); 444index = appBase.IndexOf(":\\", StringComparison.Ordinal); 470if (appBase.IndexOf(":/", StringComparison.Ordinal) == -1)
system\cfgparser.cs (2)
327&& String.Compare(text, treeRootPath[searchDepth], StringComparison.Ordinal) == 0)) 357if(depth == searchDepth && String.Compare(text, treeRootPath[searchDepth - 1], StringComparison.Ordinal) == 0)
system\diagnostics\eventing\eventsource.cs (6)
3222string.Equals(attributeType.FullName, reflectedAttributeType.FullName, StringComparison.Ordinal) || 3225string.Equals(attributeType.Name, reflectedAttributeType.Name, StringComparison.Ordinal) && 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\globalization\compareinfo.cs (2)
590return source.StartsWith(prefix, StringComparison.Ordinal); 643return source.EndsWith(suffix, StringComparison.Ordinal);
system\globalization\datetimeparse.cs (1)
2366raw.hasSameDateAndTimeSeparators = dtfi.DateSeparator.Equals(dtfi.TimeSeparator, StringComparison.Ordinal);
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 (5)
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 (7)
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)) 1375while ((index = searchPattern.IndexOf("..", StringComparison.Ordinal)) != -1) {
system\io\pathhelper.cs (1)
375return m_sb.ToString().StartsWith(compareTo, StringComparison.Ordinal);
system\reflection\__filters.cs (1)
43return cls.Name.StartsWith(str, StringComparison.Ordinal);
system\resources\resourcemanager.cs (1)
943if (String.Compare(asmTypeName1, 0, typeName2, 0, typeName2.Length, StringComparison.Ordinal) != 0)
system\resources\resourcewriter.cs (1)
574if (typeName.StartsWith("ResourceTypeCode.", StringComparison.Ordinal)) {
system\rttype.cs (4)
657RuntimeMethodHandle.GetName(methodHandle).StartsWith("IL_STUB", StringComparison.Ordinal)); 2277int nsDelimiter = fullname.LastIndexOf(".", StringComparison.Ordinal); 2351if (allowPrefixLookup && name.EndsWith("*", StringComparison.Ordinal)) 2387if (!memberInfo.Name.StartsWith(name, StringComparison.Ordinal))
system\runtime\interopservices\marshal.cs (1)
1644AsmNameString,StringComparison.Ordinal) == 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\configuration.cs (3)
239if (_applicationName.StartsWith("/", StringComparison.Ordinal)) 241if (_applicationName.EndsWith("/", StringComparison.Ordinal)) 1014if ((appUri != null) && !appUri.EndsWith("/", StringComparison.Ordinal))
system\runtime\remoting\crossappdomainchannel.cs (1)
126if(url.StartsWith(_channelName, StringComparison.Ordinal))
system\runtime\remoting\message.cs (2)
3490if (!memberName.StartsWith("__param", StringComparison.Ordinal)) 4466if (!memberName.StartsWith("__param", StringComparison.Ordinal))
system\runtime\remoting\remotingconfigparser.cs (1)
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\versioning\binarycompatibility.cs (1)
332else if (profile.StartsWith("WindowsPhone", StringComparison.Ordinal))
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 (3)
865&& string.Equals(claim.Value, value, StringComparison.Ordinal)) 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 (1)
52(String.Compare( left, right, StringComparison.Ordinal) == 0));
system\security\permissions\fileiopermission.cs (3)
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\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\strongname.cs (1)
161if (String.Compare(element.Tag, "StrongName", StringComparison.Ordinal) != 0)
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 (1)
203StringComparison strComp = (ignoreCase? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal);
system\security\util\stringexpressionset.cs (4)
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 (6)
968if (String.Compare( normalUrl1.m_userpass, normalUrl2.m_userpass, StringComparison.Ordinal) != 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 (9)
614case StringComparison.Ordinal: 681case StringComparison.Ordinal: 1834case StringComparison.Ordinal: 2082case StringComparison.Ordinal: 2173return ( IndexOf(value, StringComparison.Ordinal) >=0 ); 2220case StringComparison.Ordinal: 2375case StringComparison.Ordinal: 2514case StringComparison.Ordinal: 2600case StringComparison.Ordinal:
system\timezoneinfo.cs (2)
2539result = String.Compare(registryStandardName, timeZone.StandardName, StringComparison.Ordinal) == 0; 4155return comparison == 0 ? String.Compare(x.DisplayName, y.DisplayName, StringComparison.Ordinal) : comparison;
PresentationBuildTasks (34)
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\MarkupCompilePass1.cs (2)
289if (!_outputDir.EndsWith("\\", StringComparison.Ordinal)) 1092int pathEndIndex = fullFilePath.LastIndexOf("\\", StringComparison.Ordinal);
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 (9)
477if (!TargetPath.EndsWith(ESCAPED_BACKSLASH, StringComparison.Ordinal)) 483int pathEndIndex = SourceFileInfo.RelativeSourceFilePath.LastIndexOf(ESCAPED_BACKSLASH, StringComparison.Ordinal); 719int fileExtIndex = file.Path.LastIndexOf(DOT, StringComparison.Ordinal); 1401int index = subClassFullName.LastIndexOf(DOT, StringComparison.Ordinal); 1430int index = className.LastIndexOf(DOT, StringComparison.Ordinal); 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 (2)
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 (2)
366int fileExtIndex = newRelativeFilePath.LastIndexOf(MarkupCompiler.DOT, StringComparison.Ordinal); 416int pathEndIndex = fullFilePath.LastIndexOf("\\", StringComparison.Ordinal);
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (2)
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 (5)
2230if (attribName.StartsWith(NamespacePrefix, StringComparison.Ordinal)) 2356if (attribName.Equals(XmlnsDeclaration, StringComparison.Ordinal) || 2357attribName.StartsWith("xmlns:", StringComparison.Ordinal)) 2366if (attribValue.StartsWith(MappingProtocol, StringComparison.Ordinal)) 6746return attribName.StartsWith("xmlns:", StringComparison.Ordinal) ||
Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
371int indexComma = assemblyName.IndexOf(",", StringComparison.Ordinal);
PresentationCore (17)
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 (1)
70if (string.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.Ordinal) == 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\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\CursorConverter.cs (1)
112if (text.LastIndexOf(".", StringComparison.Ordinal) == -1)
Core\CSharp\System\Windows\Media\KnownColors.cs (1)
255if ((trimmedString.StartsWith("sc#", StringComparison.Ordinal) == true))
Core\CSharp\System\Windows\Media\Parsers.cs (1)
159if (!trimmedColor.StartsWith("sc#", StringComparison.Ordinal))
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (1)
527assemblyName.Equals(currAssemblyName.Name, StringComparison.Ordinal) &&
PresentationFramework (111)
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\DeploymentExceptionMapper.cs (5)
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);
src\Framework\MS\Internal\AppModel\ReturnEventSaver.cs (1)
143if (string.Compare(_returnList[i]._targetTypeName, caller.GetType().AssemblyQualifiedName, StringComparison.Ordinal) != 0)
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\Globalization\LocalizationComments.cs (2)
370if (enumName.StartsWith(_enumPrefix , StringComparison.Ordinal)) 378if (string.Compare(enumName, _enumNames[i], StringComparison.Ordinal) == 0)
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\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\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\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\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\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\Data\PropertyGroupDescription.cs (2)
155[DefaultValue(StringComparison.Ordinal)] 274StringComparison _stringComparison = StringComparison.Ordinal;
src\Framework\System\Windows\DeferrableContent.cs (1)
71assemblyTargetsFramework2 = schemaContext.LocalAssembly.ImageRuntimeVersion.StartsWith("v2", StringComparison.Ordinal);
src\Framework\System\Windows\Documents\FixedSchema.cs (11)
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 (5)
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);
src\Framework\System\windows\Documents\TextEditor.cs (1)
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\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 (1)
1183int dotIndex = typeFullName.LastIndexOf(".", StringComparison.Ordinal);
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))
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)
System (59)
compmod\microsoft\win32\SystemEvents.cs (2)
1097int firstDot = ns.IndexOf(".", StringComparison.Ordinal); 1147int lastDot = ns.LastIndexOf(".", StringComparison.Ordinal);
compmod\system\codedom\compiler\TempFiles.cs (1)
337if (tempDir.EndsWith("\\", StringComparison.Ordinal))
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 (1)
233if (String.Equals(events[i].Name, name, StringComparison.Ordinal)) {
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 (1)
214if (className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) < 0) {
net\System\Net\_AutoWebProxyScriptHelper.cs (16)
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) {
net\System\Net\_BasicClient.cs (1)
130bool canMapToCurrentCodePage = string.Compare(rawString, rawCopy, StringComparison.Ordinal)==0;
net\System\Net\_DigestClient.cs (2)
915charset = string.Compare(rawString, rawCopy, StringComparison.Ordinal)==0 ? Charset.ANSI : Charset.UTF8; 1086nonce.StartsWith(Upgraded, StringComparison.Ordinal);
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\cookie.cs (3)
732&& (string.Compare(Value, other.Value, StringComparison.Ordinal) == 0) 733&& (string.Compare(Path, other.Path, StringComparison.Ordinal) == 0) 1638if ((result = string.Compare(left.Path, right.Path, StringComparison.Ordinal)) != 0) {
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\WebHeaderCollection.cs (1)
2105if (!(string.Compare(m_String, copy, StringComparison.Ordinal) == 0)) {
net\System\Net\WebRequest.cs (1)
386if (!prefix.EndsWith("/", StringComparison.Ordinal)
net\System\URI.cs (2)
1908IsUncOrDosPath ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal ) == 0); 1930&& !(uri.IsDosPath && otherPath.Equals(relativeUriString, StringComparison.Ordinal)))
regex\system\text\regularexpressions\RegexCharClass.cs (1)
1150int res = String.Compare(capname, _propTable[mid,0], StringComparison.Ordinal);
security\system\security\cryptography\cryptoapi.cs (1)
3798if (pvPara != null && pvPara.StartsWith(@"\\", StringComparison.Ordinal))
security\system\security\permissions\storepermission.cs (1)
124if (className == null || className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) == -1)
security\system\security\permissions\typedescriptorpermission.cs (1)
196if (className == null || className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) == -1)
services\io\system\io\FileSystemEventArgs.cs (1)
31if (!directory.EndsWith("\\", StringComparison.Ordinal)) {
services\io\system\io\RenamedEventArgs.cs (1)
33if (!directory.EndsWith("\\", StringComparison.Ordinal)) {
services\monitoring\system\diagnosticts\EventLog.cs (1)
725if ( string.Compare(keyname, index+1, source, 0, keyname.Length - index, StringComparison.Ordinal) == 0 )
services\monitoring\system\diagnosticts\Process.cs (2)
1952bool fileNameIsQuoted = (fileName.StartsWith("\"", StringComparison.Ordinal) && fileName.EndsWith("\"", StringComparison.Ordinal));
services\monitoring\system\diagnosticts\ProcessManager.cs (5)
315if (machineName.StartsWith("\\", StringComparison.Ordinal)) 693&& moduleInfo.fileName.StartsWith(@"\\?\", StringComparison.Ordinal)) { 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);
services\monitoring\system\diagnosticts\SharedUtils.cs (1)
320if (!installRoot.EndsWith("\\", StringComparison.Ordinal))
sys\system\io\ports\SerialPort.cs (1)
419if (value.StartsWith("\\\\", StringComparison.Ordinal))
System.Activities (16)
System\Activities\Debugger\DebugInfo.cs (6)
268if (!(variable.Name.StartsWith("_", StringComparison.Ordinal) || // private variables that should be hidden 322if (t == typeof(string) && value.StartsWith("\"", StringComparison.Ordinal) && value.EndsWith("\"", StringComparison.Ordinal)) 454if (stringValue.StartsWith("0X", StringComparison.Ordinal)) 463if (stringValue.StartsWith("\"", StringComparison.Ordinal)) 467if (stringValue.EndsWith("\"", StringComparison.Ordinal))
System\Activities\Expressions\Literal.cs (1)
170if (originalString.EndsWith("]", StringComparison.Ordinal) && ExpressionEscapeRegex.IsMatch(originalString))
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\Statements\StateMachineIdHelper.cs (1)
75return state2Id.StartsWith(state1Id + StateIdSeparator, StringComparison.Ordinal);
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 (6)
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (2)
95if (string.Equals(e.Key, FlowchartSizeFeature.WidthPropertyName, StringComparison.Ordinal)) 99else if (string.Equals(e.Key, FlowchartSizeFeature.HeightPropertyName, StringComparison.Ordinal))
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 (30)
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\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 (1)
68return extensionlessResourceName != null && extensionlessResourceName.EndsWith(typeName, StringComparison.Ordinal);
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\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\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\Model\GenericArgumentsUpdater.cs (1)
53if (string.Equals((string)modelItem.Properties["DisplayName"].ComputedValue, GetActivityDefaultName(oldModelItemType), StringComparison.Ordinal))
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 (1)
144return FromName(scope, name, StringComparison.Ordinal);
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\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\VBIdentifierName.cs (2)
135else if (trimedName.StartsWith("[", StringComparison.Ordinal) && trimedName.EndsWith("]", StringComparison.Ordinal))
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (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 (2)
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.Configuration (13)
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\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 (2)
43return String.Equals(s1, s2, StringComparison.Ordinal); 78return 0 == String.Compare(s1, 0, s2, 0, s2.Length, StringComparison.Ordinal);
System.Core (12)
Microsoft\Scripting\Actions\ExpandoClass.cs (2)
76if (string.Equals(klass._keys[klass._keys.Length - 1], newKey, StringComparison.Ordinal)) { 130StringComparison.Ordinal)) {
System\IO\LogStream.cs (1)
84if (filePath.StartsWith("\\\\.\\", StringComparison.Ordinal))
System\Security\Cryptography\CngProperty.cs (1)
100if (!String.Equals(Name, other.Name, StringComparison.Ordinal)) {
System\Security\Cryptography\Xml\ManifestSignedXml.cs (8)
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) { 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 (103)
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\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 (1)
68return extensionlessResourceName != null && extensionlessResourceName.EndsWith(typeName, StringComparison.Ordinal);
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\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\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\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\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 (1)
144return FromName(scope, name, StringComparison.Ordinal);
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\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\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 (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 (1)
755if (string.Compare(strTemp, "DataRow", StringComparison.Ordinal) == 0) {
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
2308if (quotedString.StartsWith(quotePrefix, StringComparison.Ordinal) == false){ 2316if (quotedString.EndsWith(quoteSuffix, StringComparison.Ordinal) == false){
fx\src\data\System\Data\Common\DBCommandBuilder.cs (6)
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 (1)
427if (!ADP.GetFullPath(fullPath).StartsWith(rootFolderPath, StringComparison.Ordinal)) {
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 (15)
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 (6)
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\Filter\FunctionNode.cs (1)
316return((string)argumentValues[1]).IndexOf((string)argumentValues[0], StringComparison.Ordinal);
fx\src\data\System\Data\OleDb\oledbconnectionstring.cs (1)
401return (("msdasql" == progid) || progid.StartsWith("msdasql.", StringComparison.Ordinal) || ("microsoft ole db provider for odbc drivers" == progid));
fx\src\data\System\Data\SimpleType.cs (1)
373if (string.Compare(this.BaseType, otherSimpleType.BaseType, StringComparison.Ordinal) != 0)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
3989if (sqlParameter.ParameterNameFixed.Equals(parameterName, StringComparison.Ordinal)) {
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (1)
99if (!instanceName.StartsWith("\\\\.\\", StringComparison.Ordinal)) {
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (2)
442Debug.Assert ( !path.StartsWith ( @"\\.\", StringComparison.Ordinal ) ); 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))
System.Data.Entity (35)
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\CqlParserHelpers.cs (1)
146if (s.Equals(_internalYaccSyntaxErrorMessage, StringComparison.Ordinal))
System\Data\Common\QueryCache\QueryCacheKey.cs (1)
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 (1)
148if (!EntityUtil.GetFullPath(fullPath).StartsWith(rootFolderPath, StringComparison.Ordinal))
System\Data\EntityModel\SchemaObjectModel\Utils.cs (1)
315return string.Compare(lhsName,rhsName,StringComparison.Ordinal);
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\MetadataArtifactLoader.cs (1)
443if (path.StartsWith(EdmConstants.WebHomeSymbol, StringComparison.Ordinal))
System\Data\Metadata\MetadataCache.cs (2)
134StringComparison.Ordinal 146StringComparison.Ordinal);
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\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 (1)
2663&& String.Equals(functionAggregate.Function.Name, "BigCount", StringComparison.Ordinal))
System\Data\SqlClient\SqlProviderManifest.cs (8)
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);
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 (13)
System\Data\Entity\Design\EntityDesignerUtils.cs (2)
106if (a.Name.Equals("Name", StringComparison.Ordinal) && a.Value.Equals("MetadataArtifactProcessing", StringComparison.OrdinalIgnoreCase)) 110if (a2.Name.Equals("Value", StringComparison.Ordinal))
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
537return StringComparison.Ordinal;
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
246if (leadingBlanks2 == leadingBlanks || leadingBlanks2.StartsWith(leadingBlanks, StringComparison.Ordinal))
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.Linq (31)
Mapping\MappedMetaModel.cs (4)
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) 703if(String.Compare(mi.Name, orphan.Value.MemberName, StringComparison.Ordinal)==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 (4)
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)) {
SqlClient\SqlProvider.cs (7)
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)) { 731string.Compare(conManager.Connection.ConnectionString, holdConnStr, StringComparison.Ordinal) != 0) { 769string.Compare(conManager.Connection.ConnectionString, holdConnStr, StringComparison.Ordinal) != 0) {
SqlClient\SqlTypeSystemProvider.cs (1)
393return s1.TrimEnd(' ').Equals(s2.TrimEnd(' '), StringComparison.Ordinal);
System.Data.Services (33)
parent\Client\System\Data\Services\Client\BatchStream.cs (6)
483if (delimiter.EndsWith("--", StringComparison.Ordinal)) 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 (1)
593if (String.Compare(text, textIndex, literal, 0, literal.Length, StringComparison.Ordinal) != 0)
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 (3)
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)"); 1623if (scheme != null && !scheme.EndsWith("://", StringComparison.Ordinal))
System.Data.Services.Client (19)
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\BatchStream.cs (6)
483if (delimiter.EndsWith("--", StringComparison.Ordinal)) 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 (3)
174if (!serviceRootString.EndsWith("/", StringComparison.Ordinal)) 2310Debug.Assert(null != baseUriWithSlash && baseUriWithSlash.IsAbsoluteUri && CommonUtil.UriToString(baseUriWithSlash).EndsWith("/", StringComparison.Ordinal), "baseUriWithSlash"); 2311Debug.Assert(!String.IsNullOrEmpty(entitySetName) && !entitySetName.StartsWith("/", StringComparison.Ordinal), "entitySetName");
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 (13)
System\Data\EntityModel\DataServiceBuildProvider.cs (1)
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 (1)
654return StringComparison.Ordinal;
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
243if (leadingBlanks2 == leadingBlanks || leadingBlanks2.StartsWith(leadingBlanks, StringComparison.Ordinal))
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.SqlXml (5)
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (2)
152StringComparison comparison = ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal; 173StringComparison comparison = ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal;
System\Xml\Xsl\XsltOld\AttributeAction.cs (1)
40if (qname.Prefix.StartsWith("xml", StringComparison.Ordinal)) {
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (2)
48return String.Compare(baseUri, nextbaseUri, StringComparison.Ordinal); 104if(string.Compare(name, methods[i].Name, ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal) == 0) {
System.IdentityModel (21)
System\IdentityModel\Claims\ClaimsConversionHelper.cs (1)
50if (String.Equals(claimset[i].Right, System.IdentityModel.Claims.Rights.PossessProperty, StringComparison.Ordinal))
System\IdentityModel\Metadata\MetadataSerializer.cs (1)
742int index = xsiType.IndexOf(":", 0, StringComparison.Ordinal);
System\IdentityModel\SignedXml.cs (2)
1181else if (idref.StartsWith("xpointer(id(", StringComparison.Ordinal) && (idref.IndexOf(")", StringComparison.Ordinal) > 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\SamlSecurityTokenHandler.cs (6)
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);
System.Management (8)
Instrumentation\EventSource.cs (1)
741if(0==String.Compare(ManagedNameAttribute.GetMemberName(type), strFilter, StringComparison.Ordinal))
managementbaseobject.cs (2)
534if (propertyName.StartsWith ("__", StringComparison.Ordinal)) 885if (propertyName.StartsWith ("__", StringComparison.Ordinal))
managementquery.cs (3)
129 if (0 != q.IndexOf(op, StringComparison.Ordinal)) 3034 if (!q.StartsWith("*", StringComparison.Ordinal)) 3055 if ((q.Length >= keyword.Length) && ((i = q.ToLower(CultureInfo.InvariantCulture).IndexOf(keyword, StringComparison.Ordinal)) != -1)) //found
WmiGenerator.cs (2)
5121if (bitMap.StartsWith(strTemp, StringComparison.Ordinal) || bitMap.StartsWith(strTemp.ToUpper(CultureInfo.InvariantCulture), StringComparison.Ordinal))
System.Net (3)
net\PeerToPeer\Collaboration\PeerCollaborationPermission.cs (1)
181if (className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) < 0){
net\PeerToPeer\PeerName.cs (1)
335return string.Compare(other.m_PeerName, m_PeerName, StringComparison.Ordinal) == 0;
net\PeerToPeer\PnrpPermission.cs (1)
168if (className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) < 0) {
System.Runtime.Caching (1)
System\Caching\MemoryCacheKeyEqualityComparer.cs (1)
18return (String.Compare(a.Key, b.Key, StringComparison.Ordinal) == 0);
System.Runtime.Remoting (30)
channels\core\corechannel.cs (7)
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) 1136if (mdPath.StartsWith("/LM/", StringComparison.Ordinal))
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 (1)
657if (!key.StartsWith("__", StringComparison.Ordinal))
channels\http\httpserverchannel.cs (1)
298if (!objectUri.StartsWith("/", StringComparison.Ordinal))
channels\http\httpsocketmanager.cs (1)
110if (!headerName.StartsWith("__", StringComparison.Ordinal)) // exclude special headers
channels\ipc\ipcserverchannel.cs (1)
246if (!objectUri.StartsWith("/", StringComparison.Ordinal))
channels\sinks\soapformattersinks.cs (2)
265if (String.Compare(contentTypeValue, CoreChannel.SOAPMimeType, StringComparison.Ordinal) == 0) 555(String.Compare(contentType, CoreChannel.SOAPMimeType, StringComparison.Ordinal) != 0))
channels\tcp\tcpserverchannel.cs (1)
306if (!objectUri.StartsWith("/", StringComparison.Ordinal))
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 (17)
System\Runtime\Serialization\CodeExporter.cs (1)
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\XmlObjectSerializerWriteContextComplexJson.cs (1)
97else if (dataContractNamespace.StartsWith(Globals.DataContractXsdBaseNamespace, StringComparison.Ordinal))
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 (4)
267if (startUri.StartsWith("<", StringComparison.Ordinal)) 269if (startUri.EndsWith(">", StringComparison.Ordinal)) 359if (uri.StartsWith(MimeGlobals.ContentIDScheme, StringComparison.Ordinal)) 361else if (uri.StartsWith("<", StringComparison.Ordinal))
System.Security (10)
system\security\cryptography\cryptoapi.cs (1)
2784if (pvPara != null && pvPara.StartsWith(@"\\", StringComparison.Ordinal))
system\security\cryptography\cryptographicattribute.cs (1)
55if (0 != String.Compare(asn.Oid.Value, oid.Value, StringComparison.Ordinal))
system\security\cryptography\pkcs\pkcsutils.cs (1)
724StringComparison.Ordinal))
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 (1)
130if (className == null || className.IndexOf(this.GetType().FullName, StringComparison.Ordinal) == -1)
System.ServiceModel (162)
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\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
193StringComparison comparisonType = ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal;
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\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 (1)
841if (requestProperty.QueryString.StartsWith("?", StringComparison.Ordinal))
System\ServiceModel\Channels\HttpChannelHelpers.cs (3)
340if (action.Length > 0 && string.Compare(message.Headers.Action, action, StringComparison.Ordinal) != 0) 2563if (value.Length > 0 && string.Compare(value, action, StringComparison.Ordinal) != 0) 2668if (string.Compare(value, action, StringComparison.Ordinal) != 0)
System\ServiceModel\Channels\HttpHeaderInfo.cs (1)
167if (string.Equals(headerEnumString, HttpResponseHeader.ETag.ToString(), StringComparison.Ordinal))
System\ServiceModel\Channels\MessageEncoder.cs (1)
132contentType.StartsWith(supportedContentType, StringComparison.Ordinal) &&
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\PeerSecurityHelpers.cs (1)
567return ((String.Compare(first, second, StringComparison.Ordinal) == 0)
System\ServiceModel\Channels\PipeConnection.cs (2)
2862if (!path.EndsWith("/", StringComparison.Ordinal)) 2869if (path.EndsWith("/", StringComparison.Ordinal))
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 (2)
540if (!path.StartsWith("/", StringComparison.Ordinal)) 543if (!path.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\Channels\TransportChannelListener.cs (3)
131if (relativeAddress.Length > 0 && !relativeAddress.EndsWith("/", StringComparison.Ordinal)) 345if (!builder.Path.EndsWith("/", StringComparison.Ordinal)) 601if (!baseAddress.AbsolutePath.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
543if (!baseAddress.AbsolutePath.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\ComIntegration\ComPlusInstanceContextInitializer.cs (1)
95int indexOfComma = args.Name.IndexOf(",", StringComparison.Ordinal);
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\Configuration\BindingCollectionElement.cs (1)
69if (collectionElement.Type.Equals(extensionSectionType.AssemblyQualifiedName, StringComparison.Ordinal))
System\ServiceModel\Configuration\EndpointCollectionElement.cs (1)
71if (collectionElement.Type.Equals(extensionSectionType.AssemblyQualifiedName, StringComparison.Ordinal))
System\ServiceModel\Configuration\ExtensionElementCollection.cs (3)
62element.Type.Equals(oldElement.Type, StringComparison.Ordinal)) 76if (element.Name.Equals(extension.Name, StringComparison.Ordinal)) 87else if (element.TypeName.Equals(extension.TypeName, StringComparison.Ordinal))
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\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 (2)
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 (1)
564if (!baseAddress.AbsoluteUri.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\Description\MessageContractExporter.cs (1)
306if (!refNs.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\Description\OperationGenerator.cs (4)
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\ServiceMetadataExtension.cs (2)
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\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 (1)
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 (2)
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\SecuritySessionFilter.cs (1)
56if (String.Equals(action, excludedActions[i], StringComparison.Ordinal))
System\ServiceModel\ServiceHost.cs (3)
701if (path.StartsWith("/", StringComparison.Ordinal) || path.StartsWith("\\", StringComparison.Ordinal)) 718if (!baseUri.AbsoluteUri.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\Transactions\WsatExtendedInformation.cs (1)
55StringComparison.Ordinal) == 0;
System\UriTemplate.cs (9)
68if (template.StartsWith("/", StringComparison.Ordinal)) 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) 1235if (varName.IndexOf(UriTemplate.WildcardPath, StringComparison.Ordinal) != -1) 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 (9)
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))
System\UriTemplateHelpers.cs (6)
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) &&
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 (3)
367Fx.Assert(relPathSeg.EndsWith("/", StringComparison.Ordinal), "problem with relative path segment"); 439if (this.addTrailingSlashToBaseAddress && !ub.Path.EndsWith("/", StringComparison.Ordinal)) 470if (uriPath.Length > basePath.Length && !basePath.EndsWith("/", StringComparison.Ordinal) && uriPath[basePath.Length] != '/')
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (1)
520if (virtualPath != null && virtualPath.EndsWith("/", StringComparison.Ordinal))
System\ServiceModel\Activation\ServiceParser.cs (1)
907return (typeName.IndexOf(",", StringComparison.Ordinal) >= 0);
System\ServiceModel\ServiceHostingEnvironment.cs (1)
544!processedVirtualPath.StartsWith(RelativeVirtualPathPrefix, StringComparison.Ordinal))
System.ServiceModel.Channels (5)
System\ServiceModel\Channels\MessageExtensionMethods.cs (1)
124string.Equals(property.Key, MessageHeadersPropertyKey, StringComparison.Ordinal))
System\ServiceModel\Channels\UdpTransportBindingElement.cs (1)
292if (assertion.LocalName.Equals(UdpConstants.RetransmissionEnabled, StringComparison.Ordinal))
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 (1)
22if (!basepath.AbsolutePath.EndsWith("/", StringComparison.Ordinal))
System.ServiceModel.Discovery (5)
System\ServiceModel\Discovery\Configuration\ConfigurationUtility.cs (1)
56bool wildcard = string.Equals(endpointConfigurationName, "*", StringComparison.Ordinal);
System\ServiceModel\Discovery\ScopeCompiler.cs (4)
79StringComparison.Ordinal)) 229if (!segment.EndsWith("/", StringComparison.Ordinal)) 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.Web (12)
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\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\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\IncomingWebRequestContext.cs (1)
348if (string.Equals(nextEntityTag, entityTag, StringComparison.Ordinal))
System\ServiceModel\Web\WebServiceHost.cs (1)
126string.Equals(protocolMappingItem.Binding, WebHttpBinding.WebHttpBindingConfigurationStrings.WebHttpBindingCollectionElementName, StringComparison.Ordinal))
System.Web (130)
Cache\OutputCache.cs (1)
469if (String.Compare(dep.GetUniqueID(), 0, depKey, idStartIndex, idLength, StringComparison.Ordinal) == 0) {
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 (2)
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\BuildResultCache.cs (1)
508if (!assemblyName.StartsWith(BuildManager.WebAssemblyNamePrefix, StringComparison.Ordinal)) {
Compilation\CodeDOMUtility.cs (1)
255if (targetPropertyName.Equals("Style", StringComparison.Ordinal)) {
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
275int lastSlash = fullPath.LastIndexOf("\\", StringComparison.Ordinal);
Configuration\BrowserDefinition.cs (1)
184if(_id.IndexOf(" ", StringComparison.Ordinal) != -1) {
Configuration\CompilationSection.cs (1)
858if (assemblyName.StartsWith(BuildManager.WebAssemblyNamePrefix, StringComparison.Ordinal))
Configuration\HttpCapabilitiesBase.cs (1)
591else if (string.Compare(tagWriter, typeof(System.Web.UI.HtmlTextWriter).FullName, StringComparison.Ordinal) == 0) {
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\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 (1)
763if (virtualPath != null && !virtualPath.StartsWith("/", StringComparison.Ordinal)) {
Handlers\AssemblyResourceLoader.cs (6)
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)) { 672if (String.Equals(embeddedResourceName, resourceName, StringComparison.Ordinal)) {
Handlers\TraceHandler.cs (1)
134_response.Redirect(url.Substring(0, url.IndexOf("?", StringComparison.Ordinal)));
Hosting\ApplicationManager.cs (2)
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);
HttpClientCertificate.cs (1)
285iStart = strAllL.IndexOf(strSubject + "=", iStart, StringComparison.Ordinal);
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\DataAnnotationsModelValidator.cs (1)
128if (String.Equals(errorMemberName, memberName, StringComparison.Ordinal))
ModelBinding\ModelMetadata.cs (1)
392if (!toStringResult.Equals(Model.GetType().FullName, StringComparison.Ordinal)) {
Routing\ParameterSubsegment.cs (1)
6if (parameterName.StartsWith("*", StringComparison.Ordinal)) {
Routing\ParsedRoute.cs (1)
444if (!String.Equals(requestPathSegment, "/", StringComparison.Ordinal)) {
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 (7)
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;
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?
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\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\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\HTMLTextWriter.cs (1)
1027if (attr.key != HtmlTextWriterAttribute.Href || !attrValue.StartsWith("javascript:", StringComparison.Ordinal)) {
UI\Page.cs (3)
1957if (nullValues[i].StartsWith(ViewStateFieldPrefixID, StringComparison.Ordinal) || nullValues[i] == postEventSourceID) { 1977else if (Request.QueryStringText.IndexOf(HttpResponse.RedirectQueryStringAssignment, StringComparison.Ordinal) != -1) 6220StringComparison.Ordinal)) {
UI\TemplateParser.cs (1)
1085if (code.StartsWith("$", StringComparison.Ordinal)) {
UI\TraceContext.cs (1)
770int loc = url.IndexOf("?", StringComparison.Ordinal);
UI\Util.cs (3)
328if (location.IndexOf("{0}", StringComparison.Ordinal) >= 0) { 1259return (String.Compare(t.FullName, "System.__ComObject", StringComparison.Ordinal) == 0); 1652if (secondScript.TrimStart().StartsWith(ClientScriptManager.JscriptPrefix, StringComparison.Ordinal)) {
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\DataBoundControlHelper.cs (1)
71if (!String.Equals(stringA[i], stringB[i], StringComparison.Ordinal)) {
UI\WebControls\HiddenField.cs (1)
111if (!current.Equals(postData, StringComparison.Ordinal)) {
UI\WebControls\SiteMapPath.cs (1)
594if (node.Url.StartsWith("\\\\", StringComparison.Ordinal)) {
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\WebParts\WebPartPersonalization.cs (1)
219!String.Equals(value, ProviderName, StringComparison.Ordinal)) {
UI\WebParts\WebPartZoneBase.cs (1)
1109if (wholePartID.StartsWith(WebPart.WholePartIDPrefix, StringComparison.Ordinal)) {
Util\AppVerifier.cs (1)
760&& thisFrame.GetMethod().DeclaringType.FullName.StartsWith("System.Web.Util.AppVerifier", StringComparison.Ordinal)) {
Util\FileUtil.cs (1)
190int idxSlashDots = physicalPath.IndexOf(slashDots, StringComparison.Ordinal);
Util\HttpEncoder.cs (1)
104int loc = s.IndexOf("%u", StringComparison.Ordinal);
Util\UriUtil.cs (2)
65if (String.Equals(escaped, unescaped, StringComparison.Ordinal)) 137return url.IndexOf(":", StringComparison.Ordinal) == -1 ||
Util\UrlPath.cs (1)
728((IsRooted(absUriOrLocalPath) || IsRelativeUrl(absUriOrLocalPath)) && !absUriOrLocalPath.TrimStart(' ').StartsWith("//", StringComparison.Ordinal));
XmlSiteMapProvider.cs (3)
282if (String.Equals(siteMapMode.Name, "siteMap", StringComparison.Ordinal)) { 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 (78)
Common\Annotation\AnnotationBase.cs (2)
3278int separatorIndex = dataPointName.IndexOf("\\r", StringComparison.Ordinal); 3311int separatorIndex = axisName.IndexOf("\\r", StringComparison.Ordinal);
Common\ChartTypes\ErrorBarChart.cs (5)
340 int valueTypeIndex = linkedSeriesName.IndexOf(":", StringComparison.Ordinal); 1122int valueTypeIndex = attribValue.IndexOf(":", StringComparison.Ordinal); 1654if (!typeName.StartsWith("(", StringComparison.Ordinal) || !typeName.EndsWith(")", StringComparison.Ordinal)) 1815 int valueTypeIndex = linkedSeriesName.IndexOf(":", StringComparison.Ordinal);
Common\ChartTypes\KagiChart.cs (2)
214 if(series.Name.StartsWith("KAGI_ORIGINAL_DATA_", StringComparison.Ordinal)) 289bool usePercentage = attrValue.EndsWith("%", StringComparison.Ordinal);
Common\ChartTypes\PieChart.cs (1)
478 if(series.Name.StartsWith("PIE_ORIGINAL_DATA_", StringComparison.Ordinal))
Common\ChartTypes\PointAndFigureChart.cs (3)
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))
Common\ChartTypes\RenkoChart.cs (2)
219if (series.Name.StartsWith("RENKO_ORIGINAL_DATA_", StringComparison.Ordinal)) 305 bool usePercentage = attrValue.EndsWith("%", StringComparison.Ordinal);
Common\ChartTypes\StackedAreaChart.cs (5)
277if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 1244 if(String.Compare(ser.Name, secondPoint.dataPoint.series.Name, StringComparison.Ordinal) == 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 && 1647if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\StackedBarChart.cs (5)
235 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 279if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 1000 int index = stackGroupName.IndexOf("__", StringComparison.Ordinal); 1287 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1320if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\StackedColumnChart.cs (5)
230 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 274if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 1006 int index = stackGroupName.IndexOf("__", StringComparison.Ordinal); 1330 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1363if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\ThreeLineBreakChart.cs (1)
220if (series.Name.StartsWith("THREELINEBREAK_ORIGINAL_DATA_", StringComparison.Ordinal))
Common\Converters\CustomAttributesConverters.cs (2)
414if (attrInfo.Name.Equals(CustomPropertyName.ErrorBarType, StringComparison.Ordinal)) 625 return (String.Compare(val, defaultValue, StringComparison.Ordinal) == 0);
Common\DataManager\DataPoint.cs (8)
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) && 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)
Common\DataManager\DataSeries.cs (2)
1213 while((keyIndex = result.IndexOf(keyword, StringComparison.Ordinal)) != -1) 1331 while((keyIndex = result.IndexOf(keyword, StringComparison.Ordinal)) != -1)
Common\Formulas\FormulaHelpers.cs (2)
1508else if (seriesFieldId.StartsWith("Y", StringComparison.Ordinal)) 1598else if (seriesFieldId.StartsWith("Y", StringComparison.Ordinal))
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\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 (3)
550 int charIndex = fontString.IndexOf(", GdiCharSet=", StringComparison.Ordinal); 555int commaIndex = val.IndexOf(",", StringComparison.Ordinal); 569charIndex = fontString.IndexOf(", GdiVerticalFont", StringComparison.Ordinal);
WebForm\ChartWebControl.cs (10)
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) 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 (9)
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) 906if (!(value.EndsWith("/", StringComparison.Ordinal) || value.EndsWith("\\", StringComparison.Ordinal))) 1098if (!value.EndsWith("/", StringComparison.Ordinal)) 1226if (!fileDirectory.EndsWith("\\", StringComparison.Ordinal)) 1572if (!String.Equals((string)_storageData[key + _privacyKeyName], privacyKey, StringComparison.Ordinal)) 1639StringComparison.Ordinal))
System.Web.DynamicData (3)
DynamicData\MetaModel.cs (1)
599return ContextType == other.ContextType && TableName.Equals(other.TableName, StringComparison.Ordinal);
DynamicData\QueryStringHandler.cs (2)
28if (!virtualPath.EndsWith("?", StringComparison.Ordinal) && !virtualPath.EndsWith("&", StringComparison.Ordinal)) {
System.Web.Entity (3)
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.Web.Entity.Design (7)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (2)
866StringComparison.Ordinal 878StringComparison.Ordinal);
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\Util\DesignerForm.cs (1)
81if (!String.Equals(rtlText, "RTL_False", StringComparison.Ordinal))
System.Web.Extensions (58)
Compilation\WCFBuildProvider.cs (2)
517if (validTypeName.Equals("_", StringComparison.Ordinal)) 551if (String.Equals(extensionFile.Name, TOOL_CONFIG_ITEM_NAME, StringComparison.Ordinal))
Compilation\WCFModel\AsmxEndpointPickerExtension.cs (1)
89if (String.Equals(binding.Name, portToDelete.Binding.Name, StringComparison.Ordinal))
Compilation\WCFModel\MetadataFile.cs (1)
499if (!ns.EndsWith("/", StringComparison.Ordinal))
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 (12)
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))
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);
Script\Serialization\JavaScriptObjectDeserializer.cs (1)
397return String.Equals(next, DateTimePrefix, StringComparison.Ordinal);
Script\Serialization\JavaScriptSerializer.cs (1)
324if (isTypeEntrySet && String.Equals(key, ServerTypeFieldName, StringComparison.Ordinal)) {
Script\Services\ClientProxyGenerator.cs (2)
239if (!String.IsNullOrEmpty(jsonpParameterName) && !jsonpParameterName.Equals("callback", StringComparison.Ordinal)) { 429int nsIndex = typeName.IndexOf(namespacePart + ".", StringComparison.Ordinal);
UI\AsyncPostBackTrigger.cs (1)
132(sourceElement.StartsWith(_associatedControl.UniqueID + "$", StringComparison.Ordinal));
UI\CompositeScriptReference.cs (1)
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\ScriptManager.cs (3)
1913sr.EffectiveResourceName.StartsWith("MicrosoftAjaxApplicationServices.", StringComparison.Ordinal)) { 1939(sr.EffectiveResourceName.StartsWith("MicrosoftAjax.", StringComparison.Ordinal))) && !uniqueScriptDict.Contains(key)) { 1946sr.EffectiveResourceName.StartsWith("MicrosoftAjaxApplicationServices.", StringComparison.Ordinal)) {
UI\ScriptReference.cs (1)
242if (!releaseName.EndsWith(".js", StringComparison.Ordinal)) {
UI\ScriptReferenceBase.cs (2)
177if (!pathWithoutQuery.EndsWith(".js", StringComparison.Ordinal)) { 191Debug.Assert(pathOrName.EndsWith(".js", StringComparison.Ordinal));
UI\ScriptResourceAttribute.cs (1)
116match.Groups["resourceType"].Value, "ScriptResource", StringComparison.Ordinal);
UI\ScriptResourceInfo.cs (2)
123if (String.Equals(wra.WebResource, resourceName, StringComparison.Ordinal)) { 132if (String.Equals(sra.ScriptName, resourceName, StringComparison.Ordinal)) {
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 (85)
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 (2)
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 (1)
540if (eventArgument.StartsWith(ShowMore, StringComparison.Ordinal))
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 (1)
306if (eventArgument.StartsWith(_showMore, StringComparison.Ordinal))
UI\MobileControls\Adapters\WmlPageAdapter.cs (1)
307lineEnd = stackTrace.IndexOf("\r\n", lineBegin, StringComparison.Ordinal);
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 (9)
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)); 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 (2)
138int index = name.LastIndexOf(Constants.PagePrefix, StringComparison.Ordinal); 208else if (Constants.UniqueFilePathSuffixVariable.StartsWith(name, StringComparison.Ordinal)) {
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\Design\Converters\StyleReferenceConverter.cs (2)
95if (null == instanceStyle || 0 != String.Compare(instanceStyle.Name, style.Name, StringComparison.Ordinal)) 114if (null == instanceStyle || 0 != String.Compare(instanceStyle.Name, style.Name, StringComparison.Ordinal))
UI\MobileControls\Design\DesignerForm.cs (1)
65if (!String.Equals(rtlText, "RTL_False", StringComparison.Ordinal)) {
UI\MobileControls\Design\ListComponentEditorPage.cs (1)
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\TemplatingOptionsDialog.cs (5)
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 (1)
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\WebConfigManager.cs (1)
167if (String.Equals(child.Name, name, StringComparison.Ordinal) &&
UI\MobileControls\DeviceSpecificChoice.cs (1)
170while ((dash = propertyName.IndexOf("-", StringComparison.Ordinal)) != -1)
UI\MobileControls\Link.cs (1)
93if (target.StartsWith(prefix, StringComparison.Ordinal))
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\MobilePage.cs (7)
570i = queryStringText.IndexOf(elementName, i, StringComparison.Ordinal); 751bool queryStringWritten = url.IndexOf("?", StringComparison.Ordinal) != -1 ? true : false; 941if (key.StartsWith(HiddenVariablePrefix, StringComparison.Ordinal)) 1512if (name.StartsWith(systemPostFieldPrefix, StringComparison.Ordinal)) 1520name.StartsWith(HiddenVariablePrefix, StringComparison.Ordinal)) 1528if (controlId.EndsWith(".x", StringComparison.Ordinal) || 1529controlId.EndsWith(".y", StringComparison.Ordinal))
UI\MobileControls\PhoneCall.cs (1)
166if (target.StartsWith(prefix, StringComparison.Ordinal))
UI\MobileControls\StyleSheet.cs (1)
750if (lowerCaseName.EndsWith(":style", StringComparison.Ordinal))
System.Web.Services (22)
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\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 (4)
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)) { 456if (answer.StartsWith("\\", StringComparison.Ordinal))
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
115if ( !dir.StartsWith(rootPathAsdi, StringComparison.Ordinal) ) {
System\Web\Services\Protocols\LogicalMethodInfo.cs (2)
468methodInfo.Name.StartsWith("Begin", StringComparison.Ordinal); 479methodInfo.Name.StartsWith("End", StringComparison.Ordinal);
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 (31)
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 (16)
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)) 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\ResXResourceWriter.cs (1)
580if((type == null && mimeType == null) || (type != null && type.StartsWith("System.Char", StringComparison.Ordinal))) {
winforms\Managed\System\WinForms\BindingSource.cs (1)
320if (String.Equals(value, this.InnerListFilter, StringComparison.Ordinal)) {
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (1)
130if (!string.Equals(value, this.text, StringComparison.Ordinal))
winforms\Managed\System\WinForms\DataGridViewColumn.cs (1)
875if (this.DataGridView != null && !string.Equals(this.name, oldName,StringComparison.Ordinal))
winforms\Managed\System\WinForms\DataGridViewLinkColumn.cs (1)
202if (!string.Equals(value, this.text, StringComparison.Ordinal))
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 (61)
Common\Annotation\AnnotationBase.cs (2)
3278int separatorIndex = dataPointName.IndexOf("\\r", StringComparison.Ordinal); 3311int separatorIndex = axisName.IndexOf("\\r", StringComparison.Ordinal);
Common\ChartTypes\ErrorBarChart.cs (5)
340 int valueTypeIndex = linkedSeriesName.IndexOf(":", StringComparison.Ordinal); 1122int valueTypeIndex = attribValue.IndexOf(":", StringComparison.Ordinal); 1654if (!typeName.StartsWith("(", StringComparison.Ordinal) || !typeName.EndsWith(")", StringComparison.Ordinal)) 1815 int valueTypeIndex = linkedSeriesName.IndexOf(":", StringComparison.Ordinal);
Common\ChartTypes\KagiChart.cs (2)
214 if(series.Name.StartsWith("KAGI_ORIGINAL_DATA_", StringComparison.Ordinal)) 289bool usePercentage = attrValue.EndsWith("%", StringComparison.Ordinal);
Common\ChartTypes\PieChart.cs (1)
478 if(series.Name.StartsWith("PIE_ORIGINAL_DATA_", StringComparison.Ordinal))
Common\ChartTypes\PointAndFigureChart.cs (3)
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))
Common\ChartTypes\RenkoChart.cs (2)
219if (series.Name.StartsWith("RENKO_ORIGINAL_DATA_", StringComparison.Ordinal)) 305 bool usePercentage = attrValue.EndsWith("%", StringComparison.Ordinal);
Common\ChartTypes\StackedAreaChart.cs (5)
277if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 1244 if(String.Compare(ser.Name, secondPoint.dataPoint.series.Name, StringComparison.Ordinal) == 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 && 1647if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\StackedBarChart.cs (5)
235 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 279if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 1000 int index = stackGroupName.IndexOf("__", StringComparison.Ordinal); 1287 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1320if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\StackedColumnChart.cs (5)
230 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 274if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 1006 int index = stackGroupName.IndexOf("__", StringComparison.Ordinal); 1330 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1363if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\ThreeLineBreakChart.cs (1)
220if (series.Name.StartsWith("THREELINEBREAK_ORIGINAL_DATA_", StringComparison.Ordinal))
Common\Converters\CustomAttributesConverters.cs (2)
414if (attrInfo.Name.Equals(CustomPropertyName.ErrorBarType, StringComparison.Ordinal)) 625 return (String.Compare(val, defaultValue, StringComparison.Ordinal) == 0);
Common\DataManager\DataPoint.cs (8)
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) && 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)
Common\DataManager\DataSeries.cs (2)
1213 while((keyIndex = result.IndexOf(keyword, StringComparison.Ordinal)) != -1) 1331 while((keyIndex = result.IndexOf(keyword, StringComparison.Ordinal)) != -1)
Common\Formulas\FormulaHelpers.cs (2)
1508else if (seriesFieldId.StartsWith("Y", StringComparison.Ordinal)) 1598else if (seriesFieldId.StartsWith("Y", StringComparison.Ordinal))
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\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 (3)
550 int charIndex = fontString.IndexOf(", GdiCharSet=", StringComparison.Ordinal); 555int commaIndex = val.IndexOf(",", StringComparison.Ordinal); 569charIndex = fontString.IndexOf(", GdiVerticalFont", StringComparison.Ordinal);
WinForm\ChartWinControl.cs (2)
1878 int versionIndex = buildNumber.IndexOf("VERSION=", StringComparison.Ordinal); 1883versionIndex = buildNumber.IndexOf(",", StringComparison.Ordinal);
System.Workflow.Activities (48)
Common\BasePropertyDescriptor.cs (3)
275if (string.Equals(this.realPropertyDescriptor.GetType().FullName, "System.ComponentModel.Design.InheritedPropertyDescriptor", StringComparison.Ordinal)) 502if (this.Name.StartsWith(parameterPrefix, StringComparison.Ordinal)) 548string propertyName = (displayName.StartsWith(parameterPrefix, StringComparison.Ordinal)) ? displayName.Substring(parameterPrefix.Length) : displayName;
Common\CompModHelpers.cs (3)
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))
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)
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\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 (1)
3730if (arg.BaseType.StartsWith("[", StringComparison.Ordinal))
WebServiceFault.cs (2)
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))
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 (139)
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 (3)
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\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 (5)
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 (2)
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\XomlCompilerParameters.cs (2)
203if (path.StartsWith(RuntimeReferencePrefix, StringComparison.Ordinal)) 208else if (path.StartsWith(FrameworkReferencePrefix, StringComparison.Ordinal))
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 (6)
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) &&
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\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 (1)
456if (!extension.Equals(WorkflowTheme.DefaultThemeFileExtension.Replace("*", ""), StringComparison.Ordinal))
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 (6)
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\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\WinOEToolBoxItem.cs (4)
35type.Name.EndsWith(ActivitySuffix, StringComparison.Ordinal) && 36!type.Name.Equals(ActivitySuffix, StringComparison.Ordinal)) 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 (32)
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)) 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)) 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 (8)
208if (xmlns.Equals(StandardXomlKeys.WorkflowXmlNs, StringComparison.Ordinal)) 235else if (xmlns.Equals(StandardXomlKeys.Definitions_XmlNs, StringComparison.Ordinal)) 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 (3)
274if (string.Equals(this.realPropertyDescriptor.GetType().FullName, "System.ComponentModel.Design.InheritedPropertyDescriptor", StringComparison.Ordinal)) 501if (this.Name.StartsWith(parameterPrefix, StringComparison.Ordinal)) 547string propertyName = (displayName.StartsWith(parameterPrefix, StringComparison.Ordinal)) ? displayName.Substring(parameterPrefix.Length) : displayName;
Shared\CompModHelpers.cs (3)
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))
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 (76)
CorrelationToken.cs (1)
93if (string.Equals(context.PropertyDescriptor.Name, "OwnerActivityName", StringComparison.Ordinal))
Hosting\DbResourceAllocator.cs (1)
126if (String.Compare(sharedConnectionTransactionService.ConnectionString, this.connString, StringComparison.Ordinal) != 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\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 (18)
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.Xml (55)
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\XmlTextReaderImplHelpers.cs (2)
687int result = string.Compare(localName, localName2, StringComparison.Ordinal); 692return string.Compare(prefix, prefix2, StringComparison.Ordinal);
System\Xml\Core\XmlTextWriter.cs (3)
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) {
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\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) {
UIAutomationClient (2)
MS\Internal\Automation\ProxyManager.cs (2)
683if (classNameForPartialMatch.IndexOf(pi.ClassName, StringComparison.Ordinal) >= 0) 690if (classNameForPartialMatch.IndexOf(pi.ClassName, StringComparison.Ordinal) >= 0
UIAutomationClientsideProviders (8)
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\WindowsMenu.cs (1)
2461if ((pos = menuText.LastIndexOf(sKeyword, StringComparison.Ordinal)) >= 0 && pos + cKeyChars + 2 <= cMenuChars)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
751if (string.Compare(name, unitRange.Font.Name, StringComparison.Ordinal) != 0)
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)
WindowsBase (25)
Base\MS\Internal\ContentType.cs (2)
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 (4)
442if (Uri.Compare(partUri, PackageRootUri, UriComponents.SerializationInfoString, UriFormat.UriEscaped, StringComparison.Ordinal) == 0) 911StringComparison.Ordinal); 1218if (!NormalizedPartUriString.EndsWith(_relationshipPartUpperCaseExtension, StringComparison.Ordinal)) 1257if ((segments[segments.Length - 1]).EndsWith(_relsrelsUpperCaseExtension, StringComparison.Ordinal))
Base\System\IO\Packaging\ZipPackage.cs (3)
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\System\Windows\Markup\ReflectionHelper.cs (1)
415Debug.Assert(!assemblyPath.EndsWith("\\", StringComparison.Ordinal), "the assembly path should be a full file path containing file extension");
XamlBuildTask (4)
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\XamlBuildTaskServices.cs (2)
332if (nsName.StartsWith(ClrNamespaceUriNamespacePart, StringComparison.Ordinal)) 335if (semicolonIndex == -1 || nsName.Trim().EndsWith(";", StringComparison.Ordinal))