public void ConstrainedGenericType()
{
TestCSharp ("Generics.cs", module => {
var bongo_t = module.GetType ("Bongo`1");
Assert.IsNotNull (bongo_t);
var t = bongo_t.GenericParameters [0];
Assert.IsNotNull (t);
Assert.AreEqual ("T", t.Name);
Assert.IsTrue (t.HasConstraints);
Assert.AreEqual (2, t.Constraints.Count);
Assert.AreEqual ("Zap", t.Constraints [0].FullName);
Assert.AreEqual ("IZoom", t.Constraints [1].FullName);
});
}