1 type derived from CodeGenerationOptions
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\VisualBasic\VisualBasicCodeGenerationOptions.cs (1)
12
internal sealed record class VisualBasicCodeGenerationOptions :
CodeGenerationOptions
1 instantiation of CodeGenerationOptions
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\CodeGenerationOptions.cs (1)
21
internal static readonly CodeGenerationOptions CommonDefaults =
new
();
16 references to CodeGenerationOptions
Microsoft.CodeAnalysis.Workspaces (16)
ExtractMethod\ExtractMethodOptions.cs (1)
24
[DataMember] public required CodeGenerationOptions
CodeGenerationOptions
{ get; init; }
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\CodeGenerationOptions.cs (1)
21
internal static readonly
CodeGenerationOptions
CommonDefaults = new();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (5)
39
public abstract
CodeGenerationOptions
DefaultOptions { get; }
40
public abstract
CodeGenerationOptions
GetCodeGenerationOptions(IOptionsReader options);
41
public abstract TCodeGenerationContextInfo GetInfo(CodeGenerationContext context,
CodeGenerationOptions
options, ParseOptions parseOptions);
43
CodeGenerationContextInfo ICodeGenerationService.GetInfo(CodeGenerationContext context,
CodeGenerationOptions
options, ParseOptions parseOptions)
245
var
codeGenOptions = await oldDocument.GetCodeGenerationOptionsAsync(cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationContextInfo.cs (2)
25
public
CodeGenerationOptions
Options => OptionsImpl;
29
protected abstract
CodeGenerationOptions
OptionsImpl { get; }
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationOptionsProviders.cs (4)
18
public static
CodeGenerationOptions
GetCodeGenerationOptions(this IOptionsReader options, LanguageServices languageServices)
35
public static async ValueTask<
CodeGenerationOptions
> GetCodeGenerationOptionsAsync(this Document document, CancellationToken cancellationToken)
45
var
options = await GetCodeGenerationOptionsAsync(document, cancellationToken).ConfigureAwait(false);
50
public static
CodeGenerationOptions
GetDefault(LanguageServices languageServices)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\ICodeGenerationService.cs (3)
16
CodeGenerationOptions
DefaultOptions { get; }
17
CodeGenerationOptions
GetCodeGenerationOptions(IOptionsReader options);
18
CodeGenerationContextInfo GetInfo(CodeGenerationContext context,
CodeGenerationOptions
options, ParseOptions parseOptions);