1 write to Options
Microsoft.CodeAnalysis.Workspaces (1)
CodeFixes\CodeFixContext.cs (1)
229Options = options;
26 references to Options
Microsoft.CodeAnalysis.CSharp.Features (4)
CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
109var codeActions = await service.GenerateDeconstructMethodAsync(document, target, (INamedTypeSymbol)type, context.Options, cancellationToken).ConfigureAwait(false);
ConvertProgram\ConvertToProgramMainCodeFixProvider.cs (1)
39var options = await document.GetCSharpCodeFixOptionsProviderAsync(context.Options, cancellationToken).ConfigureAwait(false);
ConvertProgram\ConvertToTopLevelStatementsCodeFixProvider.cs (1)
41var options = await document.GetCSharpCodeFixOptionsProviderAsync(context.Options, cancellationToken).ConfigureAwait(false);
ImplementInterface\CSharpImplementInterfaceCodeFixProvider.cs (1)
58.Select(n => service.GetCodeActions(document, context.Options.GetImplementTypeGenerationOptions(document.Project.Services), model, n, cancellationToken))
Microsoft.CodeAnalysis.Features (15)
AddImport\AbstractAddImportCodeFixProvider.cs (2)
59var codeActionOptions = context.Options.GetOptions(document.Project.Services); 76var cleanupOptions = await document.GetCodeCleanupOptionsAsync(context.Options, cancellationToken).ConfigureAwait(false);
AddPackage\AbstractAddPackageCodeFixProvider.cs (1)
55context.Options.GetOptions(document.Project.Services).SearchOptions.SearchNuGetPackages &&
CodeFixes\GenerateMember\AbstractGenerateMemberCodeFixProvider.cs (1)
47var codeActions = await GetCodeActionsAsync(context.Document, name, context.Options, context.CancellationToken).ConfigureAwait(false);
CodeFixes\Suppression\WrapperCodeFixProvider.cs (2)
35var suppressionFixes = await _suppressionFixProvider.GetFixesAsync(context.Document, context.Span, documentDiagnostics, context.Options, context.CancellationToken).ConfigureAwait(false); 42var suppressionFixes = await _suppressionFixProvider.GetFixesAsync(context.Document.Project, projectDiagnostics, context.Options, context.CancellationToken).ConfigureAwait(false);
FullyQualify\AbstractFullyQualifyCodeFixProvider.cs (1)
25var hideAdvancedMembers = context.Options.GetOptions(document.Project.Services).HideAdvancedMembers;
GenerateDefaultConstructors\AbstractGenerateDefaultConstructorCodeFixProvider.cs (1)
40document, new TextSpan(typeName.Value.Span.Start, 0), context.Options, forRefactoring: false, cancellationToken).ConfigureAwait(false);
ImplementAbstractClass\AbstractImplementAbstractClassCodeFixProvider.cs (1)
42document, classNode, GetClassIdentifier(classNode), context.Options.GetImplementTypeGenerationOptions(document.Project.Services), cancellationToken).ConfigureAwait(false);
SimplifyTypeNames\AbstractSimplifyTypeNamesCodeFixProvider.cs (1)
83var options = (TSimplifierOptions)await document.GetSimplifierOptionsAsync(context.Options, cancellationToken).ConfigureAwait(false);
SpellCheck\AbstractSpellCheckCodeFixProvider.cs (1)
121HideAdvancedMembers = context.Options.GetOptions(document.Project.Services).HideAdvancedMembers,
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (4)
93solution, fieldSymbol, renameOptions, context.Options, cancellationToken).ConfigureAwait(false); 214newRoot = await FormatAsync(newRoot, fieldDocument, context.Options, cancellationToken).ConfigureAwait(false); 228newFieldTreeRoot = await FormatAsync(newFieldTreeRoot, fieldDocument, context.Options, cancellationToken).ConfigureAwait(false); 229newPropertyTreeRoot = await FormatAsync(newPropertyTreeRoot, propertyDocument, context.Options, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.VisualBasic.Features (6)
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (3)
56result = Await GenerateEventFromImplementsAsync(context.Document, qualifiedName, context.Options, context.CancellationToken).ConfigureAwait(False) 61result = Await GenerateEventFromHandlesAsync(context.Document, handlesClauseItem, context.Options, context.CancellationToken).ConfigureAwait(False) 66result = Await GenerateEventFromAddRemoveHandlerAsync(context.Document, handlerStatement, context.Options, context.CancellationToken).ConfigureAwait(False)
CodeFixes\OverloadBase\OverloadBaseCodeFixProvider.vb (2)
49context.RegisterCodeFix(New AddKeywordAction(context.Document, token.Parent, VBFeaturesResources.Add_Overloads, SyntaxKind.OverloadsKeyword, context.Options), context.Diagnostics) 51context.RegisterCodeFix(New AddKeywordAction(context.Document, token.Parent, VBFeaturesResources.Add_Shadows, SyntaxKind.ShadowsKeyword, context.Options), context.Diagnostics)
ImplementInterface\VisualBasicImplementInterfaceCodeFixProvider.vb (1)
65context.Options.GetImplementTypeGenerationOptions(document.Project.Services),
Microsoft.CodeAnalysis.Workspaces (1)
CodeActionOptions.cs (1)
165=> context.Options;