projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee57bc5
)
preserve the old behavior for 1.1 profiles
author
Jb Evain
<jbevain@gmail.com>
Sun, 2 Sep 2007 11:58:08 +0000
(11:58 -0000)
committer
Jb Evain
<jbevain@gmail.com>
Sun, 2 Sep 2007 11:58:08 +0000
(11:58 -0000)
svn path=/trunk/mcs/; revision=85190
mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
patch
|
blob
|
history
diff --git
a/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
b/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
index 35b0c3f069d62cd6ab788bb1a38b8a903774d5b2..d9f5c6e44e2aa8555b2af020be59ddf1724d7f21 100644
(file)
--- a/
mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
+++ b/
mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
@@
-969,6
+969,9
@@
namespace System.Reflection.Emit
// http://bugzilla.ximian.com/show_bug.cgi?id=82625
if (!ContainsGenericParameters && (created != null))
return created.GetFields (bindingAttr);
+#else
+ if (created != null)
+ return created.GetFields (bindingAttr);
#endif
if (fields == null)