[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/engine lib_type.c,1.42,1.43
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/engine lib_type.c,1.42,1.43 |
Date: |
Mon, 01 Sep 2003 21:06:14 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv18471/engine
Modified Files:
lib_type.c
Log Message:
Don't include static fields in the list of serializable members for a type.
Index: lib_type.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_type.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -r1.42 -r1.43
*** lib_type.c 1 Sep 2003 00:37:43 -0000 1.42
--- lib_type.c 2 Sep 2003 01:06:12 -0000 1.43
***************
*** 2536,2540 ****
(info, (ILMember *)field,
IL_META_MEMBERKIND_FIELD)) != 0)
{
! if(!ILField_IsNotSerialized(field))
{
++size;
--- 2536,2540 ----
(info, (ILMember *)field,
IL_META_MEMBERKIND_FIELD)) != 0)
{
! if(!ILField_IsStatic(field) &&
!ILField_IsNotSerialized(field))
{
++size;
***************
*** 2563,2567 ****
(info, (ILMember *)field,
IL_META_MEMBERKIND_FIELD)) != 0)
{
! if(!ILField_IsNotSerialized(field))
{
buf[++size] = ItemToClrObject
--- 2563,2567 ----
(info, (ILMember *)field,
IL_META_MEMBERKIND_FIELD)) != 0)
{
! if(!ILField_IsStatic(field) &&
!ILField_IsNotSerialized(field))
{
buf[++size] = ItemToClrObject
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/engine lib_type.c,1.42,1.43,
Rhys Weatherley <address@hidden> <=