@@ -1217,7 +1217,7 @@ _____'propertyName': NaN,
|
||||
{
|
||||
JsonWriter.State[][] stateArray = JsonWriter.BuildStateArray();
|
||||
|
||||
var valueStates = JsonWriter.StateArrayTempate[7];
|
||||
var valueStates = JsonWriter.StateArrayTemplate[7];
|
||||
|
||||
foreach (JsonToken valueToken in GetValues(typeof(JsonToken)))
|
||||
{
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace Newtonsoft.Json
|
||||
// array that gives a new state based on the current state an the token being written
|
||||
private static readonly State[][] StateArray;
|
||||
|
||||
internal static readonly State[][] StateArrayTempate = new[]
|
||||
internal static readonly State[][] StateArrayTemplate = new[]
|
||||
{
|
||||
// Start PropertyName ObjectStart Object ArrayStart Array ConstructorStart Constructor Closed Error
|
||||
//
|
||||
@@ -78,9 +78,9 @@ namespace Newtonsoft.Json
|
||||
|
||||
internal static State[][] BuildStateArray()
|
||||
{
|
||||
List<State[]> allStates = StateArrayTempate.ToList();
|
||||
State[] errorStates = StateArrayTempate[0];
|
||||
State[] valueStates = StateArrayTempate[7];
|
||||
List<State[]> allStates = StateArrayTemplate.ToList();
|
||||
State[] errorStates = StateArrayTemplate[0];
|
||||
State[] valueStates = StateArrayTemplate[7];
|
||||
|
||||
EnumInfo enumValuesAndNames = EnumUtils.GetEnumValuesAndNames(typeof(JsonToken));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user