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

PostProcessMethod() приватный Метод

private PostProcessMethod ( Method node ) : void
node Boo.Lang.Compiler.Ast.Method
Результат void
        private void PostProcessMethod(Method node)
        {
            var parentIsClass = node.DeclaringType.NodeType == NodeType.ClassDefinition;
            if (!parentIsClass) return;

            var entity = (InternalMethod)GetEntity(node);
            if (TypeSystemServices.IsUnknown(entity.ReturnType))
                TryToResolveReturnType(entity);
            else
            {
                if (entity.IsGenerator)
                {
                    CheckGeneratorReturnType(node, entity.ReturnType);
                    CheckGeneratorYieldType(entity, entity.ReturnType);
                }
            }
            CheckGeneratorCantReturnValues(entity);
        }
ProcessMethodBodies