예제 #1
0
 public void TestSerNullItem()
 {
     BrokenSerEntity obj = new BrokenSerEntity { Value = 12345 };
     using (MemoryStream ms = new MemoryStream())
     {
         BinaryFormatter bf = new BinaryFormatter();
         bf.Serialize(ms, obj);
     }
 }
예제 #2
0
파일: Remoting.cs 프로젝트: cash2one/HBNews
        public void TestSerNullItem()
        {
            BrokenSerEntity obj = new BrokenSerEntity {
                Value = 12345
            };

            using (MemoryStream ms = new MemoryStream())
            {
                BinaryFormatter bf = new BinaryFormatter();
                bf.Serialize(ms, obj);
            }
        }