Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / gtest-etree-22.cs
1 using System;
2 using System.Linq.Expressions;
3
4 namespace FieldInfoBug
5 {
6         public class MonoRuntime
7         {
8                 public static int Main ()
9                 {
10                         // This constructor throws ArgumentException: 
11                         // The field handle and the type handle are incompatible.
12                         new GenericClass<object> ("value");
13                         return 0;
14                 }
15         }
16
17         public class GenericClass<T>
18         {
19                 public GenericClass (string argument)
20                 {
21                         Expression<Func<string>> expression = () => argument;
22                 }
23         }
24 }