public void BlowUp() { RecursiveObject obj = new RecursiveObject(); obj.Yeuch = obj; Serializer.Serialize(Stream.Null, obj); }
public void BlowUp() { Program.ExpectFailure <ProtoException>(() => { RecursiveObject obj = new RecursiveObject(); obj.Yeuch = obj; Serializer.Serialize(Stream.Null, obj); }); }
public void BlowUp() { Program.ExpectFailure<ProtoException>(() => { RecursiveObject obj = new RecursiveObject(); obj.Yeuch = obj; Serializer.Serialize(Stream.Null, obj); }); }