51 lines
897 B
C#
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;
|
||
|
}
|
||
|
}
|
||
|
}
|