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

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

[Dotgnu-pnet-commits] CVS: pnet/engine lib_reflect.c,1.28,1.29


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine lib_reflect.c,1.28,1.29
Date: Thu, 09 Jan 2003 05:10:42 -0500

Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv5734/engine

Modified Files:
        lib_reflect.c 
Log Message:


Wrong value used to check for superclass in "ClrField.GetValue"
and "ClrField.SetValue".


Index: lib_reflect.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_reflect.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** lib_reflect.c       7 Jan 2003 14:16:12 -0000       1.28
--- lib_reflect.c       9 Jan 2003 10:10:39 -0000       1.29
***************
*** 1463,1467 ****
                /* We must have a target, and it must be of the right class */
                if(!obj || !ILClassInheritsFrom(GetObjectClass(obj),
!                                                                           
ILClassResolve(ILField_Owner(obj))))
                {
                        ThrowTargetException(thread);
--- 1463,1467 ----
                /* We must have a target, and it must be of the right class */
                if(!obj || !ILClassInheritsFrom(GetObjectClass(obj),
!                                                                           
ILClassResolve(ILField_Owner(field))))
                {
                        ThrowTargetException(thread);
***************
*** 1528,1532 ****
                /* We must have a target, and it must be of the right class */
                if(!obj || !ILClassInheritsFrom(GetObjectClass(obj),
!                                                                           
ILClassResolve(ILField_Owner(obj))))
                {
                        ThrowTargetException(thread);
--- 1528,1532 ----
                /* We must have a target, and it must be of the right class */
                if(!obj || !ILClassInheritsFrom(GetObjectClass(obj),
!                                                                           
ILClassResolve(ILField_Owner(field))))
                {
                        ThrowTargetException(thread);





reply via email to

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