3 references to IndexOf
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PublicContract.cs (1)
158
=> throw new ArgumentNullException(MakeIndexedArgumentName(argumentName, sequence.
IndexOf
(null!)));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.State.cs (2)
140
IndexOfDeclarationStatementInInnermostBlock = InnermostBlockStatements.
IndexOf
(DeclarationStatement);
141
IndexOfFirstStatementAffectedInInnermostBlock = InnermostBlockStatements.
IndexOf
(FirstStatementAffectedInInnermostBlock);