1 instantiation of CodeActionContext
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
7 references to CodeActionContext
Microsoft.AspNetCore.Mvc.Api.Analyzers (7)
AddResponseTypeAttributeCodeFixAction.cs (7)
53var context = nullableContext.Value;
127private async Task<CodeActionContext?> CreateCodeActionContext(CancellationToken cancellationToken)
143var codeActionContext = new CodeActionContext(semanticModel, symbolCache, method, methodSyntax, statusCodeConstants, cancellationToken);
169private static ICollection<(int statusCode, ITypeSymbol? typeSymbol)> CalculateStatusCodesToApply(in CodeActionContext context, IList<DeclaredApiResponseMetadata> declaredResponseMetadata)
201private static AttributeSyntax CreateProducesResponseTypeAttribute(in CodeActionContext context, int statusCode, out bool addUsingDirective)
214private static AttributeSyntax CreateProducesResponseTypeAttribute(in CodeActionContext context, int statusCode, ITypeSymbol typeSymbol, out bool addUsingDirective)
230private static ExpressionSyntax CreateStatusCodeSyntax(CodeActionContext context, int statusCode, out bool addUsingDirective)