polenter / SharpSerializer

SharpSerializer can serialize types like: multidimensional array, nested array, array-of-arrays, polymorphic object (where value is inherited from the property type), generic type, generic listing (i.e. dictionary, collection) and many more, with a single line of code
https://www.sharpserializer.net
Other
114 stars 28 forks source link

Help debugging "Property set method not found." #11

Open pltaylor opened 5 years ago

pltaylor commented 5 years ago

I've done a major refactor of my application and am running into a "Property set method not found." error when I deserialize current files in my refactored apps. Is there any way to narrow down what property it is having problems with?

pltaylor commented 5 years ago

I found the issue in my code. I removed a setter from a public property that used to have one. I feel like it should be ignored if that happens. Setting the property to private solved the issue entirely. Not sure if this should be left open for the room to improve on error messages or handling this particular edge case or closed because I solved the issue.