dotgnu-general
[Top][All Lists]
Advanced

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

[DotGNU]binary reader


From: Miroslaw Dobrzanski-Neumann
Subject: [DotGNU]binary reader
Date: Thu, 19 Feb 2004 16:36:56 +0100
User-agent: Mutt/1.4i

Hi,

In 
pnetlib/runtime/System/Runtime/Serialization/Formatters/Binary/BinaryFormatter.cs
you can find the following code:

[TODO]
public Object Deserialize(Stream serializationStream, HeaderHandler handler)
{
        ...
        return null;
}

The method is not implemented at all. Returning null confuses an localized
application which expects the localized objects in assebly resources.

Throwing an exception could be a better sollution:
throw new System.NotImplementedException ("PNETLIB: [TODO] 
BinaryFormatter.Deserialize ()");

instead of long investigation why an application causes NullReferenceException
which says nothing and occurs in the wrong place.

Could you manage to change this.

BTW:
Is there a chance it will be implemented

Regards,
-- 
Mirosław Dobrzański-Neumann
E-mail: address@hidden

This message is utf-8 encoded


reply via email to

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