yield WaitForSeconds() causing compiler errors

I have two classes:

class SubScreen extends MonoBehaviour
{
    function Open()
    {
        SetShow( true );
        RandomUtils.ToggleVisibility( gameObject );
    }
}

and

class SubScreen_AdvGameOver extends SubScreen
{
    override function Open()
    {
        super();    

        yield WaitForSeconds(1);
                // looking to do some more stuff down here...
    }   
}

However, this causes a compiler error: BCE0101: Return type 'void' cannot be used on a generator. Did you mean 'IEnumerator'? You can also use 'System.Collections.IEnumerable' or 'object'.

I have used yield WaitForSeconds() in numerous other places and it has worked fine. I've looked up to see if anyone else has had problems, and I found things like calling the function from Update() and OnGUI() -- The Open() function is not called from either of those. I can declare other functions in the child class that are allowed to have a yield in them, and the compiler does not throw any errors.

Under what circumstances can you yield in a function?

I think I may have found the answer, but it would be great if someone a little more technical could explain what is going on...

The following code fixes this and works:

class SubScreen extends MonoBehaviour
{
    function Open() : IEnumerator
    {
        SetShow( true );
        RandomUtils.ToggleVisibility( gameObject );
    }
}

and

class SubScreen_AdvGameOver extends SubScreen
{
    override function Open() : IEnumerator
    {
        yield super.Open();    

        yield WaitForSeconds(1);
                // looking to do some more stuff down here...
    }   
}

By the nature of the compiler error, I suspected that the functions had to return IEnumerator (even though other functions I have used yield in return void). However, the tricky part was then figuring out to yield super.Open(). Trying yield super() does not work... I'm not clear about why the syntax is the way it is, or why the functions had to return IEnumerator despite other functions using yield and not having to.