-Changed ISerializable serialization to require SerializableAttribute
This commit is contained in:
@@ -30,6 +30,7 @@ using System.Runtime.Serialization;
|
||||
namespace Newtonsoft.Json.Tests.TestObjects
|
||||
{
|
||||
#if !(DNXCORE50) || NETSTANDARD1_3 || NETSTANDARD2_0
|
||||
[Serializable]
|
||||
public struct Ratio : IConvertible, IFormattable, ISerializable
|
||||
{
|
||||
private readonly int _numerator;
|
||||
|
||||
Reference in New Issue
Block a user