1 write to MethodSyntax
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
AddResponseTypeAttributeCodeFixAction.cs (1)
265
MethodSyntax
= methodSyntax;
3 references to MethodSyntax
Microsoft.AspNetCore.Mvc.Api.Analyzers (3)
AddResponseTypeAttributeCodeFixAction.cs (3)
85
documentEditor.AddAttribute(context.
MethodSyntax
, attributeSyntax);
92
documentEditor.AddAttribute(context.
MethodSyntax
, CreateProducesDefaultResponseTypeAttribute());
171
var operation = (IMethodBodyBaseOperation)context.SemanticModel.GetOperation(context.
MethodSyntax
, context.CancellationToken);