5 instantiations of ExtractMethodGenerationOptions
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
ExtractMethod\ExtractMethodBase.cs (1)
127var options = new ExtractMethodGenerationOptions()
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Options\ExtractMethodOptionsStorage.cs (1)
15=> new()
Microsoft.CodeAnalysis.Workspaces (2)
ExtractMethod\ExtractMethodOptions.cs (2)
27=> new() 45=> new()
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
VBOptionsFactory.cs (1)
18=> new()
27 references to ExtractMethodGenerationOptions
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
ExtractMethod\ExtractMethodBase.cs (1)
127var options = new ExtractMethodGenerationOptions()
ExtractMethod\ExtractMethodTests.cs (1)
10061await service.ExtractMethodAsync(document, textSpan: default, localFunction: false, ExtractMethodGenerationOptions.GetDefault(project.Services), CancellationToken.None);
Microsoft.CodeAnalysis.CSharp.Features (7)
ExtractMethod\CSharpExtractMethodService.cs (1)
26protected override MethodExtractor CreateMethodExtractor(SelectionResult selectionResult, ExtractMethodGenerationOptions options, bool localFunction)
ExtractMethod\CSharpMethodExtractor.cs (1)
22SelectionResult result, ExtractMethodGenerationOptions options, bool localFunction)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (2)
49ExtractMethodGenerationOptions options, 64ExtractMethodGenerationOptions options,
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (1)
27ExtractMethodGenerationOptions options,
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.MultipleStatementsCodeGenerator.cs (1)
27ExtractMethodGenerationOptions options,
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.SingleStatementCodeGenerator.cs (1)
24ExtractMethodGenerationOptions options,
Microsoft.CodeAnalysis.EditorFeatures (1)
ExtractMethod\ExtractMethodCommandHandler.cs (1)
142var options = await document.GetExtractMethodGenerationOptionsAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (12)
CodeRefactorings\ExtractMethod\AbstractExtractMethodCodeRefactoringProvider.cs (4)
47var extractOptions = await document.GetExtractMethodGenerationOptionsAsync(cancellationToken).ConfigureAwait(false); 56ExtractMethodGenerationOptions extractOptions, 70Document document, TextSpan textSpan, ExtractMethodGenerationOptions extractOptions, CancellationToken cancellationToken) 95Document document, TextSpan textSpan, ExtractMethodGenerationOptions extractOptions, CancellationToken cancellationToken)
ExtractMethod\AbstractExtractMethodService.cs (2)
27protected abstract MethodExtractor CreateMethodExtractor(SelectionResult selectionResult, ExtractMethodGenerationOptions options, bool localFunction); 33ExtractMethodGenerationOptions options,
ExtractMethod\ExtractMethodService.cs (1)
14public static Task<ExtractMethodResult> ExtractMethodAsync(Document document, TextSpan textSpan, bool localFunction, ExtractMethodGenerationOptions options, CancellationToken cancellationToken)
ExtractMethod\IExtractMethodService.cs (1)
14Task<ExtractMethodResult> ExtractMethodAsync(Document document, TextSpan textSpan, bool localFunction, ExtractMethodGenerationOptions options, CancellationToken cancellationToken);
ExtractMethod\MethodExtractor.CodeGenerator.cs (2)
69protected readonly ExtractMethodGenerationOptions ExtractMethodGenerationOptions; 79ExtractMethodGenerationOptions options,
ExtractMethod\MethodExtractor.cs (2)
28ExtractMethodGenerationOptions options, 32protected readonly ExtractMethodGenerationOptions Options = options;
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Options\ExtractMethodOptionsStorage.cs (1)
14public static ExtractMethodGenerationOptions GetExtractMethodGenerationOptions(this IGlobalOptionService globalOptions, LanguageServices languageServices)
Microsoft.CodeAnalysis.Workspaces (2)
ExtractMethod\ExtractMethodOptions.cs (2)
26public static ExtractMethodGenerationOptions GetDefault(LanguageServices languageServices) 44public static async ValueTask<ExtractMethodGenerationOptions> GetExtractMethodGenerationOptionsAsync(this Document document, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
VBOptionsFactory.cs (1)
17public static ExtractMethodGenerationOptions CreateExtractMethodGenerationOptions(CodeGenerationOptions codeGenerationOptions, CodeCleanupOptions codeCleanupOptions)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Remote\ServiceDescriptorTests.cs (1)
236ExtractMethodGenerationOptions.GetDefault(languageServices),