Forgot this in changelog
[mono.git] / mcs / class / Microsoft.Build.Engine / Microsoft.Build.BuildEngine / BuildChoose.cs
index bb47439304e945cd3408b2590382bec73e2f45a7..240718478eac0a6b684b64a0a29847133ecc7c99 100644 (file)
 #if NET_2_0
 
 using System;
-using System.Collections;
+using System.Collections.Generic;
 using System.Xml;
 
 namespace Microsoft.Build.BuildEngine {
        internal class BuildChoose {
                
                BuildWhen       otherwise;
-               Project         project;
-               XmlElement      xmlElement;
-               IList           whens;
+               //Project               project;
+               //XmlElement    xmlElement;
+               List <BuildWhen>        whens;
                
                public BuildChoose (XmlElement xmlElement, Project project)
                {
-                       this.xmlElement = xmlElement;
-                       this.project = project;
-                       this.whens = new ArrayList ();
+                       //this.xmlElement = xmlElement;
+                       //this.project = project;
+                       this.whens = new List <BuildWhen> ();
                }
                
                public void Evaluate ()
@@ -60,7 +60,7 @@ namespace Microsoft.Build.BuildEngine {
                        set { otherwise = value; }
                }
                
-               public IList Whens {
+               public List <BuildWhen> Whens {
                        get { return whens; }
                        set { whens = value; }
                }