7 references to GetCodeGenerationOptionsAsync
Microsoft.CodeAnalysis.CSharp.Features (3)
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.cs (1)
49
var options = (CSharpCodeGenerationOptions)await document.
GetCodeGenerationOptionsAsync
(fallbackOptions, cancellationToken).ConfigureAwait(false);
UseExpressionBody\UseExpressionBodyCodeRefactoringProvider.cs (2)
83
var options = (CSharpCodeGenerationOptions)await document.
GetCodeGenerationOptionsAsync
(context.Options, cancellationToken).ConfigureAwait(false);
203
var options = (CSharpCodeGenerationOptions)await document.
GetCodeGenerationOptionsAsync
(optionsProvider, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (2)
InitializeParameter\AbstractInitializeMemberFromParameterCodeRefactoringProviderMemberCreation.cs (1)
457
var options = await document.
GetCodeGenerationOptionsAsync
(fallbackOptions, cancellationToken).ConfigureAwait(false);
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (1)
371
var codeGenerationOptions = await updatedDocument.
GetCodeGenerationOptionsAsync
(fallbackOptions, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (2)
AbstractCodeGenerationService.cs (1)
249
var codeGenOptions = await oldDocument.
GetCodeGenerationOptionsAsync
(context.FallbackOptions, cancellationToken).ConfigureAwait(false);
CodeGenerationOptions.cs (1)
140
var options = await
GetCodeGenerationOptionsAsync
(document, fallbackOptionsProvider, cancellationToken).ConfigureAwait(false);