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

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

private CheckDeclarationType ( TypeReference type ) : bool
type Boo.Lang.Compiler.Ast.TypeReference
Результат bool
        bool CheckDeclarationType(TypeReference type)
        {
            if (type.Entity != VoidType()) return true;
            Error(CompilerErrorFactory.InvalidDeclarationType(type, VoidType()));
            return false;
        }
ProcessMethodBodies