Json.NET
Code Coverage Statistics for Source File

Newtonsoft.Json\Serialization\JsonLinqContract.cs

Symbol Coverage: 100.00% (2 of 2)

Branch Coverage: 100.00% (1 of 1)

Cyclomatic Complexity Avg: 1.00 Max:1

Code Lines: 3


L V Source
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5

  
6
namespace Newtonsoft.Json.Serialization
7
{
8
  /// <summary>
9
  /// Contract details for a <see cref="Type"/> used by the <see cref="JsonSerializer"/>.
10
  /// </summary>
11
  public class JsonLinqContract : JsonContract
12
  {
13
    /// <summary>
14
    /// Initializes a new instance of the <see cref="JsonLinqContract"/> class.
15
    /// </summary>
16
    /// <param name="underlyingType">The underlying type for the contract.</param>
17
 3
    public JsonLinqContract(Type underlyingType)
18
 3
      : base(underlyingType)
19
    {
20
 3
    }
21
  }
22
}