Closed GoogleCodeExporter closed 8 years ago
Binary serialization / deserialization will fail too.
But it could be fixed by modifying obfuscar.cs :: public void RenameFields( );
remove the use of nameGroups. After that fields always have distinctive name
regardless of its types.
Without the above fix, the obfuscated assembly could effectively result in code
such
as:
private string A;
private List<int> A;
which will cause binary deserialization to fail.
Original comment by g...@dotnetsharp.com
on 14 Mar 2009 at 10:27
I'm not at all surprised that it doesn't work with reflection-based
serializers.
That's kind of the point...To strip and obfuscate the metadata information to
the
point that without context, it can't be easily understood.
You might do better to use ISerializable.
Original comment by drcfor...@gmail.com
on 14 Mar 2009 at 5:17
Original issue reported on code.google.com by
g...@dotnetsharp.com
on 14 Mar 2009 at 10:18