You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicboolHasRefitHttpMethodAttribute(MethodDeclarationSyntaxmethod){// We could also verify that the single argument is a string, // but what if somebody is dumb and uses a constant?// Could be turtles all the way down.returnmethod.AttributeLists.SelectMany(a =>a.Attributes).Any(a =>HttpMethodAttributeNames.Contains(a.Name.ToString().Split('.').Last())&&a.ArgumentList.Arguments.Count==1&&a.ArgumentList.Arguments[0].Expression.Kind()==**SyntaxKind.StringLiteralExpression**);}
Is it possible to fix it?
The text was updated successfully, but these errors were encountered:
Describe the bug
build - OK
runtime - OK
compile - OK
runtime - FAILED:doesn't look like a Refit interface
It seems the problem is here.
Is it possible to fix it?
The text was updated successfully, but these errors were encountered: