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