More tests.
authorMarek Safar <marek.safar@gmail.com>
Tue, 13 Nov 2007 09:46:31 +0000 (09:46 -0000)
committerMarek Safar <marek.safar@gmail.com>
Tue, 13 Nov 2007 09:46:31 +0000 (09:46 -0000)
svn path=/trunk/mcs/; revision=89535

mcs/tests/gtest-autoproperty-03.cs

index 9252cad1d1d70bf370e86326c7eb6f2773110e1a..f75f21979e6413c9fa9c5f486a7ca87ccd6d052f 100644 (file)
@@ -18,6 +18,9 @@ public class Test
                        return 2;
                if (field_atts[0].GetType() != typeof (CompilerGeneratedAttribute))
                        return 3;
+                       
+               if (fields [0].Name != "<Foo>k__BackingField")
+                       return 10;
                
                PropertyInfo property = typeof (Test).GetProperty ("Foo");
                MethodInfo get = property.GetGetMethod (false);