Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-103358: Don't remove the parameterless constructor if the class I marked as Serializable

$
0
0
Reporter Magnus Österlund (magol) Magnus Österlund (magol)
Created Apr 14, 2009 3:41:04 PM
Updated Feb 4, 2012 6:30:33 PM
Resolved Mar 26, 2010 6:54:31 PM
Priority Critical
Type Bug
Fix versions 5.0
State Fixed
Assignee Valentin Kipiatkov (valentin)
Subsystem Code Analysis - Solution-wide
Affected versions No Affected versions
Fixed in build 5.0.1650.9
If I'm going to deserialize a class I must have a parameterless constructor. But if this is not used anywhere in this code ReSharper want to remove this, which would make the program not run. So, if a class is marked Serializable, the parameter less constructor should not be suggested to be removed.

Viewing all articles
Browse latest Browse all 106942

Trending Articles