37 references to IndexOf
dotnet-svcutil-lib (1)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
1752while ((startIndex = typeName.IndexOf('.', startIndex + 1, endIndex - startIndex - 1)) >= 0)
Microsoft.AspNetCore.Routing (1)
UriBuildingContext.cs (1)
302while ((end = value.IndexOf('/', start, characterCount)) >= 0)
Microsoft.Build (4)
EscapingUtilities.cs (2)
236int index = escapedString.IndexOf('%', 0, escapedString.Length - 2); 251index = escapedString.IndexOf('%', index + 1, escapedString.Length - (index + 1) - 2);
Evaluation\ExpressionShredder.cs (1)
112int startIndex = expression.IndexOf('@', start, end - start);
Logging\ParallelLogger\ConsoleOutputAligner.cs (1)
111int nextTab = message.IndexOf('\t', start + endIndex, remainingCharsToEndOfBuffer);
Microsoft.Build.Engine.OM.UnitTests (2)
EscapingUtilities.cs (2)
236int index = escapedString.IndexOf('%', 0, escapedString.Length - 2); 251index = escapedString.IndexOf('%', index + 1, escapedString.Length - (index + 1) - 2);
Microsoft.Build.Framework.UnitTests (2)
EscapingUtilities.cs (2)
236int index = escapedString.IndexOf('%', 0, escapedString.Length - 2); 251index = escapedString.IndexOf('%', index + 1, escapedString.Length - (index + 1) - 2);
Microsoft.Build.Tasks.Core (2)
EscapingUtilities.cs (2)
236int index = escapedString.IndexOf('%', 0, escapedString.Length - 2); 251index = escapedString.IndexOf('%', index + 1, escapedString.Length - (index + 1) - 2);
Microsoft.Build.Utilities.Core (2)
EscapingUtilities.cs (2)
236int index = escapedString.IndexOf('%', 0, escapedString.Length - 2); 251index = escapedString.IndexOf('%', index + 1, escapedString.Length - (index + 1) - 2);
Microsoft.CodeAnalysis (1)
CommandLine\CommandLineParser.cs (1)
188: arg.IndexOf('/', 1, colon - 1);
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (1)
EditAndContinue\VisualBasicEditAndContinueAnalyzerTests.vb (1)
78Dim position = source.IndexOf(s_positionMark, start, length)
Microsoft.ML.Maml (1)
HelpCommand.cs (1)
391spaceIdx = text.IndexOf(' ', startIdx, text.Length - startIdx);
MSBuild (2)
EscapingUtilities.cs (2)
236int index = escapedString.IndexOf('%', 0, escapedString.Length - 2); 251index = escapedString.IndexOf('%', index + 1, escapedString.Length - (index + 1) - 2);
MSBuildTaskHost (2)
EscapingUtilities.cs (2)
236int index = escapedString.IndexOf('%', 0, escapedString.Length - 2); 251index = escapedString.IndexOf('%', index + 1, escapedString.Length - (index + 1) - 2);
PresentationCore (4)
MS\Internal\FontCache\FontCacheUtil.cs (4)
440for (int i = s.IndexOf('%', 0, length); i >= 0; i = s.IndexOf('%', i, length - i)) 598if (friendlyName.IndexOf(',', startIndex, length) < 0) 637int fragmentIndex = fontFamilyReference.IndexOf('#', startIndex, length);
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\DsesFilterAndTransform.cs (5)
122var colonIdx = filterAndPayloadSpec.IndexOf(':', startIdx, endIdx - startIdx); 130var slashIdx = filterAndPayloadSpec.IndexOf('/', startIdx, endEventNameIdx - startIdx); 135var atIdx = filterAndPayloadSpec.IndexOf('@', slashIdx + 1, endEventNameIdx - slashIdx - 1); 219int colonIdx = filterAndPayloadSpec.IndexOf(':', startIdx + c_ActivitySourcePrefix.Length, endIdx - startIdx - c_ActivitySourcePrefix.Length); 615int equalsIdx = transformSpec.IndexOf('=', startIdx, endIdx - startIdx);
System.Diagnostics.Process (1)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.ParseMapModules.cs (1)
134int pos = s.IndexOf('-', start, end - start);
System.Net.HttpListener (4)
System\Net\Managed\HttpEndPointManager.cs (1)
85int root = p.IndexOf('/', colon, p.Length - colon);
System\Net\Managed\ListenerPrefix.cs (3)
112int colon = uri.IndexOf(':', start_host, length - start_host); 117root = uri.IndexOf('/', colon, length - colon); 123root = uri.IndexOf('/', start_host, length - start_host);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (1)
52return IndexOf(value, startIndex, Length - startIndex);
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\DataContract.cs (1)
1551while ((startIndex = typeName.IndexOf('.', startIndex + 1, endIndex - startIndex - 1)) >= 0)