2 interfaces inheriting from CodeCleanupOptionsProvider
Microsoft.CodeAnalysis.Workspaces (2)
CleanCodeGenerationOptions.cs (1)
48CodeCleanupOptionsProvider,
CodeActionOptions.cs (1)
81CodeCleanupOptionsProvider,
2 implementations of CodeCleanupOptionsProvider
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Options\GlobalCodeActionOptionsProvider.cs (1)
34CodeCleanupOptionsProvider,
Microsoft.CodeAnalysis.Workspaces (1)
CodeCleanupOptions.cs (1)
59internal abstract class AbstractCodeCleanupOptionsProvider : CodeCleanupOptionsProvider
64 references to CodeCleanupOptionsProvider
Microsoft.CodeAnalysis.CSharp.Features (1)
ConvertProgram\ConvertProgramTransform_TopLevelStatements.cs (1)
30Document document, MethodDeclarationSyntax methodDeclaration, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.EditorFeatures (2)
InlineRename\AbstractEditorInlineRenameService.SymbolRenameInfo.cs (2)
36private readonly CodeCleanupOptionsProvider _fallbackOptions; 61CodeCleanupOptionsProvider fallbackOptions,
Microsoft.CodeAnalysis.Features (39)
ChangeSignature\AbstractChangeSignatureService.cs (2)
91public async Task<ImmutableArray<ChangeSignatureCodeAction>> GetChangeSignatureCodeActionAsync(Document document, TextSpan span, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken) 101Document document, int position, bool restrictToDeclarations, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken)
ChangeSignature\ChangeSignatureAnalyzedContext.cs (2)
19public readonly CodeCleanupOptionsProvider FallbackOptions; 22Document document, int positionForTypeBinding, ISymbol symbol, ParameterConfiguration parameterConfiguration, CodeCleanupOptionsProvider fallbackOptions)
CodeRefactorings\MoveType\AbstractMoveTypeService.cs (5)
33public abstract Task<Solution> GetModifiedSolutionAsync(Document document, TextSpan textSpan, MoveTypeOperationKind operationKind, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken); 34public abstract Task<ImmutableArray<CodeAction>> GetRefactoringAsync(Document document, TextSpan textSpan, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken); 46Document document, TextSpan textSpan, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken) 59public override async Task<Solution> GetModifiedSolutionAsync(Document document, TextSpan textSpan, MoveTypeOperationKind operationKind, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken) 83private async Task<State> CreateStateAsync(Document document, TextSpan textSpan, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken)
CodeRefactorings\MoveType\AbstractMoveTypeService.State.cs (3)
22public CodeCleanupOptionsProvider FallbackOptions { get; } 29private State(SemanticDocument document, CodeCleanupOptionsProvider fallbackOptions) 36SemanticDocument document, TTypeDeclarationSyntax typeDeclaration, CodeCleanupOptionsProvider fallbackOptions,
CodeRefactorings\MoveType\IMoveTypeService.cs (2)
20Task<ImmutableArray<CodeAction>> GetRefactoringAsync(Document document, TextSpan textSpan, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken); 22Task<Solution> GetModifiedSolutionAsync(Document document, TextSpan textSpan, MoveTypeOperationKind operationKind, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken);
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (9)
38public abstract Task<Solution> ChangeNamespaceAsync(Document document, SyntaxNode container, string targetNamespace, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken); 40public abstract Task<Solution?> TryChangeTopLevelNamespacesAsync(Document document, string targetNamespace, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken); 114CodeCleanupOptionsProvider fallbackOptions, 177CodeCleanupOptionsProvider fallbackOptions, 432CodeCleanupOptionsProvider fallbackOptions, 566CodeCleanupOptionsProvider fallbackOptions, 643CodeCleanupOptionsProvider fallbackOptions, 690CodeCleanupOptionsProvider fallbackOptions, 764CodeCleanupOptionsProvider fallbackOptions,
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
576Document startingDocument, Dictionary<Document, SyntaxEditor> documentToEditorMap, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken)
EncapsulateField\AbstractEncapsulateFieldService.cs (2)
258bool updateReferences, Solution solution, Document document, IFieldSymbol field, string finalFieldName, string generatedPropertyName, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken) 305CodeCleanupOptionsProvider fallbackOptions,
ExtractInterface\AbstractExtractInterfaceService.cs (1)
293private static async Task<Solution> GetFormattedSolutionAsync(Solution unformattedSolution, IEnumerable<DocumentId> documentIds, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken)
MoveToNamespace\AbstractMoveToNamespaceCodeAction.cs (3)
22private readonly CodeCleanupOptionsProvider _cleanupOptions; 27CodeCleanupOptionsProvider cleanupOptions) 98public static AbstractMoveToNamespaceCodeAction Generate(IMoveToNamespaceService changeNamespaceService, MoveToNamespaceAnalysisResult analysisResult, CodeCleanupOptionsProvider cleanupOptions)
MoveToNamespace\AbstractMoveToNamespaceCodeAction.MoveItemsToNamespaceCodeAction.cs (1)
16public MoveItemsToNamespaceCodeAction(IMoveToNamespaceService changeNamespaceService, MoveToNamespaceAnalysisResult analysisResult, CodeCleanupOptionsProvider cleanupOptions)
MoveToNamespace\AbstractMoveToNamespaceCodeAction.MoveTypeToNamespaceCodeAction.cs (1)
16public MoveTypeToNamespaceCodeAction(IMoveToNamespaceService changeNamespaceService, MoveToNamespaceAnalysisResult analysisResult, CodeCleanupOptionsProvider cleanupOptions)
MoveToNamespace\AbstractMoveToNamespaceService.cs (6)
29Task<ImmutableArray<AbstractMoveToNamespaceCodeAction>> GetCodeActionsAsync(Document document, TextSpan span, CodeCleanupOptionsProvider options, CancellationToken cancellationToken); 31Task<MoveToNamespaceResult> MoveToNamespaceAsync(MoveToNamespaceAnalysisResult analysisResult, string targetNamespace, CodeCleanupOptionsProvider options, CancellationToken cancellationToken); 54CodeCleanupOptionsProvider cleanupOptions, 172CodeCleanupOptionsProvider fallbackOptions, 214CodeCleanupOptionsProvider options, 243CodeCleanupOptionsProvider fallbackOptions,
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
279private async Task<SyntaxNode> FormatAsync(SyntaxNode newRoot, Document document, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Services\ConvertTupleToStructCodeRefactoringProvider\RemoteConvertTupleToStructCodeRefactoringService.cs (1)
89private static async Task<Solution> CleanupAsync(Solution oldSolution, Solution newSolution, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken)
Services\Renamer\RemoteRenamerService.cs (2)
31private CodeCleanupOptionsProvider GetClientOptionsProvider(RemoteServiceCallbackId callbackId) 52var fallbackOptions = GetClientOptionsProvider(callbackId);
Microsoft.CodeAnalysis.Workspaces (19)
ChangeNamespace\IChangeNamespaceService.cs (2)
57Task<Solution> ChangeNamespaceAsync(Document document, SyntaxNode container, string targetNamespace, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken); 63Task<Solution?> TryChangeTopLevelNamespacesAsync(Document document, string targetNamespace, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken);
CodeCleanupOptions.cs (1)
102public static async ValueTask<CodeCleanupOptions> GetCodeCleanupOptionsAsync(this Document document, CodeCleanupOptionsProvider fallbackOptionsProvider, CancellationToken cancellationToken)
Rename\ConflictEngine\ConflictResolver.Session.cs (1)
74private CodeCleanupOptionsProvider FallbackOptions => _renameLocationSet.FallbackOptions;
Rename\ConflictEngine\RenamedSpansTracker.cs (1)
153internal async Task<Solution> SimplifyAsync(Solution solution, IEnumerable<DocumentId> documentIds, bool replacementTextValid, AnnotationTable<RenameAnnotation> renameAnnotations, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken)
Rename\IRemoteRenamerService.cs (1)
155ISymbol symbol, Solution solution, CodeCleanupOptionsProvider fallbackOptions, SerializableRenameLocations serializableLocations, CancellationToken cancellationToken)
Rename\LightweightRenameLocations.cs (3)
28public readonly CodeCleanupOptionsProvider FallbackOptions; 37CodeCleanupOptionsProvider fallbackOptions, 78ISymbol symbol, Solution solution, SymbolRenameOptions options, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken)
Rename\Renamer.cs (4)
114CodeCleanupOptionsProvider fallbackOptions, 151internal static Task<LightweightRenameLocations> FindRenameLocationsAsync(Solution solution, ISymbol symbol, SymbolRenameOptions options, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken) 159CodeCleanupOptionsProvider fallbackOptions, 207CodeCleanupOptionsProvider cleanupOptions,
Rename\Renamer.SyncNamespaceDocumentAction.cs (3)
33private readonly CodeCleanupOptionsProvider _fallbackOptions; 35private SyncNamespaceDocumentAction(AnalysisResult analysis, CodeCleanupOptionsProvider fallbackOptions) 56public static SyncNamespaceDocumentAction? TryCreate(Document document, IReadOnlyList<string> newFolders, CodeCleanupOptionsProvider fallbackOptions)
Rename\SymbolicRenameLocations.cs (3)
33public readonly CodeCleanupOptionsProvider FallbackOptions; 43CodeCleanupOptionsProvider fallbackOptions, 66ISymbol symbol, Solution solution, SymbolRenameOptions options, CodeCleanupOptionsProvider cleanupOptions, CancellationToken cancellationToken)