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

21 lines
390 B
C#

using System;
using System.Reflection;
public class Generic<T>
{
public delegate void Delegate(Generic<T> proxy, T value);
}
class X
{
public static int Main ()
{
Type t = typeof (Generic<bool>);
MemberInfo[] mi = t.FindMembers (MemberTypes.NestedType,
BindingFlags.Static | BindingFlags.Public |
BindingFlags.DeclaredOnly, null, null);
return mi.Length - 1;
}
}