99 references to IndexOf
ClientSample (1)
dotnet-dev-certs (1)
dotnet-getdocument (1)
dotnet-openapi (1)
dotnet-razorpagegenerator (2)
dotnet-sql-cache (1)
dotnet-svcutil-lib (1)
dotnet-svcutil-lib.Tests (1)
dotnet-user-jwts (1)
dotnet-user-secrets (1)
GetDocument.Insider (1)
Infrastructure.Common (1)
InteropClient (1)
Microsoft.AspNetCore.Analyzer.Testing (1)
Microsoft.AspNetCore.App.Analyzers.Test (1)
Microsoft.AspNetCore.Http (2)
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Shared.Tests (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (5)
2189var position = text.IndexOf("Description(null)", 0, StringComparison.Ordinal);
2196position = text.IndexOf("X()", 0, StringComparison.Ordinal);
2203position = text.IndexOf("Y(null)", 0, StringComparison.Ordinal);
2210var position2 = text.IndexOf("namespace InvalidWithoutSuffix", 0, StringComparison.Ordinal);
2224position = text.IndexOf("Goo()", 0, StringComparison.Ordinal);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures (13)
DocumentationComments\CopilotGenerateDocumentationCommentProvider.cs (12)
98var summaryStartTag = comments.IndexOf("<summary>", index, StringComparison.Ordinal);
99var summaryEndTag = comments.IndexOf("</summary>", index, StringComparison.Ordinal);
110var typeParamEndTag = comments.IndexOf("</typeparam>", index, StringComparison.Ordinal);
111var typeParamStartTag = comments.IndexOf("<typeparam name=\"", index, StringComparison.Ordinal);
119var typeParamNameEnd = comments.IndexOf("\">", typeParamNameStart, StringComparison.Ordinal);
131var paramEndTag = comments.IndexOf("</param>", index, StringComparison.Ordinal);
132var paramStartTag = comments.IndexOf("<param name=\"", index, StringComparison.Ordinal);
140var paramNameEnd = comments.IndexOf("\">", paramNameStart, StringComparison.Ordinal);
150var returnsEndTag = comments.IndexOf("</returns>", index, StringComparison.Ordinal);
158var exceptionEndTag = comments.IndexOf("</exception>", index, StringComparison.Ordinal);
159var exceptionStartTag = comments.IndexOf("<exception cref=\"", index, StringComparison.Ordinal);
167var exceptionNameEnd = comments.IndexOf("\">", exceptionNameStart, StringComparison.Ordinal);
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.DotNet.Build.Tasks.Installers (10)
src\CreateWixBuildWixpack.cs (10)
733int ifStart = input.IndexOf("<?if ", pos, StringComparison.OrdinalIgnoreCase);
734int ifdefStart = input.IndexOf("<?ifdef ", pos, StringComparison.OrdinalIgnoreCase);
735int ifndefStart = input.IndexOf("<?ifndef ", pos, StringComparison.OrdinalIgnoreCase);
768int ifEnd = input.IndexOf("?>", nextBlockStart, StringComparison.OrdinalIgnoreCase);
781int endifStart = input.IndexOf("<?endif?>", searchPos, StringComparison.OrdinalIgnoreCase);
793int elseifStart = input.IndexOf("<?elseif", nextTagStart, StringComparison.OrdinalIgnoreCase);
794int elseStart = input.IndexOf("<?else?>", nextTagStart, StringComparison.OrdinalIgnoreCase);
802int elseifEnd = input.IndexOf("?>", elseifStart, StringComparison.OrdinalIgnoreCase);
863int tagEnd = input.IndexOf("?>", nextBlockStart, StringComparison.OrdinalIgnoreCase);
886int endifStart = input.IndexOf("<?endif?>", tagEnd + 2, StringComparison.OrdinalIgnoreCase);
Microsoft.DotNet.CodeAnalysis (1)
Microsoft.VisualStudio.LanguageServices.Implementation (2)
Swaggatherer (1)
System.Data.Odbc (2)
System.Net.Http (1)
System.Net.NetworkInformation (18)
System.Net.Ping (1)
System.Net.Requests (2)
System.Private.CoreLib (2)
System.ServiceModel.Primitives (1)
System.Windows.Forms (1)
Templates.Blazor.Tests (1)
Templates.Blazor.WebAssembly.Auth.Tests (1)
Templates.Blazor.WebAssembly.Tests (1)
Templates.Mvc.Tests (1)
Templates.Tests (1)
Wasm.Performance.ConsoleHost (1)