#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 ()
set { otherwise = value; }
}
- public IList Whens {
+ public List <BuildWhen> Whens {
get { return whens; }
set { whens = value; }
}