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/Runtime/Serialization


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Serialization ObjectIDGenerator.cs, 1.4, 1.5
Date: Mon, 04 Aug 2003 01:21:23 -0400

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

Modified Files:
        ObjectIDGenerator.cs 
Log Message:


Continue the implementation of binary formatting.


Index: ObjectIDGenerator.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Serialization/ObjectIDGenerator.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ObjectIDGenerator.cs        3 Aug 2003 09:03:35 -0000       1.4
--- ObjectIDGenerator.cs        4 Aug 2003 05:21:21 -0000       1.5
***************
*** 59,63 ****
                                        firstTime = true;
                                        table[obj] = (Object)(nextId);
-                                       RegisterType(obj.GetType(), nextId);
                                        return nextId++;
                                }
--- 59,62 ----
***************
*** 85,89 ****
  
        // Register a type with a previous object identifier that used the type.
!       private void RegisterType(Type type, long id)
                        {
                                if(typeTable[type] == null)
--- 84,88 ----
  
        // Register a type with a previous object identifier that used the type.
!       internal void RegisterType(Type type, long id)
                        {
                                if(typeTable[type] == null)





reply via email to

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