|
by luisabreu via LA.NET [EN] on 4/7/2010 8:44:31 AM
Oh well…remember my last post…the happiness of getting everything working out…Well, unfortunately, things stopped working (read: code contract started generating exceptions) when you define more than one invariant. Here’s my initial code: public class Dumb
{
public String A { get; set; }
public String B { get; set; }
public Dumb()
{
Initialize();
}
[OnDeserializing]
private void DeserializerHelper()
{
Initialize();
}
private void Initializ
... [ read more ]
|