1 implementation of AddFieldAsync
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (1)
402
public Task<Document>
AddFieldAsync
(CodeGenerationSolutionContext context, INamedTypeSymbol destination, IFieldSymbol field, CancellationToken cancellationToken)
2 references to AddFieldAsync
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.CodeAction.cs (1)
34
var result = await codeGenerator.
AddFieldAsync
(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerator.cs (1)
38
=> GetCodeGenerationService(context.Solution.Workspace.Services, destination.Language).
AddFieldAsync
(context, destination, field, cancellationToken);