Boo.Lang.Compiler.Steps.ProcessMethodBodies.CheckDeclarationType C# (CSharp) Method

CheckDeclarationType() private method

private CheckDeclarationType ( TypeReference type ) : bool
type Boo.Lang.Compiler.Ast.TypeReference
return bool
        bool CheckDeclarationType(TypeReference type)
        {
            if (type.Entity != VoidType()) return true;
            Error(CompilerErrorFactory.InvalidDeclarationType(type, VoidType()));
            return false;
        }
ProcessMethodBodies