4 references to IndexOf
Microsoft.CodeAnalysis.CodeStyle (1)
PublicContract.cs (1)
158
=> throw new ArgumentNullException(MakeIndexedArgumentName(argumentName, sequence.
IndexOf
(null!)));
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
AbstractMoveDeclarationNearReferenceService.State.cs (2)
140
IndexOfDeclarationStatementInInnermostBlock = InnermostBlockStatements.
IndexOf
(DeclarationStatement);
141
IndexOfFirstStatementAffectedInInnermostBlock = InnermostBlockStatements.
IndexOf
(FirstStatementAffectedInInnermostBlock);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
ConvertToRecordEngine.cs (1)
497
expression => objectCreationExpression.Initializer!.Expressions.
IndexOf
(expression.Parent));