JsonLinqContract
using System;
using System.
Diagnostics.
CodeAnalysis;
using System.
Runtime.
CompilerServices;
namespace Newtonsoft.
Json.
Serialization
{
public class JsonLinqContract :
JsonContract
{
[
System.
Runtime.
CompilerServices.
NullableContext(
1)]
[
System.
Diagnostics.
CodeAnalysis.
RequiresUnreferencedCode(
"Newtonsoft.Json relies on reflection over types that may be removed when trimming.")]
public JsonLinqContract(
Type underlyingType)
:
base(
underlyingType)
{
ContractType =
JsonContractType.
Linq;
}
}
}