Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

51 lines
897 B
C#

// This is used to debug an ordering dependent bug. The counterpart is test-388.cs.
//
using System;
using System.Collections;
using System.Reflection;
namespace Schemas
{
public partial class basefieldtype
{
public virtual object Instantiate () { return null; }
}
public partial class fieldtype
{
public override object Instantiate ()
{
Console.WriteLine ("Instantiating type '{0}'", id);
return null;
}
}
public partial class compoundfield
{
public override object Instantiate ()
{
Console.WriteLine ("Instantiating compound field '{0}'", id);
return null;
}
}
public partial class field
{
public object Instantiate ()
{
Console.WriteLine ("Instantiating field '{0}'", id);
return null;
}
}
public partial class formdata
{
public object Instantiate ()
{
Console.WriteLine ("Instantiating form window");
return null;
}
}
}