-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
@@ -23,11 +23,13 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
using System;
using System.Runtime.Serialization;
namespace Newtonsoft.Json.Tests.TestObjects
{
#if !(PORTABLE || PORTABLE40 || DNXCORE50) || NETSTANDARD1_3 || NETSTANDARD2_0
[Serializable]
public class PreserveReferencesCallbackTestObject : ISerializable
{
internal string _stringValue;