17 lines
302 B
C#
Raw Normal View History

//
// This is a test for bug #57703
//
using System;
using System.Reflection;
public interface ITest {
event EventHandler DocBuildingStep;
}
class X {
public static int Main ()
{
return typeof (ITest).GetFields (BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance).Length;
}
}