-Changed ISerializable serialization to require SerializableAttribute

This commit is contained in:
James Newton-King
2017-11-04 17:53:17 +13:00
parent 1e612287b3
commit 48be21d4ce
8 changed files with 33 additions and 3 deletions
@@ -0,0 +1,13 @@
using System;
using System.Runtime.Serialization;
namespace Newtonsoft.Json.Tests.TestObjects
{
public class ISerializableWithoutAttributeTestObject : ISerializable
{
public void GetObjectData(SerializationInfo info, StreamingContext context)
{
throw new NotImplementedException();
}
}
}