dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System Activator.cs,1.5,1.6


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System Activator.cs,1.5,1.6
Date: Wed, 06 Nov 2002 01:31:11 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System
In directory subversions:/tmp/cvs-serv27579/runtime/System

Modified Files:
        Activator.cs 
Log Message:


CreateInstance: add the flag "BindingFlags.CreateInstance" when calling
"Type.InvokeMember".


Index: Activator.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Activator.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** Activator.cs        20 Dec 2001 10:11:39 -0000      1.5
--- Activator.cs        6 Nov 2002 06:31:07 -0000       1.6
***************
*** 108,113 ****
                        throw new ArgumentNullException("type");
                }
!               return type.InvokeMember(String.Empty, bindingAttr, binder,
!                                                                null, args, 
null, culture, null);
        }
  
--- 108,114 ----
                        throw new ArgumentNullException("type");
                }
!               return type.InvokeMember(String.Empty,
!                                                                
BindingFlags.CreateInstance | bindingAttr,
!                                                                binder, null, 
args, null, culture, null);
        }
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]