644 references to IndexOf
mscorlib (44)
microsoft\win32\registry.cs (1)
100int i = keyName.IndexOf('\\');
microsoft\win32\registrykey.cs (1)
1718if (name.IndexOf('\\') == -1)
system\AppDomainSetup.cs (1)
411int colon = path.IndexOf(':') + 1;
system\diagnostics\eventing\eventsource.cs (2)
5350int colonIdx = activityFilterString.IndexOf(':'); 6845else if ((chIdx = "&<>'\"\r\n\t".IndexOf(eventMessage[i])) >= 0)
System\Diagnostics\Eventing\TraceLogging\Statics.cs (1)
170if (name != null && 0 <= name.IndexOf('\0'))
system\environment.cs (2)
951if( variable.IndexOf('=') != -1) { 1574int index = samName.IndexOf('\\');
system\globalization\culturedata.cs (1)
3023if (!inQuote && timeParts.IndexOf(format[i]) != -1)
system\io\directory.cs (1)
1115if (currentDirectory.IndexOf('~') >= 0)
system\io\path.cs (2)
465if (expandShortPaths && normalized.IndexOf('~') != -1) 493if (path.IndexOf('\0') != -1)
system\reflection\assembly.cs (1)
2452int j = codebase.IndexOf(':');
system\resources\resourcemanager.cs (1)
938int comma = asmTypeName1.IndexOf(',');
system\runtime\remoting\configuration.cs (1)
816int index = asmName.IndexOf(',');
system\runtime\remoting\objref.cs (1)
161int index = typeAndAssembly.IndexOf(',');
system\runtime\remoting\remotingconfigparser.cs (1)
1791int index = assemName.IndexOf(',');
system\runtime\remoting\soapinteroptypes.cs (7)
54int index = value.IndexOf('&'); 61index = value.IndexOf('"'); 69index = value.IndexOf('\''); 77index = value.IndexOf('<'); 85index = value.IndexOf('>'); 93index = value.IndexOf(Char.MinValue); 1500int index = value.IndexOf(':');
system\runtime\serialization\formatters\soapfault.cs (1)
62int index = ((String)value).IndexOf(':');
system\security\permissiontoken.cs (2)
77int iComma = str.IndexOf( ',' ); 114int index = className.IndexOf(',');
system\security\util\sitestring.cs (1)
53braIndex = site.IndexOf('[');
system\security\util\stringexpressionset.cs (5)
163int indexOfNull = temp.IndexOf( '\0' ); 237int indexOfNull = temp.IndexOf('\0'); 328int indexOfNull = temp.IndexOf( '\0' ); 510int indexOfSeparator = currentString.IndexOf( m_separators[0] ); 769else if (path.IndexOf('~') != -1)
system\security\util\urlstring.cs (7)
210int index = url.IndexOf( ':' ); 286int userpassIndex = temp.IndexOf('@'); 484int index = temp.IndexOf( '/'); 586int index = temp.IndexOf('/'); 776int directorySlashIndex = directory.IndexOf( '\\' ); 818int directorySlashIndex = directory.IndexOf( '\\' ); 1164if (m_site.Length > 2 && m_site.IndexOf( ':' ) != -1)
system\security\util\xmlutil.cs (4)
93if (fullClassName.IndexOf('\'') >= 0) 98int commaIndex = fullClassName.IndexOf( ',' ); 138if (fullClassName.IndexOf('\'') >= 0) 148int commaIndex = fullClassName.IndexOf( ',' );
PresentationBuildTasks (14)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (1)
970int colonIndex = pair.IndexOf(':');
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
527if (reader.Name.IndexOf('.') >= 0)
Framework\System\Windows\Markup\MarkupExtensionParser.cs (5)
583int typeIndex = typename.IndexOf(':'); 769int typeIndex = typename.IndexOf(':'); 1391int nameIndex = propertyName.IndexOf(':'); 1485int dotIndex = name.IndexOf('.'); 1526int nameIndex = name.IndexOf(':');
Framework\System\Windows\Markup\StyleXamlParser.cs (1)
402int colonIndex = target.IndexOf(':');
Framework\System\Windows\Markup\TemplateXamlParser.cs (1)
450int colonIndex = target.IndexOf(':');
Framework\System\Windows\Markup\XamlReaderHelper.cs (2)
2750int dotIndex = name.IndexOf('.'); 3064int colonIndex = attribData.Args.IndexOf(':');
Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
2343int typeIndex = typeName.IndexOf(':'); 3077int colonIndex = typeString.IndexOf(':'); 3155int colonIndex = typeString.IndexOf(':');
PresentationCore (6)
Core\CSharp\MS\Internal\FontCache\CanonicalFontFamilyReference.cs (1)
188int i = normalizedString.IndexOf('#');
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
596int length = s.IndexOf('#');
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (2)
874int index = contentRange.IndexOf('-'); 888index = contentRange.IndexOf('/');
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
332if (guidString.IndexOf('-') == -1)
Core\CSharp\System\Windows\Input\Command\KeyGestureConverter.cs (1)
101int index = fullName.IndexOf(DISPLAYSTRING_SEPARATOR);
PresentationFramework (35)
src\Framework\MS\Internal\Data\PathParser.cs (1)
194while (_index < _n && (level > 0 || SpecialChars.IndexOf(_path[_index]) < 0))
src\Framework\MS\Internal\Helper.cs (1)
765if (stringFormat.IndexOf('{') < 0)
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (1)
902int suffixStart = name.IndexOf('.');
src\Framework\MS\Internal\Markup\StaticExtension.cs (1)
70int dotIndex = Member.IndexOf('.');
src\Framework\System\Windows\Controls\ContentPresenter.cs (3)
229bool oldHasAccessKey = (oldString.IndexOf(AccessText.AccessKeyMarker) > -1); 230bool newHasAccessKey = (newString.IndexOf(AccessText.AccessKeyMarker) > -1); 893if (this.RecognizesAccessKey && s.IndexOf(AccessText.AccessKeyMarker) > -1)
src\Framework\System\Windows\Controls\TextBox.cs (1)
1737int anchorIndex = newText.IndexOf(anchor);
src\Framework\System\Windows\Data\Binding.cs (1)
785if (!treeContextIsRequired && HasValue(Feature.XPath) && XPath.IndexOf(':') >= 0)
src\Framework\System\Windows\Documents\FixedPage.cs (2)
676String inputUriStringWithoutFragment = inputUriString.Substring(0, inputUriString.IndexOf('#')); 1136fixedPage.StartPartUriString = startPartUriString.Substring(0, startPartUriString.IndexOf('#'));
src\Framework\System\Windows\Documents\Glyphs.cs (3)
428int firstBracket = valueSpec.IndexOf('('); 441int secondBracket = valueSpec.IndexOf(')'); 446int colon = valueSpec.IndexOf(':');
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (4)
279if (s.IndexOf('"') == -1) 3710int iCP = entry.Name.IndexOf('('); 3779i = name.IndexOf(','); 3785i = value.IndexOf(',');
src\Framework\System\Windows\Input\Command\CommandValueSerializer.cs (1)
132int dotIndex = value.IndexOf('.');
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2130string assemblyShortName = assemblyLongName.Substring(0, assemblyLongName.IndexOf(','));
src\Framework\System\Windows\Markup\BamlWriter.cs (1)
552int colonIndex = data.Args.IndexOf(':');
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (5)
583int typeIndex = typename.IndexOf(':'); 769int typeIndex = typename.IndexOf(':'); 1391int nameIndex = propertyName.IndexOf(':'); 1485int dotIndex = name.IndexOf('.'); 1526int nameIndex = name.IndexOf(':');
src\Framework\System\Windows\Markup\RoutedEventConverter.cs (2)
65int lastIndex = routedEventName.IndexOf('.'); 160int nsIndex = nameString.IndexOf(':');
src\Framework\System\Windows\Markup\RoutedEventValueSerializer.cs (1)
64int index = value.IndexOf('.');
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (4)
2261int colonIndex = typeName.IndexOf(':'); 2343int typeIndex = typeName.IndexOf(':'); 3077int colonIndex = typeString.IndexOf(':'); 3251int nsIndex = nameString.IndexOf(':');
src\Framework\System\Windows\PropertyPath.cs (2)
284if (name.IndexOf('.') >= 0) 845int nsIndex = name.IndexOf(':');
SMSvcHost (1)
System\ServiceModel\Activation\ListenerAdapter.cs (1)
481int index = binding.IndexOf(':');
System (64)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
511if (value.Length < 256 || value.Length > 1500 || (value.IndexOf('\0') != -1))
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
1118if( typeName.IndexOf('(') == -1) { 1131int index = typeName.IndexOf('(');
compmod\system\codedom\CodeTypeReference.cs (1)
253if (baseType != null && baseType.IndexOf('`') != -1)
compmod\system\componentmodel\design\PropertyTabAttribute.cs (1)
96int commaIndex = tabClassNames[i].IndexOf(',');
compmod\system\componentmodel\design\serialization\DesignerSerializerAttribute.cs (1)
76int comma = baseType.IndexOf(',');
compmod\system\componentmodel\design\serialization\RootDesignerSerializerAttribute.cs (1)
92int comma = baseType.IndexOf(',');
compmod\system\componentmodel\DesignerAttribute.cs (1)
124int comma = baseType.IndexOf(',');
compmod\system\componentmodel\EditorAttribute.cs (1)
96int comma = baseType.IndexOf(',');
compmod\system\componentmodel\EnumConverter.cs (2)
120if (strValue.IndexOf(',') != -1) { 175if (type.IsDefined(typeof(FlagsAttribute), false) && enumName.IndexOf(',') != -1) {
compmod\system\componentmodel\PropertyDescriptor.cs (1)
394int comma = typeName.IndexOf(',');
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (2)
876int commaIndex = typeName.IndexOf(','); 1962int commaIndex = typeName.IndexOf(',');
compmod\system\componentmodel\SyntaxCheck.cs (1)
34return (value.IndexOf('\\') == -1);
net\System\IriHelper.cs (1)
127return (UriHelper.RFC3986ReservedMarks.IndexOf(ch) >= 0);
net\System\Net\_AuthenticationState.cs (1)
137&& host.IndexOf('.') == -1)
net\System\Net\_AutoWebProxyScriptHelper.cs (2)
255return hostName.IndexOf('.') == -1; 291int index = hostDom.IndexOf('.');
net\System\Net\_CommandStream.cs (1)
228int index = sendCommand.IndexOf(' ');
net\System\Net\_Connection.cs (1)
2192int index = contentLengthString.IndexOf(':');
net\System\Net\_DigestClient.cs (2)
169if ((index==0 || HttpDigest.ValidSeparator.IndexOf(challenge.QualityOfProtection[index - 1])>=0) && 170(index+HttpDigest.SupportedQuality.Length==challenge.QualityOfProtection.Length || HttpDigest.ValidSeparator.IndexOf(challenge.QualityOfProtection[index + HttpDigest.SupportedQuality.Length])>=0) ) {
net\System\Net\_FtpControlStream.cs (1)
1033int firstQuote = str.IndexOf('"');
net\System\Net\_HeaderInfoTable.cs (1)
82bool noComma = lastElement.IndexOf(',') < 0;
net\System\Net\_LoggingObject.cs (1)
944int pipeIndex = fullMessage.IndexOf('|');
net\System\Net\_WebProxyDataBuilder.cs (2)
37if (addressString.IndexOf(addressListSchemeValueDelimiter) == -1) 222if (regexReserved.IndexOf(c) != -1) {
net\System\Net\Cache\HttpRequestCacheValidator.cs (1)
698int colpos = s.IndexOf(':');
net\System\Net\cookie.cs (1)
440int host_dot = host.IndexOf('.');
net\System\Net\cookiecontainer.cs (2)
536int dot = host.IndexOf('.'); 720int dot = fqdnRemote.IndexOf('.');
net\System\Net\FtpWebRequest.cs (1)
534int index = userInfo.IndexOf(':');
net\System\Net\HttpListener.cs (1)
1751index = inBlob.IndexOf(':');
net\System\Net\HttpListenerRequestUriBuilder.cs (1)
473int queryIndex = uriString.IndexOf('?');
net\System\Net\HttpWebRequest.cs (4)
2462if ((value.IndexOf('/') != -1) || (!TryGetHostUri(value, out hostUri))) 2475else if (value.IndexOf(':') == -1) { 2479int endOfIPv6Address = value.IndexOf(']'); 6284if (String.Compare(curRange.Substring(0, curRange.IndexOf('=')), rangeSpecifier, StringComparison.OrdinalIgnoreCase) != 0) {
net\System\Net\IPAddress.cs (1)
172if (ipString.IndexOf(':') != -1 ) {
net\System\Net\mail\SmtpDateTime.cs (1)
300int indexOfHourSeparator = data.IndexOf(':');
net\System\Net\NetworkInformation\PhysicalAddress.cs (1)
107if (address.IndexOf('-') >= 0 ){
net\System\Net\WebHeaderCollection.cs (1)
654int colpos = header.IndexOf(':');
net\System\Net\webproxy.cs (1)
356int dot = hostString.IndexOf('.');
net\System\Net\WebSockets\WebSocketHelpers.cs (1)
396Separators.IndexOf(ch) >= 0)
net\System\Net\WebUtility.cs (1)
704return (s.IndexOf('&') >= 0);
net\System\URI.cs (1)
5012int idx = basePart.OriginalString.IndexOf(':');
net\System\uribuilder.cs (5)
81int index = userInfo.IndexOf(':'); 155int end = value.IndexOf('#'); 206if (m_host.IndexOf(':') >= 0) { 297int index = value.IndexOf(':'); 391int index = userInfo.IndexOf(':');
net\System\UriHelper.cs (9)
683if ((ch != ':' && (RFC2396ReservedMarks.IndexOf(ch) >= 0) || (AdditionalUnsafeToUnescape.IndexOf(ch) >= 0))) 688else if ((RFC3986ReservedMarks.IndexOf(ch) >= 0) || (AdditionalUnsafeToUnescape.IndexOf(ch) >= 0)) 704return ((RFC2396ReservedMarks.IndexOf(c) >= 0) || c == '#'); 706return (RFC3986ReservedMarks.IndexOf(c) >= 0); 717return (RFC2396UnreservedMarks.IndexOf(c) >= 0); 719return (RFC3986UnreservedMarks.IndexOf(c) >= 0); 728return (RFC3986UnreservedMarks.IndexOf(c) >= 0);
security\system\security\Authentication\ExtendedProtection\ServiceNameCollection.cs (2)
103int shashIndex = inputServiceName.IndexOf('/'); 127int nextSlashIndex = hostPortAndDistinguisher.IndexOf('/');
services\monitoring\system\diagnosticts\EventLogEntry.cs (1)
425int percentIdx = msg.IndexOf('%');
System.Activities (4)
System\Activities\ActivityUtilities.cs (1)
491int tickIndex = displayName.IndexOf('`');
System\Activities\Debugger\DebugInfo.cs (2)
511int endIndex = stringValue.IndexOf('\''); 514endIndex = stringValue.IndexOf('"');
System\Activities\XamlIntegration\DynamicActivityXamlReader.cs (1)
587int lastIndex = clrNamespace.IndexOf(';');
System.Activities.Presentation (6)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
279int genericParamsIndex = iconKey.IndexOf('`');
System.Activities.Presentation\System\Activities\Presentation\Base\Core\GenericTypeParameterConverter.cs (2)
116strBldr.Append(resultType.FullName.Substring(0, resultType.FullName.IndexOf('`'))); 120strBldr.Append(resultType.Name.Substring(0, resultType.Name.IndexOf('`')));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
1281_isAttached = _parent.PropertyName.IndexOf('.') > -1;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
749if (attachedOnly && propertyName.IndexOf('.') < 0)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
390int indexOfSquareBrackets = segment.IndexOf('[');
System.AddIn (3)
System\Addin\Hosting\InspectionWorker.cs (1)
72String simpleName = assemblyRef.Substring(0, assemblyRef.IndexOf(','));
System\Addin\Hosting\Utils.cs (1)
219int firstComma = assemblyRef.IndexOf(',');
System\Addin\MiniReflection\TypeInfo.cs (1)
395int firstComma = _assemblyQualifiedName.IndexOf(',');
System.ComponentModel.DataAnnotations (1)
DataAnnotations\PhoneAttribute.cs (1)
55|| _additionalPhoneNumberCharacters.IndexOf(c) != -1)) {
System.Configuration (7)
System\Configuration\BaseConfigurationRecord.cs (3)
3649if (invalidFirstSubPathCharacters.IndexOf(subPath[0]) != -1) { 3661if (invalidLastSubPathCharacters.IndexOf(subPath[subPath.Length-1]) != -1) { 3805if (configSource.IndexOf('/') != -1) {
System\Configuration\ConfigurationElement.cs (1)
769if (attribCollection.AddItemName.IndexOf(',') == -1) {
System\Configuration\ConfigurationProperty.cs (1)
141if (attribCollection.AddItemName.IndexOf(',') == -1) {
System\Configuration\ConfigurationSectionCollection.cs (1)
147if (name.IndexOf('/') >= 0)
System\Configuration\ConfigurationSectionGroupCollection.cs (1)
153if (name.IndexOf('/') >= 0)
System.Data (37)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
279int genericParamsIndex = iconKey.IndexOf('`');
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\GenericTypeParameterConverter.cs (2)
116strBldr.Append(resultType.FullName.Substring(0, resultType.FullName.IndexOf('`'))); 120strBldr.Append(resultType.Name.Substring(0, resultType.Name.IndexOf('`')));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
1281_isAttached = _parent.PropertyName.IndexOf('.') > -1;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
749if (attachedOnly && propertyName.IndexOf('.') < 0)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
390int indexOfSquareBrackets = segment.IndexOf('[');
fx\src\data\System\Data\Common\AdapterUtil.cs (3)
2011int h = hexDigits.IndexOf(Char.ToLower(c[i], invariant)); 2012int l = hexDigits.IndexOf(Char.ToLower(c[i+1], invariant)); 2030if (specialCharacters.IndexOf(currentChar) >= 0) {
fx\src\data\System\Data\Common\DBCommandBuilder.cs (1)
81if (columnName.IndexOf(' ') >= 0) {
fx\src\data\System\Data\Common\DbConnectionOptions.cs (5)
245(('{' == keyValue[0]) || (0 <= keyValue.IndexOf(';')) || (0 == String.Compare(DbConnectionStringKeywords.Driver, keyName, StringComparison.OrdinalIgnoreCase))) && 260else if ((-1 != keyValue.IndexOf('\"')) && (-1 == keyValue.IndexOf('\''))) { 769return (-1 == keyvalue.IndexOf('\u0000')); 780return ((0 < keyname.Length) && (';' != keyname[0]) && !Char.IsWhiteSpace(keyname[0]) && (-1 == keyname.IndexOf('\u0000')));
fx\src\data\System\Data\Common\MultipartIdentifier.cs (6)
68if (-1 != leftQuote.IndexOf(separator) || -1 != rightQuote.IndexOf(separator) || leftQuote.Length != rightQuote.Length) { 94if (-1 != (quoteIndex = leftQuote.IndexOf(testchar))) { // If we are a left quote 103if (-1 != rightQuote.IndexOf(testchar)) { // If we shouldn't see a right quote 121if (-1 != rightQuote.IndexOf (testchar)) { 125if (-1 != leftQuote.IndexOf(testchar)) {
fx\src\data\System\Data\DataTable.cs (1)
5750int nsSeperator = CurrentTableFullName.IndexOf(':');
fx\src\data\System\Data\Filter\ExpressionParser.cs (1)
994if (pos+1 < text.Length && charsToEscape.IndexOf(text[pos+1]) >= 0) {
fx\src\data\System\Data\Filter\NameNode.cs (1)
173if (i+1 < pos && charsToEscape.IndexOf(text[i+1]) >= 0) {
fx\src\data\System\Data\Odbc\OdbcUtils.cs (1)
356int iNul = text.IndexOf('\0');
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
686if (svalue.IndexOf(',') != -1) {
fx\src\data\System\Data\SimpleType.cs (1)
234int iStart = name.IndexOf(':');
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (3)
391if (0 <= _expandedAttachDBFilename.IndexOf('|')) { 405else if (0 <= _attachDBFileName.IndexOf('|')) { 772int separatorPos = name.IndexOf('.'); // to compare just 'machine' part
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (1)
530int index = key.IndexOf(';'); // Our format is simple: "AppDomainKey;commandHash"
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
1393int iColon = errorMessage.IndexOf(':');
fx\src\data\System\Data\SqlClient\TdsParserStaticMethods.cs (2)
59int index = aliasLookup.IndexOf(','); 71index = parsedAliasName.IndexOf(':');
fx\src\data\System\Data\XMLSchema.cs (3)
228int iStart = name.IndexOf(':'); 2398if (QualifiedTableName.IndexOf(':') != -1) 2399prefix = QualifiedTableName.Substring(0, QualifiedTableName.IndexOf(':'));
System.Data.Entity (19)
System\Data\Common\EntitySql\AST\Literal.cs (1)
557if (datetimeLiteralValue.IndexOf('+') == -1)
System\Data\Common\EntitySql\CqlLexerHelpers.cs (5)
695Debug.Assert(-1 != literal.IndexOf('\''), "quoted literal value must have single quotes"); 697Debug.Assert(literal.IndexOf('\'') != literal.LastIndexOf('\''), "quoted literal value must have 2 single quotes"); 703if ((literal.Split(new char[] { '\'' }).Length != 3) || (-1 == literal.IndexOf('\'')) || (-1 == literal.LastIndexOf('\''))) 708int startIndex = literal.IndexOf('\''); 712Debug.Assert(literalPayload.IndexOf('\'') == -1, "quoted literal payload must not have single quotes");
System\Data\Common\Internal\MultipartIdentifier.cs (6)
63Debug.Assert(-1 == leftQuote.IndexOf(separator) && -1 == rightQuote.IndexOf(separator) && leftQuote.Length == rightQuote.Length, "Incorrect usage of quotes"); 93if (-1 != (quoteIndex = leftQuote.IndexOf(testchar))) 100if (-1 != rightQuote.IndexOf(testchar)) 122if (-1 != rightQuote.IndexOf(testchar)) 127if (-1 != leftQuote.IndexOf(testchar))
System\Data\EntityClient\DbConnectionOptions.cs (1)
377return ((0 < keyname.Length) && (';' != keyname[0]) && !Char.IsWhiteSpace(keyname[0]) && (-1 == keyname.IndexOf('\u0000')));
System\Data\EntityModel\SchemaObjectModel\Utils.cs (1)
196Debug.Assert(!(schema.DataModel == SchemaDataModelOption.EntityDataModel && name.IndexOf('.') >= 0),
System\Data\Mapping\StorageMappingItemLoader.cs (3)
3026int index = typeName.IndexOf(StorageMslConstructs.TypeNameSperator); 3057index = typeName.IndexOf(StorageMslConstructs.TypeNameSperator); 3068index = typeName.IndexOf(StorageMslConstructs.TypeNameSperator);
System\Data\Query\PlanCompiler\TransformationRules.cs (1)
1100int wildCardIndex = pattern.IndexOf('%');
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
968bool needsCast = -1 == strDecimal.IndexOf('.') && (strDecimal.TrimStart(new char[] { '-' }).Length < 20);
System.Data.Entity.Design (5)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (1)
723int dotIndex = targetSchemaNamespace.IndexOf('.');
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
183int start = text.IndexOf('\n');
System\Data\EntityModel\Emitters\FixUpCollection.cs (3)
394int parIdx1 = line.IndexOf('('); 395int parIdx2 = line.IndexOf(')'); 396int equIdx = line.IndexOf('='); //return -1 for absent equal sign.
System.Data.Linq (6)
SqlClient\Query\SqlFormatter.cs (1)
1304if (str.IndexOf('\'') < 0) return str;
SqlClient\Query\SqlIdentifier.cs (2)
56int splitPosition = s.IndexOf(SchemaSeparatorChar); 81int splitPosition = s.IndexOf(SchemaSeparatorChar);
SqlClient\SqlProvider.cs (1)
479if (fileOrServerOrConnectionString.IndexOf('=') >= 0) {
SqlClient\SqlTypeSystemProvider.cs (2)
826int paren = stype.IndexOf('('); 827int space = stype.IndexOf(' ');
System.Data.Services (8)
parent\Client\System\Data\Services\Client\BatchStream.cs (2)
1318int colon = line.IndexOf(':'); 1353int index1 = line.IndexOf(' ');
System\Data\Services\HttpProcessUtility.cs (2)
357int separator = text.IndexOf(';'); 1048int separatorIdx = candidate.IndexOf('/');
System\Data\Services\Providers\ResourceType.cs (1)
1162int indexOfSeparator = epmAttr.SourcePath.IndexOf('/');
System\Data\Services\Serializers\DataStringEscapeBuilder.cs (1)
81else if (SensitiveCharacters.IndexOf(current) >= 0)
System\Data\Services\Serializers\MetadataSerializer.cs (1)
425removePrefix ? attr.SourcePath.Substring(attr.SourcePath.IndexOf('/') + 1) : attr.SourcePath);
System\Data\Services\WebUtil.cs (1)
754else if (c < '\x20' || c > '\x7F' || c == ' ' || Tspecials.IndexOf(c) >= 0)
System.Data.Services.Client (3)
parent\Server\System\Data\Services\HttpProcessUtility.cs (1)
357int separator = text.IndexOf(';');
System\Data\Services\Client\BatchStream.cs (2)
1318int colon = line.IndexOf(':'); 1353int index1 = line.IndexOf(' ');
System.Data.Services.Design (4)
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
178int start = text.IndexOf('\n');
System\Data\EntityModel\Emitters\FixUpCollection.cs (3)
390int parIdx1 = line.IndexOf('('); 391int parIdx2 = line.IndexOf(')'); 392int equIdx = line.IndexOf('='); //return -1 for absent equal sign.
System.Data.SqlXml (3)
System\Xml\Xsl\Runtime\DecimalFormatter.cs (1)
162if (ClrSpecialChars.IndexOf(ch) >= 0) {
System\Xml\Xsl\Runtime\XsltFunctions.cs (1)
155int index = mapString.IndexOf(arg[i]);
System\Xml\Xsl\XPath\XPathScanner.cs (1)
499Debug.Assert("()[].@,*/$}".IndexOf((char)t) >= 0);
System.Drawing (4)
commonui\System\Drawing\ColorConverter.cs (1)
155if (text.IndexOf(sep) == -1) {
commonui\System\Drawing\FontConverter.cs (1)
107int nameIndex = text.IndexOf(sep);
commonui\System\Drawing\Printing\PrinterSettings.cs (2)
1204int index = name.IndexOf('\0'); 1245int index = name.IndexOf('\0');
System.IdentityModel (7)
System\IdentityModel\Tokens\Saml2Attribute.cs (1)
159int indexOfHash = value.IndexOf('#');
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
3228int indexOfHash = data.AttributeValueXsiType.IndexOf('#');
System\IdentityModel\Tokens\SamlAttribute.cs (1)
148int indexOfHash = value.IndexOf('#');
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
2792int indexOfHash = SamlAttribute.AttributeValueXsiType.IndexOf('#');
System\IdentityModel\Tokens\SessionSecurityToken.cs (2)
1004int delimiterPos = windowsLogonName.IndexOf('\\'); 1779int delimiterPos = name.IndexOf('@');
System\IdentityModel\XmlUtil.cs (1)
162int colon = qstring.IndexOf(':'); // index of char is always ordinal
System.Management (12)
managementquery.cs (9)
142 if (-1 == (i = q.IndexOf (' '))) 989 if ((i = q.IndexOf(',')) > 0) 999 if ((i = q.IndexOf(' ')) > 0) 1667 if (0 != q.IndexOf('{')) 1674 if (-1 == (i = q.IndexOf('}'))) 2182 if (0 != q.IndexOf('{')) 2189 if (-1 == (i = q.IndexOf('}'))) 3078 if ((i = q.IndexOf(',')) > 0) 3088 if ((i = q.IndexOf(' ')) > 0)
WmiGenerator.cs (3)
891if (OriginalClassName.IndexOf('_') > 0) 893strClass = OriginalClassName.Substring(0,OriginalClassName.IndexOf('_')); 901strClass = OriginalClassName.Substring(OriginalClassName.IndexOf('_')+1);
System.Messaging (4)
System\Messaging\MessageQueue.cs (4)
822return queuePath.Substring(0, queuePath.IndexOf('\\')); 1134return queuePath.Substring(queuePath.IndexOf('\\') + 1); 3314string machine = queuePath.Substring(0, queuePath.IndexOf('\\')); 3316string name = queuePath.Substring(queuePath.IndexOf('\\'));
System.Net (3)
net\PeerToPeer\Collaboration\CollaborationHelperFunctions.cs (1)
67int endVal = guidString.IndexOf('-');
net\PeerToPeer\PeerName.cs (2)
457int IndexOfPeriod = peerName.IndexOf('.'); 528int indexOfPeriod = peerName.IndexOf('.');
System.Runtime.Remoting (14)
channels\http\httpchannelhelper.cs (2)
126index = uri.IndexOf('?'); 159int index = part.IndexOf('=');
metadata\sdlchannelsink.cs (1)
240int index = hostName.IndexOf(':');
metadata\wsdlparser.cs (10)
726int index = location.IndexOf(':'); 738index = location.IndexOf(':'); 2547int index = identifier.IndexOf('['); 2640int index = xsdType.IndexOf('['); 2753int index = fileName.IndexOf(','); // reduce to simple assembly name 2862int index = type.IndexOf('+'); 3439int index = name.IndexOf('.'); 5513int index = name.IndexOf('+'); 5720int index = method.Name.IndexOf('.'); 5922int index = printName.IndexOf('.');
metadata\wsdlwriter.cs (1)
788index = url.IndexOf('&');
System.Runtime.Serialization (9)
System\Runtime\Serialization\DataContract.cs (2)
1664int iParam = typeName.IndexOf('['); 1861int iParam = localName.IndexOf('[');
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (1)
69int colon = qname.IndexOf(':');
System\Runtime\Serialization\SchemaExporter.cs (1)
286int iParam = typeName.IndexOf('[');
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
469int colon = qname.IndexOf(':');
System\Xml\XmlBaseReader.cs (2)
555int index = name.IndexOf(':'); 1110int index = name.IndexOf(':');
System\Xml\XmlConverter.cs (1)
479int index = qname.IndexOf(':');
System\Xml\XmlMtomReader.cs (1)
2403int startInfoOffset = startInfo.IndexOf(';');
System.ServiceModel (19)
System\ServiceModel\Channels\ContextProtocol.cs (1)
111int equalsSignIndex = trimmedToken.IndexOf('=');
System\ServiceModel\Channels\MsmqSubqueueLockingQueue.cs (2)
435int addressStartPos = formatNameWithProtocol.IndexOf(':') + 1; 437formatNameWithProtocol.IndexOf('\\') - addressStartPos);
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
130int semiColonIndex = contentType.IndexOf(';');
System\ServiceModel\Channels\TransportChannelListener.cs (1)
352int slashIndex = relativePath.IndexOf('/');
System\ServiceModel\Description\ConfigLoader.cs (1)
392int colonIndex = rawAddress.IndexOf(':');
System\ServiceModel\Description\ServiceReflector.cs (1)
53int nameEnd = t.Name.IndexOf('`');
System\ServiceModel\Dispatcher\QueryFunctions.cs (1)
1225int idx = keys.IndexOf(c);
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
380int delimiterPos = downlevelName.IndexOf('\\');
System\ServiceModel\UpnEndpointIdentity.cs (1)
131int delimiterPos = downlevelName.IndexOf('\\');
System\ServiceModel\XmlUtil.cs (1)
100int index = qname.IndexOf(':');
System\UriTemplate.cs (6)
73int fragmentStart = template.IndexOf('#'); 84int queryStart = template.IndexOf('?'); 1547if ((varDeclaration.IndexOf('{') != -1) || (varDeclaration.IndexOf('}') != -1)) 1552int equalSignIndex = varDeclaration.IndexOf('='); 1567if (defaultValue.IndexOf('=') != -1)
System\UriTemplateCompoundPathSegment.cs (1)
90if (literal.IndexOf('}') != -1)
System\UriTemplateHelpers.cs (1)
200if (path.IndexOf('/') != -1)
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\ServiceParser.cs (1)
391if (this.serviceText.IndexOf('>') == -1)
System\ServiceModel\ServiceHostingEnvironment.cs (2)
149if (virtualPath.IndexOf(UriSchemeSeparator) > 0) 551int pos = processedVirtualPath.IndexOf(FileExtensionSeparator);
System.ServiceModel.Activities (2)
System\ServiceModel\XamlIntegration\ServiceXNameTypeConverter.cs (1)
74return (name.IndexOf(':') >= 1) || (name.Length > 0 && name[0] == '{');
System\ServiceModel\XamlIntegration\XNameTypeConverter.cs (1)
64int indexOfColon = stringValue.IndexOf(':');
System.ServiceModel.Discovery (4)
System\ServiceModel\Discovery\ScopeCompiler.cs (3)
217int index = segment.IndexOf(';'); 377if (rdn.IndexOf('+') == -1) 410int equalIndex = attrTypeAndValue.IndexOf('=');
System\ServiceModel\Discovery\SerializationUtility.cs (1)
22int index = prefixedQName.IndexOf(':');
System.ServiceModel.Internals (3)
System\Runtime\Diagnostics\EventLogger.cs (1)
360if (eventLogParameter.IndexOf('%') < 0)
System\Runtime\UrlUtility.cs (2)
59int i = str.IndexOf('?'); 144if (str != null && str.IndexOf(' ') >= 0)
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (1)
239int variablesIndex = uriTemplate.IndexOf('?');
System.Web (111)
Cache\SqlCacheDependency.cs (2)
613if (database.IndexOf(CacheKeySeparatorChar) != -1) { 617if (table.IndexOf(CacheKeySeparatorChar) != -1) {
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
755Debug.Assert(pseSub.Name.IndexOf('.') < 0, "pseSub._name.IndexOf('.') < 0");
Compilation\IImplicitResourceProvider.cs (2)
180if (key.IndexOf(':') > 0) { 191int periodIndex = key.IndexOf('.');
Compilation\ProfileBuildProvider.cs (2)
130int pos = property.Name.IndexOf('.'); 176int pos = name.IndexOf('.');
Configuration\AuthenticationConfig.cs (2)
70int iqs = loginUrl.IndexOf('?'); 82if (loginUrl.IndexOf('%') >= 0) {
Configuration\HttpCapabilitiesBase.cs (1)
541int firstDecimal = minor.IndexOf('.');
Configuration\WebConfigurationHost.cs (1)
689int firstSlash = locationSubPath.IndexOf(PathSeparator);
CrossSiteScriptingValidation.cs (1)
117int colonPosition = s.IndexOf(':');
DataAccess\SqlConnectionHelper.cs (1)
164int pos = strUpper.IndexOf('=');
FileChangesMonitor.cs (1)
690if (file.IndexOf('~') != -1) {
Handlers\AssemblyResourceLoader.cs (1)
524int separatorIndex = decryptedData.IndexOf('|');
Hosting\IIS7WorkerRequest.cs (2)
1490if (String.IsNullOrEmpty(cacheUrl) || (!enableKernelCacheForVaryByStar && cacheUrl.IndexOf('?') != -1)) { 1968return (username.IndexOf('\0') == -1); // true if no embedded null is present
Hosting\ISAPIWorkerRequest.cs (1)
2501if (String.IsNullOrEmpty(cacheUrl) || (!enableKernelCacheForVaryByStar && cacheUrl.IndexOf('?') != -1)) {
Hosting\SimpleWorkerRequest.cs (1)
41int i = _page.IndexOf('/');
HttpApplication.cs (2)
1879int namePosIndex = appMethodName.IndexOf('_'); 2667if((culture.Length > 5) && (culture.IndexOf(':') == 4)) {
HttpApplicationFactory.cs (1)
273int j = name.IndexOf('_');
HttpContext.cs (1)
1540int iqs = path.IndexOf('?');
HttpCookie.cs (4)
321if (_stringValue.IndexOf('&') >= 0 || _stringValue.IndexOf('=') >= 0) 371int dividerIndex = input.IndexOf(';'); 391int assignmentIndex = cookieAv.IndexOf('=');
HttpRequest.cs (5)
1455int qsIndex = uri.IndexOf('?'); 1548|| path.IndexOf('.') > -1) 1902if (serverName.IndexOf(':') >= 0 && serverName[0] != '[') 1954if (serverName.IndexOf(':') >= 0 && serverName[0] != '[') 2681if (s.IndexOf('\0') > -1)
HttpResponse.cs (7)
1016if (StringUtil.StringStartsWith(path, "\\\\") || path.IndexOf(':') >= 0 || !UrlPath.IsRooted(path)) 2379if (url.IndexOf('\n') >= 0) 2460i = url.IndexOf('?'); 2495if (url.IndexOf('?') < 0) 2983int i = path.IndexOf('?'); 3043int i = value.IndexOf(' '); 3341int iqs = url.IndexOf('?');
HttpRuntime.cs (1)
725if (_appDomainAppPath.IndexOf('?') >= 0) {
httpserverutility.cs (3)
179if(name.IndexOf('-') > 0) { 324int iqs = path.IndexOf('?'); 775int iqs = path.IndexOf('?');
MultipartContentParser.cs (1)
194int ic = line.IndexOf(':');
OutputCacheModule.cs (3)
331int tokenEnd = acceptEncoding.IndexOf(','); 335tokenEnd = acceptEncoding.IndexOf(';'); 338int space = acceptEncoding.IndexOf(' ');
Routing\PageRouteHandler.cs (1)
82int qmark = virtualPath.IndexOf('?');
Routing\RouteParser.cs (1)
66(routeUrl.IndexOf('?') != -1));
Security\ADMembershipProvider.cs (11)
673if (usernameIsUPN && (username.IndexOf('\\') != -1)) 1074if ((directoryInfo.DirectoryType == DirectoryType.AD) && (usernameIsUPN) && (username.IndexOf('@') == -1)) 1104if ((directoryInfo.DirectoryType == DirectoryType.AD) && (usernameIsUPN) && (username.IndexOf('@') == -1)) 1270if ((directoryInfo.DirectoryType == DirectoryType.AD) && (usernameIsUPN) && (username.IndexOf('@') == -1)) 1299if ((directoryInfo.DirectoryType == DirectoryType.AD) && (usernameIsUPN) && (username.IndexOf('@') == -1)) 1783if (usernameIsUPN && (username.IndexOf('\\') != -1)) 1814if ((directoryInfo.DirectoryType == DirectoryType.AD) && (usernameIsUPN) && (username.IndexOf('@') == -1)) 1843if ((directoryInfo.DirectoryType == DirectoryType.AD) && (usernameIsUPN) && (username.IndexOf('@') == -1)) 2610if (usernameIsUPN && (username.IndexOf('\\') != -1)) 3535int index = serverName.IndexOf(':'); 4113int index = tempUsername.IndexOf('\\');
Security\CookielessHelper.cs (2)
73if (path.IndexOf('(') == -1) { 99int qsIndex = rawUrl.IndexOf('?');
Security\FormsAuthentication.cs (4)
600if (strUrl.IndexOf('?') > 0) { 738if (loginUrl.IndexOf('?') >= 0) 740int pos = loginUrl.IndexOf('?'); 868int posQ = strUrl.IndexOf('?');
Security\FormsAuthenticationModule.cs (2)
301if (loginUrl.IndexOf('?') >= 0) { 312iIndex = strUrl.IndexOf('?');
Security\PassportAuthenticationModule.cs (3)
184int iPos = strUrl.IndexOf('?'); 216if (redirectUrl.IndexOf('?') >= 0) 226iIndex = strUrl.IndexOf('?');
Security\PassportIdentity.cs (2)
119int iColon = strCurrentHeader.IndexOf(':'); 145int iPos1 = strIn.IndexOf('=');
SiteMapNode.cs (1)
391int queryStringIndex = url.IndexOf('?');
StaticFileHandler.cs (1)
372int indexOfEquals = rangeHeader.IndexOf('=');
UI\ClientScriptManager.cs (1)
387controlID != null && controlID.IndexOf(Control.LEGACY_ID_SEPARATOR) >= 0) {
UI\Control.cs (1)
220if(uniqueID != null && uniqueID.IndexOf(IdSeparator) >= 0) {
UI\ControlBuilder.cs (1)
2756int indexOfColon = code.IndexOf(':');
UI\HTMLTextWriter.cs (1)
1236int i = url.IndexOf('?');
UI\SimplePropertyEntry.cs (1)
84Debug.Assert(Name.IndexOf('.') < 0, "_name.IndexOf('.') < 0");
UI\TagNameToTypeMapper.cs (1)
494int colonIndex = tagName.IndexOf(':');
UI\TemplateParser.cs (1)
2087if (baseTypeName.IndexOf('.') >= 0)
UI\Util.cs (2)
712if (input.IndexOf(DeviceFilterSeparator) < 0) { 965if (Char.IsDigit(value[0]) || value[0] == '-' || ((!allowMultiple) && (value.IndexOf(',') >= 0)))
UI\WebControls\basecomparevalidator.cs (4)
147if (shortPattern.IndexOf('y') < shortPattern.IndexOf('M')) { 150else if (shortPattern.IndexOf('M') < shortPattern.IndexOf('d')) {
UI\WebControls\Calendar.cs (1)
1754if (titlePattern.IndexOf(',') >= 0) {
UI\WebControls\DetailsView.cs (1)
3361int separatorIndex = eventArgument.IndexOf('$');
UI\WebControls\FormView.cs (1)
2840int separatorIndex = eventArgument.IndexOf('$');
UI\WebControls\GridView.cs (1)
4159int separatorIndex = eventArgument.IndexOf('$');
UI\WebControls\TreeView.cs (1)
3232int endIndex = _callbackEventArgument.IndexOf('|');
UI\WebParts\PersonalizationProviderHelper.cs (2)
36if (checkCommas && trimmedStr.IndexOf(',') != -1) { 61if (trimmedValue.IndexOf(',') != -1) {
Util\CultureUtil.cs (1)
58int indexOfSemicolon = input.IndexOf(';');
Util\FileUtil.cs (1)
185if (physicalPath.IndexOf('/') >= 0) {
Util\HttpEncoder.cs (1)
796int i = value.IndexOf('?');
Util\HttpEncoderUtility.cs (1)
56if (str != null && str.IndexOf(' ') >= 0)
Util\ParseHttpDate.cs (1)
159if ((i = time.IndexOf(',')) != -1) {
Util\SecUtil.cs (1)
39int indexOfDot = appName.IndexOf('.');
Util\SmtpMail.cs (2)
129if (propValue != null && (propValue is string) && ((string)propValue).IndexOf('\0') >= 0) 148if (propValue != null && (propValue is string) && ((string)propValue).IndexOf('\0') >= 0)
Util\UrlPath.cs (5)
50int indexOfColon = virtualPath.IndexOf(':'); 53int indexOfSlash = virtualPath.IndexOf('/'); 148int iqs = path.IndexOf('?'); 228int iqs = path.IndexOf('?'); 360int iqs = to.IndexOf('?');
XmlSiteMapProvider.cs (3)
695int index = resourceKey.IndexOf(_resourceKeySeparator); 705int defaultIndex = key.IndexOf(_resourceKeySeparator); 753int foundIndex = roles.IndexOf('?');
System.Web.DataVisualization (8)
Common\Annotation\TextAnnotation.cs (1)
552 titleText.IndexOf('\n') == -1)
Common\DataManager\DataPoint.cs (2)
362 int equalSignIndex = otherAttributeNames[index].IndexOf('='); 374 int bracketIndex = otherFieldNames[index].IndexOf('{');
Common\General\Axis.cs (1)
4673if (textRows[rowIndex].Length > longestLabelSize && textRows[rowIndex].Trim().IndexOf(' ') > 0)
Common\General\DataManipulator.cs (1)
1557 if(str.IndexOf('-') != -1)
Common\Utilities\XmlSerializer.cs (2)
1228 int pointIndex = item.IndexOf('.'); 1245 if(propertyInfo.name.IndexOf('.') != -1)
WebForm\General\ChartHttpHandler.cs (1)
1071int eqPositon = item.IndexOf('=');
System.Web.Extensions (15)
ClientServices\Providers\ProxyHelper.cs (5)
288int posEquals = allCookies[iter].IndexOf('='); 337int posEq = cookieHeaderSplits[iter].IndexOf('='); 338int posSemi = cookieHeaderSplits[iter].IndexOf(';'); 348int posEquals = cookieHeader.IndexOf('='); 395if (cookieHeader.Length != 34 || cookieHeader[33] != 'Q' || cookieHeader.IndexOf('=') != 32)
Script\Serialization\JavaScriptObjectDeserializer.cs (1)
222bool hasDecimalPoint = input.IndexOf('.') >= 0;
Script\Services\ClientProxyGenerator.cs (1)
352if (typeName.IndexOf('.') == -1) {
UI\PageRequestManager.cs (4)
140Debug.Assert(type.IndexOf(LengthEncodeDelimiter) == -1, "Should not be a " + LengthEncodeDelimiter + " in type"); 141Debug.Assert(id.IndexOf(LengthEncodeDelimiter) == -1, "Should not be a " + LengthEncodeDelimiter + " in id"); 351int indexOfPipe = postBackSourceInfo.IndexOf('|'); 364if (postBackTarget.IndexOf(',') != -1) {
UI\ProfileServiceManager.cs (1)
174int dotIndex = fullPropertyName.IndexOf('.');
UI\ScriptManager.cs (1)
2038((EmptyPageUrl.IndexOf('?') != -1) ? "&title=" : "?title=") +
UI\ScriptReferenceBase.cs (2)
167if (releasePath.IndexOf('?') >= 0) { 168int indexOfQuery = releasePath.IndexOf('?');
System.Web.Mobile (31)
Mobile\MobileErrorInfo.cs (1)
118int i = s.IndexOf('\r');
Mobile\UrlPath.cs (1)
135int iqs = path.IndexOf('?');
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (1)
467int indexComma = abbreviatedYearMonthPattern.IndexOf(',');
UI\MobileControls\Adapters\HtmlControlAdapter.cs (2)
137queryStringWritten = targetUrl.IndexOf('?') != -1; 153queryStringWritten = target.IndexOf('?') != -1;
UI\MobileControls\Adapters\HtmlFormAdapter.cs (2)
112int i = url.IndexOf('?'); 357int indexOfQueryStringText = action.IndexOf('?');
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (1)
449int indexComma = abbreviatedYearMonthPattern.IndexOf(',');
UI\MobileControls\Adapters\WmlControlAdapter.cs (1)
120bool queryStringWritten = targetUrl.IndexOf('?') != -1;
UI\MobileControls\Adapters\WmlFormAdapter.cs (1)
205int comma = eventSource.IndexOf(',');
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (8)
271int ampPos = url.IndexOf(ampersand); 698int loc = queryString.IndexOf('&'); 713if(externalSubmit && (url.IndexOf('?') != -1)) 721if (queryString.IndexOf('$') != -1) 1352int i = url.IndexOf('?'); 1358if (s.IndexOf('$') != -1) 1379if (text.IndexOf('$') != -1) 1407if (text.IndexOf('$') != -1)
UI\MobileControls\Adapters\WmlSelectionListAdapter.cs (1)
216if(selectedItems.Length == 1 && selectedItems[0].IndexOf(';') > -1)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (1)
412int indexComma = abbreviatedYearMonthPattern.IndexOf(',');
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicControlAdapter.cs (1)
212queryStringWritten = target.IndexOf ('?') != -1;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicSelectionListAdapter.cs (1)
109if(selectedItems.Length == 1 && selectedItems[0].IndexOf(';') > -1) {
UI\MobileControls\ErrorFormatterPage.cs (1)
65if (text.IndexOf('\r') != -1)
UI\MobileControls\MobileControl.cs (6)
387if (baseUrl.IndexOf(' ') != -1) 978if ((trimInnerText || trimNewlines) && text.IndexOf('\r') != -1) 1006if (!AllowMultiLines && value != null && value.IndexOf('\r') >= 0) 1060containTag = containTag || text.IndexOf('<') != -1; 1067translate = text.IndexOf('&') != -1; 1155if (text.IndexOf('&') != -1)
UI\MobileControls\MobilePage.cs (1)
465if (path.IndexOf(' ') != -1)
UI\MobileControls\TextView.cs (1)
336if (text.IndexOf('&') >= 0)
System.Web.Services (7)
System\Web\Services\Description\WebServicesInteroperability.cs (1)
599int comma = normativeStatement.IndexOf(',');
System\Web\Services\Discovery\DiscoveryReference.cs (2)
82int firstDot = url.IndexOf('.'); 86int question = url.IndexOf('?');
System\Web\Services\Protocols\RequestResponse.cs (2)
180if (s.IndexOf('&') < 0) 197if (s.IndexOf('&') < 0)
System\Web\Services\Protocols\Scalars.cs (2)
209int semi = contentType.IndexOf(';'); 217int tmp = baseCT.IndexOf('/');
System.Windows.Forms (21)
winforms\Managed\System\Resources\ResXDataNode.cs (3)
883int pos = assemblyQualifiedTypeName.IndexOf(','); 995if(name.IndexOf(',') != -1) { 1006int pos = name.IndexOf(',');
winforms\Managed\System\Resources\ResXResourceReader.cs (2)
450if (readerTypeName != null &&readerTypeName.IndexOf(',') != -1) { 453if (writerTypeName != null && writerTypeName.IndexOf(',') != -1) {
winforms\Managed\System\WinForms\FileDialog.cs (1)
381int i = this.supportMultiDottedExtensions ? ext.IndexOf('.') : ext.LastIndexOf('.');
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
844int index = strColor.IndexOf('#');
winforms\Managed\System\WinForms\NativeMethods.cs (2)
6064if (s.IndexOf('\0') > -1) { 6074int n = s.IndexOf('\0');
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (2)
1435if (valueString.IndexOf('\n') > 0 || valueString.IndexOf('\r') > 0 )
winforms\Managed\System\WinForms\RichTextBox.cs (3)
2043int startIndex = foundString.IndexOf(kashida); 2286int index = fontName.IndexOf('\0'); 2993int nullTerminatedLength = str.IndexOf((char) 0);
winforms\Managed\System\WinForms\TabPage.cs (1)
600if (value.IndexOf ('&') < 0) {
winforms\Managed\System\WinForms\ToolBarButton.cs (1)
699if (value.IndexOf('&') < 0) {
winforms\Managed\System\WinForms\TrustManager.cs (2)
277int firstSpaceIndex = strBrowserCommand.IndexOf(' '); 707separatorIndex = host.IndexOf('/');
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (1)
698int ampIndex = text.IndexOf('&');
winforms\Managed\System\WinForms\WinFormsUtils.cs (2)
171int index = text.IndexOf('&'); 306int index = text.IndexOf('&');
System.Windows.Forms.DataVisualization (7)
Common\Annotation\TextAnnotation.cs (1)
552 titleText.IndexOf('\n') == -1)
Common\DataManager\DataPoint.cs (2)
362 int equalSignIndex = otherAttributeNames[index].IndexOf('='); 374 int bracketIndex = otherFieldNames[index].IndexOf('{');
Common\General\Axis.cs (1)
4673if (textRows[rowIndex].Length > longestLabelSize && textRows[rowIndex].Trim().IndexOf(' ') > 0)
Common\General\DataManipulator.cs (1)
1557 if(str.IndexOf('-') != -1)
Common\Utilities\XmlSerializer.cs (2)
1228 int pointIndex = item.IndexOf('.'); 1245 if(propertyInfo.name.IndexOf('.') != -1)
System.Workflow.Activities (8)
Common\CompModHelpers.cs (1)
456if (inputName.IndexOf('.') == -1)
Common\TypeSystemHelpers.cs (4)
214int indexOfEquals = parts[index].IndexOf('='); 304int indexOfSpecialChar = typeName.IndexOf('`'); 394int indexOfSpecialChar = formattedType.IndexOf('`'); 398indexOfSpecialChar = formattedType.IndexOf(',');
Rules\CodeDomDecompiler.cs (2)
59bool hasDecimal = svalue.IndexOf('.') >= 0; 305int tickIndex = typeName.IndexOf('`');
Rules\RuleAttributes.cs (1)
207int firstSlash = suffix.IndexOf('/');
System.Workflow.ComponentModel (26)
AuthoringOM\Activity.cs (1)
2163int indexOfDot = dottedPath.IndexOf('.');
AuthoringOM\Bind.cs (1)
1864while (this.index < this.pathLength && SpecialChars.IndexOf(this.pathValue[this.index]) < 0)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (3)
291int idx = name.IndexOf('['); 689int indexOfFirstDot = name.IndexOf('.'); 930if (codeTypeReference.BaseType.IndexOf('`') == -1)
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
288if (typeName.IndexOf('.') == -1)
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
379int indexOfComma = name.IndexOf(',');
AuthoringOM\Compiler\Validation\BindValidator.cs (4)
97if (dsName.IndexOf('.') != -1 && dataSourceActivity != null) 277if (dsName.IndexOf('.') != -1 && dataSourceActivity != null) 494if (dsName.IndexOf('.') != -1 && dataSourceActivity != null) 653int closingBracketIndex = indexerPart.IndexOf(']');
AuthoringOM\ComponentFactoryHelpers.cs (1)
183int commaIndex = typeName.IndexOf(',');
AuthoringOM\Design\ActivityDesigner.cs (1)
1999int index = designerAttribute.DesignerTypeName.IndexOf(',');
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (2)
1150int indexOfOpenBracket = currentPathInfo.Path.IndexOf('['); 1210int indexOfSeparator = fullName.IndexOf('[');
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (1)
192if (MarkupExtensionSerializer.CompactFormatCharacters.IndexOf(value[i]) != -1)
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (1)
324if (assemblyName.IndexOf(',') >= 0)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
460int index = reader.LocalName.IndexOf('.'); 463string propertyName = reader.LocalName.Substring(reader.LocalName.IndexOf('.') + 1);
AuthoringOM\Serializer\WorkflowMarkupSerializerMapping.cs (1)
268int index = clrNamespace.IndexOf(';');
AuthoringOM\Serializer\XamlInterfaces.cs (1)
180int typeIndex = typename.IndexOf(':');
Shared\CompModHelpers.cs (1)
454if (inputName.IndexOf('.') == -1)
Shared\TypeSystemHelpers.cs (4)
213int indexOfEquals = parts[index].IndexOf('='); 303int indexOfSpecialChar = typeName.IndexOf('`'); 393int indexOfSpecialChar = formattedType.IndexOf('`'); 397indexOfSpecialChar = formattedType.IndexOf(',');
System.WorkflowServices (1)
System\Workflow\Activities\ContractType.cs (1)
47int idx = name.IndexOf('[');
System.Xml (25)
System\Xml\Core\XmlTextReaderImpl.cs (2)
1008if ( name.IndexOf( ':' ) == -1 ) { 1040if ( name.IndexOf( ':' ) == -1 ) {
System\Xml\Core\XsdCachingReader.cs (2)
215if (name.IndexOf( ':' ) == -1) { 270if (name.IndexOf( ':' ) == -1) {
System\Xml\Dom\XmlNode.cs (1)
1074int colonPos = name.IndexOf(':'); // ordinal compare
System\Xml\Schema\DtdParser.cs (3)
292int colonPos = docTypeName.IndexOf( ':' ); 1523if ( systemId.IndexOf( '#' ) >= 0 ) { 1524Throw( curPos - systemId.Length - 1, Res.Xml_FragmentId, new string[] { systemId.Substring( systemId.IndexOf( '#' ) ), systemId } );
System\Xml\Schema\DtdParserAsync.cs (2)
1137if ( systemId.IndexOf( '#' ) >= 0 ) { 1138Throw( curPos - systemId.Length - 1, Res.Xml_FragmentId, new string[] { systemId.Substring( systemId.IndexOf( '#' ) ), systemId } );
System\Xml\Schema\FacetChecker.cs (1)
300if(tempStr.IndexOf('|') != -1) { // ordinal compare
System\Xml\Serialization\CodeIdentifier.cs (2)
166int nameEnd = name.IndexOf('`'); 168nameEnd = name.IndexOf('!');
System\Xml\Serialization\SoapReflectionImporter.cs (2)
713if (type.IsGenericType && typeName.IndexOf('{') >= 0) { 722if (typeName.IndexOf('{') < 0) {
System\Xml\Serialization\Xmlcustomformatter.cs (1)
117if (nmTokens.IndexOf(' ') < 0)
System\Xml\Serialization\XmlReflectionImporter.cs (2)
848if (type.IsGenericType && typeName.IndexOf('{') >= 0) { 857if (typeName.IndexOf('{') < 0) {
System\Xml\Serialization\XmlSerializationWriter.cs (3)
838int colon = localName.IndexOf(':'); 864int colon = localName.IndexOf(':'); 3478int iComma = assemblyFullName.IndexOf(',');
System\Xml\ValidateNames.cs (1)
604int colonPos = name.IndexOf(':');
System\Xml\XmlConvert.cs (2)
92int underscorePos = name.IndexOf('_'); 187int underscorePos = name.IndexOf('_');
System\Xml\XPath\Internal\StringFunctions.cs (1)
212index = str2.IndexOf(str1[count]);
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
8981int i = qualifiedName.IndexOf(':');
UIAutomationClientsideProviders (11)
MS\Internal\AutomationProxies\Accessible.cs (1)
1536int nulIndex = bstr.IndexOf('\0');
MS\Internal\AutomationProxies\CommonRemoteMemoryBlock.cs (1)
143int nullTermination = str.IndexOf('\0');
MS\Internal\AutomationProxies\Misc.cs (2)
54int iPosShortCut = s.IndexOf('&'); 610int nullTermination = str.IndexOf('\0');
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
760int iPos = text.IndexOf('\t');
MS\Internal\AutomationProxies\WindowsMenu.cs (5)
1331int pos = menuRawText.IndexOf('\t'); 1567int iPosShortCut = s.IndexOf('&'); 2644int nullTermination = menuText.IndexOf('\0'); 2709int hotKeyStart = name.IndexOf ('&'); 2756int pos = menuRawText.IndexOf('\t');
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
572int embeddedObjectOffset = text.IndexOf((char)0xFFFC);
WindowsBase (11)
Base\MS\Internal\ContentType.cs (3)
104int semiColonIndex = contentType.IndexOf(_semicolonSeparator); 405int index = contentType.IndexOf(_LinearWhiteSpaceChars[2]); 466int equalSignIndex = parameterAndValue.IndexOf(_equalSeparator);
Base\MS\Internal\IO\Packaging\CompoundFile\ContainerUtilities.cs (1)
521if (testString.IndexOf(PathSeparator) != -1)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (1)
1143int colonIndex = typePrefixedUserName.IndexOf(':');
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (1)
694int index = typeValue.IndexOf(':');
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (1)
600int index = attrValue.IndexOf('?');
Base\System\IO\Packaging\PackUriHelper.cs (1)
129absolutePackageUri = absolutePackageUri.Substring(0, absolutePackageUri.IndexOf('#'));
Base\System\Windows\DependencyPropertyValueSerializer.cs (1)
66int dotIndex = value.IndexOf('.');
Base\System\Windows\Input\ModifierKeysConverter.cs (1)
163offset = modifiersToken.IndexOf(Modifier_Delimiter);
Base\System\Windows\Markup\XmlCompatibilityReader.cs (1)
970int colonIndex = pair.IndexOf(':');
WsatConfig (4)
CommandLine\ArgumentsParser.cs (3)
100int separator = arg.IndexOf(':'); 336else if (value.IndexOf('\\') >= 0) // "Issuer\SubjectName" e.g. "*\This is a distinguished subject" 444if (certString.IndexOf('\\') >= 0)
Configuration\CertificateManager.cs (1)
141int separatorIndex = constraint.IndexOf('\\');
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (2)
334int semicolonIndex = nsName.IndexOf(';'); 569int nsLength = typeNs.IndexOf(';') - nsIndex;