diff options
author | Martin Baulig <martin@novell.com> | 2005-11-23 18:44:12 +0300 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2005-11-23 18:44:12 +0300 |
commit | 6a5e0dded27c16c815cc4840e9077e3cc8dbc796 (patch) | |
tree | b6c0eed2c3c2c942e3198b7e81ed72d766d7146c /mcs/gmcs/typemanager.cs | |
parent | f443d963d3f4ffcb530c0c4784bfcc0440335c80 (diff) |
2005-11-23 Martin Baulig <martin@ximian.com>
* typemanager.cs (TypeManager.GetProperty): Make this public.
* generic.cs (Nullable.NullableInfo.ctor): Use
TypeManager.GetProperty() rather than using reflection directly.
svn path=/trunk/mcs/; revision=53396
Diffstat (limited to 'mcs/gmcs/typemanager.cs')
-rw-r--r-- | mcs/gmcs/typemanager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/gmcs/typemanager.cs b/mcs/gmcs/typemanager.cs index 01450200880..e6f0a0224cf 100644 --- a/mcs/gmcs/typemanager.cs +++ b/mcs/gmcs/typemanager.cs @@ -826,10 +826,10 @@ public partial class TypeManager { /// Returns the PropertyInfo for a property named `name' defined /// in type `t' /// </summary> - static PropertyInfo GetProperty (Type t, string name) + public static PropertyInfo GetProperty (Type t, string name) { MemberList list = FindMembers (t, MemberTypes.Property, BindingFlags.Public | - BindingFlags.Instance, Type.FilterName, name); + BindingFlags.Instance, Type.FilterName, name); if (list.Count == 0) { Report.Error (-19, "Can not find the core property `" + name + "'"); return null; |