10 instantiations of CodeGenerationContext
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (2)
606
new
CodeGenerationContext
(Token.GetLocation()));
652
new
CodeGenerationContext
(Token.GetLocation())),
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.CodeAction.cs (1)
37
new
CodeGenerationContext
(
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.CodeAction.cs (2)
76
new
CodeGenerationContext
(
92
new
CodeGenerationContext
(
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (1)
62
new
CodeGenerationContext
(
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (1)
97
new
CodeGenerationContext
(
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (1)
71
var context = new
CodeGenerationContext
(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationContext.cs (2)
20
public static readonly CodeGenerationContext Default =
new
();
210
return new
CodeGenerationContext
(
15 references to CodeGenerationContext
Microsoft.CodeAnalysis.CodeStyle.Fixes (15)
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.AbstractCodeAction.cs (1)
52
CodeGenerationContext
.Default),
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.GenerateLocalCodeAction.cs (1)
66
var
context = new CodeGenerationContext(beforeThisLocation: _state.IdentifierToken.GetLocation());
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\ImplementAbstractClassData.cs (1)
107
var
context = new CodeGenerationContext(
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (1)
71
var
context = new CodeGenerationContext(
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);