/// <inheritdoc/> public override IType GetReturnType(ParseContext context, ITypeSymbol currentType, IMethodSymbol method) { MvcActionMethodWalker actionMethodWalker = new MvcActionMethodWalker(context); return(actionMethodWalker.GetReturnType(method)); }
/// <summary> /// Gets the return type for this method by parsing the syntax /// </summary> /// <param name="context">The parse context</param> /// <param name="method">The method symbol</param> /// <returns>The return type</returns> public override IType GetReturnType(ParseContext context, IMethodSymbol method) { MvcActionMethodWalker actionMethodWalker = new MvcActionMethodWalker(context, _returnForwarder); return(actionMethodWalker.GetReturnType(method)); }