Boo.Lang.Compiler.Steps.ProcessMethodBodies.CanResolveReturnType C# (CSharp) Метод

CanResolveReturnType() статический приватный Метод

static private CanResolveReturnType ( Boo.Lang.Compiler.TypeSystem.InternalMethod method ) : bool
method Boo.Lang.Compiler.TypeSystem.InternalMethod
Результат bool
        static bool CanResolveReturnType(InternalMethod method)
        {
            var expressions = method.ReturnExpressions;
            if (null != expressions)
            {
                foreach (var expression in expressions)
                {
                    IType type = expression.ExpressionType;
                    if (type == null || TypeSystemServices.IsUnknown(type))
                        return false;
                }
            }
            return true;
        }
ProcessMethodBodies