157 references to IndexOf
mscorlib (23)
system\globalization\idnmapping.cs (1)
832iNextDot = ascii.IndexOf('.', iAfterLastDot);
system\guid.cs (8)
386bool dashesExistInString = (guidString.IndexOf('-', 0) >= 0); 404bool bracesExistInString = (guidString.IndexOf('{', 0) >= 0); 422bool parenthesisExistInString = (guidString.IndexOf('(', 0) >= 0); 487numLen = guidString.IndexOf(',', numStart) - numStart; 504numLen = guidString.IndexOf(',', numStart) - numStart; 520numLen = guidString.IndexOf(',', numStart) - numStart; 554numLen = guidString.IndexOf(',', numStart) - numStart; 562numLen = guidString.IndexOf('}', numStart) - numStart;
system\io\pathinternal.cs (1)
60|| (path.Length > startIndex + 2 && path.IndexOf(Path.VolumeSeparatorChar, startIndex + 2) != -1))
system\runtime\remoting\configuration.cs (1)
741index = typeAssem.IndexOf(',', index);
system\runtime\remoting\message.cs (1)
3075int index = typeName.IndexOf(',', startIndex);
system\runtime\remoting\remotingservices.cs (1)
2561return qualifiedTypeName.IndexOf(',', 5);
system\security\securityelement.cs (1)
596index = str.IndexOf( '&', newIndex );
system\security\util\sitestring.cs (1)
55ketIndex = site.IndexOf(']', braIndex+1);
system\security\util\stringexpressionset.cs (1)
779if (path.IndexOf(':', 2) != -1)
system\security\util\urlstring.cs (7)
130braIndex = url.IndexOf('[',Rindex); 132ketIndex = url.IndexOf(']', braIndex); 136index = url.IndexOf( '%', Rindex); 298braIndex = url.IndexOf('[',Rindex); 300ketIndex = url.IndexOf(']', braIndex); 318int tempIndex = temp.IndexOf( '/', Rindex); 498int tempIndex = temp.IndexOf( '/', index+1);
PresentationCore (1)
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (1)
288end = original.IndexOf('/', start);
PresentationFramework (2)
src\Framework\System\Windows\Controls\AccessText.cs (1)
665int index = text.IndexOf(AccessKeyMarker, startIndex);
src\Framework\System\Windows\Controls\TextBox.cs (1)
1773anchorIndex = newText.IndexOf(anchor, anchorIndex + 1);
System (15)
compmod\system\diagnostics\DelimitedListTraceListener.cs (2)
202while((index = message.IndexOf('"', lastindex)) != -1) { 227while((index = operation.IndexOf('"', lastindex)) != -1) {
net\System\Net\_AutoWebProxyScriptHelper.cs (1)
372while((index = host.IndexOf('.', index)) != -1) {
net\System\Net\_KerberosClient.cs (1)
66index = challenge.IndexOf(',', blobBegin);
net\System\Net\_NegotiateClient.cs (1)
65index = challenge.IndexOf(',', blobBegin);
net\System\Net\_NtlmClient.cs (1)
64index = challenge.IndexOf(',', blobBegin);
net\System\Net\cookiecontainer.cs (1)
744while ((dot < last) && (dot = fqdnRemote.IndexOf('.', dot+1)) != -1) {
net\System\Net\HttpListenerRequest.cs (2)
1264j = headerValue.IndexOf('"', i+1); 1298int ci = s.IndexOf(',', i);
net\System\Net\HttpListenerRequestUriBuilder.cs (1)
446pathStartIndex = uriString.IndexOf('/', authorityStartIndex);
net\System\Net\HttpWebResponse.cs (1)
239int j = srchString.IndexOf(';',i);
net\System\URI.cs (2)
907int next = path.IndexOf('/', current); 5017idx = basePart.OriginalString.IndexOf(':', idx+1);
services\io\system\io\PatternMatcher.cs (1)
165if (expression[0] == '*' && expression.IndexOf('*', 1) == -1) {
services\monitoring\system\diagnosticts\EventLogEntry.cs (1)
459percentIdx = msg.IndexOf('%', percentIdx + 1);
System.Data.Linq (3)
SqlClient\SqlTypeSystemProvider.cs (3)
842end = stype.IndexOf(',', start); 846end = stype.IndexOf(')', start); 850end = stype.IndexOf(')', start);
System.Data.Services (3)
parent\Client\System\Data\Services\Client\BatchStream.cs (1)
1360int index2 = (this.batchRequest ? line.LastIndexOf(' ') : line.IndexOf(' ', index1 + 1));
System\Data\Services\Parsing\WebConvert.cs (2)
215int i = s.IndexOf(quote, start); 591int i = s.IndexOf(quote, start);
System.Data.Services.Client (1)
System\Data\Services\Client\BatchStream.cs (1)
1360int index2 = (this.batchRequest ? line.LastIndexOf(' ') : line.IndexOf(' ', index1 + 1));
System.Data.SqlXml (3)
System\Xml\Xsl\Runtime\DecimalFormatter.cs (1)
147int pos = formatPicture.IndexOf('\'', i + 1);
System\Xml\Xsl\XPath\XPathScanner.cs (1)
443int endIdx = xpathExpr.IndexOf(curChar, startIdx);
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
835pos = source.IndexOf('{', pos);
System.Drawing (1)
misc\DebugHandleTracker.cs (1)
429endIndex = releventStack.IndexOf('\r', startIndex);
System.Management (1)
managementquery.cs (1)
1044 if (0 != q.IndexOf ('*', 0))
System.Messaging (1)
System\Messaging\MessageQueue.cs (1)
3562int newIndex = upperPath.IndexOf('\\', index + 1);
System.Net (2)
net\PeerToPeer\Collaboration\CollaborationHelperFunctions.cs (2)
70endVal = guidString.IndexOf('-', endVal + 1); 73endVal = guidString.IndexOf('-', endVal + 1);
System.Runtime.Remoting (5)
channels\http\httpchannelhelper.cs (3)
65separator = url.IndexOf('/', separator); 111index = uri.IndexOf('/', start); 208int colonIndex = channelUri.IndexOf(':', index);
channels\ipc\ipcchannelhelper.cs (1)
56separator = url.IndexOf('/', separator);
channels\tcp\tcpchannelhelper.cs (1)
46separator = url.IndexOf('/', separator);
System.Runtime.Serialization (4)
System\Runtime\Serialization\DataContract.cs (2)
1718endIndex = typeName.IndexOf('`', startIndex); 1730startIndex = typeName.IndexOf('.', endIndex);
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (2)
199int indexOfTimeZoneOffset = ticksvalue.IndexOf('+', 1); 203indexOfTimeZoneOffset = ticksvalue.IndexOf('-', 1);
System.ServiceModel (4)
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
188semiColonIndex = contentType.IndexOf(';', charsetValueIndex);
System\ServiceModel\Channels\UriPrefixTable.cs (1)
379int next = this.segment.IndexOf('/', this.segmentStartAt);
System\UriTemplate.cs (2)
104int endIndex = pathTemplate.IndexOf('/', startIndex); 150int endIndex = queryTemplate.IndexOf('&', startIndex);
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\MetabaseSettings.cs (2)
517int index = applicationID.IndexOf(IISConstants.AboPathDelimiter, ServiceHostingEnvironment.ISAPIApplicationIdPrefix.Length); 647int index = endAboPath.IndexOf(IISConstants.AboPathDelimiter, appAboPath.Length + 1);
System\ServiceModel\ServiceHostingEnvironment.cs (1)
556pos = processedVirtualPath.IndexOf(PathSeparator, pos + 1);
System.Web (47)
Compilation\BuildManager.cs (1)
1468int slashIndex = virtualPathString.IndexOf('/', appPathLen);
Compilation\ClientBuildManager.cs (1)
226int endSlash = appVirtualDir.IndexOf('/', IISExpressPrefix.Length);
Configuration\ExpressServerConfig.cs (2)
151if (subVdir.IndexOf('/', 1) == -1) { 156int nextSlashIndex = subVdir.IndexOf('/', 1 + appRootRelativePath.Length);
Configuration\HttpCapabilitiesBase.cs (1)
544int nextDecimal = minor.IndexOf('.', firstDecimal + 1);
Configuration\ProcessHostServerConfig.cs (2)
141if (subVdir.IndexOf('/', 1) == -1) { 146int nextSlashIndex = subVdir.IndexOf('/', 1 + appRootRelativePath.Length);
Configuration\WebConfigurationHost.cs (2)
334int indexVPath = configPath.IndexOf(PathSeparator, indexStart); 357int indexVPath = configPath.IndexOf(PathSeparator, indexStart);
Hosting\IIS7WorkerRequest.cs (2)
1277int ni = s.IndexOf('\n', ci+1); 1283ni = s.IndexOf('\n', ni+1);
Hosting\ISAPIApplicationHost.cs (2)
155si = id.IndexOf('/', si+1); 179int si = id.IndexOf('/', offset);
Hosting\ISAPIWorkerRequest.cs (2)
753int ni = s.IndexOf('\n', ci+1); 758ni = s.IndexOf('\n', ni+1);
HttpClientCertificate.cs (2)
295iEnd = strAll.IndexOf('"' , iStart); 298iEnd = strAll.IndexOf(',' , iStart);
HttpCookie.cs (1)
388dividerIndex = input.IndexOf(';', cookieAvStartIndex);
HttpRequest.cs (5)
320int ci = s.IndexOf(',', i); 660ai = s.IndexOf('&', i); 666ei = s.IndexOf('=', i); 682ei = s.IndexOf('=', i); 879j = headerValue.IndexOf('"', i+1);
MultipartContentParser.cs (2)
162int i2 = l.IndexOf('"', i1); 171int i2 = l.IndexOf(';', i1);
OutputCacheModule.cs (3)
436int tokenEnd = acceptEncoding.IndexOf(',', startIndex); 440int qIndex = acceptEncoding.IndexOf('q', startIndex); 442int equalsIndex = acceptEncoding.IndexOf('=', qIndex);
Routing\RouteParser.cs (3)
24startIndex = segment.IndexOf('{', startIndex); 119int nextParameterEnd = segment.IndexOf('}', nextParameterStart + 1); 185int indexOfNextSeparator = url.IndexOf('/', currentIndex);
Security\CookielessHelper.cs (1)
200endPos = headers.IndexOf(')', startPos);
Security\FormsAuthentication.cs (1)
591pos = strUrl.IndexOf('/', pos + 3);
Security\PassportIdentity.cs (2)
115int iEnd = strResponseHeaders.IndexOf('\r', iStart); 150int iPos2 = strIn.IndexOf(';', iPos1);
UI\HTMLTextWriter.cs (1)
1264int nbsp = text.IndexOf(NBSP, pos);
UI\PropertyMapper.cs (2)
49int index = mappedName.IndexOf(OM_CHAR, startIndex); 147index = mappedName.IndexOf(OM_CHAR, startIndex);
UI\Util.cs (1)
1213commaIndex = typeName.IndexOf(',', rightBracketIndex + 1);
UI\WebControls\TreeView.cs (4)
3238endIndex = _callbackEventArgument.IndexOf('|', startIndex); 3247endIndex = _callbackEventArgument.IndexOf('|', startIndex); 3252endIndex = _callbackEventArgument.IndexOf('|', startIndex); 3260endIndex = _callbackEventArgument.IndexOf('|', startIndex);
Util\FileUtil.cs (2)
91int nextSeparator = fileName.IndexOf(Path.DirectorySeparatorChar, existingDir.Length + 1); 239(physicalPath.Length > 2 && physicalPath.IndexOf(':', 2) > 0))) {
Util\UrlPath.cs (2)
252examine = path.IndexOf('.', examine); 271examine = path.IndexOf('/', start + 1);
System.Web.DataVisualization (8)
Common\DataManager\DataPoint.cs (2)
2567int formatEnd = result.IndexOf('}', keyEndIndex); 2612int closingBracketIndex = result.IndexOf(')', keyEndIndex);
Common\DataManager\DataSeries.cs (2)
1231 int formatEnd = result.IndexOf('}', keyEndIndex); 1338 int formatEnd = result.IndexOf('}', keyEndIndex);
Common\Utilities\ValueConverter.cs (2)
77 int bracketIndex = convertionFormat.IndexOf('{', 0); 97 bracketIndex = convertionFormat.IndexOf('{', bracketIndex + 1);
WebForm\ChartWebControl.cs (2)
759 int indexClosing = imageURL.IndexOf(')', 1); 821 int indexClosing = imageUrl.IndexOf(')', 1);
System.Web.Extensions (3)
Script\Services\ClientProxyGenerator.cs (2)
437int dotIndex = typeName.IndexOf('.', startFrom); 451dotIndex = typeName.IndexOf('.', dotIndex + 1);
UI\WebControls\Dynamic.cs (1)
941int i = s.IndexOf(quote, start);
System.Web.Mobile (8)
Mobile\UrlPath.cs (2)
153examine = path.IndexOf('.', examine); 177examine = path.IndexOf('/', start + 1);
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (2)
279ampPos = url.IndexOf(ampersand, ampPos + ampEscaped.Length + 1); 874int valueEnd = queryString.IndexOf('&', valueStart);
UI\MobileControls\LiteralTextParser.cs (1)
192int nextTag = literalText.IndexOf('<', currentPosition);
UI\MobileControls\MobileControl.cs (1)
356examine = relativeUrl.IndexOf('.', examine);
UI\MobileControls\MobilePage.cs (1)
579int j = queryStringText.IndexOf('&', i+n);
UI\MobileControls\ObjectList.cs (1)
500int nextSemicolon = tableFields.IndexOf(';', pos);
System.Web.Services (1)
System\Web\Services\Protocols\Scalars.cs (1)
236int equals = paramDecl.IndexOf('=', paramName.Length);
System.Windows.Forms (5)
misc\DebugHandleTracker.cs (1)
429endIndex = releventStack.IndexOf('\r', startIndex);
winforms\Managed\System\WinForms\Control.cs (1)
7700pos = text.IndexOf('&', pos + 1) + 1;
winforms\Managed\System\WinForms\TrustManager.cs (1)
269int closingQuoteIndex = strBrowserCommand.IndexOf('"', 1);
winforms\Managed\System\WinForms\WinFormsUtils.cs (2)
73int firstAmpersand = text.IndexOf('&', 0); 80int secondAmpersand = text.IndexOf('&', firstAmpersand+1);
System.Windows.Forms.DataVisualization (6)
Common\DataManager\DataPoint.cs (2)
2567int formatEnd = result.IndexOf('}', keyEndIndex); 2612int closingBracketIndex = result.IndexOf(')', keyEndIndex);
Common\DataManager\DataSeries.cs (2)
1231 int formatEnd = result.IndexOf('}', keyEndIndex); 1338 int formatEnd = result.IndexOf('}', keyEndIndex);
Common\Utilities\ValueConverter.cs (2)
77 int bracketIndex = convertionFormat.IndexOf('{', 0); 97 bracketIndex = convertionFormat.IndexOf('{', bracketIndex + 1);
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (1)
83activity.SetValue(ActivityMarkupSerializer.StartColumnProperty, (currentXoml.IndexOf('<', currentIndex) - currentIndex + 1));
System.Xml (1)
System\Xml\Serialization\Types.cs (1)
1215int nameLen = type.IndexOf('[', nsLen + 1);
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
592embeddedObjectOffset = text.IndexOf((char)0xFFFC, start);
WindowsBase (3)
Base\MS\Internal\ContentType.cs (3)
411index = contentType.IndexOf(_LinearWhiteSpaceChars[2], ++index); 503int semicolonIndex = s.IndexOf(_semicolonSeparator, startIndex); 530length = s.IndexOf('"', ++length);
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (1)
343int equalsIndex = nsName.IndexOf('=', semicolonIndex);