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