2 instantiations of CodeGenerationContext
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationContext.cs (2)
20
public static readonly CodeGenerationContext Default =
new
();
210
return new
CodeGenerationContext
(
11 references to CodeGenerationContext
Microsoft.CodeAnalysis.Workspaces (11)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (2)
41
public abstract TCodeGenerationContextInfo GetInfo(
CodeGenerationContext
context, CodeGenerationOptions options, ParseOptions parseOptions);
43
CodeGenerationContextInfo ICodeGenerationService.GetInfo(
CodeGenerationContext
context, CodeGenerationOptions options, ParseOptions parseOptions)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationContext.cs (3)
13
CodeGenerationContext
Context);
20
public static readonly
CodeGenerationContext
Default = new();
179
public
CodeGenerationContext
With(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationContextInfo.cs (4)
14
public readonly
CodeGenerationContext
Context;
16
protected CodeGenerationContextInfo(
CodeGenerationContext
context)
21
public CodeGenerationContextInfo WithContext(
CodeGenerationContext
value)
31
protected abstract CodeGenerationContextInfo WithContextImpl(
CodeGenerationContext
value);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationOptionsProviders.cs (1)
41
public static async ValueTask<CodeGenerationContextInfo> GetCodeGenerationInfoAsync(this Document document,
CodeGenerationContext
context, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\ICodeGenerationService.cs (1)
18
CodeGenerationContextInfo GetInfo(
CodeGenerationContext
context, CodeGenerationOptions options, ParseOptions parseOptions);