+2004-10-12 Martin Baulig <martin@ximian.com>
+
+ * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
+ before calling the *_internal() methods.
+
2004-10-12 Zoltan Varga <vargaz@freemail.hu>
* MethodBody.cs: Implement this.
public override MethodInfo[] GetMethods (BindingFlags bf)
{
- initialize ();
-
ArrayList l = new ArrayList ();
//
bool match;
MethodAttributes mattrs;
+ initialize ();
+
MethodInfo[] methods = GetMethods_internal (reftype);
for (int i = 0; i < methods.Length; i++) {
public override ConstructorInfo[] GetConstructors (BindingFlags bf)
{
- initialize ();
-
ArrayList l = new ArrayList ();
Type current_type = this;
bool match;
MethodAttributes mattrs;
+ initialize ();
+
ConstructorInfo[] ctors = GetConstructors_internal (reftype);
for (int i = 0; i < ctors.Length; i++) {
public override FieldInfo[] GetFields (BindingFlags bf)
{
- initialize ();
-
ArrayList l = new ArrayList ();
Type current_type = this;
bool match;
FieldAttributes fattrs;
+ initialize ();
+
FieldInfo[] fields = GetFields_internal (reftype);
for (int i = 0; i < fields.Length; i++) {
public override PropertyInfo[] GetProperties (BindingFlags bf)
{
- initialize ();
-
ArrayList l = new ArrayList ();
Type current_type = this;
MethodAttributes mattrs;
MethodInfo accessor;
+ initialize ();
+
PropertyInfo[] properties = GetProperties_internal (reftype);
for (int i = 0; i < properties.Length; i++) {
public override EventInfo[] GetEvents (BindingFlags bf)
{
- initialize ();
-
ArrayList l = new ArrayList ();
Type current_type = this;
MethodAttributes mattrs;
MethodInfo accessor;
+ initialize ();
+
EventInfo[] events = GetEvents_internal (reftype);
for (int i = 0; i < events.Length; i++) {