6 references to GetPreferredIndex
Microsoft.CodeAnalysis.CodeStyle.Fixes (6)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (6)
209index = GetPreferredIndex(index + 1, availableIndices, forward: true); 225index = GetPreferredIndex(index, availableIndices, forward: false); 256index = GetPreferredIndex(index + 1, availableIndices, forward: true); 274index = GetPreferredIndex(index, availableIndices, forward: false); 286var index = GetPreferredIndex(declarationList.Count, availableIndices, forward: false); 312result = GetPreferredIndex(result.Value, availableIndices, forward: true);