-Fixed serializing discriminated unions with type name or reference tracking enabled
-Fixed build
This commit is contained in:
@@ -57,9 +57,9 @@ namespace Newtonsoft.Json.Tests.Serialization
|
||||
private readonly char _startingWithChar;
|
||||
|
||||
public DynamicContractResolver(char startingWithChar)
|
||||
#pragma warning disable 612
|
||||
#pragma warning disable 612,618
|
||||
: base(false)
|
||||
#pragma warning restore 612
|
||||
#pragma warning restore 612,618
|
||||
{
|
||||
_startingWithChar = startingWithChar;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user