a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
21 lines
390 B
C#
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;
|
|
}
|
|
}
|