2 instantiations of CodeGenerationContext
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
CodeGenerationContext.cs (2)
24public static readonly CodeGenerationContext Default = new(); 214return new CodeGenerationContext(
16 references to CodeGenerationContext
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
AbstractCodeGenerationService.cs (2)
41public abstract TCodeGenerationContextInfo GetInfo(CodeGenerationContext context, CodeGenerationOptions options, ParseOptions parseOptions); 43CodeGenerationContextInfo ICodeGenerationService.GetInfo(CodeGenerationContext context, CodeGenerationOptions options, ParseOptions parseOptions)
CodeGenerationContext.cs (3)
16CodeGenerationContext Context, 24public static readonly CodeGenerationContext Default = new(); 183public CodeGenerationContext With(
CodeGenerationContextInfo.cs (4)
14public readonly CodeGenerationContext Context; 16protected CodeGenerationContextInfo(CodeGenerationContext context) 21public CodeGenerationContextInfo WithContext(CodeGenerationContext value) 31protected abstract CodeGenerationContextInfo WithContextImpl(CodeGenerationContext value);
ICodeGenerationService.cs (1)
18CodeGenerationContextInfo GetInfo(CodeGenerationContext context, CodeGenerationOptions options, ParseOptions parseOptions);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (6)
CSharpCodeGenerationContextInfo.cs (3)
14public CSharpCodeGenerationContextInfo(CodeGenerationContext context, CSharpCodeGenerationOptions options, CSharpCodeGenerationService service, LanguageVersion languageVersion) 34public new CSharpCodeGenerationContextInfo WithContext(CodeGenerationContext value) 37protected override CodeGenerationContextInfo WithContextImpl(CodeGenerationContext value)
CSharpCodeGenerationService.cs (1)
39public override CSharpCodeGenerationContextInfo GetInfo(CodeGenerationContext context, CodeGenerationOptions options, ParseOptions parseOptions)
CSharpUseLocalFunctionCodeFixProvider.cs (1)
96CodeGenerationContext.Default, CSharpCodeGenerationOptions.Default, new CSharpCodeGenerationService(document.Project.Services), root.SyntaxTree.Options.LanguageVersion());
MakeLocalFunctionStaticCodeFixHelper.cs (1)
172CodeGenerationContext.Default, CSharpCodeGenerationOptions.Default, new CSharpCodeGenerationService(document.Project.Services), root.SyntaxTree.Options.LanguageVersion());