IEnumerator causes error while build phase for iOS Unity 4.6

I’m trying to build a XcodeProject with Unity 4.6 Beta.
It seems, that every IEnumerator causes a namespace and a Parsing Error.

The following src causes two errors:

  1. A namespace can only contain types
    and namespace declarations ( Line
    33/21 : IEnumerator
    WaitAMoment(){
    ) error CS8025:
    Parsing error (Line 41/1 : The final
    bracket)

    using UnityEngine;
    using System.Collections;

     public class EinerVoll : MonoBehaviour {
        
        	private bool isOpen = false;
        
        	void FixedUpdate () {
        		#if UNITY_EDITOR
        		if (Input.GetMouseButtonDown(0)) {
        			RaycastHit hit;
        			Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
        			#endif
        			
    			/*#if UNITY_IOS || UNITY_ANDROID
    			if (Input.GetTouch(0).phase == TouchPhase.Ended) {
    				RaycastHit hit;
    				Ray ray = Camera.main.ScreenPointToRay(Input.GetTouch(0).position);
    		#endif*/
    			
    			if (Physics.Raycast(ray, out hit)){
    				if (hit.collider != null){
    					if(DezSysMain.einerVoll && hit.collider.name == "1-10 Tor" && isOpen == false){
    						animation.Play("EinerOpen");
    						isOpen = true;
    						StartCoroutine("WaitAMoment");
    					}
    				}
    			}
    		}
    	}
    
    	IEnumerator WaitAMoment(){
    		yield return new WaitForSeconds(5);
    		DezSysMain.zehner = DezSysMain.zehner + 10;
    		animation.Play("EinerClose");
    		DezSysMain.einerVoll = false;
    		DezSysMain.einer = 0;
    		isOpen = false;
    	}
    }
    

OK, it seems to be a problem with the compiler directives.
#if UNITY_EDITOR
#if UNITY_IOS || UNITY_ANDROID

if I remove the directives and gray out the editor-code with slashes, the compilation is possible.

Is that a bug in Monodevelop ?