Test case
3 generated files · +379 −0test/inputs/csharp/unicode-codepoint-length.schema
Aschema-csharp-recordsdefault / QuickType.cs+91 −0
| @@ -0,0 +1,91 @@ | ||
| 1 | +// <auto-generated /> | |
| 2 | +// | |
| 3 | +// To parse this JSON data, add NuGet 'Newtonsoft.Json' then do: | |
| 4 | +// | |
| 5 | +// using QuickType; | |
| 6 | +// | |
| 7 | +// var topLevel = TopLevel.FromJson(jsonString); | |
| 8 | +#nullable enable | |
| 9 | +#pragma warning disable CS8618 | |
| 10 | +#pragma warning disable CS8601 | |
| 11 | +#pragma warning disable CS8602 | |
| 12 | +#pragma warning disable CS8603 | |
| 13 | +#pragma warning disable CS8604 | |
| 14 | +#pragma warning disable CS8625 | |
| 15 | +#pragma warning disable CS8765 | |
| 16 | + | |
| 17 | +namespace QuickType | |
| 18 | +{ | |
| 19 | + using System; | |
| 20 | + using System.Collections.Generic; | |
| 21 | + using System.Linq; | |
| 22 | + | |
| 23 | + using System.Globalization; | |
| 24 | + using Newtonsoft.Json; | |
| 25 | + using Newtonsoft.Json.Converters; | |
| 26 | + | |
| 27 | + public partial record TopLevel | |
| 28 | + { | |
| 29 | + [JsonProperty("value", Required = Required.Always)] | |
| 30 | + [JsonConverter(typeof(MinMaxLengthCheckConverter))] | |
| 31 | + public string Value { get; set; } | |
| 32 | + } | |
| 33 | + | |
| 34 | + public partial record TopLevel | |
| 35 | + { | |
| 36 | + public static TopLevel FromJson(string json) => JsonConvert.DeserializeObject<TopLevel>(json, QuickType.Converter.Settings); | |
| 37 | + } | |
| 38 | + | |
| 39 | + public static partial class Serialize | |
| 40 | + { | |
| 41 | + public static string ToJson(this TopLevel self) => JsonConvert.SerializeObject(self, QuickType.Converter.Settings); | |
| 42 | + } | |
| 43 | + | |
| 44 | + internal static partial class Converter | |
| 45 | + { | |
| 46 | + public static readonly JsonSerializerSettings Settings = new JsonSerializerSettings | |
| 47 | + { | |
| 48 | + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, | |
| 49 | + DateParseHandling = DateParseHandling.None, | |
| 50 | + Converters = | |
| 51 | + { | |
| 52 | + new IsoDateTimeConverter { DateTimeStyles = DateTimeStyles.AssumeUniversal } | |
| 53 | + }, | |
| 54 | + }; | |
| 55 | + } | |
| 56 | + | |
| 57 | + internal class MinMaxLengthCheckConverter : JsonConverter | |
| 58 | + { | |
| 59 | + public override bool CanConvert(Type t) => t == typeof(string); | |
| 60 | + | |
| 61 | + public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) | |
| 62 | + { | |
| 63 | + var value = serializer.Deserialize<string>(reader); | |
| 64 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 2 && value.Count(c => !char.IsLowSurrogate(c)) <= 2) | |
| 65 | + { | |
| 66 | + return value; | |
| 67 | + } | |
| 68 | + throw new Exception("Cannot unmarshal type string"); | |
| 69 | + } | |
| 70 | + | |
| 71 | + public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) | |
| 72 | + { | |
| 73 | + var value = (string)untypedValue; | |
| 74 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 2 && value.Count(c => !char.IsLowSurrogate(c)) <= 2) | |
| 75 | + { | |
| 76 | + serializer.Serialize(writer, value); | |
| 77 | + return; | |
| 78 | + } | |
| 79 | + throw new Exception("Cannot marshal type string"); | |
| 80 | + } | |
| 81 | + | |
| 82 | + public static readonly MinMaxLengthCheckConverter Singleton = new MinMaxLengthCheckConverter(); | |
| 83 | + } | |
| 84 | +} | |
| 85 | +#pragma warning restore CS8618 | |
| 86 | +#pragma warning restore CS8601 | |
| 87 | +#pragma warning restore CS8602 | |
| 88 | +#pragma warning restore CS8603 | |
| 89 | +#pragma warning restore CS8604 | |
| 90 | +#pragma warning restore CS8625 | |
| 91 | +#pragma warning restore CS8765 |
Aschema-csharp-SystemTextJsondefault / QuickType.cs+197 −0
| @@ -0,0 +1,197 @@ | ||
| 1 | +// <auto-generated /> | |
| 2 | +// | |
| 3 | +// To parse this JSON data, add NuGet 'System.Text.Json' then do: | |
| 4 | +// | |
| 5 | +// using QuickType; | |
| 6 | +// | |
| 7 | +// var topLevel = TopLevel.FromJson(jsonString); | |
| 8 | +#nullable enable | |
| 9 | +#pragma warning disable CS8618 | |
| 10 | +#pragma warning disable CS8601 | |
| 11 | +#pragma warning disable CS8602 | |
| 12 | +#pragma warning disable CS8603 | |
| 13 | +#pragma warning disable CS8604 | |
| 14 | + | |
| 15 | +namespace QuickType | |
| 16 | +{ | |
| 17 | + using System; | |
| 18 | + using System.Collections.Generic; | |
| 19 | + using System.Linq; | |
| 20 | + | |
| 21 | + using System.Text.Json; | |
| 22 | + using System.Text.Json.Serialization; | |
| 23 | + using System.Globalization; | |
| 24 | + | |
| 25 | + public partial class TopLevel | |
| 26 | + { | |
| 27 | + [JsonRequired] | |
| 28 | + [JsonPropertyName("value")] | |
| 29 | + [JsonConverter(typeof(MinMaxLengthCheckConverter))] | |
| 30 | + public string Value { get; set; } | |
| 31 | + } | |
| 32 | + | |
| 33 | + public partial class TopLevel | |
| 34 | + { | |
| 35 | + public static TopLevel FromJson(string json) => global::System.Text.Json.JsonSerializer.Deserialize<TopLevel>(json, QuickType.Converter.Settings); | |
| 36 | + } | |
| 37 | + | |
| 38 | + public static partial class Serialize | |
| 39 | + { | |
| 40 | + public static string ToJson(this TopLevel self) => JsonSerializer.Serialize(self, QuickType.Converter.Settings); | |
| 41 | + } | |
| 42 | + | |
| 43 | + internal static partial class Converter | |
| 44 | + { | |
| 45 | + public static readonly JsonSerializerOptions Settings = new(JsonSerializerDefaults.General) | |
| 46 | + { | |
| 47 | + Converters = | |
| 48 | + { | |
| 49 | + new DateOnlyConverter(), | |
| 50 | + new TimeOnlyConverter(), | |
| 51 | + IsoDateTimeOffsetConverter.Singleton | |
| 52 | + }, | |
| 53 | + }; | |
| 54 | + } | |
| 55 | + | |
| 56 | + internal class MinMaxLengthCheckConverter : JsonConverter<string> | |
| 57 | + { | |
| 58 | + public override bool CanConvert(Type t) => t == typeof(string); | |
| 59 | + | |
| 60 | + public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) | |
| 61 | + { | |
| 62 | + var value = reader.GetString(); | |
| 63 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 2 && value.Count(c => !char.IsLowSurrogate(c)) <= 2) | |
| 64 | + { | |
| 65 | + return value; | |
| 66 | + } | |
| 67 | + throw new JsonException("Cannot unmarshal type string"); | |
| 68 | + } | |
| 69 | + | |
| 70 | + public override void Write(Utf8JsonWriter writer, string value, JsonSerializerOptions options) | |
| 71 | + { | |
| 72 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 2 && value.Count(c => !char.IsLowSurrogate(c)) <= 2) | |
| 73 | + { | |
| 74 | + JsonSerializer.Serialize(writer, value, options); | |
| 75 | + return; | |
| 76 | + } | |
| 77 | + throw new NotSupportedException("Cannot marshal type string"); | |
| 78 | + } | |
| 79 | + | |
| 80 | + public static readonly MinMaxLengthCheckConverter Singleton = new MinMaxLengthCheckConverter(); | |
| 81 | + } | |
| 82 | + | |
| 83 | + public class DateOnlyConverter : JsonConverter<DateOnly> | |
| 84 | + { | |
| 85 | + private readonly string serializationFormat; | |
| 86 | + public DateOnlyConverter() : this(null) { } | |
| 87 | + | |
| 88 | + public DateOnlyConverter(string? serializationFormat) | |
| 89 | + { | |
| 90 | + this.serializationFormat = serializationFormat ?? "yyyy-MM-dd"; | |
| 91 | + } | |
| 92 | + | |
| 93 | + public override DateOnly Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) | |
| 94 | + { | |
| 95 | + var value = reader.GetString(); | |
| 96 | + return DateOnly.Parse(value!); | |
| 97 | + } | |
| 98 | + | |
| 99 | + public override void Write(Utf8JsonWriter writer, DateOnly value, JsonSerializerOptions options) | |
| 100 | + => writer.WriteStringValue(value.ToString(serializationFormat)); | |
| 101 | + } | |
| 102 | + | |
| 103 | + public class TimeOnlyConverter : JsonConverter<TimeOnly> | |
| 104 | + { | |
| 105 | + private readonly string serializationFormat; | |
| 106 | + | |
| 107 | + public TimeOnlyConverter() : this(null) { } | |
| 108 | + | |
| 109 | + public TimeOnlyConverter(string? serializationFormat) | |
| 110 | + { | |
| 111 | + this.serializationFormat = serializationFormat ?? "HH:mm:ss.fff"; | |
| 112 | + } | |
| 113 | + | |
| 114 | + public override TimeOnly Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) | |
| 115 | + { | |
| 116 | + var value = reader.GetString(); | |
| 117 | + return TimeOnly.Parse(value!); | |
| 118 | + } | |
| 119 | + | |
| 120 | + public override void Write(Utf8JsonWriter writer, TimeOnly value, JsonSerializerOptions options) | |
| 121 | + => writer.WriteStringValue(value.ToString(serializationFormat)); | |
| 122 | + } | |
| 123 | + | |
| 124 | + internal class IsoDateTimeOffsetConverter : JsonConverter<DateTimeOffset> | |
| 125 | + { | |
| 126 | + public override bool CanConvert(Type t) => t == typeof(DateTimeOffset); | |
| 127 | + | |
| 128 | + private const string DefaultDateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK"; | |
| 129 | + | |
| 130 | + private DateTimeStyles _dateTimeStyles = DateTimeStyles.RoundtripKind; | |
| 131 | + private string? _dateTimeFormat; | |
| 132 | + private CultureInfo? _culture; | |
| 133 | + | |
| 134 | + public DateTimeStyles DateTimeStyles | |
| 135 | + { | |
| 136 | + get => _dateTimeStyles; | |
| 137 | + set => _dateTimeStyles = value; | |
| 138 | + } | |
| 139 | + | |
| 140 | + public string? DateTimeFormat | |
| 141 | + { | |
| 142 | + get => _dateTimeFormat ?? string.Empty; | |
| 143 | + set => _dateTimeFormat = (string.IsNullOrEmpty(value)) ? null : value; | |
| 144 | + } | |
| 145 | + | |
| 146 | + public CultureInfo Culture | |
| 147 | + { | |
| 148 | + get => _culture ?? CultureInfo.CurrentCulture; | |
| 149 | + set => _culture = value; | |
| 150 | + } | |
| 151 | + | |
| 152 | + public override void Write(Utf8JsonWriter writer, DateTimeOffset value, JsonSerializerOptions options) | |
| 153 | + { | |
| 154 | + string text; | |
| 155 | + | |
| 156 | + | |
| 157 | + if ((_dateTimeStyles & DateTimeStyles.AdjustToUniversal) == DateTimeStyles.AdjustToUniversal | |
| 158 | + || (_dateTimeStyles & DateTimeStyles.AssumeUniversal) == DateTimeStyles.AssumeUniversal) | |
| 159 | + { | |
| 160 | + value = value.ToUniversalTime(); | |
| 161 | + } | |
| 162 | + | |
| 163 | + text = value.ToString(_dateTimeFormat ?? DefaultDateTimeFormat, Culture); | |
| 164 | + | |
| 165 | + writer.WriteStringValue(text); | |
| 166 | + } | |
| 167 | + | |
| 168 | + public override DateTimeOffset Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) | |
| 169 | + { | |
| 170 | + string? dateText = reader.GetString(); | |
| 171 | + | |
| 172 | + if (string.IsNullOrEmpty(dateText) == false) | |
| 173 | + { | |
| 174 | + if (!string.IsNullOrEmpty(_dateTimeFormat)) | |
| 175 | + { | |
| 176 | + return DateTimeOffset.ParseExact(dateText, _dateTimeFormat, Culture, _dateTimeStyles); | |
| 177 | + } | |
| 178 | + else | |
| 179 | + { | |
| 180 | + return DateTimeOffset.Parse(dateText, Culture, _dateTimeStyles); | |
| 181 | + } | |
| 182 | + } | |
| 183 | + else | |
| 184 | + { | |
| 185 | + return default(DateTimeOffset); | |
| 186 | + } | |
| 187 | + } | |
| 188 | + | |
| 189 | + | |
| 190 | + public static readonly IsoDateTimeOffsetConverter Singleton = new IsoDateTimeOffsetConverter(); | |
| 191 | + } | |
| 192 | +} | |
| 193 | +#pragma warning restore CS8618 | |
| 194 | +#pragma warning restore CS8601 | |
| 195 | +#pragma warning restore CS8602 | |
| 196 | +#pragma warning restore CS8603 | |
| 197 | +#pragma warning restore CS8604 |
Aschema-csharpdefault / QuickType.cs+91 −0
| @@ -0,0 +1,91 @@ | ||
| 1 | +// <auto-generated /> | |
| 2 | +// | |
| 3 | +// To parse this JSON data, add NuGet 'Newtonsoft.Json' then do: | |
| 4 | +// | |
| 5 | +// using QuickType; | |
| 6 | +// | |
| 7 | +// var topLevel = TopLevel.FromJson(jsonString); | |
| 8 | +#nullable enable | |
| 9 | +#pragma warning disable CS8618 | |
| 10 | +#pragma warning disable CS8601 | |
| 11 | +#pragma warning disable CS8602 | |
| 12 | +#pragma warning disable CS8603 | |
| 13 | +#pragma warning disable CS8604 | |
| 14 | +#pragma warning disable CS8625 | |
| 15 | +#pragma warning disable CS8765 | |
| 16 | + | |
| 17 | +namespace QuickType | |
| 18 | +{ | |
| 19 | + using System; | |
| 20 | + using System.Collections.Generic; | |
| 21 | + using System.Linq; | |
| 22 | + | |
| 23 | + using System.Globalization; | |
| 24 | + using Newtonsoft.Json; | |
| 25 | + using Newtonsoft.Json.Converters; | |
| 26 | + | |
| 27 | + public partial class TopLevel | |
| 28 | + { | |
| 29 | + [JsonProperty("value", Required = Required.Always)] | |
| 30 | + [JsonConverter(typeof(MinMaxLengthCheckConverter))] | |
| 31 | + public string Value { get; set; } | |
| 32 | + } | |
| 33 | + | |
| 34 | + public partial class TopLevel | |
| 35 | + { | |
| 36 | + public static TopLevel FromJson(string json) => JsonConvert.DeserializeObject<TopLevel>(json, QuickType.Converter.Settings); | |
| 37 | + } | |
| 38 | + | |
| 39 | + public static partial class Serialize | |
| 40 | + { | |
| 41 | + public static string ToJson(this TopLevel self) => JsonConvert.SerializeObject(self, QuickType.Converter.Settings); | |
| 42 | + } | |
| 43 | + | |
| 44 | + internal static partial class Converter | |
| 45 | + { | |
| 46 | + public static readonly JsonSerializerSettings Settings = new JsonSerializerSettings | |
| 47 | + { | |
| 48 | + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, | |
| 49 | + DateParseHandling = DateParseHandling.None, | |
| 50 | + Converters = | |
| 51 | + { | |
| 52 | + new IsoDateTimeConverter { DateTimeStyles = DateTimeStyles.AssumeUniversal } | |
| 53 | + }, | |
| 54 | + }; | |
| 55 | + } | |
| 56 | + | |
| 57 | + internal class MinMaxLengthCheckConverter : JsonConverter | |
| 58 | + { | |
| 59 | + public override bool CanConvert(Type t) => t == typeof(string); | |
| 60 | + | |
| 61 | + public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) | |
| 62 | + { | |
| 63 | + var value = serializer.Deserialize<string>(reader); | |
| 64 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 2 && value.Count(c => !char.IsLowSurrogate(c)) <= 2) | |
| 65 | + { | |
| 66 | + return value; | |
| 67 | + } | |
| 68 | + throw new Exception("Cannot unmarshal type string"); | |
| 69 | + } | |
| 70 | + | |
| 71 | + public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) | |
| 72 | + { | |
| 73 | + var value = (string)untypedValue; | |
| 74 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 2 && value.Count(c => !char.IsLowSurrogate(c)) <= 2) | |
| 75 | + { | |
| 76 | + serializer.Serialize(writer, value); | |
| 77 | + return; | |
| 78 | + } | |
| 79 | + throw new Exception("Cannot marshal type string"); | |
| 80 | + } | |
| 81 | + | |
| 82 | + public static readonly MinMaxLengthCheckConverter Singleton = new MinMaxLengthCheckConverter(); | |
| 83 | + } | |
| 84 | +} | |
| 85 | +#pragma warning restore CS8618 | |
| 86 | +#pragma warning restore CS8601 | |
| 87 | +#pragma warning restore CS8602 | |
| 88 | +#pragma warning restore CS8603 | |
| 89 | +#pragma warning restore CS8604 | |
| 90 | +#pragma warning restore CS8625 | |
| 91 | +#pragma warning restore CS8765 |
Test case
1 generated file · +1 −0test/inputs/graphql/github1.graphql
Mgraphql-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
1 generated file · +1 −0test/inputs/graphql/github2.graphql
Mgraphql-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
1 generated file · +1 −0test/inputs/graphql/github3.graphql
Mgraphql-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
1 generated file · +1 −0test/inputs/graphql/github4.graphql
Mgraphql-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
1 generated file · +1 −0test/inputs/graphql/github5.graphql
Mgraphql-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
1 generated file · +1 −0test/inputs/graphql/github6.graphql
Mgraphql-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
1 generated file · +1 −0test/inputs/graphql/github7.graphql
Mgraphql-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
1 generated file · +1 −0test/inputs/graphql/github8.graphql
Mgraphql-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
1 generated file · +1 −0test/inputs/graphql/github9.graphql
Mgraphql-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/00c36.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -357,3 +359,4 @@ namespace QuickType | ||
| 357 | 359 | #pragma warning restore CS8601 |
| 358 | 360 | #pragma warning restore CS8602 |
| 359 | 361 | #pragma warning restore CS8603 |
| 362 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/00ec5.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -351,3 +353,4 @@ namespace QuickType | ||
| 351 | 353 | #pragma warning restore CS8601 |
| 352 | 354 | #pragma warning restore CS8602 |
| 353 | 355 | #pragma warning restore CS8603 |
| 356 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/010b1.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -214,3 +216,4 @@ namespace QuickType | ||
| 214 | 216 | #pragma warning restore CS8601 |
| 215 | 217 | #pragma warning restore CS8602 |
| 216 | 218 | #pragma warning restore CS8603 |
| 219 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/016af.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/033b1.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/050b0.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -455,3 +457,4 @@ namespace QuickType | ||
| 455 | 457 | #pragma warning restore CS8601 |
| 456 | 458 | #pragma warning restore CS8602 |
| 457 | 459 | #pragma warning restore CS8603 |
| 460 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/06bee.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -403,3 +405,4 @@ namespace QuickType | ||
| 403 | 405 | #pragma warning restore CS8601 |
| 404 | 406 | #pragma warning restore CS8602 |
| 405 | 407 | #pragma warning restore CS8603 |
| 408 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/07540.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -168,3 +170,4 @@ namespace QuickType | ||
| 168 | 170 | #pragma warning restore CS8601 |
| 169 | 171 | #pragma warning restore CS8602 |
| 170 | 172 | #pragma warning restore CS8603 |
| 173 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/0779f.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -295,3 +297,4 @@ namespace QuickType | ||
| 295 | 297 | #pragma warning restore CS8601 |
| 296 | 298 | #pragma warning restore CS8602 |
| 297 | 299 | #pragma warning restore CS8603 |
| 300 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/07c75.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -229,3 +231,4 @@ namespace QuickType | ||
| 229 | 231 | #pragma warning restore CS8601 |
| 230 | 232 | #pragma warning restore CS8602 |
| 231 | 233 | #pragma warning restore CS8603 |
| 234 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/09f54.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -198,3 +200,4 @@ namespace QuickType | ||
| 198 | 200 | #pragma warning restore CS8601 |
| 199 | 201 | #pragma warning restore CS8602 |
| 200 | 202 | #pragma warning restore CS8603 |
| 203 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/0a358.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -219,3 +221,4 @@ namespace QuickType | ||
| 219 | 221 | #pragma warning restore CS8601 |
| 220 | 222 | #pragma warning restore CS8602 |
| 221 | 223 | #pragma warning restore CS8603 |
| 224 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/0a91a.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -960,3 +962,4 @@ namespace QuickType | ||
| 960 | 962 | #pragma warning restore CS8601 |
| 961 | 963 | #pragma warning restore CS8602 |
| 962 | 964 | #pragma warning restore CS8603 |
| 965 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/0b91a.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -306,3 +308,4 @@ namespace QuickType | ||
| 306 | 308 | #pragma warning restore CS8601 |
| 307 | 309 | #pragma warning restore CS8602 |
| 308 | 310 | #pragma warning restore CS8603 |
| 311 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/0cffa.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -642,3 +644,4 @@ namespace QuickType | ||
| 642 | 644 | #pragma warning restore CS8601 |
| 643 | 645 | #pragma warning restore CS8602 |
| 644 | 646 | #pragma warning restore CS8603 |
| 647 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/0e0c2.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -472,3 +474,4 @@ namespace QuickType | ||
| 472 | 474 | #pragma warning restore CS8601 |
| 473 | 475 | #pragma warning restore CS8602 |
| 474 | 476 | #pragma warning restore CS8603 |
| 477 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/0fecf.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/10be4.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -510,3 +512,4 @@ namespace QuickType | ||
| 510 | 512 | #pragma warning restore CS8601 |
| 511 | 513 | #pragma warning restore CS8602 |
| 512 | 514 | #pragma warning restore CS8603 |
| 515 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/112b5.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -199,3 +201,4 @@ namespace QuickType | ||
| 199 | 201 | #pragma warning restore CS8601 |
| 200 | 202 | #pragma warning restore CS8602 |
| 201 | 203 | #pragma warning restore CS8603 |
| 204 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/127a1.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -635,3 +637,4 @@ namespace QuickType | ||
| 635 | 637 | #pragma warning restore CS8601 |
| 636 | 638 | #pragma warning restore CS8602 |
| 637 | 639 | #pragma warning restore CS8603 |
| 640 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/13d8d.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -233,3 +235,4 @@ namespace QuickType | ||
| 233 | 235 | #pragma warning restore CS8601 |
| 234 | 236 | #pragma warning restore CS8602 |
| 235 | 237 | #pragma warning restore CS8603 |
| 238 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/14d38.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -183,3 +185,4 @@ namespace QuickType | ||
| 183 | 185 | #pragma warning restore CS8601 |
| 184 | 186 | #pragma warning restore CS8602 |
| 185 | 187 | #pragma warning restore CS8603 |
| 188 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/167d6.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/16bc5.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -502,3 +504,4 @@ namespace QuickType | ||
| 502 | 504 | #pragma warning restore CS8601 |
| 503 | 505 | #pragma warning restore CS8602 |
| 504 | 506 | #pragma warning restore CS8603 |
| 507 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/176f1.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -253,3 +255,4 @@ namespace QuickType | ||
| 253 | 255 | #pragma warning restore CS8601 |
| 254 | 256 | #pragma warning restore CS8602 |
| 255 | 257 | #pragma warning restore CS8603 |
| 258 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/1a7f5.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -214,3 +216,4 @@ namespace QuickType | ||
| 214 | 216 | #pragma warning restore CS8601 |
| 215 | 217 | #pragma warning restore CS8602 |
| 216 | 218 | #pragma warning restore CS8603 |
| 219 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/1b28c.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/1b409.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -664,3 +666,4 @@ namespace QuickType | ||
| 664 | 666 | #pragma warning restore CS8601 |
| 665 | 667 | #pragma warning restore CS8602 |
| 666 | 668 | #pragma warning restore CS8603 |
| 669 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/2465e.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -348,3 +350,4 @@ namespace QuickType | ||
| 348 | 350 | #pragma warning restore CS8601 |
| 349 | 351 | #pragma warning restore CS8602 |
| 350 | 352 | #pragma warning restore CS8603 |
| 353 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/24f52.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -295,3 +297,4 @@ namespace QuickType | ||
| 295 | 297 | #pragma warning restore CS8601 |
| 296 | 298 | #pragma warning restore CS8602 |
| 297 | 299 | #pragma warning restore CS8603 |
| 300 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/262f0.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -544,3 +546,4 @@ namespace QuickType | ||
| 544 | 546 | #pragma warning restore CS8601 |
| 545 | 547 | #pragma warning restore CS8602 |
| 546 | 548 | #pragma warning restore CS8603 |
| 549 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/26b49.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -609,3 +611,4 @@ namespace QuickType | ||
| 609 | 611 | #pragma warning restore CS8601 |
| 610 | 612 | #pragma warning restore CS8602 |
| 611 | 613 | #pragma warning restore CS8603 |
| 614 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/26c9c.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -803,3 +805,4 @@ namespace QuickType | ||
| 803 | 805 | #pragma warning restore CS8601 |
| 804 | 806 | #pragma warning restore CS8602 |
| 805 | 807 | #pragma warning restore CS8603 |
| 808 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/27332.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -846,3 +848,4 @@ namespace QuickType | ||
| 846 | 848 | #pragma warning restore CS8601 |
| 847 | 849 | #pragma warning restore CS8602 |
| 848 | 850 | #pragma warning restore CS8603 |
| 851 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/29f47.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -896,3 +898,4 @@ namespace QuickType | ||
| 896 | 898 | #pragma warning restore CS8601 |
| 897 | 899 | #pragma warning restore CS8602 |
| 898 | 900 | #pragma warning restore CS8603 |
| 901 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/2d4e2.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -807,3 +809,4 @@ namespace QuickType | ||
| 807 | 809 | #pragma warning restore CS8601 |
| 808 | 810 | #pragma warning restore CS8602 |
| 809 | 811 | #pragma warning restore CS8603 |
| 812 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/2df80.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -575,3 +577,4 @@ namespace QuickType | ||
| 575 | 577 | #pragma warning restore CS8601 |
| 576 | 578 | #pragma warning restore CS8602 |
| 577 | 579 | #pragma warning restore CS8603 |
| 580 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/31189.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -314,3 +316,4 @@ namespace QuickType | ||
| 314 | 316 | #pragma warning restore CS8601 |
| 315 | 317 | #pragma warning restore CS8602 |
| 316 | 318 | #pragma warning restore CS8603 |
| 319 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/32431.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -509,3 +511,4 @@ namespace QuickType | ||
| 509 | 511 | #pragma warning restore CS8601 |
| 510 | 512 | #pragma warning restore CS8602 |
| 511 | 513 | #pragma warning restore CS8603 |
| 514 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/32d5c.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -192,3 +194,4 @@ namespace QuickType | ||
| 192 | 194 | #pragma warning restore CS8601 |
| 193 | 195 | #pragma warning restore CS8602 |
| 194 | 196 | #pragma warning restore CS8603 |
| 197 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/337ed.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -474,3 +476,4 @@ namespace QuickType | ||
| 474 | 476 | #pragma warning restore CS8601 |
| 475 | 477 | #pragma warning restore CS8602 |
| 476 | 478 | #pragma warning restore CS8603 |
| 479 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/33d2e.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -542,3 +544,4 @@ namespace QuickType | ||
| 542 | 544 | #pragma warning restore CS8601 |
| 543 | 545 | #pragma warning restore CS8602 |
| 544 | 546 | #pragma warning restore CS8603 |
| 547 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/34702.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -637,3 +639,4 @@ namespace QuickType | ||
| 637 | 639 | #pragma warning restore CS8601 |
| 638 | 640 | #pragma warning restore CS8602 |
| 639 | 641 | #pragma warning restore CS8603 |
| 642 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/3536b.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -313,3 +315,4 @@ namespace QuickType | ||
| 313 | 315 | #pragma warning restore CS8601 |
| 314 | 316 | #pragma warning restore CS8602 |
| 315 | 317 | #pragma warning restore CS8603 |
| 318 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/3659d.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/36d5d.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -295,3 +297,4 @@ namespace QuickType | ||
| 295 | 297 | #pragma warning restore CS8601 |
| 296 | 298 | #pragma warning restore CS8602 |
| 297 | 299 | #pragma warning restore CS8603 |
| 300 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/3a6b3.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -295,3 +297,4 @@ namespace QuickType | ||
| 295 | 297 | #pragma warning restore CS8601 |
| 296 | 298 | #pragma warning restore CS8602 |
| 297 | 299 | #pragma warning restore CS8603 |
| 300 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/3e9a3.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -253,3 +255,4 @@ namespace QuickType | ||
| 253 | 255 | #pragma warning restore CS8601 |
| 254 | 256 | #pragma warning restore CS8602 |
| 255 | 257 | #pragma warning restore CS8603 |
| 258 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/3f1ce.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -532,3 +534,4 @@ namespace QuickType | ||
| 532 | 534 | #pragma warning restore CS8601 |
| 533 | 535 | #pragma warning restore CS8602 |
| 534 | 536 | #pragma warning restore CS8603 |
| 537 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/421d4.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -586,3 +588,4 @@ namespace QuickType | ||
| 586 | 588 | #pragma warning restore CS8601 |
| 587 | 589 | #pragma warning restore CS8602 |
| 588 | 590 | #pragma warning restore CS8603 |
| 591 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/437e7.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -597,3 +599,4 @@ namespace QuickType | ||
| 597 | 599 | #pragma warning restore CS8601 |
| 598 | 600 | #pragma warning restore CS8602 |
| 599 | 601 | #pragma warning restore CS8603 |
| 602 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/43970.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/43eaf.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/458db.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -331,3 +333,4 @@ namespace QuickType | ||
| 331 | 333 | #pragma warning restore CS8601 |
| 332 | 334 | #pragma warning restore CS8602 |
| 333 | 335 | #pragma warning restore CS8603 |
| 336 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/4961a.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/4a0d7.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/4a455.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -345,3 +347,4 @@ namespace QuickType | ||
| 345 | 347 | #pragma warning restore CS8601 |
| 346 | 348 | #pragma warning restore CS8602 |
| 347 | 349 | #pragma warning restore CS8603 |
| 350 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/4c547.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -502,3 +504,4 @@ namespace QuickType | ||
| 502 | 504 | #pragma warning restore CS8601 |
| 503 | 505 | #pragma warning restore CS8602 |
| 504 | 506 | #pragma warning restore CS8603 |
| 507 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/4d6fb.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -778,3 +780,4 @@ namespace QuickType | ||
| 778 | 780 | #pragma warning restore CS8601 |
| 779 | 781 | #pragma warning restore CS8602 |
| 780 | 782 | #pragma warning restore CS8603 |
| 783 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/4e336.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/54147.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -211,3 +213,4 @@ namespace QuickType | ||
| 211 | 213 | #pragma warning restore CS8601 |
| 212 | 214 | #pragma warning restore CS8602 |
| 213 | 215 | #pragma warning restore CS8603 |
| 216 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/54d32.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -256,3 +258,4 @@ namespace QuickType | ||
| 256 | 258 | #pragma warning restore CS8601 |
| 257 | 259 | #pragma warning restore CS8602 |
| 258 | 260 | #pragma warning restore CS8603 |
| 261 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/570ec.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -282,3 +284,4 @@ namespace QuickType | ||
| 282 | 284 | #pragma warning restore CS8601 |
| 283 | 285 | #pragma warning restore CS8602 |
| 284 | 286 | #pragma warning restore CS8603 |
| 287 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/5dd0d.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -295,3 +297,4 @@ namespace QuickType | ||
| 295 | 297 | #pragma warning restore CS8601 |
| 296 | 298 | #pragma warning restore CS8602 |
| 297 | 299 | #pragma warning restore CS8603 |
| 300 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/5eae5.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -176,3 +178,4 @@ namespace QuickType | ||
| 176 | 178 | #pragma warning restore CS8601 |
| 177 | 179 | #pragma warning restore CS8602 |
| 178 | 180 | #pragma warning restore CS8603 |
| 181 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/5eb20.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -295,3 +297,4 @@ namespace QuickType | ||
| 295 | 297 | #pragma warning restore CS8601 |
| 296 | 298 | #pragma warning restore CS8602 |
| 297 | 299 | #pragma warning restore CS8603 |
| 300 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/5f3a1.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/5f7fe.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -802,3 +804,4 @@ namespace QuickType | ||
| 802 | 804 | #pragma warning restore CS8601 |
| 803 | 805 | #pragma warning restore CS8602 |
| 804 | 806 | #pragma warning restore CS8603 |
| 807 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/617e8.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -798,3 +800,4 @@ namespace QuickType | ||
| 798 | 800 | #pragma warning restore CS8601 |
| 799 | 801 | #pragma warning restore CS8602 |
| 800 | 802 | #pragma warning restore CS8603 |
| 803 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/61b66.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -295,3 +297,4 @@ namespace QuickType | ||
| 295 | 297 | #pragma warning restore CS8601 |
| 296 | 298 | #pragma warning restore CS8602 |
| 297 | 299 | #pragma warning restore CS8603 |
| 300 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/6260a.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/65dec.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -648,3 +650,4 @@ namespace QuickType | ||
| 648 | 650 | #pragma warning restore CS8601 |
| 649 | 651 | #pragma warning restore CS8602 |
| 650 | 652 | #pragma warning restore CS8603 |
| 653 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/66121.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -403,3 +405,4 @@ namespace QuickType | ||
| 403 | 405 | #pragma warning restore CS8601 |
| 404 | 406 | #pragma warning restore CS8602 |
| 405 | 407 | #pragma warning restore CS8603 |
| 408 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/6617c.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -183,3 +185,4 @@ namespace QuickType | ||
| 183 | 185 | #pragma warning restore CS8601 |
| 184 | 186 | #pragma warning restore CS8602 |
| 185 | 187 | #pragma warning restore CS8603 |
| 188 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/67c03.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -183,3 +185,4 @@ namespace QuickType | ||
| 183 | 185 | #pragma warning restore CS8601 |
| 184 | 186 | #pragma warning restore CS8602 |
| 185 | 187 | #pragma warning restore CS8603 |
| 188 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/68c30.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -261,3 +263,4 @@ namespace QuickType | ||
| 261 | 263 | #pragma warning restore CS8601 |
| 262 | 264 | #pragma warning restore CS8602 |
| 263 | 265 | #pragma warning restore CS8603 |
| 266 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/6c155.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -349,3 +351,4 @@ namespace QuickType | ||
| 349 | 351 | #pragma warning restore CS8601 |
| 350 | 352 | #pragma warning restore CS8602 |
| 351 | 353 | #pragma warning restore CS8603 |
| 354 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/6de06.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -715,3 +717,4 @@ namespace QuickType | ||
| 715 | 717 | #pragma warning restore CS8601 |
| 716 | 718 | #pragma warning restore CS8602 |
| 717 | 719 | #pragma warning restore CS8603 |
| 720 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/6dec6.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -544,3 +546,4 @@ namespace QuickType | ||
| 544 | 546 | #pragma warning restore CS8601 |
| 545 | 547 | #pragma warning restore CS8602 |
| 546 | 548 | #pragma warning restore CS8603 |
| 549 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/6eb00.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/70c77.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/734ad.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -486,3 +488,4 @@ namespace QuickType | ||
| 486 | 488 | #pragma warning restore CS8601 |
| 487 | 489 | #pragma warning restore CS8602 |
| 488 | 490 | #pragma warning restore CS8603 |
| 491 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/75912.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/7681c.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -647,3 +649,4 @@ namespace QuickType | ||
| 647 | 649 | #pragma warning restore CS8601 |
| 648 | 650 | #pragma warning restore CS8602 |
| 649 | 651 | #pragma warning restore CS8603 |
| 652 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/76ae1.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -738,3 +740,4 @@ namespace QuickType | ||
| 738 | 740 | #pragma warning restore CS8601 |
| 739 | 741 | #pragma warning restore CS8602 |
| 740 | 742 | #pragma warning restore CS8603 |
| 743 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/77392.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -314,3 +316,4 @@ namespace QuickType | ||
| 314 | 316 | #pragma warning restore CS8601 |
| 315 | 317 | #pragma warning restore CS8602 |
| 316 | 318 | #pragma warning restore CS8603 |
| 319 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/7d397.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -392,3 +394,4 @@ namespace QuickType | ||
| 392 | 394 | #pragma warning restore CS8601 |
| 393 | 395 | #pragma warning restore CS8602 |
| 394 | 396 | #pragma warning restore CS8603 |
| 397 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/7d722.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -295,3 +297,4 @@ namespace QuickType | ||
| 295 | 297 | #pragma warning restore CS8601 |
| 296 | 298 | #pragma warning restore CS8602 |
| 297 | 299 | #pragma warning restore CS8603 |
| 300 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/7df41.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -195,3 +197,4 @@ namespace QuickType | ||
| 195 | 197 | #pragma warning restore CS8601 |
| 196 | 198 | #pragma warning restore CS8602 |
| 197 | 199 | #pragma warning restore CS8603 |
| 200 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/7dfa6.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/7eb30.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -443,3 +445,4 @@ namespace QuickType | ||
| 443 | 445 | #pragma warning restore CS8601 |
| 444 | 446 | #pragma warning restore CS8602 |
| 445 | 447 | #pragma warning restore CS8603 |
| 448 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/7f568.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -307,3 +309,4 @@ namespace QuickType | ||
| 307 | 309 | #pragma warning restore CS8601 |
| 308 | 310 | #pragma warning restore CS8602 |
| 309 | 311 | #pragma warning restore CS8603 |
| 312 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/7fbfb.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -357,3 +359,4 @@ namespace QuickType | ||
| 357 | 359 | #pragma warning restore CS8601 |
| 358 | 360 | #pragma warning restore CS8602 |
| 359 | 361 | #pragma warning restore CS8603 |
| 362 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/80aff.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -223,3 +225,4 @@ namespace QuickType | ||
| 223 | 225 | #pragma warning restore CS8601 |
| 224 | 226 | #pragma warning restore CS8602 |
| 225 | 227 | #pragma warning restore CS8603 |
| 228 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/82509.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/8592b.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -723,3 +725,4 @@ namespace QuickType | ||
| 723 | 725 | #pragma warning restore CS8601 |
| 724 | 726 | #pragma warning restore CS8602 |
| 725 | 727 | #pragma warning restore CS8603 |
| 728 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/88130.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -502,3 +504,4 @@ namespace QuickType | ||
| 502 | 504 | #pragma warning restore CS8601 |
| 503 | 505 | #pragma warning restore CS8602 |
| 504 | 506 | #pragma warning restore CS8603 |
| 507 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/8a62c.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/908db.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -182,3 +184,4 @@ namespace QuickType | ||
| 182 | 184 | #pragma warning restore CS8601 |
| 183 | 185 | #pragma warning restore CS8602 |
| 184 | 186 | #pragma warning restore CS8603 |
| 187 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/9617f.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/96f7c.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -184,3 +186,4 @@ namespace QuickType | ||
| 184 | 186 | #pragma warning restore CS8601 |
| 185 | 187 | #pragma warning restore CS8602 |
| 186 | 188 | #pragma warning restore CS8603 |
| 189 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/9847b.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -168,3 +170,4 @@ namespace QuickType | ||
| 168 | 170 | #pragma warning restore CS8601 |
| 169 | 171 | #pragma warning restore CS8602 |
| 170 | 172 | #pragma warning restore CS8603 |
| 173 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/9929c.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -502,3 +504,4 @@ namespace QuickType | ||
| 502 | 504 | #pragma warning restore CS8601 |
| 503 | 505 | #pragma warning restore CS8602 |
| 504 | 506 | #pragma warning restore CS8603 |
| 507 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/996bd.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -392,3 +394,4 @@ namespace QuickType | ||
| 392 | 394 | #pragma warning restore CS8601 |
| 393 | 395 | #pragma warning restore CS8602 |
| 394 | 396 | #pragma warning restore CS8603 |
| 397 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/9a503.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -271,3 +273,4 @@ namespace QuickType | ||
| 271 | 273 | #pragma warning restore CS8601 |
| 272 | 274 | #pragma warning restore CS8602 |
| 273 | 275 | #pragma warning restore CS8603 |
| 276 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/9ac3b.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -313,3 +315,4 @@ namespace QuickType | ||
| 313 | 315 | #pragma warning restore CS8601 |
| 314 | 316 | #pragma warning restore CS8602 |
| 315 | 317 | #pragma warning restore CS8603 |
| 318 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/9eed5.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -266,3 +268,4 @@ namespace QuickType | ||
| 266 | 268 | #pragma warning restore CS8601 |
| 267 | 269 | #pragma warning restore CS8602 |
| 268 | 270 | #pragma warning restore CS8603 |
| 271 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/a0496.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -291,3 +293,4 @@ namespace QuickType | ||
| 291 | 293 | #pragma warning restore CS8601 |
| 292 | 294 | #pragma warning restore CS8602 |
| 293 | 295 | #pragma warning restore CS8603 |
| 296 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/a1eca.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -502,3 +504,4 @@ namespace QuickType | ||
| 502 | 504 | #pragma warning restore CS8601 |
| 503 | 505 | #pragma warning restore CS8602 |
| 504 | 506 | #pragma warning restore CS8603 |
| 507 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/a3d8c.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -616,3 +618,4 @@ namespace QuickType | ||
| 616 | 618 | #pragma warning restore CS8601 |
| 617 | 619 | #pragma warning restore CS8602 |
| 618 | 620 | #pragma warning restore CS8603 |
| 621 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/a45b0.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -214,3 +216,4 @@ namespace QuickType | ||
| 214 | 216 | #pragma warning restore CS8601 |
| 215 | 217 | #pragma warning restore CS8602 |
| 216 | 218 | #pragma warning restore CS8603 |
| 219 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/a71df.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -295,3 +297,4 @@ namespace QuickType | ||
| 295 | 297 | #pragma warning restore CS8601 |
| 296 | 298 | #pragma warning restore CS8602 |
| 297 | 299 | #pragma warning restore CS8603 |
| 300 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/a9691.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/ab0d1.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -214,3 +216,4 @@ namespace QuickType | ||
| 214 | 216 | #pragma warning restore CS8601 |
| 215 | 217 | #pragma warning restore CS8602 |
| 216 | 218 | #pragma warning restore CS8603 |
| 219 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/abb4b.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/ac944.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/ad8be.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -510,3 +512,4 @@ namespace QuickType | ||
| 510 | 512 | #pragma warning restore CS8601 |
| 511 | 513 | #pragma warning restore CS8602 |
| 512 | 514 | #pragma warning restore CS8603 |
| 515 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/ae7f0.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -625,3 +627,4 @@ namespace QuickType | ||
| 625 | 627 | #pragma warning restore CS8601 |
| 626 | 628 | #pragma warning restore CS8602 |
| 627 | 629 | #pragma warning restore CS8603 |
| 630 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/ae9ca.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -445,3 +447,4 @@ namespace QuickType | ||
| 445 | 447 | #pragma warning restore CS8601 |
| 446 | 448 | #pragma warning restore CS8602 |
| 447 | 449 | #pragma warning restore CS8603 |
| 450 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/af2d1.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -776,3 +778,4 @@ namespace QuickType | ||
| 776 | 778 | #pragma warning restore CS8601 |
| 777 | 779 | #pragma warning restore CS8602 |
| 778 | 780 | #pragma warning restore CS8603 |
| 781 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/b4865.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -343,3 +345,4 @@ namespace QuickType | ||
| 343 | 345 | #pragma warning restore CS8601 |
| 344 | 346 | #pragma warning restore CS8602 |
| 345 | 347 | #pragma warning restore CS8603 |
| 348 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/b6f2c.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/b6fe5.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -176,3 +178,4 @@ namespace QuickType | ||
| 176 | 178 | #pragma warning restore CS8601 |
| 177 | 179 | #pragma warning restore CS8602 |
| 178 | 180 | #pragma warning restore CS8603 |
| 181 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/b9f64.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/bb1ec.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/be234.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -849,3 +851,4 @@ namespace QuickType | ||
| 849 | 851 | #pragma warning restore CS8601 |
| 850 | 852 | #pragma warning restore CS8602 |
| 851 | 853 | #pragma warning restore CS8603 |
| 854 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/c0356.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -194,3 +196,4 @@ namespace QuickType | ||
| 194 | 196 | #pragma warning restore CS8601 |
| 195 | 197 | #pragma warning restore CS8602 |
| 196 | 198 | #pragma warning restore CS8603 |
| 199 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/c0a3a.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -295,3 +297,4 @@ namespace QuickType | ||
| 295 | 297 | #pragma warning restore CS8601 |
| 296 | 298 | #pragma warning restore CS8602 |
| 297 | 299 | #pragma warning restore CS8603 |
| 300 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/c3303.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -633,3 +635,4 @@ namespace QuickType | ||
| 633 | 635 | #pragma warning restore CS8601 |
| 634 | 636 | #pragma warning restore CS8602 |
| 635 | 637 | #pragma warning restore CS8603 |
| 638 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/c6cfd.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/c8c7e.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -357,3 +359,4 @@ namespace QuickType | ||
| 357 | 359 | #pragma warning restore CS8601 |
| 358 | 360 | #pragma warning restore CS8602 |
| 359 | 361 | #pragma warning restore CS8603 |
| 362 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/cb0cc.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -290,3 +292,4 @@ namespace QuickType | ||
| 290 | 292 | #pragma warning restore CS8601 |
| 291 | 293 | #pragma warning restore CS8602 |
| 292 | 294 | #pragma warning restore CS8603 |
| 295 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/cb81e.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -187,3 +189,4 @@ namespace QuickType | ||
| 187 | 189 | #pragma warning restore CS8601 |
| 188 | 190 | #pragma warning restore CS8602 |
| 189 | 191 | #pragma warning restore CS8603 |
| 192 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/ccd18.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -295,3 +297,4 @@ namespace QuickType | ||
| 295 | 297 | #pragma warning restore CS8601 |
| 296 | 298 | #pragma warning restore CS8602 |
| 297 | 299 | #pragma warning restore CS8603 |
| 300 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/cd238.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -295,3 +297,4 @@ namespace QuickType | ||
| 295 | 297 | #pragma warning restore CS8601 |
| 296 | 298 | #pragma warning restore CS8602 |
| 297 | 299 | #pragma warning restore CS8603 |
| 300 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/cd463.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/cda6c.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -358,3 +360,4 @@ namespace QuickType | ||
| 358 | 360 | #pragma warning restore CS8601 |
| 359 | 361 | #pragma warning restore CS8602 |
| 360 | 362 | #pragma warning restore CS8603 |
| 363 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/cf0d8.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -502,3 +504,4 @@ namespace QuickType | ||
| 502 | 504 | #pragma warning restore CS8601 |
| 503 | 505 | #pragma warning restore CS8602 |
| 504 | 506 | #pragma warning restore CS8603 |
| 507 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/cfbce.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/d0908.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/d23d5.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -219,3 +221,4 @@ namespace QuickType | ||
| 219 | 221 | #pragma warning restore CS8601 |
| 220 | 222 | #pragma warning restore CS8602 |
| 221 | 223 | #pragma warning restore CS8603 |
| 224 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/dbfb3.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -539,3 +541,4 @@ namespace QuickType | ||
| 539 | 541 | #pragma warning restore CS8601 |
| 540 | 542 | #pragma warning restore CS8602 |
| 541 | 543 | #pragma warning restore CS8603 |
| 544 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/dc44f.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -891,3 +893,4 @@ namespace QuickType | ||
| 891 | 893 | #pragma warning restore CS8601 |
| 892 | 894 | #pragma warning restore CS8602 |
| 893 | 895 | #pragma warning restore CS8603 |
| 896 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/dd1ce.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -891,3 +893,4 @@ namespace QuickType | ||
| 891 | 893 | #pragma warning restore CS8601 |
| 892 | 894 | #pragma warning restore CS8602 |
| 893 | 895 | #pragma warning restore CS8603 |
| 896 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/dec3a.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -382,3 +384,4 @@ namespace QuickType | ||
| 382 | 384 | #pragma warning restore CS8601 |
| 383 | 385 | #pragma warning restore CS8602 |
| 384 | 386 | #pragma warning restore CS8603 |
| 387 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/df957.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -502,3 +504,4 @@ namespace QuickType | ||
| 502 | 504 | #pragma warning restore CS8601 |
| 503 | 505 | #pragma warning restore CS8602 |
| 504 | 506 | #pragma warning restore CS8603 |
| 507 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/e0ac7.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -600,3 +602,4 @@ namespace QuickType | ||
| 600 | 602 | #pragma warning restore CS8601 |
| 601 | 603 | #pragma warning restore CS8602 |
| 602 | 604 | #pragma warning restore CS8603 |
| 605 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/e2915.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -532,3 +534,4 @@ namespace QuickType | ||
| 532 | 534 | #pragma warning restore CS8601 |
| 533 | 535 | #pragma warning restore CS8602 |
| 534 | 536 | #pragma warning restore CS8603 |
| 537 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/e2a58.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -168,3 +170,4 @@ namespace QuickType | ||
| 168 | 170 | #pragma warning restore CS8601 |
| 169 | 171 | #pragma warning restore CS8602 |
| 170 | 172 | #pragma warning restore CS8603 |
| 173 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/e324e.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -362,3 +364,4 @@ namespace QuickType | ||
| 362 | 364 | #pragma warning restore CS8601 |
| 363 | 365 | #pragma warning restore CS8602 |
| 364 | 366 | #pragma warning restore CS8603 |
| 367 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/e53b5.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -358,3 +360,4 @@ namespace QuickType | ||
| 358 | 360 | #pragma warning restore CS8601 |
| 359 | 361 | #pragma warning restore CS8602 |
| 360 | 362 | #pragma warning restore CS8603 |
| 363 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/e64a0.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -199,3 +201,4 @@ namespace QuickType | ||
| 199 | 201 | #pragma warning restore CS8601 |
| 200 | 202 | #pragma warning restore CS8602 |
| 201 | 203 | #pragma warning restore CS8603 |
| 204 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/e8a0b.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -214,3 +216,4 @@ namespace QuickType | ||
| 214 | 216 | #pragma warning restore CS8601 |
| 215 | 217 | #pragma warning restore CS8602 |
| 216 | 218 | #pragma warning restore CS8603 |
| 219 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/e8b04.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -1386,3 +1388,4 @@ namespace QuickType | ||
| 1386 | 1388 | #pragma warning restore CS8601 |
| 1387 | 1389 | #pragma warning restore CS8602 |
| 1388 | 1390 | #pragma warning restore CS8603 |
| 1391 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/ed095.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -157,3 +159,4 @@ namespace QuickType | ||
| 157 | 159 | #pragma warning restore CS8601 |
| 158 | 160 | #pragma warning restore CS8602 |
| 159 | 161 | #pragma warning restore CS8603 |
| 162 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/f22f5.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -595,3 +597,4 @@ namespace QuickType | ||
| 595 | 597 | #pragma warning restore CS8601 |
| 596 | 598 | #pragma warning restore CS8602 |
| 597 | 599 | #pragma warning restore CS8603 |
| 600 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/f3139.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -168,3 +170,4 @@ namespace QuickType | ||
| 168 | 170 | #pragma warning restore CS8601 |
| 169 | 171 | #pragma warning restore CS8602 |
| 170 | 172 | #pragma warning restore CS8603 |
| 173 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/f3edf.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -214,3 +216,4 @@ namespace QuickType | ||
| 214 | 216 | #pragma warning restore CS8601 |
| 215 | 217 | #pragma warning restore CS8602 |
| 216 | 218 | #pragma warning restore CS8603 |
| 219 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/f466a.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -214,3 +216,4 @@ namespace QuickType | ||
| 214 | 216 | #pragma warning restore CS8601 |
| 215 | 217 | #pragma warning restore CS8602 |
| 216 | 218 | #pragma warning restore CS8603 |
| 219 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/f6a65.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -652,3 +654,4 @@ namespace QuickType | ||
| 652 | 654 | #pragma warning restore CS8601 |
| 653 | 655 | #pragma warning restore CS8602 |
| 654 | 656 | #pragma warning restore CS8603 |
| 657 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/f74d5.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -608,3 +610,4 @@ namespace QuickType | ||
| 608 | 610 | #pragma warning restore CS8601 |
| 609 | 611 | #pragma warning restore CS8602 |
| 610 | 612 | #pragma warning restore CS8603 |
| 613 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/f82d9.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -405,3 +407,4 @@ namespace QuickType | ||
| 405 | 407 | #pragma warning restore CS8601 |
| 406 | 408 | #pragma warning restore CS8602 |
| 407 | 409 | #pragma warning restore CS8603 |
| 410 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/f974d.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -180,3 +182,4 @@ namespace QuickType | ||
| 180 | 182 | #pragma warning restore CS8601 |
| 181 | 183 | #pragma warning restore CS8602 |
| 182 | 184 | #pragma warning restore CS8603 |
| 185 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/faff5.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/fcca3.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -893,3 +895,4 @@ namespace QuickType | ||
| 893 | 895 | #pragma warning restore CS8601 |
| 894 | 896 | #pragma warning restore CS8602 |
| 895 | 897 | #pragma warning restore CS8603 |
| 898 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/misc/fd329.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -198,3 +200,4 @@ namespace QuickType | ||
| 198 | 200 | #pragma warning restore CS8601 |
| 199 | 201 | #pragma warning restore CS8602 |
| 200 | 202 | #pragma warning restore CS8603 |
| 203 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/blns-object.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2571,3 +2573,4 @@ namespace QuickType | ||
| 2571 | 2573 | #pragma warning restore CS8601 |
| 2572 | 2574 | #pragma warning restore CS8602 |
| 2573 | 2575 | #pragma warning restore CS8603 |
| 2576 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/bug2037.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -182,3 +184,4 @@ namespace QuickType | ||
| 182 | 184 | #pragma warning restore CS8601 |
| 183 | 185 | #pragma warning restore CS8602 |
| 184 | 186 | #pragma warning restore CS8603 |
| 187 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/bug2521.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/bug2590.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -179,3 +181,4 @@ namespace QuickType | ||
| 179 | 181 | #pragma warning restore CS8601 |
| 180 | 182 | #pragma warning restore CS8602 |
| 181 | 183 | #pragma warning restore CS8603 |
| 184 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/bug2663.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/bug2793.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -183,3 +185,4 @@ namespace QuickType | ||
| 183 | 185 | #pragma warning restore CS8601 |
| 184 | 186 | #pragma warning restore CS8602 |
| 185 | 187 | #pragma warning restore CS8603 |
| 188 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/bug427.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2268,3 +2270,4 @@ namespace QuickType | ||
| 2268 | 2270 | #pragma warning restore CS8601 |
| 2269 | 2271 | #pragma warning restore CS8602 |
| 2270 | 2272 | #pragma warning restore CS8603 |
| 2273 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/bug790.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -192,3 +194,4 @@ namespace QuickType | ||
| 192 | 194 | #pragma warning restore CS8601 |
| 193 | 195 | #pragma warning restore CS8602 |
| 194 | 196 | #pragma warning restore CS8603 |
| 197 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/bug855-short.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -205,3 +207,4 @@ namespace QuickType | ||
| 205 | 207 | #pragma warning restore CS8601 |
| 206 | 208 | #pragma warning restore CS8602 |
| 207 | 209 | #pragma warning restore CS8603 |
| 210 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/bug863.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -667,3 +669,4 @@ namespace QuickType | ||
| 667 | 669 | #pragma warning restore CS8601 |
| 668 | 670 | #pragma warning restore CS8602 |
| 669 | 671 | #pragma warning restore CS8603 |
| 672 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/coin-pairs.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -203,3 +205,4 @@ namespace QuickType | ||
| 203 | 205 | #pragma warning restore CS8601 |
| 204 | 206 | #pragma warning restore CS8602 |
| 205 | 207 | #pragma warning restore CS8603 |
| 208 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
21 generated files · +35 −0test/inputs/json/priority/combinations1.json
Mcsharp-recordsany-type-dynamic--c1ed06bd14d8 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordsarray-type-list--e30a0413f432 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordscsharp-version-5--b2bd4d4221d9 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharp-recordscsharp-version-6--6a3b58bb4100 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordsdensity-dense--3bfb4c22cfd0 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordsnumber-type-decimal--20a123601b5a / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsonany-type-dynamic--c1ed06bd14d8 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2991,3 +2993,4 @@ namespace QuickType | ||
| 2991 | 2993 | #pragma warning restore CS8601 |
| 2992 | 2994 | #pragma warning restore CS8602 |
| 2993 | 2995 | #pragma warning restore CS8603 |
| 2996 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsonarray-type-list--e30a0413f432 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2991,3 +2993,4 @@ namespace QuickType | ||
| 2991 | 2993 | #pragma warning restore CS8601 |
| 2992 | 2994 | #pragma warning restore CS8602 |
| 2993 | 2995 | #pragma warning restore CS8603 |
| 2996 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsoncsharp-version-5--b2bd4d4221d9 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3372,3 +3374,4 @@ namespace QuickType | ||
| 3372 | 3374 | #pragma warning restore CS8601 |
| 3373 | 3375 | #pragma warning restore CS8602 |
| 3374 | 3376 | #pragma warning restore CS8603 |
| 3377 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsoncsharp-version-6--6a3b58bb4100 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2991,3 +2993,4 @@ namespace QuickType | ||
| 2991 | 2993 | #pragma warning restore CS8601 |
| 2992 | 2994 | #pragma warning restore CS8602 |
| 2993 | 2995 | #pragma warning restore CS8603 |
| 2996 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2991,3 +2993,4 @@ namespace QuickType | ||
| 2991 | 2993 | #pragma warning restore CS8601 |
| 2992 | 2994 | #pragma warning restore CS8602 |
| 2993 | 2995 | #pragma warning restore CS8603 |
| 2996 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsondensity-dense--3bfb4c22cfd0 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2206,3 +2208,4 @@ namespace QuickType | ||
| 2206 | 2208 | #pragma warning restore CS8601 |
| 2207 | 2209 | #pragma warning restore CS8602 |
| 2208 | 2210 | #pragma warning restore CS8603 |
| 2211 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsonnumber-type-decimal--20a123601b5a / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2991,3 +2993,4 @@ namespace QuickType | ||
| 2991 | 2993 | #pragma warning restore CS8601 |
| 2992 | 2994 | #pragma warning restore CS8602 |
| 2993 | 2995 | #pragma warning restore CS8603 |
| 2996 | +#pragma warning restore CS8604 |
Mcsharpany-type-dynamic--c1ed06bd14d8 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharparray-type-list--e30a0413f432 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharpcsharp-version-5--b2bd4d4221d9 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharpcsharp-version-6--6a3b58bb4100 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharpdensity-dense--3bfb4c22cfd0 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharpnumber-type-decimal--20a123601b5a / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
21 generated files · +35 −0test/inputs/json/priority/combinations2.json
Mcsharp-recordsany-type-dynamic--c1ed06bd14d8 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordsarray-type-list--e30a0413f432 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordscsharp-version-5--b2bd4d4221d9 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharp-recordscsharp-version-6--6a3b58bb4100 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordsdensity-dense--3bfb4c22cfd0 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordsnumber-type-decimal--20a123601b5a / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsonany-type-dynamic--c1ed06bd14d8 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2966,3 +2968,4 @@ namespace QuickType | ||
| 2966 | 2968 | #pragma warning restore CS8601 |
| 2967 | 2969 | #pragma warning restore CS8602 |
| 2968 | 2970 | #pragma warning restore CS8603 |
| 2971 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsonarray-type-list--e30a0413f432 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2966,3 +2968,4 @@ namespace QuickType | ||
| 2966 | 2968 | #pragma warning restore CS8601 |
| 2967 | 2969 | #pragma warning restore CS8602 |
| 2968 | 2970 | #pragma warning restore CS8603 |
| 2971 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsoncsharp-version-5--b2bd4d4221d9 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3359,3 +3361,4 @@ namespace QuickType | ||
| 3359 | 3361 | #pragma warning restore CS8601 |
| 3360 | 3362 | #pragma warning restore CS8602 |
| 3361 | 3363 | #pragma warning restore CS8603 |
| 3364 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsoncsharp-version-6--6a3b58bb4100 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2966,3 +2968,4 @@ namespace QuickType | ||
| 2966 | 2968 | #pragma warning restore CS8601 |
| 2967 | 2969 | #pragma warning restore CS8602 |
| 2968 | 2970 | #pragma warning restore CS8603 |
| 2971 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2966,3 +2968,4 @@ namespace QuickType | ||
| 2966 | 2968 | #pragma warning restore CS8601 |
| 2967 | 2969 | #pragma warning restore CS8602 |
| 2968 | 2970 | #pragma warning restore CS8603 |
| 2971 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsondensity-dense--3bfb4c22cfd0 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2247,3 +2249,4 @@ namespace QuickType | ||
| 2247 | 2249 | #pragma warning restore CS8601 |
| 2248 | 2250 | #pragma warning restore CS8602 |
| 2249 | 2251 | #pragma warning restore CS8603 |
| 2252 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsonnumber-type-decimal--20a123601b5a / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2966,3 +2968,4 @@ namespace QuickType | ||
| 2966 | 2968 | #pragma warning restore CS8601 |
| 2967 | 2969 | #pragma warning restore CS8602 |
| 2968 | 2970 | #pragma warning restore CS8603 |
| 2971 | +#pragma warning restore CS8604 |
Mcsharpany-type-dynamic--c1ed06bd14d8 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharparray-type-list--e30a0413f432 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharpcsharp-version-5--b2bd4d4221d9 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharpcsharp-version-6--6a3b58bb4100 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharpdensity-dense--3bfb4c22cfd0 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharpnumber-type-decimal--20a123601b5a / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
21 generated files · +35 −0test/inputs/json/priority/combinations3.json
Mcsharp-recordsany-type-dynamic--c1ed06bd14d8 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordsarray-type-list--e30a0413f432 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordscsharp-version-5--b2bd4d4221d9 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharp-recordscsharp-version-6--6a3b58bb4100 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordsdensity-dense--3bfb4c22cfd0 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordsnumber-type-decimal--20a123601b5a / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsonany-type-dynamic--c1ed06bd14d8 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3288,3 +3290,4 @@ namespace QuickType | ||
| 3288 | 3290 | #pragma warning restore CS8601 |
| 3289 | 3291 | #pragma warning restore CS8602 |
| 3290 | 3292 | #pragma warning restore CS8603 |
| 3293 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsonarray-type-list--e30a0413f432 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3288,3 +3290,4 @@ namespace QuickType | ||
| 3288 | 3290 | #pragma warning restore CS8601 |
| 3289 | 3291 | #pragma warning restore CS8602 |
| 3290 | 3292 | #pragma warning restore CS8603 |
| 3293 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsoncsharp-version-5--b2bd4d4221d9 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3696,3 +3698,4 @@ namespace QuickType | ||
| 3696 | 3698 | #pragma warning restore CS8601 |
| 3697 | 3699 | #pragma warning restore CS8602 |
| 3698 | 3700 | #pragma warning restore CS8603 |
| 3701 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsoncsharp-version-6--6a3b58bb4100 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3288,3 +3290,4 @@ namespace QuickType | ||
| 3288 | 3290 | #pragma warning restore CS8601 |
| 3289 | 3291 | #pragma warning restore CS8602 |
| 3290 | 3292 | #pragma warning restore CS8603 |
| 3293 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3288,3 +3290,4 @@ namespace QuickType | ||
| 3288 | 3290 | #pragma warning restore CS8601 |
| 3289 | 3291 | #pragma warning restore CS8602 |
| 3290 | 3292 | #pragma warning restore CS8603 |
| 3293 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsondensity-dense--3bfb4c22cfd0 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2359,3 +2361,4 @@ namespace QuickType | ||
| 2359 | 2361 | #pragma warning restore CS8601 |
| 2360 | 2362 | #pragma warning restore CS8602 |
| 2361 | 2363 | #pragma warning restore CS8603 |
| 2364 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsonnumber-type-decimal--20a123601b5a / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3288,3 +3290,4 @@ namespace QuickType | ||
| 3288 | 3290 | #pragma warning restore CS8601 |
| 3289 | 3291 | #pragma warning restore CS8602 |
| 3290 | 3292 | #pragma warning restore CS8603 |
| 3293 | +#pragma warning restore CS8604 |
Mcsharpany-type-dynamic--c1ed06bd14d8 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharparray-type-list--e30a0413f432 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharpcsharp-version-5--b2bd4d4221d9 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharpcsharp-version-6--6a3b58bb4100 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharpdensity-dense--3bfb4c22cfd0 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharpnumber-type-decimal--20a123601b5a / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
21 generated files · +35 −0test/inputs/json/priority/combinations4.json
Mcsharp-recordsany-type-dynamic--c1ed06bd14d8 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordsarray-type-list--e30a0413f432 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordscsharp-version-5--b2bd4d4221d9 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharp-recordscsharp-version-6--6a3b58bb4100 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordsdensity-dense--3bfb4c22cfd0 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-recordsnumber-type-decimal--20a123601b5a / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsonany-type-dynamic--c1ed06bd14d8 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3857,3 +3859,4 @@ namespace QuickType | ||
| 3857 | 3859 | #pragma warning restore CS8601 |
| 3858 | 3860 | #pragma warning restore CS8602 |
| 3859 | 3861 | #pragma warning restore CS8603 |
| 3862 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsonarray-type-list--e30a0413f432 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3857,3 +3859,4 @@ namespace QuickType | ||
| 3857 | 3859 | #pragma warning restore CS8601 |
| 3858 | 3860 | #pragma warning restore CS8602 |
| 3859 | 3861 | #pragma warning restore CS8603 |
| 3862 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsoncsharp-version-5--b2bd4d4221d9 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -4343,3 +4345,4 @@ namespace QuickType | ||
| 4343 | 4345 | #pragma warning restore CS8601 |
| 4344 | 4346 | #pragma warning restore CS8602 |
| 4345 | 4347 | #pragma warning restore CS8603 |
| 4348 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsoncsharp-version-6--6a3b58bb4100 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3857,3 +3859,4 @@ namespace QuickType | ||
| 3857 | 3859 | #pragma warning restore CS8601 |
| 3858 | 3860 | #pragma warning restore CS8602 |
| 3859 | 3861 | #pragma warning restore CS8603 |
| 3862 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3857,3 +3859,4 @@ namespace QuickType | ||
| 3857 | 3859 | #pragma warning restore CS8601 |
| 3858 | 3860 | #pragma warning restore CS8602 |
| 3859 | 3861 | #pragma warning restore CS8603 |
| 3862 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsondensity-dense--3bfb4c22cfd0 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -2781,3 +2783,4 @@ namespace QuickType | ||
| 2781 | 2783 | #pragma warning restore CS8601 |
| 2782 | 2784 | #pragma warning restore CS8602 |
| 2783 | 2785 | #pragma warning restore CS8603 |
| 2786 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsonnumber-type-decimal--20a123601b5a / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3857,3 +3859,4 @@ namespace QuickType | ||
| 3857 | 3859 | #pragma warning restore CS8601 |
| 3858 | 3860 | #pragma warning restore CS8602 |
| 3859 | 3861 | #pragma warning restore CS8603 |
| 3862 | +#pragma warning restore CS8604 |
Mcsharpany-type-dynamic--c1ed06bd14d8 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharparray-type-list--e30a0413f432 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharpcsharp-version-5--b2bd4d4221d9 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharpcsharp-version-6--6a3b58bb4100 / QuickType.cs+1 −0
| @@ -10,6 +10,7 @@ namespace QuickType | ||
| 10 | 10 | { |
| 11 | 11 | using System; |
| 12 | 12 | using System.Collections.Generic; |
| 13 | + using System.Linq; | |
| 13 | 14 | |
| 14 | 15 | using System.Globalization; |
| 15 | 16 | using Newtonsoft.Json; |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharpdensity-dense--3bfb4c22cfd0 / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharpnumber-type-decimal--20a123601b5a / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/combined-enum.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -217,3 +219,4 @@ namespace QuickType | ||
| 217 | 219 | #pragma warning restore CS8601 |
| 218 | 220 | #pragma warning restore CS8602 |
| 219 | 221 | #pragma warning restore CS8603 |
| 222 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/direct-recursive.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -180,3 +182,4 @@ namespace QuickType | ||
| 180 | 182 | #pragma warning restore CS8601 |
| 181 | 183 | #pragma warning restore CS8602 |
| 182 | 184 | #pragma warning restore CS8603 |
| 185 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/empty-enum.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -171,3 +173,4 @@ namespace QuickType | ||
| 171 | 173 | #pragma warning restore CS8601 |
| 172 | 174 | #pragma warning restore CS8602 |
| 173 | 175 | #pragma warning restore CS8603 |
| 176 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/identifiers.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -235,3 +237,4 @@ namespace QuickType | ||
| 235 | 237 | #pragma warning restore CS8601 |
| 236 | 238 | #pragma warning restore CS8602 |
| 237 | 239 | #pragma warning restore CS8603 |
| 240 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/issue2680-object-array.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/issue2680-scalar-array.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -157,3 +159,4 @@ namespace QuickType | ||
| 157 | 159 | #pragma warning restore CS8601 |
| 158 | 160 | #pragma warning restore CS8602 |
| 159 | 161 | #pragma warning restore CS8603 |
| 162 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/keywords.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -3288,3 +3290,4 @@ namespace QuickType | ||
| 3288 | 3290 | #pragma warning restore CS8601 |
| 3289 | 3291 | #pragma warning restore CS8602 |
| 3290 | 3292 | #pragma warning restore CS8603 |
| 3293 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/kotlin-enum-class-case-collision.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -201,3 +203,4 @@ namespace QuickType | ||
| 201 | 203 | #pragma warning restore CS8601 |
| 202 | 204 | #pragma warning restore CS8602 |
| 203 | 205 | #pragma warning restore CS8603 |
| 206 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/list.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -168,3 +170,4 @@ namespace QuickType | ||
| 168 | 170 | #pragma warning restore CS8601 |
| 169 | 171 | #pragma warning restore CS8602 |
| 170 | 172 | #pragma warning restore CS8603 |
| 173 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/name-style.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -188,3 +190,4 @@ namespace QuickType | ||
| 188 | 190 | #pragma warning restore CS8601 |
| 189 | 191 | #pragma warning restore CS8602 |
| 190 | 192 | #pragma warning restore CS8603 |
| 193 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/nbl-stats.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -1701,3 +1703,4 @@ namespace QuickType | ||
| 1701 | 1703 | #pragma warning restore CS8601 |
| 1702 | 1704 | #pragma warning restore CS8602 |
| 1703 | 1705 | #pragma warning restore CS8603 |
| 1706 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/nested-objects.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -168,3 +170,4 @@ namespace QuickType | ||
| 168 | 170 | #pragma warning restore CS8601 |
| 169 | 171 | #pragma warning restore CS8602 |
| 170 | 172 | #pragma warning restore CS8603 |
| 173 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/no-classes.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -157,3 +159,4 @@ namespace QuickType | ||
| 157 | 159 | #pragma warning restore CS8601 |
| 158 | 160 | #pragma warning restore CS8602 |
| 159 | 161 | #pragma warning restore CS8603 |
| 162 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/nst-test-suite.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -680,3 +682,4 @@ namespace QuickType | ||
| 680 | 682 | #pragma warning restore CS8601 |
| 681 | 683 | #pragma warning restore CS8602 |
| 682 | 684 | #pragma warning restore CS8603 |
| 685 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/number-map.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/omit-empty.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -174,3 +176,4 @@ namespace QuickType | ||
| 174 | 176 | #pragma warning restore CS8601 |
| 175 | 177 | #pragma warning restore CS8602 |
| 176 | 178 | #pragma warning restore CS8603 |
| 179 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/optional-union.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -210,3 +212,4 @@ namespace QuickType | ||
| 210 | 212 | #pragma warning restore CS8601 |
| 211 | 213 | #pragma warning restore CS8602 |
| 212 | 214 | #pragma warning restore CS8603 |
| 215 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/php-mixed-union.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -246,3 +248,4 @@ namespace QuickType | ||
| 246 | 248 | #pragma warning restore CS8601 |
| 247 | 249 | #pragma warning restore CS8602 |
| 248 | 250 | #pragma warning restore CS8603 |
| 251 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/php-validation.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -180,3 +182,4 @@ namespace QuickType | ||
| 180 | 182 | #pragma warning restore CS8601 |
| 181 | 183 | #pragma warning restore CS8602 |
| 182 | 184 | #pragma warning restore CS8603 |
| 185 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/recursive.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -496,3 +498,4 @@ namespace QuickType | ||
| 496 | 498 | #pragma warning restore CS8601 |
| 497 | 499 | #pragma warning restore CS8602 |
| 498 | 500 | #pragma warning restore CS8603 |
| 501 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/simple-identifiers.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -196,3 +198,4 @@ namespace QuickType | ||
| 196 | 198 | #pragma warning restore CS8601 |
| 197 | 199 | #pragma warning restore CS8602 |
| 198 | 200 | #pragma warning restore CS8603 |
| 201 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/union-constructor-clash.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -222,3 +224,4 @@ namespace QuickType | ||
| 222 | 224 | #pragma warning restore CS8601 |
| 223 | 225 | #pragma warning restore CS8602 |
| 224 | 226 | #pragma warning restore CS8603 |
| 227 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
4 generated files · +8 −0test/inputs/json/priority/unions.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondateonly-timeonly-converters-false--1db3f00f8963 / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -246,3 +248,4 @@ namespace QuickType | ||
| 246 | 248 | #pragma warning restore CS8601 |
| 247 | 249 | #pragma warning restore CS8602 |
| 248 | 250 | #pragma warning restore CS8603 |
| 251 | +#pragma warning restore CS8604 |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -289,3 +291,4 @@ namespace QuickType | ||
| 289 | 291 | #pragma warning restore CS8601 |
| 290 | 292 | #pragma warning restore CS8602 |
| 291 | 293 | #pragma warning restore CS8603 |
| 294 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/url.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -168,3 +170,4 @@ namespace QuickType | ||
| 168 | 170 | #pragma warning restore CS8601 |
| 169 | 171 | #pragma warning restore CS8602 |
| 170 | 172 | #pragma warning restore CS8603 |
| 173 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/priority/uuids.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -184,3 +186,4 @@ namespace QuickType | ||
| 184 | 186 | #pragma warning restore CS8601 |
| 185 | 187 | #pragma warning restore CS8602 |
| 186 | 188 | #pragma warning restore CS8603 |
| 189 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/samples/bitcoin-block.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -180,3 +182,4 @@ namespace QuickType | ||
| 180 | 182 | #pragma warning restore CS8601 |
| 181 | 183 | #pragma warning restore CS8602 |
| 182 | 184 | #pragma warning restore CS8603 |
| 185 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/samples/getting-started.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -168,3 +170,4 @@ namespace QuickType | ||
| 168 | 170 | #pragma warning restore CS8601 |
| 169 | 171 | #pragma warning restore CS8602 |
| 170 | 172 | #pragma warning restore CS8603 |
| 173 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/samples/github-events.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -1185,3 +1187,4 @@ namespace QuickType | ||
| 1185 | 1187 | #pragma warning restore CS8601 |
| 1186 | 1188 | #pragma warning restore CS8602 |
| 1187 | 1189 | #pragma warning restore CS8603 |
| 1190 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/samples/kitchen-sink.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -382,3 +384,4 @@ namespace QuickType | ||
| 382 | 384 | #pragma warning restore CS8601 |
| 383 | 385 | #pragma warning restore CS8602 |
| 384 | 386 | #pragma warning restore CS8603 |
| 387 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/samples/null-safe.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -198,3 +200,4 @@ namespace QuickType | ||
| 198 | 200 | #pragma warning restore CS8601 |
| 199 | 201 | #pragma warning restore CS8602 |
| 200 | 202 | #pragma warning restore CS8603 |
| 203 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/samples/pokedex.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -415,3 +417,4 @@ namespace QuickType | ||
| 415 | 417 | #pragma warning restore CS8601 |
| 416 | 418 | #pragma warning restore CS8602 |
| 417 | 419 | #pragma warning restore CS8603 |
| 420 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/samples/reddit.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -800,3 +802,4 @@ namespace QuickType | ||
| 800 | 802 | #pragma warning restore CS8601 |
| 801 | 803 | #pragma warning restore CS8602 |
| 802 | 804 | #pragma warning restore CS8603 |
| 805 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/samples/simple-object.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/samples/spotify-album.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -406,3 +408,4 @@ namespace QuickType | ||
| 406 | 408 | #pragma warning restore CS8601 |
| 407 | 409 | #pragma warning restore CS8602 |
| 408 | 410 | #pragma warning restore CS8603 |
| 411 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/samples/us-avg-temperatures.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -198,3 +200,4 @@ namespace QuickType | ||
| 198 | 200 | #pragma warning restore CS8601 |
| 199 | 201 | #pragma warning restore CS8602 |
| 200 | 202 | #pragma warning restore CS8603 |
| 203 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/json/samples/us-senators.json
Mcsharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mcsharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -799,3 +801,4 @@ namespace QuickType | ||
| 799 | 801 | #pragma warning restore CS8601 |
| 800 | 802 | #pragma warning restore CS8602 |
| 801 | 803 | #pragma warning restore CS8603 |
| 804 | +#pragma warning restore CS8604 |
Mcsharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/accessors.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -265,3 +267,4 @@ namespace QuickType | ||
| 265 | 267 | #pragma warning restore CS8601 |
| 266 | 268 | #pragma warning restore CS8602 |
| 267 | 269 | #pragma warning restore CS8603 |
| 270 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/all-of-additional-properties-false.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -255,3 +257,4 @@ namespace QuickType | ||
| 255 | 257 | #pragma warning restore CS8601 |
| 256 | 258 | #pragma warning restore CS8602 |
| 257 | 259 | #pragma warning restore CS8603 |
| 260 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/any.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -168,3 +170,4 @@ namespace QuickType | ||
| 168 | 170 | #pragma warning restore CS8601 |
| 169 | 171 | #pragma warning restore CS8602 |
| 170 | 172 | #pragma warning restore CS8603 |
| 173 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/bool-string.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -414,3 +416,4 @@ namespace QuickType | ||
| 414 | 416 | #pragma warning restore CS8601 |
| 415 | 417 | #pragma warning restore CS8602 |
| 416 | 418 | #pragma warning restore CS8603 |
| 419 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/boolean-subschema.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -174,3 +176,4 @@ namespace QuickType | ||
| 174 | 176 | #pragma warning restore CS8601 |
| 175 | 177 | #pragma warning restore CS8602 |
| 176 | 178 | #pragma warning restore CS8603 |
| 179 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/camelCase.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -168,3 +170,4 @@ namespace QuickType | ||
| 168 | 170 | #pragma warning restore CS8601 |
| 169 | 171 | #pragma warning restore CS8602 |
| 170 | 172 | #pragma warning restore CS8603 |
| 173 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/class-map-union.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -238,3 +240,4 @@ namespace QuickType | ||
| 238 | 240 | #pragma warning restore CS8601 |
| 239 | 241 | #pragma warning restore CS8602 |
| 240 | 242 | #pragma warning restore CS8603 |
| 243 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/class-with-additional.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -211,3 +213,4 @@ namespace QuickType | ||
| 211 | 213 | #pragma warning restore CS8601 |
| 212 | 214 | #pragma warning restore CS8602 |
| 213 | 215 | #pragma warning restore CS8603 |
| 216 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/comment-injection-enum-nested-comment.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -206,3 +208,4 @@ namespace QuickType | ||
| 206 | 208 | #pragma warning restore CS8601 |
| 207 | 209 | #pragma warning restore CS8602 |
| 208 | 210 | #pragma warning restore CS8603 |
| 211 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/comment-injection-enum.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -212,3 +214,4 @@ namespace QuickType | ||
| 212 | 214 | #pragma warning restore CS8601 |
| 213 | 215 | #pragma warning restore CS8602 |
| 214 | 216 | #pragma warning restore CS8603 |
| 217 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/comment-injection-nested-comment.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -176,3 +178,4 @@ namespace QuickType | ||
| 176 | 178 | #pragma warning restore CS8601 |
| 177 | 179 | #pragma warning restore CS8602 |
| 178 | 180 | #pragma warning restore CS8603 |
| 181 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/comment-injection.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -213,3 +215,4 @@ namespace QuickType | ||
| 213 | 215 | #pragma warning restore CS8601 |
| 214 | 216 | #pragma warning restore CS8602 |
| 215 | 217 | #pragma warning restore CS8603 |
| 218 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/const-non-string.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -210,3 +212,4 @@ namespace QuickType | ||
| 210 | 212 | #pragma warning restore CS8601 |
| 211 | 213 | #pragma warning restore CS8602 |
| 212 | 214 | #pragma warning restore CS8603 |
| 215 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/constructor.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -214,3 +216,4 @@ namespace QuickType | ||
| 214 | 216 | #pragma warning restore CS8601 |
| 215 | 217 | #pragma warning restore CS8602 |
| 216 | 218 | #pragma warning restore CS8603 |
| 219 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/cut-enum.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/date-time-or-string.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -253,3 +255,4 @@ namespace QuickType | ||
| 253 | 255 | #pragma warning restore CS8601 |
| 254 | 256 | #pragma warning restore CS8602 |
| 255 | 257 | #pragma warning restore CS8603 |
| 258 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/date-time.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -289,3 +291,4 @@ namespace QuickType | ||
| 289 | 291 | #pragma warning restore CS8601 |
| 290 | 292 | #pragma warning restore CS8602 |
| 291 | 293 | #pragma warning restore CS8603 |
| 294 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/default-value.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -167,3 +169,4 @@ namespace QuickType | ||
| 167 | 169 | #pragma warning restore CS8601 |
| 168 | 170 | #pragma warning restore CS8602 |
| 169 | 171 | #pragma warning restore CS8603 |
| 172 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/description-with-double-quotes.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -167,3 +169,4 @@ namespace QuickType | ||
| 167 | 169 | #pragma warning restore CS8601 |
| 168 | 170 | #pragma warning restore CS8602 |
| 169 | 171 | #pragma warning restore CS8603 |
| 172 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/description.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -338,3 +340,4 @@ namespace QuickType | ||
| 338 | 340 | #pragma warning restore CS8601 |
| 339 | 341 | #pragma warning restore CS8602 |
| 340 | 342 | #pragma warning restore CS8603 |
| 343 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/direct-union.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -274,3 +276,4 @@ namespace QuickType | ||
| 274 | 276 | #pragma warning restore CS8601 |
| 275 | 277 | #pragma warning restore CS8602 |
| 276 | 278 | #pragma warning restore CS8603 |
| 279 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/empty-object.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -157,3 +159,4 @@ namespace QuickType | ||
| 157 | 159 | #pragma warning restore CS8601 |
| 158 | 160 | #pragma warning restore CS8602 |
| 159 | 161 | #pragma warning restore CS8603 |
| 162 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/enum-large.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -337,3 +339,4 @@ namespace QuickType | ||
| 337 | 339 | #pragma warning restore CS8601 |
| 338 | 340 | #pragma warning restore CS8602 |
| 339 | 341 | #pragma warning restore CS8603 |
| 342 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/enum-with-null.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -201,3 +203,4 @@ namespace QuickType | ||
| 201 | 203 | #pragma warning restore CS8601 |
| 202 | 204 | #pragma warning restore CS8602 |
| 203 | 205 | #pragma warning restore CS8603 |
| 206 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/enum-with-values.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -226,3 +228,4 @@ namespace QuickType | ||
| 226 | 228 | #pragma warning restore CS8601 |
| 227 | 229 | #pragma warning restore CS8602 |
| 228 | 230 | #pragma warning restore CS8603 |
| 231 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/enum.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -371,3 +373,4 @@ namespace QuickType | ||
| 371 | 373 | #pragma warning restore CS8601 |
| 372 | 374 | #pragma warning restore CS8602 |
| 373 | 375 | #pragma warning restore CS8603 |
| 376 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/go-schema-pattern-properties.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/haskell-enum-forbidden.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -201,3 +203,4 @@ namespace QuickType | ||
| 201 | 203 | #pragma warning restore CS8601 |
| 202 | 204 | #pragma warning restore CS8602 |
| 203 | 205 | #pragma warning restore CS8603 |
| 206 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/id-no-address.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/id-root.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/ie-suffix-singularization.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/implicit-all-of.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/implicit-class-array-union.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -271,3 +273,4 @@ namespace QuickType | ||
| 271 | 273 | #pragma warning restore CS8601 |
| 272 | 274 | #pragma warning restore CS8602 |
| 273 | 275 | #pragma warning restore CS8603 |
| 276 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/implicit-one-of.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/integer-before-number.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -211,3 +213,4 @@ namespace QuickType | ||
| 211 | 213 | #pragma warning restore CS8601 |
| 212 | 214 | #pragma warning restore CS8602 |
| 213 | 215 | #pragma warning restore CS8603 |
| 216 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/integer-float-union.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -215,3 +217,4 @@ namespace QuickType | ||
| 215 | 217 | #pragma warning restore CS8601 |
| 216 | 218 | #pragma warning restore CS8602 |
| 217 | 219 | #pragma warning restore CS8603 |
| 220 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/integer-string.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -411,3 +413,4 @@ namespace QuickType | ||
| 411 | 413 | #pragma warning restore CS8601 |
| 412 | 414 | #pragma warning restore CS8602 |
| 413 | 415 | #pragma warning restore CS8603 |
| 416 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/integer-type.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -196,3 +198,4 @@ namespace QuickType | ||
| 196 | 198 | #pragma warning restore CS8601 |
| 197 | 199 | #pragma warning restore CS8602 |
| 198 | 200 | #pragma warning restore CS8603 |
| 201 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/intersection-nested.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/intersection.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -175,3 +177,4 @@ namespace QuickType | ||
| 175 | 177 | #pragma warning restore CS8601 |
| 176 | 178 | #pragma warning restore CS8602 |
| 177 | 179 | #pragma warning restore CS8603 |
| 180 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/issue2680-top-level-array.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -157,3 +159,4 @@ namespace QuickType | ||
| 157 | 159 | #pragma warning restore CS8601 |
| 158 | 160 | #pragma warning restore CS8602 |
| 159 | 161 | #pragma warning restore CS8603 |
| 162 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/keyword-enum.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -1576,3 +1578,4 @@ namespace QuickType | ||
| 1576 | 1578 | #pragma warning restore CS8601 |
| 1577 | 1579 | #pragma warning restore CS8602 |
| 1578 | 1580 | #pragma warning restore CS8603 |
| 1581 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/keyword-unions.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -15068,3 +15070,4 @@ namespace QuickType | ||
| 15068 | 15070 | #pragma warning restore CS8601 |
| 15069 | 15071 | #pragma warning restore CS8602 |
| 15070 | 15072 | #pragma warning restore CS8603 |
| 15073 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/light.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -179,3 +181,4 @@ namespace QuickType | ||
| 179 | 181 | #pragma warning restore CS8601 |
| 180 | 182 | #pragma warning restore CS8602 |
| 181 | 183 | #pragma warning restore CS8603 |
| 184 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/list.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -167,3 +169,4 @@ namespace QuickType | ||
| 167 | 169 | #pragma warning restore CS8601 |
| 168 | 170 | #pragma warning restore CS8602 |
| 169 | 171 | #pragma warning restore CS8603 |
| 172 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/min-max-items.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -226,3 +228,4 @@ namespace QuickType | ||
| 226 | 228 | #pragma warning restore CS8601 |
| 227 | 229 | #pragma warning restore CS8602 |
| 228 | 230 | #pragma warning restore CS8603 |
| 231 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/minmax-integer.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -192,3 +194,4 @@ namespace QuickType | ||
| 192 | 194 | #pragma warning restore CS8601 |
| 193 | 195 | #pragma warning restore CS8602 |
| 194 | 196 | #pragma warning restore CS8603 |
| 197 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/minmax.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -333,3 +335,4 @@ namespace QuickType | ||
| 333 | 335 | #pragma warning restore CS8601 |
| 334 | 336 | #pragma warning restore CS8602 |
| 335 | 337 | #pragma warning restore CS8603 |
| 338 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +41 −36test/inputs/schema/minmaxlength.schema
Mschema-csharp-recordsdefault / QuickType.cs+13 −12
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
| @@ -104,7 +105,7 @@ namespace QuickType | ||
| 104 | 105 | case JsonToken.String: |
| 105 | 106 | case JsonToken.Date: |
| 106 | 107 | var stringValue = serializer.Deserialize<string>(reader); |
| 107 | - if (stringValue.Length >= 3 && stringValue.Length <= 5) | |
| 108 | + if (stringValue.Count(c => !char.IsLowSurrogate(c)) >= 3 && stringValue.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 108 | 109 | { |
| 109 | 110 | return new InUnion { String = stringValue }; |
| 110 | 111 | } |
| @@ -123,7 +124,7 @@ namespace QuickType | ||
| 123 | 124 | } |
| 124 | 125 | if (value.String != null) |
| 125 | 126 | { |
| 126 | - if (value.String.Length >= 3 && value.String.Length <= 5) | |
| 127 | + if (value.String.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.String.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 127 | 128 | { |
| 128 | 129 | serializer.Serialize(writer, value.String); |
| 129 | 130 | return; |
| @@ -142,7 +143,7 @@ namespace QuickType | ||
| 142 | 143 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 143 | 144 | { |
| 144 | 145 | var value = serializer.Deserialize<string>(reader); |
| 145 | - if (value.Length >= 3 && value.Length <= 5) | |
| 146 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 146 | 147 | { |
| 147 | 148 | return value; |
| 148 | 149 | } |
| @@ -152,7 +153,7 @@ namespace QuickType | ||
| 152 | 153 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 153 | 154 | { |
| 154 | 155 | var value = (string)untypedValue; |
| 155 | - if (value.Length >= 3 && value.Length <= 5) | |
| 156 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 156 | 157 | { |
| 157 | 158 | serializer.Serialize(writer, value); |
| 158 | 159 | return; |
| @@ -170,7 +171,7 @@ namespace QuickType | ||
| 170 | 171 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 171 | 172 | { |
| 172 | 173 | var value = serializer.Deserialize<string>(reader); |
| 173 | - if (value.Length >= 4 && value.Length <= 5) | |
| 174 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 4 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 174 | 175 | { |
| 175 | 176 | return value; |
| 176 | 177 | } |
| @@ -180,7 +181,7 @@ namespace QuickType | ||
| 180 | 181 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 181 | 182 | { |
| 182 | 183 | var value = (string)untypedValue; |
| 183 | - if (value.Length >= 4 && value.Length <= 5) | |
| 184 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 4 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 184 | 185 | { |
| 185 | 186 | serializer.Serialize(writer, value); |
| 186 | 187 | return; |
| @@ -198,7 +199,7 @@ namespace QuickType | ||
| 198 | 199 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 199 | 200 | { |
| 200 | 201 | var value = serializer.Deserialize<string>(reader); |
| 201 | - if (value.Length <= 5) | |
| 202 | + if (value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 202 | 203 | { |
| 203 | 204 | return value; |
| 204 | 205 | } |
| @@ -208,7 +209,7 @@ namespace QuickType | ||
| 208 | 209 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 209 | 210 | { |
| 210 | 211 | var value = (string)untypedValue; |
| 211 | - if (value.Length <= 5) | |
| 212 | + if (value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 212 | 213 | { |
| 213 | 214 | serializer.Serialize(writer, value); |
| 214 | 215 | return; |
| @@ -226,7 +227,7 @@ namespace QuickType | ||
| 226 | 227 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 227 | 228 | { |
| 228 | 229 | var value = serializer.Deserialize<string>(reader); |
| 229 | - if (value.Length >= 3) | |
| 230 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3) | |
| 230 | 231 | { |
| 231 | 232 | return value; |
| 232 | 233 | } |
| @@ -236,7 +237,7 @@ namespace QuickType | ||
| 236 | 237 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 237 | 238 | { |
| 238 | 239 | var value = (string)untypedValue; |
| 239 | - if (value.Length >= 3) | |
| 240 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3) | |
| 240 | 241 | { |
| 241 | 242 | serializer.Serialize(writer, value); |
| 242 | 243 | return; |
| @@ -254,7 +255,7 @@ namespace QuickType | ||
| 254 | 255 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 255 | 256 | { |
| 256 | 257 | var value = serializer.Deserialize<string>(reader); |
| 257 | - if (value.Length >= 3 && value.Length <= 6) | |
| 258 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 6) | |
| 258 | 259 | { |
| 259 | 260 | return value; |
| 260 | 261 | } |
| @@ -264,7 +265,7 @@ namespace QuickType | ||
| 264 | 265 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 265 | 266 | { |
| 266 | 267 | var value = (string)untypedValue; |
| 267 | - if (value.Length >= 3 && value.Length <= 6) | |
| 268 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 6) | |
| 268 | 269 | { |
| 269 | 270 | serializer.Serialize(writer, value); |
| 270 | 271 | return; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+15 −12
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -107,7 +109,7 @@ namespace QuickType | ||
| 107 | 109 | return new InUnion { Double = doubleValue1 }; |
| 108 | 110 | case JsonTokenType.String: |
| 109 | 111 | var stringValue = reader.GetString(); |
| 110 | - if (stringValue.Length >= 3 && stringValue.Length <= 5) | |
| 112 | + if (stringValue.Count(c => !char.IsLowSurrogate(c)) >= 3 && stringValue.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 111 | 113 | { |
| 112 | 114 | return new InUnion { String = stringValue }; |
| 113 | 115 | } |
| @@ -125,7 +127,7 @@ namespace QuickType | ||
| 125 | 127 | } |
| 126 | 128 | if (value.String != null) |
| 127 | 129 | { |
| 128 | - if (value.String.Length >= 3 && value.String.Length <= 5) | |
| 130 | + if (value.String.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.String.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 129 | 131 | { |
| 130 | 132 | JsonSerializer.Serialize(writer, value.String, options); |
| 131 | 133 | return; |
| @@ -144,7 +146,7 @@ namespace QuickType | ||
| 144 | 146 | public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) |
| 145 | 147 | { |
| 146 | 148 | var value = reader.GetString(); |
| 147 | - if (value.Length >= 3 && value.Length <= 5) | |
| 149 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 148 | 150 | { |
| 149 | 151 | return value; |
| 150 | 152 | } |
| @@ -153,7 +155,7 @@ namespace QuickType | ||
| 153 | 155 | |
| 154 | 156 | public override void Write(Utf8JsonWriter writer, string value, JsonSerializerOptions options) |
| 155 | 157 | { |
| 156 | - if (value.Length >= 3 && value.Length <= 5) | |
| 158 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 157 | 159 | { |
| 158 | 160 | JsonSerializer.Serialize(writer, value, options); |
| 159 | 161 | return; |
| @@ -171,7 +173,7 @@ namespace QuickType | ||
| 171 | 173 | public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) |
| 172 | 174 | { |
| 173 | 175 | var value = reader.GetString(); |
| 174 | - if (value.Length >= 4 && value.Length <= 5) | |
| 176 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 4 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 175 | 177 | { |
| 176 | 178 | return value; |
| 177 | 179 | } |
| @@ -180,7 +182,7 @@ namespace QuickType | ||
| 180 | 182 | |
| 181 | 183 | public override void Write(Utf8JsonWriter writer, string value, JsonSerializerOptions options) |
| 182 | 184 | { |
| 183 | - if (value.Length >= 4 && value.Length <= 5) | |
| 185 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 4 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 184 | 186 | { |
| 185 | 187 | JsonSerializer.Serialize(writer, value, options); |
| 186 | 188 | return; |
| @@ -198,7 +200,7 @@ namespace QuickType | ||
| 198 | 200 | public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) |
| 199 | 201 | { |
| 200 | 202 | var value = reader.GetString(); |
| 201 | - if (value.Length <= 5) | |
| 203 | + if (value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 202 | 204 | { |
| 203 | 205 | return value; |
| 204 | 206 | } |
| @@ -207,7 +209,7 @@ namespace QuickType | ||
| 207 | 209 | |
| 208 | 210 | public override void Write(Utf8JsonWriter writer, string value, JsonSerializerOptions options) |
| 209 | 211 | { |
| 210 | - if (value.Length <= 5) | |
| 212 | + if (value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 211 | 213 | { |
| 212 | 214 | JsonSerializer.Serialize(writer, value, options); |
| 213 | 215 | return; |
| @@ -225,7 +227,7 @@ namespace QuickType | ||
| 225 | 227 | public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) |
| 226 | 228 | { |
| 227 | 229 | var value = reader.GetString(); |
| 228 | - if (value.Length >= 3) | |
| 230 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3) | |
| 229 | 231 | { |
| 230 | 232 | return value; |
| 231 | 233 | } |
| @@ -234,7 +236,7 @@ namespace QuickType | ||
| 234 | 236 | |
| 235 | 237 | public override void Write(Utf8JsonWriter writer, string value, JsonSerializerOptions options) |
| 236 | 238 | { |
| 237 | - if (value.Length >= 3) | |
| 239 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3) | |
| 238 | 240 | { |
| 239 | 241 | JsonSerializer.Serialize(writer, value, options); |
| 240 | 242 | return; |
| @@ -252,7 +254,7 @@ namespace QuickType | ||
| 252 | 254 | public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) |
| 253 | 255 | { |
| 254 | 256 | var value = reader.GetString(); |
| 255 | - if (value.Length >= 3 && value.Length <= 6) | |
| 257 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 6) | |
| 256 | 258 | { |
| 257 | 259 | return value; |
| 258 | 260 | } |
| @@ -261,7 +263,7 @@ namespace QuickType | ||
| 261 | 263 | |
| 262 | 264 | public override void Write(Utf8JsonWriter writer, string value, JsonSerializerOptions options) |
| 263 | 265 | { |
| 264 | - if (value.Length >= 3 && value.Length <= 6) | |
| 266 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 6) | |
| 265 | 267 | { |
| 266 | 268 | JsonSerializer.Serialize(writer, value, options); |
| 267 | 269 | return; |
| @@ -386,3 +388,4 @@ namespace QuickType | ||
| 386 | 388 | #pragma warning restore CS8601 |
| 387 | 389 | #pragma warning restore CS8602 |
| 388 | 390 | #pragma warning restore CS8603 |
| 391 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+13 −12
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
| @@ -104,7 +105,7 @@ namespace QuickType | ||
| 104 | 105 | case JsonToken.String: |
| 105 | 106 | case JsonToken.Date: |
| 106 | 107 | var stringValue = serializer.Deserialize<string>(reader); |
| 107 | - if (stringValue.Length >= 3 && stringValue.Length <= 5) | |
| 108 | + if (stringValue.Count(c => !char.IsLowSurrogate(c)) >= 3 && stringValue.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 108 | 109 | { |
| 109 | 110 | return new InUnion { String = stringValue }; |
| 110 | 111 | } |
| @@ -123,7 +124,7 @@ namespace QuickType | ||
| 123 | 124 | } |
| 124 | 125 | if (value.String != null) |
| 125 | 126 | { |
| 126 | - if (value.String.Length >= 3 && value.String.Length <= 5) | |
| 127 | + if (value.String.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.String.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 127 | 128 | { |
| 128 | 129 | serializer.Serialize(writer, value.String); |
| 129 | 130 | return; |
| @@ -142,7 +143,7 @@ namespace QuickType | ||
| 142 | 143 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 143 | 144 | { |
| 144 | 145 | var value = serializer.Deserialize<string>(reader); |
| 145 | - if (value.Length >= 3 && value.Length <= 5) | |
| 146 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 146 | 147 | { |
| 147 | 148 | return value; |
| 148 | 149 | } |
| @@ -152,7 +153,7 @@ namespace QuickType | ||
| 152 | 153 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 153 | 154 | { |
| 154 | 155 | var value = (string)untypedValue; |
| 155 | - if (value.Length >= 3 && value.Length <= 5) | |
| 156 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 156 | 157 | { |
| 157 | 158 | serializer.Serialize(writer, value); |
| 158 | 159 | return; |
| @@ -170,7 +171,7 @@ namespace QuickType | ||
| 170 | 171 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 171 | 172 | { |
| 172 | 173 | var value = serializer.Deserialize<string>(reader); |
| 173 | - if (value.Length >= 4 && value.Length <= 5) | |
| 174 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 4 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 174 | 175 | { |
| 175 | 176 | return value; |
| 176 | 177 | } |
| @@ -180,7 +181,7 @@ namespace QuickType | ||
| 180 | 181 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 181 | 182 | { |
| 182 | 183 | var value = (string)untypedValue; |
| 183 | - if (value.Length >= 4 && value.Length <= 5) | |
| 184 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 4 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 184 | 185 | { |
| 185 | 186 | serializer.Serialize(writer, value); |
| 186 | 187 | return; |
| @@ -198,7 +199,7 @@ namespace QuickType | ||
| 198 | 199 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 199 | 200 | { |
| 200 | 201 | var value = serializer.Deserialize<string>(reader); |
| 201 | - if (value.Length <= 5) | |
| 202 | + if (value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 202 | 203 | { |
| 203 | 204 | return value; |
| 204 | 205 | } |
| @@ -208,7 +209,7 @@ namespace QuickType | ||
| 208 | 209 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 209 | 210 | { |
| 210 | 211 | var value = (string)untypedValue; |
| 211 | - if (value.Length <= 5) | |
| 212 | + if (value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 212 | 213 | { |
| 213 | 214 | serializer.Serialize(writer, value); |
| 214 | 215 | return; |
| @@ -226,7 +227,7 @@ namespace QuickType | ||
| 226 | 227 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 227 | 228 | { |
| 228 | 229 | var value = serializer.Deserialize<string>(reader); |
| 229 | - if (value.Length >= 3) | |
| 230 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3) | |
| 230 | 231 | { |
| 231 | 232 | return value; |
| 232 | 233 | } |
| @@ -236,7 +237,7 @@ namespace QuickType | ||
| 236 | 237 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 237 | 238 | { |
| 238 | 239 | var value = (string)untypedValue; |
| 239 | - if (value.Length >= 3) | |
| 240 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3) | |
| 240 | 241 | { |
| 241 | 242 | serializer.Serialize(writer, value); |
| 242 | 243 | return; |
| @@ -254,7 +255,7 @@ namespace QuickType | ||
| 254 | 255 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 255 | 256 | { |
| 256 | 257 | var value = serializer.Deserialize<string>(reader); |
| 257 | - if (value.Length >= 3 && value.Length <= 6) | |
| 258 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 6) | |
| 258 | 259 | { |
| 259 | 260 | return value; |
| 260 | 261 | } |
| @@ -264,7 +265,7 @@ namespace QuickType | ||
| 264 | 265 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 265 | 266 | { |
| 266 | 267 | var value = (string)untypedValue; |
| 267 | - if (value.Length >= 3 && value.Length <= 6) | |
| 268 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 6) | |
| 268 | 269 | { |
| 269 | 270 | serializer.Serialize(writer, value); |
| 270 | 271 | return; |
Test case
3 generated files · +5 −0test/inputs/schema/multi-type-enum.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -297,3 +299,4 @@ namespace QuickType | ||
| 297 | 299 | #pragma warning restore CS8601 |
| 298 | 300 | #pragma warning restore CS8602 |
| 299 | 301 | #pragma warning restore CS8603 |
| 302 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/mutually-recursive.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -217,3 +219,4 @@ namespace QuickType | ||
| 217 | 219 | #pragma warning restore CS8601 |
| 218 | 220 | #pragma warning restore CS8602 |
| 219 | 221 | #pragma warning restore CS8603 |
| 222 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/nested-intersection-union.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -183,3 +185,4 @@ namespace QuickType | ||
| 183 | 185 | #pragma warning restore CS8601 |
| 184 | 186 | #pragma warning restore CS8602 |
| 185 | 187 | #pragma warning restore CS8603 |
| 188 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/non-standard-ref.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/nullable-optional-one-of.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -204,3 +206,4 @@ namespace QuickType | ||
| 204 | 206 | #pragma warning restore CS8601 |
| 205 | 207 | #pragma warning restore CS8602 |
| 206 | 208 | #pragma warning restore CS8603 |
| 209 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/object-type-required.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -168,3 +170,4 @@ namespace QuickType | ||
| 168 | 170 | #pragma warning restore CS8601 |
| 169 | 171 | #pragma warning restore CS8602 |
| 170 | 172 | #pragma warning restore CS8603 |
| 173 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/optional-any.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -167,3 +169,4 @@ namespace QuickType | ||
| 167 | 169 | #pragma warning restore CS8601 |
| 168 | 170 | #pragma warning restore CS8602 |
| 169 | 171 | #pragma warning restore CS8603 |
| 172 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +11 −6test/inputs/schema/optional-const-ref.schema
Mschema-csharp-recordsdefault / QuickType.cs+3 −2
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
| @@ -89,7 +90,7 @@ namespace QuickType | ||
| 89 | 90 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 90 | 91 | { |
| 91 | 92 | var value = serializer.Deserialize<string>(reader); |
| 92 | - if (value.Length >= 2 && value.Length <= 16) | |
| 93 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 2 && value.Count(c => !char.IsLowSurrogate(c)) <= 16) | |
| 93 | 94 | { |
| 94 | 95 | return value; |
| 95 | 96 | } |
| @@ -99,7 +100,7 @@ namespace QuickType | ||
| 99 | 100 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 100 | 101 | { |
| 101 | 102 | var value = (string)untypedValue; |
| 102 | - if (value.Length >= 2 && value.Length <= 16) | |
| 103 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 2 && value.Count(c => !char.IsLowSurrogate(c)) <= 16) | |
| 103 | 104 | { |
| 104 | 105 | serializer.Serialize(writer, value); |
| 105 | 106 | return; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+5 −2
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -95,7 +97,7 @@ namespace QuickType | ||
| 95 | 97 | public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) |
| 96 | 98 | { |
| 97 | 99 | var value = reader.GetString(); |
| 98 | - if (value.Length >= 2 && value.Length <= 16) | |
| 100 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 2 && value.Count(c => !char.IsLowSurrogate(c)) <= 16) | |
| 99 | 101 | { |
| 100 | 102 | return value; |
| 101 | 103 | } |
| @@ -104,7 +106,7 @@ namespace QuickType | ||
| 104 | 106 | |
| 105 | 107 | public override void Write(Utf8JsonWriter writer, string value, JsonSerializerOptions options) |
| 106 | 108 | { |
| 107 | - if (value.Length >= 2 && value.Length <= 16) | |
| 109 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 2 && value.Count(c => !char.IsLowSurrogate(c)) <= 16) | |
| 108 | 110 | { |
| 109 | 111 | JsonSerializer.Serialize(writer, value, options); |
| 110 | 112 | return; |
| @@ -256,3 +258,4 @@ namespace QuickType | ||
| 256 | 258 | #pragma warning restore CS8601 |
| 257 | 259 | #pragma warning restore CS8602 |
| 258 | 260 | #pragma warning restore CS8603 |
| 261 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+3 −2
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
| @@ -89,7 +90,7 @@ namespace QuickType | ||
| 89 | 90 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 90 | 91 | { |
| 91 | 92 | var value = serializer.Deserialize<string>(reader); |
| 92 | - if (value.Length >= 2 && value.Length <= 16) | |
| 93 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 2 && value.Count(c => !char.IsLowSurrogate(c)) <= 16) | |
| 93 | 94 | { |
| 94 | 95 | return value; |
| 95 | 96 | } |
| @@ -99,7 +100,7 @@ namespace QuickType | ||
| 99 | 100 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 100 | 101 | { |
| 101 | 102 | var value = (string)untypedValue; |
| 102 | - if (value.Length >= 2 && value.Length <= 16) | |
| 103 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 2 && value.Count(c => !char.IsLowSurrogate(c)) <= 16) | |
| 103 | 104 | { |
| 104 | 105 | serializer.Serialize(writer, value); |
| 105 | 106 | return; |
Test case
3 generated files · +11 −6test/inputs/schema/optional-constraints.schema
Mschema-csharp-recordsdefault / QuickType.cs+3 −2
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
| @@ -107,7 +108,7 @@ namespace QuickType | ||
| 107 | 108 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 108 | 109 | { |
| 109 | 110 | var value = serializer.Deserialize<string>(reader); |
| 110 | - if (value.Length >= 3 && value.Length <= 10) | |
| 111 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 10) | |
| 111 | 112 | { |
| 112 | 113 | return value; |
| 113 | 114 | } |
| @@ -117,7 +118,7 @@ namespace QuickType | ||
| 117 | 118 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 118 | 119 | { |
| 119 | 120 | var value = (string)untypedValue; |
| 120 | - if (value.Length >= 3 && value.Length <= 10) | |
| 121 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 10) | |
| 121 | 122 | { |
| 122 | 123 | serializer.Serialize(writer, value); |
| 123 | 124 | return; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+5 −2
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -102,7 +104,7 @@ namespace QuickType | ||
| 102 | 104 | public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) |
| 103 | 105 | { |
| 104 | 106 | var value = reader.GetString(); |
| 105 | - if (value.Length >= 3 && value.Length <= 10) | |
| 107 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 10) | |
| 106 | 108 | { |
| 107 | 109 | return value; |
| 108 | 110 | } |
| @@ -111,7 +113,7 @@ namespace QuickType | ||
| 111 | 113 | |
| 112 | 114 | public override void Write(Utf8JsonWriter writer, string value, JsonSerializerOptions options) |
| 113 | 115 | { |
| 114 | - if (value.Length >= 3 && value.Length <= 10) | |
| 116 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 10) | |
| 115 | 117 | { |
| 116 | 118 | JsonSerializer.Serialize(writer, value, options); |
| 117 | 119 | return; |
| @@ -236,3 +238,4 @@ namespace QuickType | ||
| 236 | 238 | #pragma warning restore CS8601 |
| 237 | 239 | #pragma warning restore CS8602 |
| 238 | 240 | #pragma warning restore CS8603 |
| 241 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+3 −2
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
| @@ -107,7 +108,7 @@ namespace QuickType | ||
| 107 | 108 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 108 | 109 | { |
| 109 | 110 | var value = serializer.Deserialize<string>(reader); |
| 110 | - if (value.Length >= 3 && value.Length <= 10) | |
| 111 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 10) | |
| 111 | 112 | { |
| 112 | 113 | return value; |
| 113 | 114 | } |
| @@ -117,7 +118,7 @@ namespace QuickType | ||
| 117 | 118 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 118 | 119 | { |
| 119 | 120 | var value = (string)untypedValue; |
| 120 | - if (value.Length >= 3 && value.Length <= 10) | |
| 121 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 3 && value.Count(c => !char.IsLowSurrogate(c)) <= 10) | |
| 121 | 122 | { |
| 122 | 123 | serializer.Serialize(writer, value); |
| 123 | 124 | return; |
Test case
3 generated files · +5 −0test/inputs/schema/optional-date-time.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -184,3 +186,4 @@ namespace QuickType | ||
| 184 | 186 | #pragma warning restore CS8601 |
| 185 | 187 | #pragma warning restore CS8602 |
| 186 | 188 | #pragma warning restore CS8603 |
| 189 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/optional-enum.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -205,3 +207,4 @@ namespace QuickType | ||
| 205 | 207 | #pragma warning restore CS8601 |
| 206 | 208 | #pragma warning restore CS8602 |
| 207 | 209 | #pragma warning restore CS8603 |
| 210 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/pattern.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/postman-collection.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -182,3 +184,4 @@ namespace QuickType | ||
| 182 | 184 | #pragma warning restore CS8601 |
| 183 | 185 | #pragma warning restore CS8602 |
| 184 | 186 | #pragma warning restore CS8603 |
| 187 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/prefix-items.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -215,3 +217,4 @@ namespace QuickType | ||
| 215 | 217 | #pragma warning restore CS8601 |
| 216 | 218 | #pragma warning restore CS8602 |
| 217 | 219 | #pragma warning restore CS8603 |
| 220 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/recursive-union-flattening.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -569,3 +571,4 @@ namespace QuickType | ||
| 569 | 571 | #pragma warning restore CS8601 |
| 570 | 572 | #pragma warning restore CS8602 |
| 571 | 573 | #pragma warning restore CS8603 |
| 574 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/ref-id-files.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/ref-remote.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -167,3 +169,4 @@ namespace QuickType | ||
| 167 | 169 | #pragma warning restore CS8601 |
| 168 | 170 | #pragma warning restore CS8602 |
| 169 | 171 | #pragma warning restore CS8603 |
| 172 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +11 −6test/inputs/schema/renaming-bug.schema
Mschema-csharp-recordsdefault / QuickType.cs+3 −2
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
| @@ -199,7 +200,7 @@ namespace QuickType | ||
| 199 | 200 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 200 | 201 | { |
| 201 | 202 | var value = serializer.Deserialize<string>(reader); |
| 202 | - if (value.Length >= 1) | |
| 203 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 1) | |
| 203 | 204 | { |
| 204 | 205 | return value; |
| 205 | 206 | } |
| @@ -209,7 +210,7 @@ namespace QuickType | ||
| 209 | 210 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 210 | 211 | { |
| 211 | 212 | var value = (string)untypedValue; |
| 212 | - if (value.Length >= 1) | |
| 213 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 1) | |
| 213 | 214 | { |
| 214 | 215 | serializer.Serialize(writer, value); |
| 215 | 216 | return; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+5 −2
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -228,7 +230,7 @@ namespace QuickType | ||
| 228 | 230 | public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) |
| 229 | 231 | { |
| 230 | 232 | var value = reader.GetString(); |
| 231 | - if (value.Length >= 1) | |
| 233 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 1) | |
| 232 | 234 | { |
| 233 | 235 | return value; |
| 234 | 236 | } |
| @@ -237,7 +239,7 @@ namespace QuickType | ||
| 237 | 239 | |
| 238 | 240 | public override void Write(Utf8JsonWriter writer, string value, JsonSerializerOptions options) |
| 239 | 241 | { |
| 240 | - if (value.Length >= 1) | |
| 242 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 1) | |
| 241 | 243 | { |
| 242 | 244 | JsonSerializer.Serialize(writer, value, options); |
| 243 | 245 | return; |
| @@ -485,3 +487,4 @@ namespace QuickType | ||
| 485 | 487 | #pragma warning restore CS8601 |
| 486 | 488 | #pragma warning restore CS8602 |
| 487 | 489 | #pragma warning restore CS8603 |
| 490 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+3 −2
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
| @@ -199,7 +200,7 @@ namespace QuickType | ||
| 199 | 200 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 200 | 201 | { |
| 201 | 202 | var value = serializer.Deserialize<string>(reader); |
| 202 | - if (value.Length >= 1) | |
| 203 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 1) | |
| 203 | 204 | { |
| 204 | 205 | return value; |
| 205 | 206 | } |
| @@ -209,7 +210,7 @@ namespace QuickType | ||
| 209 | 210 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 210 | 211 | { |
| 211 | 212 | var value = (string)untypedValue; |
| 212 | - if (value.Length >= 1) | |
| 213 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 1) | |
| 213 | 214 | { |
| 214 | 215 | serializer.Serialize(writer, value); |
| 215 | 216 | return; |
Test case
3 generated files · +5 −0test/inputs/schema/required-draft3.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/required-non-properties.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -168,3 +170,4 @@ namespace QuickType | ||
| 168 | 170 | #pragma warning restore CS8601 |
| 169 | 171 | #pragma warning restore CS8602 |
| 170 | 172 | #pragma warning restore CS8603 |
| 173 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/required.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/rust-cycle-breaker-union.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -231,3 +233,4 @@ namespace QuickType | ||
| 231 | 233 | #pragma warning restore CS8601 |
| 232 | 234 | #pragma warning restore CS8602 |
| 233 | 235 | #pragma warning restore CS8603 |
| 236 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +11 −6test/inputs/schema/schema-constraints.schema
Mschema-csharp-recordsdefault / QuickType.cs+3 −2
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
| @@ -64,7 +65,7 @@ namespace QuickType | ||
| 64 | 65 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 65 | 66 | { |
| 66 | 67 | var value = serializer.Deserialize<string>(reader); |
| 67 | - if (value.Length >= 5 && value.Length <= 5) | |
| 68 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 5 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 68 | 69 | { |
| 69 | 70 | return value; |
| 70 | 71 | } |
| @@ -74,7 +75,7 @@ namespace QuickType | ||
| 74 | 75 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 75 | 76 | { |
| 76 | 77 | var value = (string)untypedValue; |
| 77 | - if (value.Length >= 5 && value.Length <= 5) | |
| 78 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 5 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 78 | 79 | { |
| 79 | 80 | serializer.Serialize(writer, value); |
| 80 | 81 | return; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+5 −2
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -63,7 +65,7 @@ namespace QuickType | ||
| 63 | 65 | public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) |
| 64 | 66 | { |
| 65 | 67 | var value = reader.GetString(); |
| 66 | - if (value.Length >= 5 && value.Length <= 5) | |
| 68 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 5 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 67 | 69 | { |
| 68 | 70 | return value; |
| 69 | 71 | } |
| @@ -72,7 +74,7 @@ namespace QuickType | ||
| 72 | 74 | |
| 73 | 75 | public override void Write(Utf8JsonWriter writer, string value, JsonSerializerOptions options) |
| 74 | 76 | { |
| 75 | - if (value.Length >= 5 && value.Length <= 5) | |
| 77 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 5 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 76 | 78 | { |
| 77 | 79 | JsonSerializer.Serialize(writer, value, options); |
| 78 | 80 | return; |
| @@ -224,3 +226,4 @@ namespace QuickType | ||
| 224 | 226 | #pragma warning restore CS8601 |
| 225 | 227 | #pragma warning restore CS8602 |
| 226 | 228 | #pragma warning restore CS8603 |
| 229 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+3 −2
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
| @@ -64,7 +65,7 @@ namespace QuickType | ||
| 64 | 65 | public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer) |
| 65 | 66 | { |
| 66 | 67 | var value = serializer.Deserialize<string>(reader); |
| 67 | - if (value.Length >= 5 && value.Length <= 5) | |
| 68 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 5 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 68 | 69 | { |
| 69 | 70 | return value; |
| 70 | 71 | } |
| @@ -74,7 +75,7 @@ namespace QuickType | ||
| 74 | 75 | public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer) |
| 75 | 76 | { |
| 76 | 77 | var value = (string)untypedValue; |
| 77 | - if (value.Length >= 5 && value.Length <= 5) | |
| 78 | + if (value.Count(c => !char.IsLowSurrogate(c)) >= 5 && value.Count(c => !char.IsLowSurrogate(c)) <= 5) | |
| 78 | 79 | { |
| 79 | 80 | serializer.Serialize(writer, value); |
| 80 | 81 | return; |
Test case
3 generated files · +5 −0test/inputs/schema/simple-ref.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -167,3 +169,4 @@ namespace QuickType | ||
| 167 | 169 | #pragma warning restore CS8601 |
| 168 | 170 | #pragma warning restore CS8602 |
| 169 | 171 | #pragma warning restore CS8603 |
| 172 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/strict-optional.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -164,3 +166,4 @@ namespace QuickType | ||
| 164 | 166 | #pragma warning restore CS8601 |
| 165 | 167 | #pragma warning restore CS8602 |
| 166 | 168 | #pragma warning restore CS8603 |
| 169 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/top-level-array.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -168,3 +170,4 @@ namespace QuickType | ||
| 168 | 170 | #pragma warning restore CS8601 |
| 169 | 171 | #pragma warning restore CS8602 |
| 170 | 172 | #pragma warning restore CS8603 |
| 173 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/top-level-enum.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -199,3 +201,4 @@ namespace QuickType | ||
| 199 | 201 | #pragma warning restore CS8601 |
| 200 | 202 | #pragma warning restore CS8602 |
| 201 | 203 | #pragma warning restore CS8603 |
| 204 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/top-level-primitive-array.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -157,3 +159,4 @@ namespace QuickType | ||
| 157 | 159 | #pragma warning restore CS8601 |
| 158 | 160 | #pragma warning restore CS8602 |
| 159 | 161 | #pragma warning restore CS8603 |
| 162 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/top-level-primitive.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -157,3 +159,4 @@ namespace QuickType | ||
| 157 | 159 | #pragma warning restore CS8601 |
| 158 | 160 | #pragma warning restore CS8602 |
| 159 | 161 | #pragma warning restore CS8603 |
| 162 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/tuple.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -211,3 +213,4 @@ namespace QuickType | ||
| 211 | 213 | #pragma warning restore CS8601 |
| 212 | 214 | #pragma warning restore CS8602 |
| 213 | 215 | #pragma warning restore CS8603 |
| 216 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/unevaluated-properties.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -293,3 +295,4 @@ namespace QuickType | ||
| 293 | 295 | #pragma warning restore CS8601 |
| 294 | 296 | #pragma warning restore CS8602 |
| 295 | 297 | #pragma warning restore CS8603 |
| 298 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/union-int-double.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -225,3 +227,4 @@ namespace QuickType | ||
| 225 | 227 | #pragma warning restore CS8601 |
| 226 | 228 | #pragma warning restore CS8602 |
| 227 | 229 | #pragma warning restore CS8603 |
| 230 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/union-list.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -217,3 +219,4 @@ namespace QuickType | ||
| 217 | 219 | #pragma warning restore CS8601 |
| 218 | 220 | #pragma warning restore CS8602 |
| 219 | 221 | #pragma warning restore CS8603 |
| 222 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/union.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -172,3 +174,4 @@ namespace QuickType | ||
| 172 | 174 | #pragma warning restore CS8601 |
| 173 | 175 | #pragma warning restore CS8602 |
| 174 | 176 | #pragma warning restore CS8603 |
| 177 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/uuid.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -269,3 +271,4 @@ namespace QuickType | ||
| 269 | 271 | #pragma warning restore CS8601 |
| 270 | 272 | #pragma warning restore CS8602 |
| 271 | 273 | #pragma warning restore CS8603 |
| 274 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Test case
3 generated files · +5 −0test/inputs/schema/vega-lite.schema
Mschema-csharp-recordsdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
Mschema-csharp-SystemTextJsondefault / QuickType.cs+3 −0
| @@ -10,11 +10,13 @@ | ||
| 10 | 10 | #pragma warning disable CS8601 |
| 11 | 11 | #pragma warning disable CS8602 |
| 12 | 12 | #pragma warning disable CS8603 |
| 13 | +#pragma warning disable CS8604 | |
| 13 | 14 | |
| 14 | 15 | namespace QuickType |
| 15 | 16 | { |
| 16 | 17 | using System; |
| 17 | 18 | using System.Collections.Generic; |
| 19 | + using System.Linq; | |
| 18 | 20 | |
| 19 | 21 | using System.Text.Json; |
| 20 | 22 | using System.Text.Json.Serialization; |
| @@ -12832,3 +12834,4 @@ namespace QuickType | ||
| 12832 | 12834 | #pragma warning restore CS8601 |
| 12833 | 12835 | #pragma warning restore CS8602 |
| 12834 | 12836 | #pragma warning restore CS8603 |
| 12837 | +#pragma warning restore CS8604 |
Mschema-csharpdefault / QuickType.cs+1 −0
| @@ -18,6 +18,7 @@ namespace QuickType | ||
| 18 | 18 | { |
| 19 | 19 | using System; |
| 20 | 20 | using System.Collections.Generic; |
| 21 | + using System.Linq; | |
| 21 | 22 | |
| 22 | 23 | using System.Globalization; |
| 23 | 24 | using Newtonsoft.Json; |
No generated files match these filters.