1 write to Method
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
AddResponseTypeAttributeCodeFixAction.cs (1)
264
Method
= method;
5 references to Method
Microsoft.AspNetCore.Mvc.Api.Analyzers (5)
AddResponseTypeAttributeCodeFixAction.cs (5)
55
var declaredResponseMetadata = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(context.SymbolCache, context.
Method
);
56
var errorResponseType = SymbolApiResponseMetadataProvider.GetErrorResponseType(context.SymbolCache, context.
Method
);
89
if (!declaredResponseMetadata.Any(m => m.IsDefault && SymbolEqualityComparer.Default.Equals(m.AttributeSource, context.
Method
)))
95
var apiConventionMethodAttribute = context.
Method
.GetAttributes(context.SymbolCache.ApiConventionMethodAttribute).FirstOrDefault();
183
SymbolEqualityComparer.Default.Equals(declaredMetadata.AttributeSource, context.
Method
))