projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96bc55f
)
More tests.
author
Marek Safar
<marek.safar@gmail.com>
Tue, 13 Nov 2007 09:46:31 +0000
(09:46 -0000)
committer
Marek 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
patch
|
blob
|
history
diff --git
a/mcs/tests/gtest-autoproperty-03.cs
b/mcs/tests/gtest-autoproperty-03.cs
index 9252cad1d1d70bf370e86326c7eb6f2773110e1a..f75f21979e6413c9fa9c5f486a7ca87ccd6d052f 100644
(file)
--- a/
mcs/tests/gtest-autoproperty-03.cs
+++ b/
mcs/tests/gtest-autoproperty-03.cs
@@
-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);