[Top][All Lists]
[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/Formatters/Binary BinaryFormatter.cs,1.2,1.3 |
Date: |
Thu, 24 Apr 2003 23:53:09 -0400 |
Update of
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Serialization/Formatters/Binary
In directory
subversions:/tmp/cvs-serv5946/runtime/System/Runtime/Serialization/Formatters/Binary
Modified Files:
BinaryFormatter.cs
Log Message:
Signature-compatibility fixes to a large number of classes.
Index: BinaryFormatter.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Serialization/Formatters/Binary/BinaryFormatter.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** BinaryFormatter.cs 23 Apr 2003 05:39:50 -0000 1.2
--- BinaryFormatter.cs 25 Apr 2003 03:53:07 -0000 1.3
***************
*** 27,30 ****
--- 27,31 ----
using System.IO;
using System.Runtime.Serialization;
+ using System.Runtime.InteropServices;
using System.Runtime.Remoting.Messaging;
***************
*** 37,40 ****
--- 38,42 ----
private FormatterAssemblyStyle assemblyFormat;
private FormatterTypeStyle typeFormat;
+ private TypeFilterLevel filterLevel;
// Constructor.
***************
*** 131,136 ****
--- 133,151 ----
}
}
+ [ComVisible(false)]
+ public TypeFilterLevel FilterLevel
+ {
+ get
+ {
+ return filterLevel;
+ }
+ set
+ {
+ filterLevel = value;
+ }
+ }
// Deserialize the response to a method call.
+ [TODO]
public Object DeserializeMethodResponse
(Stream serializationStream, HeaderHandler
handler,
***************
*** 139,142 ****
--- 154,176 ----
// TODO
return null;
+ }
+
+ // Unsafe version of "Deserialize".
+ [ComVisible(false)]
+ public Object UnsafeDeserialize(Stream serializationStream,
+ HeaderHandler
handler)
+ {
+ // We always do things safely.
+ return Deserialize(serializationStream,
handler);
+ }
+
+ // Unsafe version of "DeserializeMethodResponse".
+ [ComVisible(false)]
+ public Object UnsafeDeserializeMethodResponse
+ (Stream serializationStream, HeaderHandler
handler,
+ IMethodCallMessage methodCallMessage)
+ {
+ return DeserializeMethodResponse
+ (serializationStream, handler,
methodCallMessage);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Serialization/Formatters/Binary BinaryFormatter.cs,1.2,1.3,
Rhys Weatherley <address@hidden> <=