Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / tests / gtest-162.cs
1 using System;
2 using System.Reflection;
3
4 public class Generic<T>
5 {
6         public delegate void Delegate(Generic<T> proxy, T value);
7 }
8
9 class X
10 {
11         public static int Main ()
12         {
13                 Type t = typeof (Generic<bool>);
14                 MemberInfo[] mi = t.FindMembers (MemberTypes.NestedType,
15                                                  BindingFlags.Static | BindingFlags.Public |
16                                                  BindingFlags.DeclaredOnly, null, null);
17
18                 return mi.Length - 1;
19         }
20 }