-Build
This commit is contained in:
@@ -1301,8 +1301,8 @@ namespace Newtonsoft.Json.Tests.Serialization
|
|||||||
string json = JsonConvert.SerializeObject(message, Formatting.Indented, new JsonSerializerSettings
|
string json = JsonConvert.SerializeObject(message, Formatting.Indented, new JsonSerializerSettings
|
||||||
{
|
{
|
||||||
TypeNameHandling = TypeNameHandling.All,
|
TypeNameHandling = TypeNameHandling.All,
|
||||||
TypeNameAssemblyFormat = FormatterAssemblyStyle.Full,
|
|
||||||
#pragma warning disable CS0618 // Type or member is obsolete
|
#pragma warning disable CS0618 // Type or member is obsolete
|
||||||
|
TypeNameAssemblyFormat = FormatterAssemblyStyle.Full,
|
||||||
Binder = new MetroBinder(),
|
Binder = new MetroBinder(),
|
||||||
#pragma warning restore CS0618 // Type or member is obsolete
|
#pragma warning restore CS0618 // Type or member is obsolete
|
||||||
ContractResolver = new DefaultContractResolver
|
ContractResolver = new DefaultContractResolver
|
||||||
@@ -2015,7 +2015,9 @@ namespace Newtonsoft.Json.Tests.Serialization
|
|||||||
JsonSerializerSettings serializerSettings = new JsonSerializerSettings
|
JsonSerializerSettings serializerSettings = new JsonSerializerSettings
|
||||||
{
|
{
|
||||||
TypeNameHandling = TypeNameHandling.All,
|
TypeNameHandling = TypeNameHandling.All,
|
||||||
|
#pragma warning disable 618
|
||||||
TypeNameAssemblyFormat = FormatterAssemblyStyle.Simple
|
TypeNameAssemblyFormat = FormatterAssemblyStyle.Simple
|
||||||
|
#pragma warning restore 618
|
||||||
};
|
};
|
||||||
|
|
||||||
Dictionary<int, HashSet<string>> dictionary = new Dictionary<int, HashSet<string>>
|
Dictionary<int, HashSet<string>> dictionary = new Dictionary<int, HashSet<string>>
|
||||||
@@ -2036,7 +2038,9 @@ namespace Newtonsoft.Json.Tests.Serialization
|
|||||||
JsonSerializerSettings serializerSettings = new JsonSerializerSettings
|
JsonSerializerSettings serializerSettings = new JsonSerializerSettings
|
||||||
{
|
{
|
||||||
TypeNameHandling = TypeNameHandling.All,
|
TypeNameHandling = TypeNameHandling.All,
|
||||||
|
#pragma warning disable 618
|
||||||
TypeNameAssemblyFormat = FormatterAssemblyStyle.Full
|
TypeNameAssemblyFormat = FormatterAssemblyStyle.Full
|
||||||
|
#pragma warning restore 618
|
||||||
};
|
};
|
||||||
|
|
||||||
Dictionary<int, HashSet<string>> dictionary = new Dictionary<int, HashSet<string>>
|
Dictionary<int, HashSet<string>> dictionary = new Dictionary<int, HashSet<string>>
|
||||||
|
|||||||
Reference in New Issue
Block a user