diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index adf8ba214..f998851e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,6 +85,14 @@ jobs: run: | dotnet-coverage collect 'dotnet test ./test/System.Linq.Dynamic.Core.Tests.Net8/System.Linq.Dynamic.Core.Tests.Net8.csproj --configuration Debug --framework net8.0 -p:buildType=azure-pipelines-ci' -f xml -o dynamic-coverage-efcore.xml + - name: Run Tests Newtonsoft.Json .NET 8 (with Coverage) + run: | + dotnet-coverage collect 'dotnet test ./test/System.Linq.Dynamic.Core.NewtonsoftJson.Tests/System.Linq.Dynamic.Core.NewtonsoftJson.Tests.csproj --configuration Debug --framework net8.0 -p:buildType=azure-pipelines-ci' -f xml -o dynamic-coverage-newtonsoftjson.xml + + - name: Run Tests System.Text.Json .NET 8 (with Coverage) + run: | + dotnet-coverage collect 'dotnet test ./test/System.Linq.Dynamic.Core.SystemTextJson.Tests/System.Linq.Dynamic.Core.SystemTextJson.Tests.csproj --configuration Debug --framework net8.0 -p:buildType=azure-pipelines-ci' -f xml -o dynamic-coverage-systemtextjson.xml + - name: End analysis on SonarCloud if: ${{ steps.secret-check.outputs.run_analysis == 'true' }} run: | diff --git a/System.Linq.Dynamic.Core.sln b/System.Linq.Dynamic.Core.sln index 38874017f..c331aac5e 100644 --- a/System.Linq.Dynamic.Core.sln +++ b/System.Linq.Dynamic.Core.sln @@ -143,6 +143,14 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Demo.Plugin", "src-console\ EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Linq.Dynamic.Core.Tests.NetCoreApp31", "test\System.Linq.Dynamic.Core.Tests.NetCoreApp31\System.Linq.Dynamic.Core.Tests.NetCoreApp31.csproj", "{7AFC2836-0F6E-4B0D-8BB3-13317A3B6616}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Linq.Dynamic.Core.NewtonsoftJson", "src\System.Linq.Dynamic.Core.NewtonsoftJson\System.Linq.Dynamic.Core.NewtonsoftJson.csproj", "{8C5851B8-5C47-4229-AB55-D4252703598E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Linq.Dynamic.Core.NewtonsoftJson.Tests", "test\System.Linq.Dynamic.Core.NewtonsoftJson.Tests\System.Linq.Dynamic.Core.NewtonsoftJson.Tests.csproj", "{912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Linq.Dynamic.Core.SystemTextJson", "src\System.Linq.Dynamic.Core.SystemTextJson\System.Linq.Dynamic.Core.SystemTextJson.csproj", "{FA01CE15-315A-499E-AFC2-955CA7EB45FF}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Linq.Dynamic.Core.SystemTextJson.Tests", "test\System.Linq.Dynamic.Core.SystemTextJson.Tests\System.Linq.Dynamic.Core.SystemTextJson.Tests.csproj", "{D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}" +EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WasmDynamicLinq", "src-blazor\WasmDynamicLinq\WasmDynamicLinq.csproj", "{2DE2052F-0A50-40C7-B6FF-52B52386BF9A}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SldcTrimmer", "src-examples\SldcTrimmer\SldcTrimmer.csproj", "{7A31366C-DD98-41A3-A0C1-A97068BD9658}" @@ -903,6 +911,70 @@ Global {7AFC2836-0F6E-4B0D-8BB3-13317A3B6616}.Release|x64.Build.0 = Release|Any CPU {7AFC2836-0F6E-4B0D-8BB3-13317A3B6616}.Release|x86.ActiveCfg = Release|Any CPU {7AFC2836-0F6E-4B0D-8BB3-13317A3B6616}.Release|x86.Build.0 = Release|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Debug|ARM.ActiveCfg = Debug|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Debug|ARM.Build.0 = Debug|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Debug|x64.ActiveCfg = Debug|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Debug|x64.Build.0 = Debug|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Debug|x86.ActiveCfg = Debug|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Debug|x86.Build.0 = Debug|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Release|Any CPU.Build.0 = Release|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Release|ARM.ActiveCfg = Release|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Release|ARM.Build.0 = Release|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Release|x64.ActiveCfg = Release|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Release|x64.Build.0 = Release|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Release|x86.ActiveCfg = Release|Any CPU + {8C5851B8-5C47-4229-AB55-D4252703598E}.Release|x86.Build.0 = Release|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Debug|Any CPU.Build.0 = Debug|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Debug|ARM.ActiveCfg = Debug|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Debug|ARM.Build.0 = Debug|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Debug|x64.ActiveCfg = Debug|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Debug|x64.Build.0 = Debug|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Debug|x86.ActiveCfg = Debug|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Debug|x86.Build.0 = Debug|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Release|Any CPU.ActiveCfg = Release|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Release|Any CPU.Build.0 = Release|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Release|ARM.ActiveCfg = Release|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Release|ARM.Build.0 = Release|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Release|x64.ActiveCfg = Release|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Release|x64.Build.0 = Release|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Release|x86.ActiveCfg = Release|Any CPU + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90}.Release|x86.Build.0 = Release|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Debug|ARM.ActiveCfg = Debug|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Debug|ARM.Build.0 = Debug|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Debug|x64.ActiveCfg = Debug|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Debug|x64.Build.0 = Debug|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Debug|x86.ActiveCfg = Debug|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Debug|x86.Build.0 = Debug|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Release|Any CPU.Build.0 = Release|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Release|ARM.ActiveCfg = Release|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Release|ARM.Build.0 = Release|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Release|x64.ActiveCfg = Release|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Release|x64.Build.0 = Release|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Release|x86.ActiveCfg = Release|Any CPU + {FA01CE15-315A-499E-AFC2-955CA7EB45FF}.Release|x86.Build.0 = Release|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Debug|ARM.ActiveCfg = Debug|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Debug|ARM.Build.0 = Debug|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Debug|x64.ActiveCfg = Debug|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Debug|x64.Build.0 = Debug|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Debug|x86.ActiveCfg = Debug|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Debug|x86.Build.0 = Debug|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Release|Any CPU.Build.0 = Release|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Release|ARM.ActiveCfg = Release|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Release|ARM.Build.0 = Release|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Release|x64.ActiveCfg = Release|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Release|x64.Build.0 = Release|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Release|x86.ActiveCfg = Release|Any CPU + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E}.Release|x86.Build.0 = Release|Any CPU {2DE2052F-0A50-40C7-B6FF-52B52386BF9A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2DE2052F-0A50-40C7-B6FF-52B52386BF9A}.Debug|Any CPU.Build.0 = Debug|Any CPU {2DE2052F-0A50-40C7-B6FF-52B52386BF9A}.Debug|ARM.ActiveCfg = Debug|Any CPU @@ -1018,6 +1090,10 @@ Global {D8368319-F370-4071-9411-A3DADB234330} = {7971CAEB-B9F2-416B-966D-2D697C4C1E62} {B01B327C-FC68-49B6-BDE3-A13D0C66DF5C} = {7971CAEB-B9F2-416B-966D-2D697C4C1E62} {7AFC2836-0F6E-4B0D-8BB3-13317A3B6616} = {8463ED7E-69FB-49AE-85CF-0791AFD98E38} + {8C5851B8-5C47-4229-AB55-D4252703598E} = {DBD7D9B6-FCC7-4650-91AF-E6457573A68F} + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90} = {8463ED7E-69FB-49AE-85CF-0791AFD98E38} + {FA01CE15-315A-499E-AFC2-955CA7EB45FF} = {DBD7D9B6-FCC7-4650-91AF-E6457573A68F} + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E} = {8463ED7E-69FB-49AE-85CF-0791AFD98E38} {2DE2052F-0A50-40C7-B6FF-52B52386BF9A} = {122BC4FA-7563-4E35-9D17-077F16F1629F} {7A31366C-DD98-41A3-A0C1-A97068BD9658} = {BCA2A024-9032-4E56-A6C4-17A15D921728} {C774DAE7-54A0-4FCD-A3B7-3CB63D7E112D} = {DBD7D9B6-FCC7-4650-91AF-E6457573A68F} diff --git a/src-console/ConsoleApp_net6.0/ConsoleApp_net6.0.csproj b/src-console/ConsoleApp_net6.0/ConsoleApp_net6.0.csproj index 84ca9532f..46108c0bc 100644 --- a/src-console/ConsoleApp_net6.0/ConsoleApp_net6.0.csproj +++ b/src-console/ConsoleApp_net6.0/ConsoleApp_net6.0.csproj @@ -8,7 +8,8 @@ - + + diff --git a/src-console/ConsoleApp_net6.0/Program.cs b/src-console/ConsoleApp_net6.0/Program.cs index baf2c16f9..8c5af2f6c 100644 --- a/src-console/ConsoleApp_net6.0/Program.cs +++ b/src-console/ConsoleApp_net6.0/Program.cs @@ -2,116 +2,185 @@ using System.Collections.Generic; using System.Linq; using System.Linq.Dynamic.Core; -using System.Linq.Dynamic.Core.Parser; +using System.Linq.Dynamic.Core.NewtonsoftJson; +using System.Linq.Dynamic.Core.SystemTextJson; using System.Linq.Expressions; +using System.Text.Json; +using Newtonsoft.Json.Linq; -namespace ConsoleApp_net6._0 +namespace ConsoleApp_net6._0; + +public class X { - public class X - { - public string Key { get; set; } = null!; + public string Key { get; set; } = null!; - public List? Contestants { get; set; } - } + public List? Contestants { get; set; } +} - public class Y +public class Y +{ +} + +class Program +{ + static void Main(string[] args) { + Json(); + NewtonsoftJson(); + + return; + + Issue389DoesNotWork(); + return; + Issue389_Works(); + return; + + var q = new[] + { + new X { Key = "x" }, + new X { Key = "a" }, + new X { Key = "a", Contestants = new List { new Y() } } + }.AsQueryable(); + var groupByKey = q.GroupBy("Key"); + var selectQry = groupByKey.Select("new (Key, Sum(np(Contestants.Count, 0)) As TotalCount)").ToDynamicList(); + + Normal(); + Dynamic(); } - class Program + private static void NewtonsoftJson() { - static void Main(string[] args) + var array = JArray.Parse(@"[ { - var parser = new ExpressionParser(new[] { Expression.Parameter(typeof(int), "VarA") }, "\"foo\" & VarA", new object[0], new ParsingConfig { ConvertObjectToSupportComparison = true}); - - var expression = parser.Parse(typeof(string)); - - Issue389DoesNotWork(); - return; - Issue389_Works(); - return; - - var q = new[] - { - new X { Key = "x" }, - new X { Key = "a" }, - new X { Key = "a", Contestants = new List { new Y() } } - }.AsQueryable(); - var groupByKey = q.GroupBy("Key"); - var selectQry = groupByKey.Select("new (Key, Sum(np(Contestants.Count, 0)) As TotalCount)").ToDynamicList(); - - Normal(); - Dynamic(); - } - - private static void Issue389_Works() + ""first"": 1, + ""City"": ""Paris"", + ""third"": ""test"" + }, { - var strArray = new[] { "1", "2", "3", "4" }; - var x = new List(); - x.Add(Expression.Parameter(strArray.GetType(), "strArray")); + ""first"": 2, + ""City"": ""New York"", + ""third"": ""abc"" + }]"); - string query = "string.Join(\",\", strArray)"; + var where = array.Where("City == @0", "Paris"); + foreach (var result in where) + { + Console.WriteLine(result["first"]); + } - var e = DynamicExpressionParser.ParseLambda(x.ToArray(), null, query); - Delegate del = e.Compile(); - var result1 = del.DynamicInvoke(new object?[] { strArray }); - Console.WriteLine(result1); + var select = array.Select("City"); + foreach (var result in select) + { + Console.WriteLine(result); } - private static void Issue389WorksWithInts() + var whereWithSelect = array.Where("City == @0", "Paris").Select("first"); + foreach (var result in whereWithSelect) { - var intArray = new object[] { 1, 2, 3, 4 }; - var x = new List(); - x.Add(Expression.Parameter(intArray.GetType(), "intArray")); + Console.WriteLine(result); + } + } - string query = "string.Join(\",\", intArray)"; + private static void Json() + { + var doc = JsonDocument.Parse(@"[ + { + ""first"": 1, + ""City"": ""Paris"", + ""third"": ""test"" + }, + { + ""first"": 2, + ""City"": ""New York"", + ""third"": ""abc"" + }]"); - var e = DynamicExpressionParser.ParseLambda(x.ToArray(), null, query); - Delegate del = e.Compile(); - var result = del.DynamicInvoke(new object?[] { intArray }); + var where = doc.Where("City == @0", "Paris"); + foreach (var result in where.RootElement.EnumerateArray()) + { + Console.WriteLine(result.GetProperty("first")); + } + var select = doc.Select("City"); + foreach (var result in select.RootElement.EnumerateArray()) + { Console.WriteLine(result); } - private static void Issue389DoesNotWork() + var whereWithSelect = doc.Where("City == @0", "Paris").Select("first"); + foreach (var result in whereWithSelect.RootElement.EnumerateArray()) { - var intArray = new [] { 1, 2, 3, 4 }; - var x = new List(); - x.Add(Expression.Parameter(intArray.GetType(), "intArray")); + Console.WriteLine(result); + } + } - string query = "string.Join(\",\", intArray)"; + private static void Issue389_Works() + { + var strArray = new[] { "1", "2", "3", "4" }; + var x = new List(); + x.Add(Expression.Parameter(strArray.GetType(), "strArray")); - var e = DynamicExpressionParser.ParseLambda(x.ToArray(), null, query); - Delegate del = e.Compile(); - var result = del.DynamicInvoke(new object?[] { intArray }); + string query = "string.Join(\",\", strArray)"; - Console.WriteLine(result); - } + var e = DynamicExpressionParser.ParseLambda(x.ToArray(), null, query); + Delegate del = e.Compile(); + var result1 = del.DynamicInvoke(new object?[] { strArray }); + Console.WriteLine(result1); + } - private static void Normal() - { - var e = new int[0].AsQueryable(); - var q = new[] { 1 }.AsQueryable(); + private static void Issue389WorksWithInts() + { + var intArray = new object[] { 1, 2, 3, 4 }; + var x = new List(); + x.Add(Expression.Parameter(intArray.GetType(), "intArray")); - var a = q.FirstOrDefault(); - var b = e.FirstOrDefault(44); + string query = "string.Join(\",\", intArray)"; - var c = q.FirstOrDefault(i => i == 0); - var d = q.FirstOrDefault(i => i == 0, 42); + var e = DynamicExpressionParser.ParseLambda(x.ToArray(), null, query); + Delegate del = e.Compile(); + var result = del.DynamicInvoke(new object?[] { intArray }); - var t = q.Take(1); - } + Console.WriteLine(result); + } - private static void Dynamic() - { - var e = new int[0].AsQueryable() as IQueryable; - var q = new[] { 1 }.AsQueryable() as IQueryable; + private static void Issue389DoesNotWork() + { + var intArray = new[] { 1, 2, 3, 4 }; + var x = new List(); + x.Add(Expression.Parameter(intArray.GetType(), "intArray")); - var a = q.FirstOrDefault(); - //var b = e.FirstOrDefault(44); + string query = "string.Join(\",\", intArray)"; - var c = q.FirstOrDefault("it == 0"); - //var d = q.FirstOrDefault(i => i == 0, 42); - } + var e = DynamicExpressionParser.ParseLambda(x.ToArray(), null, query); + Delegate del = e.Compile(); + var result = del.DynamicInvoke(new object?[] { intArray }); + + Console.WriteLine(result); + } + + private static void Normal() + { + var e = new int[0].AsQueryable(); + var q = new[] { 1 }.AsQueryable(); + + var a = q.FirstOrDefault(); + var b = e.FirstOrDefault(44); + + var c = q.FirstOrDefault(i => i == 0); + var d = q.FirstOrDefault(i => i == 0, 42); + + var t = q.Take(1); + } + + private static void Dynamic() + { + var e = new int[0].AsQueryable() as IQueryable; + var q = new[] { 1 }.AsQueryable() as IQueryable; + + var a = q.FirstOrDefault(); + //var b = e.FirstOrDefault(44); + + var c = q.FirstOrDefault("it == 0"); + //var d = q.FirstOrDefault(i => i == 0, 42); } } \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core.NewtonsoftJson/Config/NewtonsoftJsonParsingConfig.cs b/src/System.Linq.Dynamic.Core.NewtonsoftJson/Config/NewtonsoftJsonParsingConfig.cs new file mode 100644 index 000000000..fad7f9f12 --- /dev/null +++ b/src/System.Linq.Dynamic.Core.NewtonsoftJson/Config/NewtonsoftJsonParsingConfig.cs @@ -0,0 +1,19 @@ +using JsonConverter.Abstractions.Models; + +namespace System.Linq.Dynamic.Core.NewtonsoftJson.Config; + +/// +/// Configuration class for System.Linq.Dynamic.Core.NewtonsoftJson which implements the . +/// +public class NewtonsoftJsonParsingConfig : ParsingConfig +{ + /// + /// The default ParsingConfig for . + /// + public new static NewtonsoftJsonParsingConfig Default { get; } = new(); + + /// + /// The default to use. + /// + public DynamicJsonClassOptions? DynamicJsonClassOptions { get; set; } +} \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core.NewtonsoftJson/Extensions/JObjectExtensions.cs b/src/System.Linq.Dynamic.Core.NewtonsoftJson/Extensions/JObjectExtensions.cs new file mode 100644 index 000000000..1a7be2f44 --- /dev/null +++ b/src/System.Linq.Dynamic.Core.NewtonsoftJson/Extensions/JObjectExtensions.cs @@ -0,0 +1,187 @@ +using System.Collections; +using System.Collections.Generic; +using System.Reflection; +using JsonConverter.Abstractions.Models; +using Newtonsoft.Json.Linq; + +namespace System.Linq.Dynamic.Core.NewtonsoftJson.Extensions; + +/// +/// Based on https://github.com/StefH/JsonConverter/blob/main/src/JsonConverter.Newtonsoft.Json/Extensions/JObjectExtensions.cs +/// +internal static class JObjectExtensions +{ + private class JTokenResolvers : Dictionary>; + + private static readonly JTokenResolvers Resolvers = new() + { + { JTokenType.Array, ConvertJTokenArray }, + { JTokenType.Boolean, (jToken, _) => jToken.Value() }, + { JTokenType.Bytes, (jToken, _) => jToken.Value() }, + { JTokenType.Date, (jToken, _) => jToken.Value() }, + { JTokenType.Float, ConvertJTokenFloat }, + { JTokenType.Guid, (jToken, _) => jToken.Value() }, + { JTokenType.Integer, ConvertJTokenInteger }, + { JTokenType.None, (_, _) => null }, + { JTokenType.Null, (_, _) => null }, + { JTokenType.Object, ConvertJObject }, + { JTokenType.Property, ConvertJTokenProperty }, + { JTokenType.String, (jToken, _) => jToken.Value() }, + { JTokenType.TimeSpan, (jToken, _) => jToken.Value() }, + { JTokenType.Undefined, (_, _) => null }, + { JTokenType.Uri, (o, _) => o.Value() }, + }; + + internal static DynamicClass? ToDynamicClass(this JObject? src, DynamicJsonClassOptions? options = null) + { + if (src == null) + { + return null; + } + + var dynamicPropertiesWithValue = new List(); + + foreach (var prop in src.Properties()) + { + var value = Resolvers[prop.Type](prop.Value, options); + if (value != null) + { + dynamicPropertiesWithValue.Add(new DynamicPropertyWithValue(prop.Name, value)); + } + } + + return DynamicClassFactory.CreateInstance(dynamicPropertiesWithValue); + } + + internal static object? ToDynamicClass(this JToken? src, DynamicJsonClassOptions? options = null) + { + return src == null ? null : GetResolverFor(src)(src, options); + } + + internal static IEnumerable ToDynamicJsonClassArray(this JArray? src, DynamicJsonClassOptions? options = null) + { + return src == null ? new object?[0] : ConvertJTokenArray(src, options); + } + + private static object? ConvertJObject(JToken arg, DynamicJsonClassOptions? options = null) + { + if (arg is JObject asJObject) + { + return asJObject.ToDynamicClass(options); + } + + return GetResolverFor(arg)(arg, options); + } + + private static object PassThrough(JToken arg, DynamicJsonClassOptions? options) + { + return arg; + } + + private static Func GetResolverFor(JToken arg) + { + return Resolvers.TryGetValue(arg.Type, out var result) ? result : PassThrough; + } + + private static object ConvertJTokenFloat(JToken arg, DynamicJsonClassOptions? options = null) + { + if (arg.Type != JTokenType.Float) + { + throw new InvalidOperationException($"Unable to convert {nameof(JToken)} of type: {arg.Type} to double or float."); + } + + if (options?.FloatConvertBehavior == FloatBehavior.UseFloat) + { + try + { + return arg.Value(); + } + catch + { + return arg.Value(); + } + } + + if (options?.FloatConvertBehavior == FloatBehavior.UseDecimal) + { + try + { + return arg.Value(); + } + catch + { + return arg.Value(); + } + } + + + return arg.Value(); + } + + private static object ConvertJTokenInteger(JToken arg, DynamicJsonClassOptions? options = null) + { + if (arg.Type != JTokenType.Integer) + { + throw new InvalidOperationException($"Unable to convert {nameof(JToken)} of type: {arg.Type} to long or int."); + } + + var longValue = arg.Value(); + + if (options is null || options.IntegerConvertBehavior == IntegerBehavior.UseInt) + { + if (longValue is >= int.MinValue and <= int.MaxValue) + { + return Convert.ToInt32(longValue); + } + } + + return longValue; + } + + private static object? ConvertJTokenProperty(JToken arg, DynamicJsonClassOptions? options = null) + { + var resolver = GetResolverFor(arg); + if (resolver is null) + { + throw new InvalidOperationException($"Unable to handle {nameof(JToken)} of type: {arg.Type}."); + } + + return resolver(arg, options); + } + + private static IEnumerable ConvertJTokenArray(JToken arg, DynamicJsonClassOptions? options = null) + { + if (arg is not JArray array) + { + throw new InvalidOperationException($"Unable to convert {nameof(JToken)} of type: {arg.Type} to {nameof(JArray)}."); + } + + var result = new List(); + foreach (var item in array) + { + result.Add(ConvertJObject(item)); + } + + var distinctType = FindSameTypeOf(result); + return distinctType == null ? result.ToArray() : ConvertToTypedArray(result, distinctType); + } + + private static Type? FindSameTypeOf(IEnumerable src) + { + var types = src.Select(o => o?.GetType()).Distinct().OfType().ToArray(); + return types.Length == 1 ? types[0] : null; + } + + private static IEnumerable ConvertToTypedArray(IEnumerable src, Type newType) + { + var method = ConvertToTypedArrayGenericMethod.MakeGenericMethod(newType); + return (IEnumerable)method.Invoke(null, new object[] { src })!; + } + + private static readonly MethodInfo ConvertToTypedArrayGenericMethod = typeof(JObjectExtensions).GetMethod(nameof(ConvertToTypedArrayGeneric), BindingFlags.NonPublic | BindingFlags.Static)!; + + private static T[] ConvertToTypedArrayGeneric(IEnumerable src) + { + return src.Cast().ToArray(); + } +} \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core.NewtonsoftJson/NewtonsoftJsonExtensions.cs b/src/System.Linq.Dynamic.Core.NewtonsoftJson/NewtonsoftJsonExtensions.cs new file mode 100644 index 000000000..5b1c69acf --- /dev/null +++ b/src/System.Linq.Dynamic.Core.NewtonsoftJson/NewtonsoftJsonExtensions.cs @@ -0,0 +1,792 @@ +using System.Collections; +using System.Linq.Dynamic.Core.NewtonsoftJson.Config; +using System.Linq.Dynamic.Core.NewtonsoftJson.Extensions; +using System.Linq.Dynamic.Core.Validation; +using System.Linq.Expressions; +using Newtonsoft.Json.Linq; + +namespace System.Linq.Dynamic.Core.NewtonsoftJson; + +/// +/// Extension methods for . +/// +public static class NewtonsoftJsonExtensions +{ + #region Aggregate + /// + /// Dynamically runs an aggregate function on the >. + /// + /// The > data source. + /// The name of the function to run. Can be Sum, Average, Min or Max. + /// The name of the property to aggregate over. + /// The value of the aggregate function run over the specified property. + public static object Aggregate(this JArray source, string function, string member) + { + Check.NotNull(source); + Check.NotEmpty(function); + Check.NotEmpty(member); + + var queryable = ToQueryable(source); + return queryable.Aggregate(function, member); + } + #endregion Aggregate + + #region All + /// + /// Determines whether all the elements of a sequence satisfy a condition. + /// + /// A sequence whose elements to test for a condition. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. + public static bool All(this JArray source, string predicate, params object?[] args) + { + return All(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + + /// + /// Determines whether all the elements of a sequence satisfy a condition. + /// + /// A sequence whose elements to test for a condition. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. + public static bool All(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + Check.NotEmpty(predicate); + + var queryable = ToQueryable(source, config); + return queryable.All(config, predicate, args); + } + #endregion All + + #region Any + /// + /// Determines whether a sequence contains any elements. + /// + /// The source + /// true if the source sequence contains any elements; otherwise, false. + public static bool Any(this JArray source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return queryable.Any(); + } + + /// + /// Determines whether a sequence contains any elements. + /// + /// The source + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// true if the source sequence contains any elements; otherwise, false. + public static bool Any(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return queryable.Any(config, predicate, args); + } + + /// + /// Determines whether a sequence contains any elements. + /// + /// The source + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// true if the source sequence contains any elements; otherwise, false. + public static bool Any(this JArray source, string predicate, params object?[] args) + { + return Any(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + #endregion Any + + #region Average + /// + /// Computes the average of a sequence of numeric values. + /// + /// The source + /// The average of the values in the sequence. + public static double Average(this JArray source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return queryable.Average(); + } + + /// + /// Computes the average of a sequence of numeric values. + /// + /// The source + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// The average of the values in the sequence. + public static double Average(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + Check.NotEmpty(predicate); + + var queryable = ToQueryable(source); + return queryable.Average(config, predicate, args); + } + + /// + /// Computes the average of a sequence of numeric values. + /// + /// The source + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// The average of the values in the sequence. + public static double Average(this JArray source, string predicate, params object?[] args) + { + return Average(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + #endregion Average + + #region Cast + /// + /// Converts the elements of an to the specified type. + /// + /// The that contains the elements to be converted. + /// The type to convert the elements of source to. + /// An that contains each element of the source sequence converted to the specified type. + public static IQueryable Cast(this JArray source, Type type) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return queryable.Cast(type); + } + + /// + /// Converts the elements of an to the specified type. + /// + /// The that contains the elements to be converted. + /// The . + /// The type to convert the elements of source to. + /// An that contains each element of the source sequence converted to the specified type. + public static IQueryable Cast(this JArray source, NewtonsoftJsonParsingConfig config, string typeName) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return queryable.Cast(typeName); + } + + /// + /// Converts the elements of an to the specified type. + /// + /// The that contains the elements to be converted. + /// The type to convert the elements of source to. + /// An that contains each element of the source sequence converted to the specified type. + public static IQueryable Cast(this JArray source, string typeName) + { + return Cast(source, NewtonsoftJsonParsingConfig.Default, typeName); + } + #endregion Cast + + #region Count + /// + /// Returns the number of elements in a sequence. + /// + /// The that contains the elements to be counted. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The number of elements in the specified sequence that satisfies a condition. + public static int Count(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return queryable.Count(config, predicate, args); + } + + /// + /// Returns the number of elements in a sequence. + /// + /// The that contains the elements to be counted. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The number of elements in the specified sequence that satisfies a condition. + public static int Count(this JArray source, string predicate, params object?[] args) + { + return Count(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + #endregion Count + + #region DefaultIfEmpty + /// + /// Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty. + /// + /// The to return a default value for if empty. + /// The value to return if the sequence is empty. + /// An that contains defaultValue if source is empty; otherwise, source. + public static JArray DefaultIfEmpty(this JArray source, object? defaultValue) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJArray(() => queryable.DefaultIfEmpty(defaultValue)); + } + #endregion + + #region First + /// + /// Returns the first element of a sequence that satisfies a specified condition. + /// + /// The to return the first element of. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JToken First(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJToken(queryable.First(config, predicate, args)) ?? throw new InvalidOperationException(Res.SequenceContainsNoElements); + } + + /// + /// Returns the first element of a sequence that satisfies a specified condition. + /// + /// The to return the first element of. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JToken First(this JArray source, string predicate, params object?[] args) + { + return First(source, NewtonsoftJsonParsingConfig.Default, predicate, args) ?? throw new InvalidOperationException(Res.SequenceContainsNoElements); + } + #endregion First + + #region FirstOrDefault + /// + /// Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. + /// + /// The to return the first element of. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// default if source is empty or if no element passes the test specified by predicate; otherwise, the first element in source that passes the test specified by predicate. + public static JToken? FirstOrDefault(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJToken(queryable.FirstOrDefault(predicate, args)); + } + + /// + /// Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. + /// + /// The to return the first element of. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// default if source is empty or if no element passes the test specified by predicate; otherwise, the first element in source that passes the test specified by predicate. + public static JToken? FirstOrDefault(this JArray source, string predicate, params object?[] args) + { + return FirstOrDefault(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + #endregion FirstOrDefault + + #region Last + /// + /// Returns the last element of a sequence that satisfies a specified condition. + /// + /// The to return the last element of. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JToken Last(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJToken(queryable.Last(predicate, args)) ?? throw new InvalidOperationException(Res.SequenceContainsNoElements); + } + + /// + /// Returns the last element of a sequence that satisfies a specified condition. + /// + /// The to return the last element of. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JToken Last(this JArray source, string predicate, params object?[] args) + { + return Last(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + #endregion Last + + #region LastOrDefault + /// + /// Returns the last element of a sequence that satisfies a specified condition, or a default value if the sequence contains no elements. + /// + /// The to return the last element of. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JToken? LastOrDefault(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJToken(queryable.LastOrDefault(predicate, args)); + } + + /// + /// Returns the last element of a sequence that satisfies a specified condition, or a default value if the sequence contains no elements. + /// + /// The to return the last element of. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JToken? LastOrDefault(this JArray source, string predicate, params object?[] args) + { + return LastOrDefault(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + #endregion LastOrDefault + + #region Max + /// + /// Computes the max element of a sequence. + /// + /// A sequence of values to calculate find the max for. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The max element in the sequence. + public static object Max(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return queryable.Max(config, predicate, args); + } + + /// + /// Computes the max element of a sequence. + /// + /// A sequence of values to calculate find the max for. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The max element in the sequence. + public static object Max(this JArray source, string predicate, params object?[] args) + { + return Max(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + #endregion Max + + #region Min + /// + /// Computes the min element of a sequence. + /// + /// A sequence of values to calculate find the min for. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The min element in the sequence. + public static object Min(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return queryable.Min(config, predicate, args); + } + + /// + /// Computes the min element of a sequence. + /// + /// A sequence of values to calculate find the min for. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The min element in the sequence. + public static object Min(this JArray source, string predicate, params object?[] args) + { + return Min(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + #endregion Min + + #region OrderBy + /// + /// Sorts the elements of a sequence in ascending or descending order according to a key. + /// + /// A sequence of values to order. + /// The . + /// An expression string to indicate values to order by. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// A whose elements are sorted according to the specified . + public static JArray OrderBy(this JArray source, NewtonsoftJsonParsingConfig config, string ordering, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(source); + Check.NotNullOrEmpty(ordering); + + var queryable = ToQueryable(source, config); + return ToJArray(() => queryable.OrderBy(config, ordering, args)); + } + + /// + /// Sorts the elements of a sequence in ascending or descending order according to a key. + /// + /// A sequence of values to order. + /// An expression string to indicate values to order by. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// A whose elements are sorted according to the specified . + public static JArray OrderBy(this JArray source, string ordering, params object?[] args) + { + return OrderBy(source, NewtonsoftJsonParsingConfig.Default, ordering, args); + } + + /// + /// Sorts the elements of a sequence in ascending or descending order according to a key. + /// + /// A sequence of values to order. + /// The . + /// An expression string to indicate values to order by. + /// The comparer to use. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// A whose elements are sorted according to the specified . + public static JArray OrderBy(this JArray source, NewtonsoftJsonParsingConfig config, string ordering, IComparer comparer, params object?[] args) + { + var queryable = ToQueryable(source, config); + return ToJArray(() => queryable.OrderBy(config, ordering, comparer, args)); + } + + /// + /// Sorts the elements of a sequence in ascending or descending order according to a key. + /// + /// A sequence of values to order. + /// An expression string to indicate values to order by. + /// The comparer to use. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// A whose elements are sorted according to the specified . + public static JArray OrderBy(this JArray source, string ordering, IComparer comparer, params object?[] args) + { + return OrderBy(source, NewtonsoftJsonParsingConfig.Default, ordering, comparer, args); + } + #endregion OrderBy + + #region Page/PageResult + /// + /// Returns the elements as paged. + /// + /// The source + /// The page to return. + /// The number of elements per page. + /// A that contains the paged elements. + public static JArray Page(this JArray source, int page, int pageSize) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJArray(() => queryable.Page(page, pageSize)); + } + + /// + /// Returns the elements as paged and include the CurrentPage, PageCount, PageSize and RowCount. + /// + /// The source + /// The page to return. + /// The number of elements per page. + /// If this optional parameter has been defined, this value is used as the RowCount instead of executing a Linq `Count()`. + /// PagedResult + public static PagedResult PageResult(this JArray source, int page, int pageSize, int? rowCount = null) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return queryable.PageResult(page, pageSize, rowCount); + } + #endregion Page/PageResult + + #region Select + /// + /// Projects each element of a sequence into a new form. + /// + /// A sequence of values to project. + /// A projection string expression to apply to each element. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An whose elements are the result of invoking a projection string on each element of source. + public static JArray Select(this JArray source, string selector, params object?[] args) + { + return Select(source, NewtonsoftJsonParsingConfig.Default, selector, args); + } + + /// + /// Projects each element of a sequence into a new form. + /// + /// A sequence of values to project. + /// The . + /// A projection string expression to apply to each element. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An whose elements are the result of invoking a projection string on each element of source. + public static JArray Select(this JArray source, NewtonsoftJsonParsingConfig config, string selector, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + Check.NotNullOrEmpty(selector); + + if (source.Count == 0) + { + return new JArray(); + } + + var queryable = ToQueryable(source, config); + return ToJArray(() => queryable.Select(config, selector, args)); + } + + /// + /// Projects each element of a sequence into a new class of type TResult. + /// Details see http://solutionizing.net/category/linq/ + /// + /// The source + /// The . + /// The result type. + /// A projection string expression to apply to each element. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// An whose elements are the result of invoking a projection string on each element of source. + public static JArray Select(this JArray source, NewtonsoftJsonParsingConfig config, Type resultType, string selector, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJArray(() => queryable.Select(config, resultType, selector, args)); + } + + /// + /// Projects each element of a sequence into a new class of type TResult. + /// Details see http://solutionizing.net/category/linq/ + /// + /// The source + /// The result type. + /// A projection string expression to apply to each element. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// An whose elements are the result of invoking a projection string on each element of source. + public static JArray Select(this JArray source, Type resultType, string selector, params object?[] args) + { + return Select(source, NewtonsoftJsonParsingConfig.Default, resultType, selector, args); + } + #endregion Select + + #region Single + /// + /// Returns the only element of a sequence that satisfies a specified condition, and throws an exception if there + /// is not exactly one element in the sequence. + /// + /// The to return the last element of. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JToken Single(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJToken(queryable.Single(predicate, args)) ?? throw new InvalidOperationException(Res.SequenceContainsNoElements); + } + + /// + /// Returns the only element of a sequence that satisfies a specified condition, and throws an exception if there + /// is not exactly one element in the sequence. + /// + /// The to return the last element of. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JToken Single(this JArray source, string predicate, params object?[] args) + { + return Single(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + #endregion Single + + #region SingleOrDefault + /// + /// Returns the only element of a sequence that satisfies a specified condition or a default value if the sequence + /// is empty; and throws an exception if there is not exactly one element in the sequence. + /// + /// The to return the last element of. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JToken? SingleOrDefault(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJToken(queryable.SingleOrDefault(predicate, args)); + } + + /// + /// Returns the only element of a sequence that satisfies a specified condition or a default value if the sequence + /// is empty; and throws an exception if there is not exactly one element in the sequence. + /// + /// The to return the last element of. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JToken? SingleOrDefault(this JArray source, string predicate, params object?[] args) + { + return SingleOrDefault(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + #endregion SingleOrDefault + + #region SkipWhile + /// + /// Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + /// + /// A to return elements from. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An that contains elements from source starting at the first element in the linear series that does not pass the test specified by predicate. + public static JArray SkipWhile(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source); + return ToJArray(() => queryable.SkipWhile(predicate, args)); + } + + /// + /// Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + /// + /// A to return elements from. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An that contains elements from source starting at the first element in the linear series that does not pass the test specified by predicate. + public static JArray SkipWhile(this JArray source, string predicate, params object?[] args) + { + return SkipWhile(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + #endregion SkipWhile + + #region TakeWhile + /// + /// Returns elements from a sequence as long as a specified condition is true. + /// + /// The sequence to return elements from. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An that contains elements from the input sequence occurring before the element at which the test specified by predicate no longer passes. + public static JArray TakeWhile(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source); + return ToJArray(() => queryable.TakeWhile(predicate, args)); + } + + /// + /// Returns elements from a sequence as long as a specified condition is true. + /// + /// The sequence to return elements from. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An that contains elements from the input sequence occurring before the element at which the test specified by predicate no longer passes. + public static JArray TakeWhile(this JArray source, string predicate, params object?[] args) + { + return TakeWhile(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + #endregion TakeWhile + + #region Where + /// + /// Filters a sequence of values based on a predicate. + /// + /// A to filter. + /// An expression string to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// A that contains elements from the input sequence that satisfy the condition specified by predicate. + public static JArray Where(this JArray source, string predicate, params object?[] args) + { + return Where(source, NewtonsoftJsonParsingConfig.Default, predicate, args); + } + + /// + /// Filters a sequence of values based on a predicate. + /// + /// A to filter. + /// The . + /// An expression string to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// A that contains elements from the input sequence that satisfy the condition specified by predicate. + public static JArray Where(this JArray source, NewtonsoftJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + Check.NotNullOrEmpty(predicate); + + if (source.Count == 0) + { + return new JArray(); + } + + var queryable = ToQueryable(source, config); + return ToJArray(() => queryable.Where(config, predicate, args)); + } + #endregion Where + + #region Private Methods + private static JToken? ToJToken(object? value) + { + if (value == null) + { + return null; + } + + if (value is JToken jToken) + { + return jToken; + } + + return JToken.FromObject(value); + } + + private static JArray ToJArray(Func func) + { + var array = new JArray(); + foreach (var dynamicElement in func()) + { + var element = dynamicElement is DynamicClass dynamicClass ? JObject.FromObject(dynamicClass) : dynamicElement; + array.Add(element); + } + + return array; + } + + private static IQueryable ToQueryable(JArray source, NewtonsoftJsonParsingConfig? config = null) + { + return source.ToDynamicJsonClassArray(config?.DynamicJsonClassOptions).AsQueryable(); + } + #endregion +} \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core.NewtonsoftJson/Properties/AssemblyInfo.cs b/src/System.Linq.Dynamic.Core.NewtonsoftJson/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..6139c4140 --- /dev/null +++ b/src/System.Linq.Dynamic.Core.NewtonsoftJson/Properties/AssemblyInfo.cs @@ -0,0 +1,3 @@ +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("System.Linq.Dynamic.Core.NewtonsoftJson.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001003daf4f4b7d160b1033de9a4a3275f4667a4558144296c3bb593aa0fd213dadf0ea4df5aa69e21763d409ada2a8f8925081bc2e81362be7916e22c624344309eba764edc4f8f84237ae053d2687ab3b888c9f4f3ff8a804bb5fee61e1ceadec97b08994580ef2df6bd7e077df4ad205c6d2bde479c512ab9be6ecc23c10694597")] \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core.NewtonsoftJson/System.Linq.Dynamic.Core.NewtonsoftJson.csproj b/src/System.Linq.Dynamic.Core.NewtonsoftJson/System.Linq.Dynamic.Core.NewtonsoftJson.csproj new file mode 100644 index 000000000..29643e62c --- /dev/null +++ b/src/System.Linq.Dynamic.Core.NewtonsoftJson/System.Linq.Dynamic.Core.NewtonsoftJson.csproj @@ -0,0 +1,33 @@ + + + + + ../System.Linq.Dynamic.Core/System.Linq.Dynamic.Core.snk + System.Linq.Dynamic.Core + Stef Heyenrath + Contains some extensions for System.Linq.Dynamic.Core to dynamically query a Newtonsoft.Json.JArray + system;linq;dynamic;core;dotnet;json + {8C5851B8-5C47-4229-AB55-D4252703598E} + net45;net452;net46;netstandard2.0;netstandard2.1;net6.0;net8.0;net9.0 + 1.4.$(PatchVersion) + + + + full + + + + portable + true + + + + + + + + + + + + \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core.SystemTextJson/Config/SystemTextJsonParsingConfig.cs b/src/System.Linq.Dynamic.Core.SystemTextJson/Config/SystemTextJsonParsingConfig.cs new file mode 100644 index 000000000..eb42ff6d2 --- /dev/null +++ b/src/System.Linq.Dynamic.Core.SystemTextJson/Config/SystemTextJsonParsingConfig.cs @@ -0,0 +1,12 @@ +namespace System.Linq.Dynamic.Core.SystemTextJson.Config; + +/// +/// Configuration class for System.Linq.Dynamic.Core.SystemTextJson which implements the . +/// +public class SystemTextJsonParsingConfig : ParsingConfig +{ + /// + /// The default ParsingConfig for . + /// + public new static SystemTextJsonParsingConfig Default { get; } = new(); +} \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core.SystemTextJson/Extensions/JsonDocumentExtensions.cs b/src/System.Linq.Dynamic.Core.SystemTextJson/Extensions/JsonDocumentExtensions.cs new file mode 100644 index 000000000..7daf15a56 --- /dev/null +++ b/src/System.Linq.Dynamic.Core.SystemTextJson/Extensions/JsonDocumentExtensions.cs @@ -0,0 +1,141 @@ +using System.Collections; +using System.Collections.Generic; +using System.Reflection; +using System.Text.Json; +using JsonConverter.Abstractions.Models; + +namespace System.Linq.Dynamic.Core.SystemTextJson.Extensions; + +internal static class JsonDocumentExtensions +{ + private class JTokenResolvers : Dictionary>; + + private static readonly JTokenResolvers Resolvers = new() + { + { JsonValueKind.Array, ConvertJsonElementToEnumerable }, + { JsonValueKind.False, (_, _) => false }, + { JsonValueKind.True, (_, _) => true }, + { JsonValueKind.Number, ConvertNumber }, + { JsonValueKind.Null, (_, _) => null }, + { JsonValueKind.Object, ConvertJsonElement }, + { JsonValueKind.String, ConvertString }, + { JsonValueKind.Undefined, (_, _) => null } + }; + + internal static DynamicClass? ToDynamicClass(this JsonElement? src, DynamicJsonClassOptions? options = null) + { + if (src == null) + { + return null; + } + + var dynamicPropertiesWithValue = new List(); + + foreach (var prop in src.Value.EnumerateObject()) + { + var value = Resolvers[prop.Value.ValueKind](prop.Value, options); + if (value != null) + { + dynamicPropertiesWithValue.Add(new DynamicPropertyWithValue(prop.Name, value)); + } + } + + return DynamicClassFactory.CreateInstance(dynamicPropertiesWithValue); + } + + public static IEnumerable ToDynamicJsonClassArray(this JsonElement? src, DynamicJsonClassOptions? options = null) + { + return src == null ? Array.Empty() : ConvertJsonElementToEnumerable(src.Value, options); + } + + private static object? ConvertJsonElement(JsonElement arg, DynamicJsonClassOptions? options = null) + { + return arg.ValueKind == JsonValueKind.Object ? ToDynamicClass(arg, options) : GetResolverFor(arg)(arg, options); + } + + private static object PassThrough(JsonElement arg, DynamicJsonClassOptions? options) + { + return arg; + } + + private static Func GetResolverFor(JsonElement arg) + { + return Resolvers.TryGetValue(arg.ValueKind, out var result) ? result : PassThrough; + } + + private static object? ConvertString(JsonElement arg, DynamicJsonClassOptions? options = null) + { + if (arg.TryGetGuid(out var guid)) + { + return guid; + } + + if (arg.TryGetDateTime(out var dt)) + { + return dt; + } + + return arg.GetString(); + } + + private static object ConvertNumber(JsonElement arg, DynamicJsonClassOptions? options = null) + { + if (arg.TryGetInt32(out var int32)) + { + return int32; + } + + if (arg.TryGetInt64(out var int64)) + { + return int64; + } + + if (arg.TryGetDouble(out var @double)) + { + return @double; + } + + if (arg.TryGetDecimal(out var @decimal)) + { + return @decimal; + } + + if (arg.TryGetByte(out var @byte)) + { + return @byte; + } + + throw new InvalidOperationException($"Unable to convert {nameof(JsonElement)} of type: {arg.ValueKind} to int, long, double, decimal or byte."); + } + + private static IEnumerable ConvertJsonElementToEnumerable(JsonElement arg, DynamicJsonClassOptions? options = null) + { + var result = new List(); + foreach (var item in arg.EnumerateArray()) + { + result.Add(ConvertJsonElement(item)); + } + + var distinctType = FindSameTypeOf(result); + return distinctType == null ? result.ToArray() : ConvertToTypedArray(result, distinctType); + } + + private static Type? FindSameTypeOf(IEnumerable src) + { + var types = src.Select(o => o?.GetType()).Distinct().OfType().ToArray(); + return types.Length == 1 ? types[0] : null; + } + + private static IEnumerable ConvertToTypedArray(IEnumerable src, Type newType) + { + var method = ConvertToTypedArrayGenericMethod.MakeGenericMethod(newType); + return (IEnumerable)method.Invoke(null, new object[] { src })!; + } + + private static readonly MethodInfo ConvertToTypedArrayGenericMethod = typeof(JsonDocumentExtensions).GetMethod(nameof(ConvertToTypedArrayGeneric), BindingFlags.NonPublic | BindingFlags.Static)!; + + private static T[] ConvertToTypedArrayGeneric(IEnumerable src) + { + return src.Cast().ToArray(); + } +} diff --git a/src/System.Linq.Dynamic.Core.SystemTextJson/Properties/AssemblyInfo.cs b/src/System.Linq.Dynamic.Core.SystemTextJson/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..ac5e7f265 --- /dev/null +++ b/src/System.Linq.Dynamic.Core.SystemTextJson/Properties/AssemblyInfo.cs @@ -0,0 +1,3 @@ +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("System.Linq.Dynamic.Core.SystemTextJson.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001003daf4f4b7d160b1033de9a4a3275f4667a4558144296c3bb593aa0fd213dadf0ea4df5aa69e21763d409ada2a8f8925081bc2e81362be7916e22c624344309eba764edc4f8f84237ae053d2687ab3b888c9f4f3ff8a804bb5fee61e1ceadec97b08994580ef2df6bd7e077df4ad205c6d2bde479c512ab9be6ecc23c10694597")] \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core.SystemTextJson/System.Linq.Dynamic.Core.SystemTextJson.csproj b/src/System.Linq.Dynamic.Core.SystemTextJson/System.Linq.Dynamic.Core.SystemTextJson.csproj new file mode 100644 index 000000000..ad8c36d4b --- /dev/null +++ b/src/System.Linq.Dynamic.Core.SystemTextJson/System.Linq.Dynamic.Core.SystemTextJson.csproj @@ -0,0 +1,33 @@ + + + + + ../System.Linq.Dynamic.Core/System.Linq.Dynamic.Core.snk + System.Linq.Dynamic.Core + Stef Heyenrath + Contains some extensions for System.Linq.Dynamic.Core to dynamically query a System.Text.Json.JsonDocument + system;linq;dynamic;core;dotnet;json + {FA01CE15-315A-499E-AFC2-955CA7EB45FF} + netstandard2.0;netstandard2.1;net6.0;net8.0;net9.0 + 1.4.$(PatchVersion) + + + + full + + + + portable + true + + + + + + + + + + + + \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core.SystemTextJson/SystemTextJsonExtensions.cs b/src/System.Linq.Dynamic.Core.SystemTextJson/SystemTextJsonExtensions.cs new file mode 100644 index 000000000..48ccc5819 --- /dev/null +++ b/src/System.Linq.Dynamic.Core.SystemTextJson/SystemTextJsonExtensions.cs @@ -0,0 +1,1027 @@ +using System.Collections; +using System.Collections.Generic; +using System.Linq.Dynamic.Core.SystemTextJson.Config; +using System.Linq.Dynamic.Core.SystemTextJson.Extensions; +using System.Linq.Dynamic.Core.SystemTextJson.Utils; +using System.Linq.Dynamic.Core.Validation; +using System.Linq.Expressions; +using System.Text.Json; + +namespace System.Linq.Dynamic.Core.SystemTextJson; + +/// +/// Extension methods for . +/// +public static class SystemTextJsonExtensions +{ + #region Aggregate + /// + /// Dynamically runs an aggregate function on the >. + /// + /// The > data source. + /// The name of the function to run. Can be Sum, Average, Min or Max. + /// The name of the property to aggregate over. + /// The value of the aggregate function run over the specified property. + public static object Aggregate(this JsonDocument source, string function, string member) + { + Check.NotNull(source); + Check.NotEmpty(function); + Check.NotEmpty(member); + + var queryable = ToQueryable(source); + return queryable.Aggregate(function, member); + } + #endregion Aggregate + + #region All + /// + /// Determines whether all the elements of a sequence satisfy a condition. + /// + /// The source + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. + public static bool All(this JsonDocument source, string predicate, params object?[] args) + { + return All(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + + /// + /// Determines whether all the elements of a sequence satisfy a condition. + /// + /// The source + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false. + public static bool All(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return queryable.All(config, predicate, args); + } + #endregion All + + #region Any + /// + /// Determines whether a sequence contains any elements. + /// + /// The source + /// true if the source sequence contains any elements; otherwise, false. + public static bool Any(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return queryable.Any(); + } + + /// + /// Determines whether a sequence contains any elements. + /// + /// The source + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// true if the source sequence contains any elements; otherwise, false. + public static bool Any(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return queryable.Any(config, predicate, args); + } + + /// + /// Determines whether a sequence contains any elements. + /// + /// The source + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// true if the source sequence contains any elements; otherwise, false. + public static bool Any(this JsonDocument source, string predicate, params object?[] args) + { + return Any(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion Any + + #region Average + /// + /// Computes the average of a sequence of numeric values. + /// + /// The source + /// The average of the values in the sequence. + public static double Average(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return queryable.Average(); + } + + /// + /// Computes the average of a sequence of numeric values. + /// + /// The source + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// The average of the values in the sequence. + public static double Average(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + Check.NotEmpty(predicate); + + var queryable = ToQueryable(source, config); + return queryable.Average(config, predicate, args); + } + + /// + /// Computes the average of a sequence of numeric values. + /// + /// The source + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// The average of the values in the sequence. + public static double Average(this JsonDocument source, string predicate, params object?[] args) + { + return Average(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion Average + + #region Cast + /// + /// Converts the elements of an to the specified type. + /// + /// The that contains the elements to be converted. + /// The type to convert the elements of source to. + /// An that contains each element of the source sequence converted to the specified type. + public static IQueryable Cast(this JsonDocument source, Type type) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return queryable.Cast(type); + } + + /// + /// Converts the elements of an to the specified type. + /// + /// The that contains the elements to be converted. + /// The . + /// The type to convert the elements of source to. + /// An that contains each element of the source sequence converted to the specified type. + public static IQueryable Cast(this JsonDocument source, SystemTextJsonParsingConfig config, string typeName) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return queryable.Cast(typeName); + } + + /// + /// Converts the elements of an to the specified type. + /// + /// The that contains the elements to be converted. + /// The type to convert the elements of source to. + /// An that contains each element of the source sequence converted to the specified type. + public static IQueryable Cast(this JsonDocument source, string typeName) + { + return Cast(source, SystemTextJsonParsingConfig.Default, typeName); + } + #endregion Cast + + #region Count + /// + /// Returns the number of elements in a sequence. + /// + /// The that contains the elements to be counted. + /// The number of elements in the input sequence. + public static int Count(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return queryable.Count(); + } + + /// + /// Returns the number of elements in a sequence. + /// + /// The that contains the elements to be counted. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The number of elements in the specified sequence that satisfies a condition. + public static int Count(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return queryable.Count(config, predicate, args); + } + + /// + /// Returns the number of elements in a sequence. + /// + /// The that contains the elements to be counted. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The number of elements in the specified sequence that satisfies a condition. + public static int Count(this JsonDocument source, string predicate, params object?[] args) + { + return Count(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion Count + + #region DefaultIfEmpty + /// + /// Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty. + /// + /// The to return a default value for if empty. + /// An that contains default if source is empty; otherwise, source. + public static JsonDocument DefaultIfEmpty(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJsonDocumentArray(queryable.DefaultIfEmpty); + } + + /// + /// Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty. + /// + /// The to return a default value for if empty. + /// The value to return if the sequence is empty. + /// An that contains defaultValue if source is empty; otherwise, source. + public static JsonDocument DefaultIfEmpty(this JsonDocument source, object? defaultValue) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJsonDocumentArray(() => queryable.DefaultIfEmpty(defaultValue)); + } + #endregion + + #region Distinct + /// + /// Returns distinct elements from a sequence by using the default equality comparer to compare values. + /// + /// The sequence to remove duplicate elements from. + /// An that contains distinct elements from the source sequence. + public static JsonDocument Distinct(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJsonDocumentArray(queryable.Distinct); + } + #endregion Distinct + + #region First + /// + /// Returns the first element of a sequence. + /// + /// The to return the first element of. + /// The first element in source. + public static JsonElement First(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJsonElement(queryable.First()) ?? throw new InvalidOperationException(Res.SequenceContainsNoElements); + } + + /// + /// Returns the first element of a sequence that satisfies a specified condition. + /// + /// The to return the first element of. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JsonElement First(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJsonElement(queryable.First(config, predicate, args)) ?? throw new InvalidOperationException(Res.SequenceContainsNoElements); + } + + /// + /// Returns the first element of a sequence that satisfies a specified condition. + /// + /// The to return the first element of. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JsonElement First(this JsonDocument source, string predicate, params object?[] args) + { + return First(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion First + + #region FirstOrDefault + /// + /// Returns the first element of a sequence, or a default value if the sequence contains no elements. + /// + /// The to return the first element of. + /// default if source is empty; otherwise, the first element in source. + public static JsonElement? FirstOrDefault(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJsonElement(queryable.FirstOrDefault()); + } + + /// + /// Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. + /// + /// The to return the first element of. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// default if source is empty or if no element passes the test specified by predicate; otherwise, the first element in source that passes the test specified by predicate. + public static JsonElement? FirstOrDefault(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJsonElement(queryable.FirstOrDefault(predicate, args)); + } + + /// + /// Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. + /// + /// The to return the first element of. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// default if source is empty or if no element passes the test specified by predicate; otherwise, the first element in source that passes the test specified by predicate. + public static JsonElement? FirstOrDefault(this JsonDocument source, string predicate, params object?[] args) + { + return FirstOrDefault(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion FirstOrDefault + + #region Last + /// + /// Returns the last element of a sequence. + /// + /// The to return the last element of. + /// The last element in source. + public static JsonElement Last(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJsonElement(queryable.Last()) ?? throw new InvalidOperationException(Res.SequenceContainsNoElements); + } + + /// + /// Returns the last element of a sequence that satisfies a specified condition. + /// + /// The to return the last element of. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JsonElement Last(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJsonElement(queryable.Last(predicate, args)) ?? throw new InvalidOperationException(Res.SequenceContainsNoElements); + } + + /// + /// Returns the last element of a sequence that satisfies a specified condition. + /// + /// The to return the last element of. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JsonElement Last(this JsonDocument source, string predicate, params object?[] args) + { + return Last(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion Last + + #region LastOrDefault + /// + /// Returns the last element of a sequence, or a default value if the sequence contains no elements. + /// + /// The to return the last element of. + /// default if source is empty; otherwise, the last element in source. + public static JsonElement? LastOrDefault(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJsonElement(queryable.LastOrDefault()); + } + + /// + /// Returns the last element of a sequence that satisfies a specified condition, or a default value if the sequence contains no elements. + /// + /// The to return the last element of. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JsonElement? LastOrDefault(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJsonElement(queryable.LastOrDefault(config, predicate, args)); + } + + /// + /// Returns the last element of a sequence that satisfies a specified condition, or a default value if the sequence contains no elements. + /// + /// The to return the last element of. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JsonElement? LastOrDefault(this JsonDocument source, string predicate, params object?[] args) + { + return LastOrDefault(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion LastOrDefault + + #region Max + /// + /// Computes the max element of a sequence. + /// + /// A sequence of values to calculate find the max for. + /// The max element in the sequence. + public static object Max(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return queryable.Max(); + } + + /// + /// Computes the max element of a sequence. + /// + /// A sequence of values to calculate find the max for. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The max element in the sequence. + public static object Max(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return queryable.Max(config, predicate, args); + } + + /// + /// Computes the max element of a sequence. + /// + /// A sequence of values to calculate find the max for. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The max element in the sequence. + public static object Max(this JsonDocument source, string predicate, params object?[] args) + { + return Max(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion Max + + #region Min + /// + /// Computes the min element of a sequence. + /// + /// A sequence of values to calculate find the min for. + /// The min element in the sequence. + public static object Min(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return queryable.Min(); + } + + /// + /// Computes the min element of a sequence. + /// + /// A sequence of values to calculate find the min for. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The min element in the sequence. + public static object Min(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return queryable.Min(config, predicate, args); + } + + /// + /// Computes the min element of a sequence. + /// + /// A sequence of values to calculate find the min for. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The min element in the sequence. + public static object Min(this JsonDocument source, string predicate, params object?[] args) + { + return Min(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion Min + + #region OrderBy + /// + /// Sorts the elements of a sequence in ascending or descending order according to a key. + /// + /// A sequence of values to order. + /// The . + /// An expression string to indicate values to order by. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// A whose elements are sorted according to the specified . + public static JsonDocument OrderBy(this JsonDocument source, SystemTextJsonParsingConfig config, string ordering, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(source); + Check.NotNullOrEmpty(ordering); + + var queryable = ToQueryable(source, config); + return ToJsonDocumentArray(() => queryable.OrderBy(config, ordering, args)); + } + + /// + /// Sorts the elements of a sequence in ascending or descending order according to a key. + /// + /// A sequence of values to order. + /// An expression string to indicate values to order by. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// A whose elements are sorted according to the specified . + public static JsonDocument OrderBy(this JsonDocument source, string ordering, params object?[] args) + { + return OrderBy(source, SystemTextJsonParsingConfig.Default, ordering, args); + } + + /// + /// Sorts the elements of a sequence in ascending or descending order according to a key. + /// + /// A sequence of values to order. + /// The . + /// An expression string to indicate values to order by. + /// The comparer to use. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// A whose elements are sorted according to the specified . + public static JsonDocument OrderBy(this JsonDocument source, SystemTextJsonParsingConfig config, string ordering, IComparer comparer, params object?[] args) + { + var queryable = ToQueryable(source, config); + return ToJsonDocumentArray(() => queryable.OrderBy(config, ordering, comparer, args)); + } + + /// + /// Sorts the elements of a sequence in ascending or descending order according to a key. + /// + /// A sequence of values to order. + /// An expression string to indicate values to order by. + /// The comparer to use. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// A whose elements are sorted according to the specified . + public static JsonDocument OrderBy(this JsonDocument source, string ordering, IComparer comparer, params object?[] args) + { + return OrderBy(source, SystemTextJsonParsingConfig.Default, ordering, comparer, args); + } + #endregion OrderBy + + #region Page/PageResult + /// + /// Returns the elements as paged. + /// + /// The source + /// The page to return. + /// The number of elements per page. + /// A that contains the paged elements. + public static JsonDocument Page(this JsonDocument source, int page, int pageSize) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJsonDocumentArray(() => queryable.Page(page, pageSize)); + } + + /// + /// Returns the elements as paged and include the CurrentPage, PageCount, PageSize and RowCount. + /// + /// The source + /// The page to return. + /// The number of elements per page. + /// If this optional parameter has been defined, this value is used as the RowCount instead of executing a Linq `Count()`. + /// PagedResult + public static PagedResult PageResult(this JsonDocument source, int page, int pageSize, int? rowCount = null) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return queryable.PageResult(page, pageSize, rowCount); + } + #endregion Page/PageResult + + #region Reverse + /// + /// Inverts the order of the elements in a sequence. + /// + /// The source + /// A whose elements correspond to those of the input sequence in reverse order. + public static JsonDocument Reverse(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJsonDocumentArray(() => queryable.Reverse()); + } + #endregion Reverse + + #region Select + /// + /// Projects each element of a sequence into a new form. + /// + /// The source + /// A projection string expression to apply to each element. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// An whose elements are the result of invoking a projection string on each element of source. + public static JsonDocument Select(this JsonDocument source, string selector, params object?[] args) + { + return Select(source, SystemTextJsonParsingConfig.Default, selector, args); + } + + /// + /// Projects each element of a sequence into a new form. + /// + /// The source + /// The . + /// A projection string expression to apply to each element. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// An whose elements are the result of invoking a projection string on each element of source. + public static JsonDocument Select(this JsonDocument source, SystemTextJsonParsingConfig config, string selector, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + Check.NotNullOrEmpty(selector); + + var queryable = ToQueryable(source, config); + return ToJsonDocumentArray(() => queryable.Select(config, selector, args)); + } + + /// + /// Projects each element of a sequence into a new class of type TResult. + /// Details see http://solutionizing.net/category/linq/ + /// + /// The source + /// The . + /// The result type. + /// A projection string expression to apply to each element. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// An whose elements are the result of invoking a projection string on each element of source. + public static JsonDocument Select(this JsonDocument source, SystemTextJsonParsingConfig config, Type resultType, string selector, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJsonDocumentArray(() => queryable.Select(config, resultType, selector, args)); + } + + /// + /// Projects each element of a sequence into a new class of type TResult. + /// Details see http://solutionizing.net/category/linq/ + /// + /// The source + /// The result type. + /// A projection string expression to apply to each element. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// An whose elements are the result of invoking a projection string on each element of source. + public static JsonDocument Select(this JsonDocument source, Type resultType, string selector, params object?[] args) + { + return Select(source, SystemTextJsonParsingConfig.Default, resultType, selector, args); + } + #endregion Select + + #region Single + /// + /// Returns the only element of a sequence, and throws an exception if there + /// is not exactly one element in the sequence. + /// + /// A to return the single element of. + /// The single element of the input sequence. + public static JsonElement Single(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJsonElement(queryable.Single()) ?? throw new InvalidOperationException(Res.SequenceContainsNoElements); + } + + /// + /// Returns the only element of a sequence that satisfies a specified condition, and throws an exception if there + /// is not exactly one element in the sequence. + /// + /// The to return the last element of. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JsonElement Single(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJsonElement(queryable.Single(predicate, args)) ?? throw new InvalidOperationException(Res.SequenceContainsNoElements); + } + + /// + /// Returns the only element of a sequence that satisfies a specified condition, and throws an exception if there + /// is not exactly one element in the sequence. + /// + /// The to return the last element of. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JsonElement Single(this JsonDocument source, string predicate, params object?[] args) + { + return Single(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion Single + + #region SingleOrDefault + /// + /// Returns the only element of a sequence, or a default value if the sequence + /// is empty; this method throws an exception if there is more than one element + /// in the sequence. + /// + /// A to return the single element of. + /// The single element of the input sequence, or default if the sequence contains no elements. + public static JsonElement? SingleOrDefault(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJsonElement(queryable.SingleOrDefault()); + } + + /// + /// Returns the only element of a sequence that satisfies a specified condition or a default value if the sequence + /// is empty; and throws an exception if there is not exactly one element in the sequence. + /// + /// The to return the last element of. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JsonElement? SingleOrDefault(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJsonElement(queryable.SingleOrDefault(predicate, args)); + } + + /// + /// Returns the only element of a sequence that satisfies a specified condition or a default value if the sequence + /// is empty; and throws an exception if there is not exactly one element in the sequence. + /// + /// The to return the last element of. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The first element in source that passes the test in predicate. + public static JsonElement? SingleOrDefault(this JsonDocument source, string predicate, params object?[] args) + { + return SingleOrDefault(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion SingleOrDefault + + #region Skip + /// + /// Bypasses a specified number of elements in a sequence and then returns the remaining elements. + /// + /// A to return elements from. + /// The number of elements to skip before returning the remaining elements. + /// A that contains elements that occur after the specified index in the input sequence. + public static JsonDocument Skip(this JsonDocument source, int count) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJsonDocumentArray(() => queryable.Skip(count)); + } + #endregion Skip + + #region SkipWhile + /// + /// Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + /// + /// A to return elements from. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An that contains elements from source starting at the first element in the linear series that does not pass the test specified by predicate. + public static JsonDocument SkipWhile(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source); + return ToJsonDocumentArray(() => queryable.SkipWhile(predicate, args)); + } + + /// + /// Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. + /// + /// A to return elements from. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An that contains elements from source starting at the first element in the linear series that does not pass the test specified by predicate. + public static JsonDocument SkipWhile(this JsonDocument source, string predicate, params object?[] args) + { + return SkipWhile(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion SkipWhile + + #region Sum + /// + /// Computes the sum of a sequence of numeric values. + /// + /// A sequence of numeric values to calculate the sum of. + /// The sum of the values in the sequence. + public static object Sum(this JsonDocument source) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return queryable.Sum(); + } + + /// + /// Computes the sum of a sequence of numeric values. + /// + /// A sequence of numeric values to calculate the sum of. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The sum of the values in the sequence. + public static object Sum(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return queryable.Sum(predicate, args); + } + + /// + /// Computes the sum of a sequence of numeric values. + /// + /// A sequence of numeric values to calculate the sum of. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// The sum of the values in the sequence. + public static object Sum(this JsonDocument source, string predicate, params object?[] args) + { + return Sum(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion Sum + + #region Take + /// + /// Returns a specified number of contiguous elements from the start of a sequence. + /// + /// The sequence to return elements from. + /// The number of elements to return. + /// A that contains the specified number of elements from the start of source. + public static JsonDocument Take(this JsonDocument source, int count) + { + Check.NotNull(source); + + var queryable = ToQueryable(source); + return ToJsonDocumentArray(() => queryable.Take(count)); + } + #endregion Take + + #region TakeWhile + /// + /// Returns elements from a sequence as long as a specified condition is true. + /// + /// The sequence to return elements from. + /// The . + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An that contains elements from the input sequence occurring before the element at which the test specified by predicate no longer passes. + public static JsonDocument TakeWhile(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source); + return ToJsonDocumentArray(() => queryable.TakeWhile(predicate, args)); + } + + /// + /// Returns elements from a sequence as long as a specified condition is true. + /// + /// The sequence to return elements from. + /// A function to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An that contains elements from the input sequence occurring before the element at which the test specified by predicate no longer passes. + public static JsonDocument TakeWhile(this JsonDocument source, string predicate, params object?[] args) + { + return TakeWhile(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + #endregion TakeWhile + + #region Where + /// + /// Filters a sequence of values based on a predicate. + /// + /// The source + /// An expression string to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// A that contains elements from the input sequence that satisfy the condition specified by predicate. + public static JsonDocument Where(this JsonDocument source, string predicate, params object?[] args) + { + return Where(source, SystemTextJsonParsingConfig.Default, predicate, args); + } + + /// + /// Filters a sequence of values based on a predicate. + /// + /// The source + /// The . + /// An expression string to test each element for a condition. + /// An object array that contains zero or more objects to insert into the predicate as parameters. + /// A that contains elements from the input sequence that satisfy the condition specified by predicate. + public static JsonDocument Where(this JsonDocument source, SystemTextJsonParsingConfig config, string predicate, params object?[] args) + { + Check.NotNull(source); + Check.NotNull(config); + + var queryable = ToQueryable(source, config); + return ToJsonDocumentArray(() => queryable.Where(config, predicate, args)); + } + #endregion Where + + #region Private Methods + private static JsonElement? ToJsonElement(object? value) + { + if (value == null) + { + return null; + } + + if (value is JsonElement jsonElement) + { + return jsonElement; + } + + return JsonElementUtils.FromObject(value); + } + + private static JsonDocument ToJsonDocumentArray(Func func) + { + var array = new List(); + foreach (var dynamicElement in func()) + { + array.Add(ToJsonElement(dynamicElement)); + } + + return JsonDocumentUtils.FromObject(array); + } + + // ReSharper disable once UnusedParameter.Local + private static IQueryable ToQueryable(JsonDocument source, SystemTextJsonParsingConfig? config = null) + { + var array = source.RootElement; + if (array.ValueKind != JsonValueKind.Array) + { + throw new NotSupportedException("The source is not a JSON array."); + } + + return JsonDocumentExtensions.ToDynamicJsonClassArray(array).AsQueryable(); + } + #endregion +} \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core.SystemTextJson/Utils/JsonDocumentUtils.cs b/src/System.Linq.Dynamic.Core.SystemTextJson/Utils/JsonDocumentUtils.cs new file mode 100644 index 000000000..48206885f --- /dev/null +++ b/src/System.Linq.Dynamic.Core.SystemTextJson/Utils/JsonDocumentUtils.cs @@ -0,0 +1,13 @@ +using System.Text.Json; + +namespace System.Linq.Dynamic.Core.SystemTextJson.Utils; + +internal static class JsonDocumentUtils +{ + internal static JsonDocument FromObject(object value) + { + var jsonString = JsonSerializer.Serialize(value); + + return JsonDocument.Parse(jsonString); + } +} \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core.SystemTextJson/Utils/JsonElementUtils.cs b/src/System.Linq.Dynamic.Core.SystemTextJson/Utils/JsonElementUtils.cs new file mode 100644 index 000000000..1d89aa7bd --- /dev/null +++ b/src/System.Linq.Dynamic.Core.SystemTextJson/Utils/JsonElementUtils.cs @@ -0,0 +1,15 @@ +using System.Text.Json; + +namespace System.Linq.Dynamic.Core.SystemTextJson.Utils; + +internal static class JsonElementUtils +{ + internal static JsonElement FromObject(object value) + { + var jsonString = JsonSerializer.Serialize(value); + + var doc = JsonDocument.Parse(jsonString); + + return doc.RootElement; + } +} \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core/DynamicClassFactory.cs b/src/System.Linq.Dynamic.Core/DynamicClassFactory.cs index d4ce70653..0dc61889b 100644 --- a/src/System.Linq.Dynamic.Core/DynamicClassFactory.cs +++ b/src/System.Linq.Dynamic.Core/DynamicClassFactory.cs @@ -176,6 +176,24 @@ public static Type CreateType(IList properties, bool createPara return type; } + /// + /// Create an instance of a based on a list of . + /// + /// The dynamic properties including the value you want to set in the generated instance. + /// Create a constructor with parameters. Default set to true. Note that for Linq-to-Database objects, this needs to be set to false. + /// Instance of a . + public static DynamicClass CreateInstance(IList dynamicPropertiesWithValue, bool createParameterCtor = true) + { + var type = CreateType(dynamicPropertiesWithValue.Cast().ToArray(), createParameterCtor); + var dynamicClass = (DynamicClass)Activator.CreateInstance(type)!; + foreach (var dynamicPropertyWithValue in dynamicPropertiesWithValue.Where(p => p.Value != null)) + { + dynamicClass.SetDynamicPropertyValue(dynamicPropertyWithValue.Name, dynamicPropertyWithValue.Value!); + } + + return dynamicClass; + } + private static Type EmitType(IList properties, bool createParameterCtor) { var typeIndex = Interlocked.Increment(ref _index); diff --git a/src/System.Linq.Dynamic.Core/DynamicProperty.cs b/src/System.Linq.Dynamic.Core/DynamicProperty.cs index 10939f49d..15922b867 100644 --- a/src/System.Linq.Dynamic.Core/DynamicProperty.cs +++ b/src/System.Linq.Dynamic.Core/DynamicProperty.cs @@ -1,35 +1,34 @@ -namespace System.Linq.Dynamic.Core +namespace System.Linq.Dynamic.Core; + +/// +/// DynamicProperty +/// +public class DynamicProperty { /// - /// DynamicProperty + /// Initializes a new instance of the class. /// - public class DynamicProperty + /// The name from the property. + /// The type from the property. + public DynamicProperty(string name, Type type) { - /// - /// Initializes a new instance of the class. - /// - /// The name from the property. - /// The type from the property. - public DynamicProperty(string name, Type type) - { - Name = name; - Type = type; - } + Name = name; + Type = type; + } - /// - /// Gets the name from the property. - /// - /// - /// The name from the property. - /// - public string Name { get; } + /// + /// Gets the name from the property. + /// + /// + /// The name from the property. + /// + public string Name { get; } - /// - /// Gets the type from the property. - /// - /// - /// The type from the property. - /// - public Type Type { get; } - } + /// + /// Gets the type from the property. + /// + /// + /// The type from the property. + /// + public Type Type { get; } } \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core/DynamicPropertyWithValue.cs b/src/System.Linq.Dynamic.Core/DynamicPropertyWithValue.cs new file mode 100644 index 000000000..8b61e76ac --- /dev/null +++ b/src/System.Linq.Dynamic.Core/DynamicPropertyWithValue.cs @@ -0,0 +1,22 @@ +namespace System.Linq.Dynamic.Core; + +/// +/// DynamicPropertyWithValue +/// +public class DynamicPropertyWithValue : DynamicProperty +{ + /// + /// Gets the value from the property. + /// + public object? Value { get; } + + /// + /// Initializes a new instance of the class. + /// + /// The name from the property. + /// The value from the property. + public DynamicPropertyWithValue(string name, object? value) : base(name, value?.GetType() ?? typeof(object)) + { + Value = value; + } +} \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core/DynamicQueryableExtensions.cs b/src/System.Linq.Dynamic.Core/DynamicQueryableExtensions.cs index 1c5af49ad..9768b1eca 100644 --- a/src/System.Linq.Dynamic.Core/DynamicQueryableExtensions.cs +++ b/src/System.Linq.Dynamic.Core/DynamicQueryableExtensions.cs @@ -641,7 +641,7 @@ public static dynamic FirstOrDefault(this IQueryable source, LambdaExpression la /// The . /// A string expression to specify the key for each element. /// A string expression to specify a result value from each group. - /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. /// A where each element represents a projection over a group and its key. /// /// @@ -664,7 +664,7 @@ public static IQueryable GroupBy(this IQueryable source, ParsingConfig config, s /// A string expression to specify the key for each element. /// A string expression to specify a result value from each group. /// The comparer to use. - /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. /// A where each element represents a projection over a group and its key. public static IQueryable GroupBy(this IQueryable source, ParsingConfig config, string keySelector, string resultSelector, IEqualityComparer? equalityComparer, object[]? args) { @@ -979,7 +979,7 @@ public static IQueryable GroupJoin(this IQueryable outer, IEnumerable inner, str /// A dynamic function to extract the join key from each element of the first sequence. /// A dynamic function to extract the join key from each element of the second sequence. /// A dynamic function to create a result element from two matching elements. - /// An object array that contains zero or more objects to insert into the predicates as parameters. Similar to the way String.Format formats strings. + /// An object array that contains zero or more objects to insert into the predicates as parameters. Similar to the way String.Format formats strings. /// An obtained by performing an inner join on two sequences. public static IQueryable Join(this IQueryable outer, ParsingConfig config, IEnumerable inner, string outerKeySelector, string innerKeySelector, string resultSelector, params object?[] args) { @@ -1038,7 +1038,7 @@ public static IQueryable Join(this IQueryable outer, IEnumerable inner, string o /// A dynamic function to extract the join key from each element of the first sequence. /// A dynamic function to extract the join key from each element of the second sequence. /// A dynamic function to create a result element from two matching elements. - /// An object array that contains zero or more objects to insert into the predicates as parameters. Similar to the way String.Format formats strings. + /// An object array that contains zero or more objects to insert into the predicates as parameters. Similar to the way String.Format formats strings. /// This overload only works on elements where both sequences and the resulting element match. /// An that has elements of type TResult obtained by performing an inner join on two sequences. public static IQueryable Join(this IQueryable outer, ParsingConfig config, IEnumerable inner, string outerKeySelector, string innerKeySelector, string resultSelector, params object?[] args) @@ -1527,7 +1527,7 @@ public static IOrderedQueryable OrderBy(this IQueryableA sequence of values to order. /// The . /// An expression string to indicate values to order by. - /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. /// A whose elements are sorted according to the specified . /// /// @@ -1553,13 +1553,25 @@ public static IOrderedQueryable OrderBy(this IQueryable source, ParsingConfig co /// The . /// An expression string to indicate values to order by. /// The comparer to use. - /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. /// A whose elements are sorted according to the specified . public static IOrderedQueryable OrderBy(this IQueryable source, ParsingConfig config, string ordering, IComparer comparer, params object?[] args) { return InternalOrderBy(source, config, ordering, comparer, args); } + /// + public static IOrderedQueryable OrderBy(this IQueryable source, string ordering, params object?[] args) + { + return OrderBy(source, ParsingConfig.Default, ordering, args); + } + + /// + public static IOrderedQueryable OrderBy(this IQueryable source, string ordering, IComparer comparer, params object?[] args) + { + return OrderBy(source, ParsingConfig.Default, ordering, comparer, args); + } + internal static IOrderedQueryable InternalOrderBy(IQueryable source, ParsingConfig config, string ordering, object? comparer, params object?[] args) { Check.NotNull(source); @@ -1611,19 +1623,6 @@ internal static IOrderedQueryable InternalOrderBy(IQueryable source, ParsingConf var optimized = OptimizeExpression(queryExpr); return (IOrderedQueryable)source.Provider.CreateQuery(optimized); } - - /// - public static IOrderedQueryable OrderBy(this IQueryable source, string ordering, params object?[] args) - { - return OrderBy(source, ParsingConfig.Default, ordering, args); - } - - /// - public static IOrderedQueryable OrderBy(this IQueryable source, string ordering, IComparer comparer, params object?[] args) - { - return OrderBy(source, ParsingConfig.Default, ordering, comparer, args); - } - #endregion OrderBy #region Page/PageResult @@ -1739,7 +1738,7 @@ public static IQueryable Reverse(this IQueryable source) /// A sequence of values to project. /// The . /// A projection string expression to apply to each element. - /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. /// An whose elements are the result of invoking a projection string on each element of source. /// /// @@ -1751,7 +1750,7 @@ public static IQueryable Select(this IQueryable source, ParsingConfig config, st { Check.NotNull(source); Check.NotNull(config); - Check.NotEmpty(selector, nameof(selector)); + Check.NotEmpty(selector); bool createParameterCtor = config.EvaluateGroupByAtDatabase || SupportsLinqToObjects(config, source); LambdaExpression lambda = DynamicExpressionParser.ParseLambda(config, createParameterCtor, source.ElementType, null, selector, args); @@ -1792,7 +1791,7 @@ public static IQueryable Select(this IQueryable source, Parsin { Check.NotNull(source); Check.NotNull(config); - Check.NotEmpty(selector, nameof(selector)); + Check.NotEmpty(selector); bool createParameterCtor = config.EvaluateGroupByAtDatabase || SupportsLinqToObjects(config, source); LambdaExpression lambda = DynamicExpressionParser.ParseLambda(config, createParameterCtor, source.ElementType, typeof(TResult), selector, args); @@ -1836,7 +1835,7 @@ public static IQueryable Select(this IQueryable source, ParsingConfig config, Ty Check.NotNull(source); Check.NotNull(config); Check.NotNull(resultType, nameof(resultType)); - Check.NotEmpty(selector, nameof(selector)); + Check.NotEmpty(selector); bool createParameterCtor = config.EvaluateGroupByAtDatabase || SupportsLinqToObjects(config, source); LambdaExpression lambda = DynamicExpressionParser.ParseLambda(config, createParameterCtor, source.ElementType, resultType, selector, args); @@ -1854,7 +1853,6 @@ public static IQueryable Select(this IQueryable source, Type resultType, string { return Select(source, ParsingConfig.Default, resultType, selector, args); } - #endregion Select #region SelectMany @@ -1864,7 +1862,7 @@ public static IQueryable Select(this IQueryable source, Type resultType, string /// A sequence of values to project. /// The . /// A projection string expression to apply to each element. - /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. /// An whose elements are the result of invoking a one-to-many projection function on each element of the input sequence. /// /// @@ -1901,7 +1899,7 @@ public static IQueryable SelectMany(this IQueryable source, ParsingConfig config Check.NotNull(source); Check.NotNull(config); Check.NotNull(resultType, nameof(resultType)); - Check.NotEmpty(selector, nameof(selector)); + Check.NotEmpty(selector); return SelectManyInternal(source, config, resultType, selector, args); } @@ -1972,7 +1970,7 @@ public static IQueryable SelectMany(this IQueryable source, Pa { Check.NotNull(source); Check.NotNull(config); - Check.NotEmpty(selector, nameof(selector)); + Check.NotEmpty(selector); bool createParameterCtor = config.EvaluateGroupByAtDatabase || SupportsLinqToObjects(config, source); LambdaExpression lambda = DynamicExpressionParser.ParseLambda(createParameterCtor, source.ElementType, null, selector, args); @@ -2022,7 +2020,7 @@ public static IQueryable SelectMany(this IQueryable source, st /// ]]> /// /// - public static IQueryable SelectMany(this IQueryable source, ParsingConfig config, string collectionSelector, string resultSelector, object[]? collectionSelectorArgs = null, params object[]? resultSelectorArgs) + public static IQueryable SelectMany(this IQueryable source, ParsingConfig config, string collectionSelector, string resultSelector, object?[]? collectionSelectorArgs = null, params object?[]? resultSelectorArgs) { return SelectMany(source, collectionSelector, resultSelector, "x", "y", collectionSelectorArgs, resultSelectorArgs); } @@ -2104,7 +2102,7 @@ public static IQueryable SelectMany( } /// - public static IQueryable SelectMany(this IQueryable source, string collectionSelector, string resultSelector, string collectionParameterName, string resultParameterName, object[]? collectionSelectorArgs = null, params object[]? resultSelectorArgs) + public static IQueryable SelectMany(this IQueryable source, string collectionSelector, string resultSelector, string collectionParameterName, string resultParameterName, object?[]? collectionSelectorArgs = null, params object?[]? resultSelectorArgs) { return SelectMany(source, ParsingConfig.Default, collectionSelector, resultSelector, collectionParameterName, resultParameterName, collectionSelectorArgs, resultSelectorArgs); } @@ -2299,11 +2297,11 @@ public static IQueryable Skip(this IQueryable source, int count) /// /// /// An that contains elements from source starting at the first element in the linear series that does not pass the test specified by predicate. - public static IQueryable SkipWhile(this IQueryable source, ParsingConfig config, string predicate, params object[]? args) + public static IQueryable SkipWhile(this IQueryable source, ParsingConfig config, string predicate, params object?[] args) { Check.NotNull(source); Check.NotNull(config); - Check.NotNull(predicate, nameof(predicate)); + Check.NotNull(predicate); bool createParameterCtor = SupportsLinqToObjects(config, source); LambdaExpression lambda = DynamicExpressionParser.ParseLambda(config, createParameterCtor, source.ElementType, null, predicate, args); @@ -2311,8 +2309,8 @@ public static IQueryable SkipWhile(this IQueryable source, ParsingConfig config, return CreateQuery(_skipWhilePredicate, source, lambda); } - /// - public static IQueryable SkipWhile(this IQueryable source, string predicate, params object[]? args) + /// + public static IQueryable SkipWhile(this IQueryable source, string predicate, params object?[] args) { return SkipWhile(source, ParsingConfig.Default, predicate, args); } @@ -2433,7 +2431,7 @@ public static IQueryable TakeWhile(this IQueryable source, ParsingConfig config, { Check.NotNull(source); Check.NotNull(config); - Check.NotNull(predicate, nameof(predicate)); + Check.NotNull(predicate); bool createParameterCtor = SupportsLinqToObjects(config, source); LambdaExpression lambda = DynamicExpressionParser.ParseLambda(config, createParameterCtor, source.ElementType, null, predicate, args); @@ -2446,7 +2444,6 @@ public static IQueryable TakeWhile(this IQueryable source, string predicate, par { return TakeWhile(source, ParsingConfig.Default, predicate, args); } - #endregion TakeWhile #region ThenBy @@ -2515,7 +2512,7 @@ public static IOrderedQueryable ThenBy(this IOrderedQueryable< /// A sequence of values to order. /// The . /// An expression string to indicate values to order by. - /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. /// A whose elements are sorted according to the specified . /// /// @@ -2537,7 +2534,7 @@ public static IOrderedQueryable ThenBy(this IOrderedQueryable source, ParsingCon /// The . /// An expression string to indicate values to order by. /// The comparer to use. - /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. + /// An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings. /// A whose elements are sorted according to the specified . public static IOrderedQueryable ThenBy(this IOrderedQueryable source, ParsingConfig config, string ordering, IComparer comparer, params object?[] args) { @@ -2548,7 +2545,7 @@ internal static IOrderedQueryable InternalThenBy(IOrderedQueryable source, Parsi { Check.NotNull(source); Check.NotNull(config); - Check.NotEmpty(ordering, nameof(ordering)); + Check.NotEmpty(ordering); ParameterExpression[] parameters = { ParameterExpressionHelper.CreateParameterExpression(source.ElementType, string.Empty, config.RenameEmptyParameterExpressionNames) }; ExpressionParser parser = new ExpressionParser(parameters, ordering, args, config); @@ -2591,8 +2588,7 @@ public static IOrderedQueryable ThenBy(this IOrderedQueryable source, string ord { return ThenBy(source, ParsingConfig.Default, ordering, comparer, args); } - - #endregion OrderBy + #endregion ThenBy #region Where /// diff --git a/src/System.Linq.Dynamic.Core/DynamicQueryableWithFormattableStringExtensions.cs b/src/System.Linq.Dynamic.Core/DynamicQueryableWithFormattableStringExtensions.cs index 76185707d..e81ad188a 100644 --- a/src/System.Linq.Dynamic.Core/DynamicQueryableWithFormattableStringExtensions.cs +++ b/src/System.Linq.Dynamic.Core/DynamicQueryableWithFormattableStringExtensions.cs @@ -4,429 +4,429 @@ using System.Text.RegularExpressions; using JetBrains.Annotations; -namespace System.Linq.Dynamic.Core -{ +namespace System.Linq.Dynamic.Core; + #if NET46_OR_GREATER || NET5_0_OR_GREATER || NETCOREAPP2_1_OR_GREATER || NETSTANDARD1_3_OR_GREATER || UAP10_0 - /// - /// Provides a set of static extension methods for querying data structures that implement . - /// It supports a FormattableString string as predicate. - /// - /// - public static class DynamicQueryableWithFormattableStringExtensions - { - private static readonly Regex ReplaceArgumentsRegex = new(@"{(\d+)}", RegexOptions.Compiled); - - public static IQueryable WhereInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Where(source, config, predicateStr, args); - } - - public static IQueryable WhereInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Where(source, predicateStr, args); - } - - public static IQueryable WhereInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Where(source, config, predicateStr, args); - } - - public static IQueryable WhereInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Where(source, predicateStr, args); - } - - [PublicAPI] - public static bool AllInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.All(source, predicateStr, args); - } - - [PublicAPI] - public static bool AllInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.All(source, config, predicateStr, args); - } - - [PublicAPI] - public static bool AnyInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Any(source, config, predicateStr, args); - } - - public static bool AnyInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Any(source, predicateStr, args); - } - - [PublicAPI] - public static double AverageInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Average(source, config, predicateStr, args); - } - - [PublicAPI] - public static double AverageInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Average(source, predicateStr, args); - } - - public static dynamic SingleInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Single(source, config, predicateStr, args); - } - - public static dynamic SingleInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Single(source, predicateStr, args); - } - - public static dynamic SingleOrDefaultInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.SingleOrDefault(source, config, predicateStr, args); - } - - public static dynamic SingleOrDefaultInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.SingleOrDefault(source, predicateStr, args); - } - - public static IQueryable SkipWhileInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.SkipWhile(source, config, predicateStr, args); - } - - public static IQueryable SkipWhileInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.SkipWhile(source, predicateStr, args); - } - - public static IQueryable TakeWhileInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.TakeWhile(source, config, predicateStr, args); - } - - public static IQueryable TakeWhileInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.TakeWhile(source, predicateStr, args); - } - - [PublicAPI] - public static object SumInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Sum(source, config, predicateStr, args); - } - - [PublicAPI] - public static object SumInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Sum(source, predicateStr, args); - } - - [PublicAPI] - public static int CountInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Count(source, config, predicateStr, args); - } - - public static int CountInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Count(source, predicateStr, args); - } - - public static dynamic FirstInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.First(source, config, predicateStr, args); - } - - public static dynamic FirstInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.First(source, predicateStr, args); - } - - public static dynamic FirstOrDefaultInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.FirstOrDefault(source, config, predicateStr, args); - } - - public static dynamic FirstOrDefaultInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.FirstOrDefault(source, predicateStr, args); - } - - public static dynamic LastInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Last(source, config, predicateStr, args); - } - - public static dynamic LastInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Last(source, predicateStr, args); - } - - public static dynamic LastOrDefaultInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.LastOrDefault(source, config, predicateStr, args); - } - - public static dynamic LastOrDefaultInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.LastOrDefault(source, predicateStr, args); - } - - [PublicAPI] - public static long LongCountInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.LongCount(source, config, predicateStr, args); - } - - public static long LongCountInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.LongCount(source, predicateStr, args); - } - - [PublicAPI] - public static object MaxInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Max(source, config, predicateStr, args); - } - - [PublicAPI] - public static object MaxInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Max(source, predicateStr, args); - } - - [PublicAPI] - public static object MinInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Min(source, config, predicateStr, args); - } - - [PublicAPI] - public static object MinInterpolated(this IQueryable source, FormattableString predicate) - { - var predicateStr = ParseFormattableString(predicate, out var args); - return DynamicQueryableExtensions.Min(source, predicateStr, args); - } - - public static IQueryable SelectInterpolated(this IQueryable source, ParsingConfig config, FormattableString selector) - { - var selectorStr = ParseFormattableString(selector, out var args); - return DynamicQueryableExtensions.Select(source, config, selectorStr, args); - } - - public static IQueryable SelectInterpolated(this IQueryable source, ParsingConfig config, Type resultType, FormattableString selector) - { - var selectorStr = ParseFormattableString(selector, out var args); - return DynamicQueryableExtensions.Select(source, config, resultType, selectorStr, args); - } - - public static IQueryable SelectInterpolated(this IQueryable source, FormattableString selector) - { - var selectorStr = ParseFormattableString(selector, out var args); - return DynamicQueryableExtensions.Select(source, selectorStr, args); - } - - public static IQueryable SelectInterpolated(this IQueryable source, ParsingConfig config, FormattableString selector) - { - var selectorStr = ParseFormattableString(selector, out var args); - return DynamicQueryableExtensions.Select(source, config, selectorStr, args); - } - - public static IQueryable SelectInterpolated(this IQueryable source, FormattableString selector) - { - var selectorStr = ParseFormattableString(selector, out var args); - return DynamicQueryableExtensions.Select(source, selectorStr, args); - } - - public static IQueryable SelectManyInterpolated(this IQueryable source, ParsingConfig config, FormattableString collectionSelector, FormattableString resultSelector) - { - var collectionSelectorStr = ParseFormattableString(collectionSelector, out var collectionSelectorArgs); - var resultSelectorStr = ParseFormattableString(resultSelector, out var resultSelectorArgs); - return DynamicQueryableExtensions.SelectMany(source, config, collectionSelectorStr, resultSelectorStr, collectionSelectorArgs, resultSelectorArgs); - } - - public static IQueryable SelectManyInterpolated(this IQueryable source, ParsingConfig config, FormattableString selector) - { - var selectorStr = ParseFormattableString(selector, out var args); - return DynamicQueryableExtensions.SelectMany(source, config, selectorStr, args); - } - - public static IQueryable SelectManyInterpolated(this IQueryable source, ParsingConfig config, Type resultType, FormattableString selector) - { - var selectorStr = ParseFormattableString(selector, out var args); - return DynamicQueryableExtensions.SelectMany(source, config, resultType, selectorStr, args); - } - - public static IQueryable SelectManyInterpolated(this IQueryable source, FormattableString collectionSelector, FormattableString resultSelector) - { - var collectionSelectorStr = ParseFormattableString(collectionSelector, out var collectionSelectorArgs); - var resultSelectorStr = ParseFormattableString(resultSelector, out var resultSelectorArgs); - return DynamicQueryableExtensions.SelectMany(source, collectionSelectorStr, collectionSelectorArgs, resultSelectorStr, resultSelectorArgs); - } - - public static IQueryable SelectManyInterpolated(this IQueryable source, FormattableString selector) - { - var selectorStr = ParseFormattableString(selector, out var args); - return DynamicQueryableExtensions.SelectMany(source, selectorStr, args); - } - - public static IQueryable SelectManyInterpolated(this IQueryable source, Type resultType, FormattableString selector) - { - var selectorStr = ParseFormattableString(selector, out var args); - return DynamicQueryableExtensions.SelectMany(source, resultType, selectorStr, args); - } - - public static IQueryable SelectManyInterpolated(this IQueryable source, ParsingConfig config, FormattableString selector) - { - var selectorStr = ParseFormattableString(selector, out var args); - return DynamicQueryableExtensions.SelectMany(source, config, selectorStr, args); - } - - public static IQueryable SelectManyInterpolated(this IQueryable source, FormattableString selector) - { - var selectorStr = ParseFormattableString(selector, out var args); - return DynamicQueryableExtensions.SelectMany(source, selectorStr, args); - } - - public static IOrderedQueryable OrderByInterpolated(this IQueryable source, ParsingConfig config, FormattableString ordering, IComparer comparer) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.OrderBy(source, config, orderingStr, comparer, args); - } - - public static IOrderedQueryable OrderByInterpolated(this IQueryable source, ParsingConfig config, FormattableString ordering) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.OrderBy(source, config, orderingStr, args); - } - - public static IOrderedQueryable OrderByInterpolated(this IQueryable source, FormattableString ordering, IComparer comparer) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.OrderBy(source, orderingStr, comparer, args); - } - - public static IOrderedQueryable OrderByInterpolated(this IQueryable source, FormattableString ordering) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.OrderBy(source, orderingStr, args); - } - - public static IOrderedQueryable OrderByInterpolated(this IQueryable source, ParsingConfig config, FormattableString ordering, IComparer comparer) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.OrderBy(source, config, orderingStr, comparer, args); - } - - public static IOrderedQueryable OrderByInterpolated(this IQueryable source, ParsingConfig config, FormattableString ordering) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.OrderBy(source, config, orderingStr, args); - } - - public static IOrderedQueryable OrderByInterpolated(this IQueryable source, FormattableString ordering, IComparer comparer) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.OrderBy(source, orderingStr, comparer, args); - } - - public static IOrderedQueryable OrderByInterpolated(this IQueryable source, FormattableString ordering) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.OrderBy(source, orderingStr, args); - } - - public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, ParsingConfig config, FormattableString ordering, IComparer comparer) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.ThenBy(source, config, orderingStr, comparer, args); - } - - public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, ParsingConfig config, FormattableString ordering) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.ThenBy(source, config, orderingStr, args); - } - - public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, FormattableString ordering, IComparer comparer) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.ThenBy(source, orderingStr, comparer, args); - } - - public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, FormattableString ordering) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.ThenBy(source, orderingStr, args); - } - - public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, ParsingConfig config, FormattableString ordering, IComparer comparer) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.ThenBy(source, config, orderingStr, comparer, args); - } - - public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, ParsingConfig config, FormattableString ordering) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.ThenBy(source, config, orderingStr, args); - } - - public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, FormattableString ordering, IComparer comparer) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.ThenBy(source, orderingStr, comparer, args); - } - - public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, FormattableString ordering) - { - var orderingStr = ParseFormattableString(ordering, out var args); - return DynamicQueryableExtensions.ThenBy(source, orderingStr, args); - } - - private static string ParseFormattableString(FormattableString predicate, out object?[] args) - { - args = predicate.GetArguments(); - return ReplaceArgumentsRegex.Replace(predicate.Format, "@$1"); // replace {0} with @0 - } +/// +/// Provides a set of static extension methods for querying data structures that implement . +/// It supports a FormattableString string as predicate. +/// +/// +public static class DynamicQueryableWithFormattableStringExtensions +{ + private static readonly Regex ReplaceArgumentsRegex = new(@"{(\d+)}", RegexOptions.Compiled); + + public static IQueryable WhereInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Where(config, predicateStr, args); + } + + public static IQueryable WhereInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Where(predicateStr, args); + } + + public static IQueryable WhereInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Where(config, predicateStr, args); + } + + public static IQueryable WhereInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Where(predicateStr, args); + } + + [PublicAPI] + public static bool AllInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.All(predicateStr, args); + } + + [PublicAPI] + public static bool AllInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.All(config, predicateStr, args); + } + + [PublicAPI] + public static bool AnyInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Any(config, predicateStr, args); + } + + public static bool AnyInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Any(predicateStr, args); + } + + [PublicAPI] + public static double AverageInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Average(config, predicateStr, args); + } + + [PublicAPI] + public static double AverageInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Average(predicateStr, args); + } + + public static dynamic SingleInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Single(config, predicateStr, args); + } + + public static dynamic SingleInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Single(predicateStr, args); + } + + public static dynamic SingleOrDefaultInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.SingleOrDefault(config, predicateStr, args); + } + + public static dynamic SingleOrDefaultInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.SingleOrDefault(predicateStr, args); + } + + public static IQueryable SkipWhileInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.SkipWhile(config, predicateStr, args); + } + + public static IQueryable SkipWhileInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.SkipWhile(predicateStr, args); + } + + public static IQueryable TakeWhileInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.TakeWhile(config, predicateStr, args); + } + + public static IQueryable TakeWhileInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.TakeWhile(predicateStr, args); + } + + [PublicAPI] + public static object SumInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Sum(config, predicateStr, args); + } + + [PublicAPI] + public static object SumInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Sum(predicateStr, args); + } + + [PublicAPI] + public static int CountInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Count(config, predicateStr, args); + } + + public static int CountInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Count(predicateStr, args); + } + + public static dynamic FirstInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.First(config, predicateStr, args); + } + + public static dynamic FirstInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.First(predicateStr, args); + } + + public static dynamic FirstOrDefaultInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.FirstOrDefault(config, predicateStr, args); + } + + public static dynamic FirstOrDefaultInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.FirstOrDefault(predicateStr, args); + } + + public static dynamic LastInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Last(config, predicateStr, args); + } + + public static dynamic LastInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Last(predicateStr, args); + } + + public static dynamic LastOrDefaultInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.LastOrDefault(config, predicateStr, args); + } + + public static dynamic LastOrDefaultInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.LastOrDefault(predicateStr, args); + } + + [PublicAPI] + public static long LongCountInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.LongCount(config, predicateStr, args); + } + + public static long LongCountInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.LongCount(predicateStr, args); + } + + [PublicAPI] + public static object MaxInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Max(config, predicateStr, args); + } + + [PublicAPI] + public static object MaxInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Max(predicateStr, args); + } + + [PublicAPI] + public static object MinInterpolated(this IQueryable source, ParsingConfig config, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Min(config, predicateStr, args); + } + + [PublicAPI] + public static object MinInterpolated(this IQueryable source, FormattableString predicate) + { + var predicateStr = ParseFormattableString(predicate, out var args); + return source.Min(predicateStr, args); + } + + public static IQueryable SelectInterpolated(this IQueryable source, ParsingConfig config, FormattableString selector) + { + var selectorStr = ParseFormattableString(selector, out var args); + return source.Select(config, selectorStr, args); + } + + public static IQueryable SelectInterpolated(this IQueryable source, ParsingConfig config, Type resultType, FormattableString selector) + { + var selectorStr = ParseFormattableString(selector, out var args); + return source.Select(config, resultType, selectorStr, args); + } + + public static IQueryable SelectInterpolated(this IQueryable source, FormattableString selector) + { + var selectorStr = ParseFormattableString(selector, out var args); + return source.Select(selectorStr, args); + } + + public static IQueryable SelectInterpolated(this IQueryable source, ParsingConfig config, FormattableString selector) + { + var selectorStr = ParseFormattableString(selector, out var args); + return source.Select(config, selectorStr, args); + } + + public static IQueryable SelectInterpolated(this IQueryable source, FormattableString selector) + { + var selectorStr = ParseFormattableString(selector, out var args); + return source.Select(selectorStr, args); + } + + public static IQueryable SelectManyInterpolated(this IQueryable source, ParsingConfig config, FormattableString collectionSelector, FormattableString resultSelector) + { + var collectionSelectorStr = ParseFormattableString(collectionSelector, out var collectionSelectorArgs); + var resultSelectorStr = ParseFormattableString(resultSelector, out var resultSelectorArgs); + return source.SelectMany(config, collectionSelectorStr, resultSelectorStr, collectionSelectorArgs, resultSelectorArgs); + } + + public static IQueryable SelectManyInterpolated(this IQueryable source, ParsingConfig config, FormattableString selector) + { + var selectorStr = ParseFormattableString(selector, out var args); + return source.SelectMany(config, selectorStr, args); + } + + public static IQueryable SelectManyInterpolated(this IQueryable source, ParsingConfig config, Type resultType, FormattableString selector) + { + var selectorStr = ParseFormattableString(selector, out var args); + return source.SelectMany(config, resultType, selectorStr, args); + } + + public static IQueryable SelectManyInterpolated(this IQueryable source, FormattableString collectionSelector, FormattableString resultSelector) + { + var collectionSelectorStr = ParseFormattableString(collectionSelector, out var collectionSelectorArgs); + var resultSelectorStr = ParseFormattableString(resultSelector, out var resultSelectorArgs); + return source.SelectMany(collectionSelectorStr, collectionSelectorArgs, resultSelectorStr, resultSelectorArgs); + } + + public static IQueryable SelectManyInterpolated(this IQueryable source, FormattableString selector) + { + var selectorStr = ParseFormattableString(selector, out var args); + return source.SelectMany(selectorStr, args); + } + + public static IQueryable SelectManyInterpolated(this IQueryable source, Type resultType, FormattableString selector) + { + var selectorStr = ParseFormattableString(selector, out var args); + return source.SelectMany(resultType, selectorStr, args); + } + + public static IQueryable SelectManyInterpolated(this IQueryable source, ParsingConfig config, FormattableString selector) + { + var selectorStr = ParseFormattableString(selector, out var args); + return source.SelectMany(config, selectorStr, args); + } + + public static IQueryable SelectManyInterpolated(this IQueryable source, FormattableString selector) + { + var selectorStr = ParseFormattableString(selector, out var args); + return source.SelectMany(selectorStr, args); + } + + public static IOrderedQueryable OrderByInterpolated(this IQueryable source, ParsingConfig config, FormattableString ordering, IComparer comparer) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.OrderBy(config, orderingStr, comparer, args); + } + + public static IOrderedQueryable OrderByInterpolated(this IQueryable source, ParsingConfig config, FormattableString ordering) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.OrderBy(config, orderingStr, args); + } + + public static IOrderedQueryable OrderByInterpolated(this IQueryable source, FormattableString ordering, IComparer comparer) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.OrderBy(orderingStr, comparer, args); + } + + public static IOrderedQueryable OrderByInterpolated(this IQueryable source, FormattableString ordering) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.OrderBy(orderingStr, args); + } + + public static IOrderedQueryable OrderByInterpolated(this IQueryable source, ParsingConfig config, FormattableString ordering, IComparer comparer) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.OrderBy(config, orderingStr, comparer, args); + } + + public static IOrderedQueryable OrderByInterpolated(this IQueryable source, ParsingConfig config, FormattableString ordering) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.OrderBy(config, orderingStr, args); + } + + public static IOrderedQueryable OrderByInterpolated(this IQueryable source, FormattableString ordering, IComparer comparer) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.OrderBy(orderingStr, comparer, args); + } + + public static IOrderedQueryable OrderByInterpolated(this IQueryable source, FormattableString ordering) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.OrderBy(orderingStr, args); + } + + public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, ParsingConfig config, FormattableString ordering, IComparer comparer) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.ThenBy(config, orderingStr, comparer, args); + } + + public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, ParsingConfig config, FormattableString ordering) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.ThenBy(config, orderingStr, args); + } + + public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, FormattableString ordering, IComparer comparer) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.ThenBy(orderingStr, comparer, args); + } + + public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, FormattableString ordering) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.ThenBy(orderingStr, args); + } + + public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, ParsingConfig config, FormattableString ordering, IComparer comparer) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.ThenBy(config, orderingStr, comparer, args); + } + + public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, ParsingConfig config, FormattableString ordering) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.ThenBy(config, orderingStr, args); + } + + public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, FormattableString ordering, IComparer comparer) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.ThenBy(orderingStr, comparer, args); + } + + public static IOrderedQueryable ThenByInterpolated(this IOrderedQueryable source, FormattableString ordering) + { + var orderingStr = ParseFormattableString(ordering, out var args); + return source.ThenBy(orderingStr, args); + } + + private static string ParseFormattableString(FormattableString predicate, out object?[] args) + { + args = predicate.GetArguments(); + return ReplaceArgumentsRegex.Replace(predicate.Format, "@$1"); // replace {0} with @0 } -#endif } +#endif + #pragma warning restore CS1591 // Missing XML comment for publicly visible type or member \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core/PagedResult.cs b/src/System.Linq.Dynamic.Core/PagedResult.cs index 6d175bedf..cb7f58134 100644 --- a/src/System.Linq.Dynamic.Core/PagedResult.cs +++ b/src/System.Linq.Dynamic.Core/PagedResult.cs @@ -1,64 +1,63 @@  -namespace System.Linq.Dynamic.Core +namespace System.Linq.Dynamic.Core; + +/// +/// PagedResult +/// +public class PagedResult { /// - /// PagedResult + /// Gets or sets the queryable. /// - public class PagedResult - { - /// - /// Gets or sets the queryable. - /// - /// - /// The queryable. - /// - public IQueryable Queryable { get; set; } + /// + /// The queryable. + /// + public IQueryable Queryable { get; set; } = null!; - /// - /// Gets or sets the current page. - /// - /// - /// The current page. - /// - public int CurrentPage { get; set; } + /// + /// Gets or sets the current page. + /// + /// + /// The current page. + /// + public int CurrentPage { get; set; } - /// - /// Gets or sets the page count. - /// - /// - /// The page count. - /// - public int PageCount { get; set; } + /// + /// Gets or sets the page count. + /// + /// + /// The page count. + /// + public int PageCount { get; set; } - /// - /// Gets or sets the size of the page. - /// - /// - /// The size of the page. - /// - public int PageSize { get; set; } + /// + /// Gets or sets the size of the page. + /// + /// + /// The size of the page. + /// + public int PageSize { get; set; } - /// - /// Gets or sets the row count. - /// - /// - /// The row count. - /// - public int RowCount { get; set; } - } + /// + /// Gets or sets the row count. + /// + /// + /// The row count. + /// + public int RowCount { get; set; } +} +/// +/// PagedResult{TSource} +/// +/// The type of the source. +public class PagedResult : PagedResult +{ /// - /// PagedResult{TSource} + /// Gets or sets the queryable. /// - /// The type of the source. - public class PagedResult : PagedResult - { - /// - /// Gets or sets the queryable. - /// - /// - /// The queryable. - /// - public new IQueryable Queryable { get; set; } - } + /// + /// The queryable. + /// + public new IQueryable Queryable { get; set; } = null!; } \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core/Properties/AssemblyInfo.cs b/src/System.Linq.Dynamic.Core/Properties/AssemblyInfo.cs index 255df480e..6f920ac5d 100644 --- a/src/System.Linq.Dynamic.Core/Properties/AssemblyInfo.cs +++ b/src/System.Linq.Dynamic.Core/Properties/AssemblyInfo.cs @@ -1,8 +1,10 @@ using System.Runtime.CompilerServices; +[assembly: InternalsVisibleTo("System.Linq.Dynamic.Core.SystemTextJson, PublicKey=00240000048000009400000006020000002400005253413100040000010001003daf4f4b7d160b1033de9a4a3275f4667a4558144296c3bb593aa0fd213dadf0ea4df5aa69e21763d409ada2a8f8925081bc2e81362be7916e22c624344309eba764edc4f8f84237ae053d2687ab3b888c9f4f3ff8a804bb5fee61e1ceadec97b08994580ef2df6bd7e077df4ad205c6d2bde479c512ab9be6ecc23c10694597")] +[assembly: InternalsVisibleTo("System.Linq.Dynamic.Core.NewtonsoftJson, PublicKey=00240000048000009400000006020000002400005253413100040000010001003daf4f4b7d160b1033de9a4a3275f4667a4558144296c3bb593aa0fd213dadf0ea4df5aa69e21763d409ada2a8f8925081bc2e81362be7916e22c624344309eba764edc4f8f84237ae053d2687ab3b888c9f4f3ff8a804bb5fee61e1ceadec97b08994580ef2df6bd7e077df4ad205c6d2bde479c512ab9be6ecc23c10694597")] [assembly: InternalsVisibleTo("EntityFramework.DynamicLinq.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001003daf4f4b7d160b1033de9a4a3275f4667a4558144296c3bb593aa0fd213dadf0ea4df5aa69e21763d409ada2a8f8925081bc2e81362be7916e22c624344309eba764edc4f8f84237ae053d2687ab3b888c9f4f3ff8a804bb5fee61e1ceadec97b08994580ef2df6bd7e077df4ad205c6d2bde479c512ab9be6ecc23c10694597")] [assembly: InternalsVisibleTo("EntityFramework.DynamicLinq.Tests.net452, PublicKey=00240000048000009400000006020000002400005253413100040000010001003daf4f4b7d160b1033de9a4a3275f4667a4558144296c3bb593aa0fd213dadf0ea4df5aa69e21763d409ada2a8f8925081bc2e81362be7916e22c624344309eba764edc4f8f84237ae053d2687ab3b888c9f4f3ff8a804bb5fee61e1ceadec97b08994580ef2df6bd7e077df4ad205c6d2bde479c512ab9be6ecc23c10694597")] [assembly: InternalsVisibleTo("System.Linq.Dynamic.Core.Tests.Net6, PublicKey=00240000048000009400000006020000002400005253413100040000010001003daf4f4b7d160b1033de9a4a3275f4667a4558144296c3bb593aa0fd213dadf0ea4df5aa69e21763d409ada2a8f8925081bc2e81362be7916e22c624344309eba764edc4f8f84237ae053d2687ab3b888c9f4f3ff8a804bb5fee61e1ceadec97b08994580ef2df6bd7e077df4ad205c6d2bde479c512ab9be6ecc23c10694597")] [assembly: InternalsVisibleTo("System.Linq.Dynamic.Core.Tests.Net5, PublicKey=00240000048000009400000006020000002400005253413100040000010001003daf4f4b7d160b1033de9a4a3275f4667a4558144296c3bb593aa0fd213dadf0ea4df5aa69e21763d409ada2a8f8925081bc2e81362be7916e22c624344309eba764edc4f8f84237ae053d2687ab3b888c9f4f3ff8a804bb5fee61e1ceadec97b08994580ef2df6bd7e077df4ad205c6d2bde479c512ab9be6ecc23c10694597")] [assembly: InternalsVisibleTo("System.Linq.Dynamic.Core.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001003daf4f4b7d160b1033de9a4a3275f4667a4558144296c3bb593aa0fd213dadf0ea4df5aa69e21763d409ada2a8f8925081bc2e81362be7916e22c624344309eba764edc4f8f84237ae053d2687ab3b888c9f4f3ff8a804bb5fee61e1ceadec97b08994580ef2df6bd7e077df4ad205c6d2bde479c512ab9be6ecc23c10694597")] -[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] +[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] \ No newline at end of file diff --git a/src/System.Linq.Dynamic.Core/Res.cs b/src/System.Linq.Dynamic.Core/Res.cs index 246dd463e..2bbb2d7fd 100644 --- a/src/System.Linq.Dynamic.Core/Res.cs +++ b/src/System.Linq.Dynamic.Core/Res.cs @@ -69,6 +69,7 @@ internal static class Res public const string OpenParenOrIdentifierExpected = "'(' or Identifier expected"; public const string OutKeywordRequiresDiscard = "When using an out variable, a discard '_' is required."; public const string ParseExceptionFormat = "{0} (at index {1})"; + public const string SequenceContainsNoElements = "Sequence contains no elements"; public const string SyntaxError = "Syntax error"; public const string TokenExpected = "{0} expected"; public const string TypeHasNoNullableForm = "Type '{0}' has no nullable form"; diff --git a/test/Directory.Build.props b/test/Directory.Build.props index 2fad1f311..b979dcff2 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -8,4 +8,16 @@ GeneratedCodeAttribute opencover + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + diff --git a/test/EntityFramework.DynamicLinq.Tests/EntityFramework.DynamicLinq.Tests.csproj b/test/EntityFramework.DynamicLinq.Tests/EntityFramework.DynamicLinq.Tests.csproj index 99ea5f008..da9a469b1 100644 --- a/test/EntityFramework.DynamicLinq.Tests/EntityFramework.DynamicLinq.Tests.csproj +++ b/test/EntityFramework.DynamicLinq.Tests/EntityFramework.DynamicLinq.Tests.csproj @@ -35,16 +35,7 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - diff --git a/test/EntityFramework.DynamicLinq.Tests/coverage.net8.0.json b/test/EntityFramework.DynamicLinq.Tests/coverage.net8.0.json deleted file mode 100644 index 378726dfd..000000000 --- a/test/EntityFramework.DynamicLinq.Tests/coverage.net8.0.json +++ /dev/null @@ -1,30872 +0,0 @@ -{ - "EntityFramework.DynamicLinq.dll": { - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Compatibility\\StringExtensions.cs": { - "System.StringExtensions": { - "System.Boolean System.StringExtensions::IsNullOrWhiteSpace(System.String)": { - "Lines": { - "19": 5, - "21": 5, - "38": 5 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Validation\\CallerArgumentExpressionAttribute.cs": { - "System.Runtime.CompilerServices.CallerArgumentExpressionAttribute": { - "System.String System.Runtime.CompilerServices.CallerArgumentExpressionAttribute::get_ParameterName()": { - "Lines": { - "12": 0 - }, - "Branches": [] - }, - "System.Void System.Runtime.CompilerServices.CallerArgumentExpressionAttribute::.ctor(System.String)": { - "Lines": { - "7": 0, - "8": 0, - "9": 0, - "10": 0 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Compatibility\\CustomIntrospectionExtensions.cs": { - "System.Reflection.CustomIntrospectionExtensions": { - "System.Type[] System.Reflection.CustomIntrospectionExtensions::GetGenericTypeArguments(System.Reflection.TypeInfo)": { - "Lines": { - "35": 0, - "36": 0, - "37": 0 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Compatibility\\CustomTypeBuilderExtensions.cs": { - "System.Reflection.CustomTypeBuilderExtensions": { - "System.Type System.Reflection.CustomTypeBuilderExtensions::CreateType(System.Reflection.Emit.TypeBuilder)": { - "Lines": { - "10": 0, - "11": 0, - "12": 0 - }, - "Branches": [] - }, - "System.Reflection.Emit.PropertyBuilder System.Reflection.CustomTypeBuilderExtensions::DefineProperty(System.Reflection.Emit.TypeBuilder,System.String,System.Reflection.PropertyAttributes,System.Reflection.CallingConventions,System.Type,System.Type[])": { - "Lines": { - "17": 0, - "18": 0, - "19": 0 - }, - "Branches": [] - }, - "System.Type System.Reflection.CustomTypeBuilderExtensions::AsType(System.Reflection.Emit.TypeBuilder)": { - "Lines": { - "25": 0, - "26": 0, - "27": 0 - }, - "Branches": [] - }, - "System.Type System.Reflection.CustomTypeBuilderExtensions::AsType(System.Reflection.Emit.GenericTypeParameterBuilder)": { - "Lines": { - "30": 0, - "31": 0, - "32": 0 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Compatibility\\LambdaExpressionExtensions.cs": { - "System.Linq.Expressions.LambdaExpressionExtensions": { - "System.Type System.Linq.Expressions.LambdaExpressionExtensions::GetReturnType(System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "7": 0, - "9": 0, - "13": 0 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Validation\\Check.cs": { - "System.Linq.Dynamic.Core.Validation.Check": { - "T System.Linq.Dynamic.Core.Validation.Check::Condition(T,System.Predicate`1,System.String)": { - "Lines": { - "12": 0, - "13": 0, - "15": 0, - "16": 0, - "17": 0, - "19": 0, - "22": 0, - "23": 0 - }, - "Branches": [ - { - "Line": 15, - "Offset": 25, - "EndOffset": 27, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 15, - "Offset": 25, - "EndOffset": 47, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "T System.Linq.Dynamic.Core.Validation.Check::NotNull(T,System.String)": { - "Lines": { - "26": 55, - "27": 55, - "28": 0, - "29": 0, - "31": 0, - "34": 55, - "35": 55 - }, - "Branches": [ - { - "Line": 27, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 27, - "Offset": 12, - "EndOffset": 34, - "Path": 1, - "Ordinal": 1, - "Hits": 55 - } - ] - }, - "T System.Linq.Dynamic.Core.Validation.Check::NotNull(T,System.String,System.String)": { - "Lines": { - "38": 0, - "39": 0, - "40": 0, - "41": 0, - "42": 0, - "44": 0, - "47": 0, - "48": 0 - }, - "Branches": [ - { - "Line": 39, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 39, - "Offset": 12, - "EndOffset": 52, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.Validation.Check::NotNullOrEmpty(System.Collections.Generic.IEnumerable`1,System.String)": { - "Lines": { - "51": 0, - "52": 0, - "55": 0, - "56": 0, - "57": 0, - "59": 0, - "63": 0, - "64": 0 - }, - "Branches": [ - { - "Line": 55, - "Offset": 20, - "EndOffset": 22, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 55, - "Offset": 20, - "EndOffset": 47, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.String System.Linq.Dynamic.Core.Validation.Check::NotEmpty(System.String,System.String)": { - "Lines": { - "67": 5 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.Validation.Check::NotNullOrEmpty(System.String,System.String)": { - "Lines": { - "70": 0, - "71": 0, - "72": 0, - "73": 0, - "75": 0, - "78": 0, - "79": 0, - "80": 0, - "83": 0, - "84": 0 - }, - "Branches": [ - { - "Line": 71, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 71, - "Offset": 7, - "EndOffset": 29, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 78, - "Offset": 37, - "EndOffset": 39, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 78, - "Offset": 37, - "EndOffset": 52, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - } - ] - }, - "System.String System.Linq.Dynamic.Core.Validation.Check::NotNullOrWhiteSpace(System.String,System.String)": { - "Lines": { - "87": 5, - "88": 5, - "89": 0, - "90": 0, - "92": 0, - "95": 5, - "96": 0, - "97": 0, - "100": 5, - "101": 5 - }, - "Branches": [ - { - "Line": 88, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 88, - "Offset": 7, - "EndOffset": 29, - "Path": 1, - "Ordinal": 1, - "Hits": 5 - }, - { - "Line": 95, - "Offset": 37, - "EndOffset": 39, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 95, - "Offset": 37, - "EndOffset": 52, - "Path": 1, - "Ordinal": 3, - "Hits": 5 - } - ] - }, - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.Validation.Check::HasNoNulls(System.Collections.Generic.IEnumerable`1,System.String)": { - "Lines": { - "104": 0, - "105": 0, - "106": 0, - "107": 0, - "109": 0, - "113": 0, - "114": 0, - "115": 0, - "117": 0, - "121": 0, - "122": 0 - }, - "Branches": [ - { - "Line": 105, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 105, - "Offset": 7, - "EndOffset": 29, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 113, - "Offset": 36, - "EndOffset": 38, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 113, - "Offset": 36, - "EndOffset": 61, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 113, - "Offset": 68, - "EndOffset": 70, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 113, - "Offset": 68, - "EndOffset": 90, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Validation\\CoreStrings.cs": { - "System.Linq.Dynamic.Core.Validation.CoreStrings": { - "System.String System.Linq.Dynamic.Core.Validation.CoreStrings::ArgumentPropertyNull(System.String,System.String)": { - "Lines": { - "7": 0, - "8": 0, - "9": 0 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.Validation.CoreStrings::ArgumentIsEmpty(System.String)": { - "Lines": { - "12": 0, - "13": 0, - "14": 0 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.Validation.CoreStrings::CollectionArgumentIsEmpty(System.String)": { - "Lines": { - "17": 0, - "18": 0, - "19": 0 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Extensions\\LinqExtensions.cs": { - "System.Linq.Dynamic.Core.Extensions.LinqExtensions": { - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.Extensions.LinqExtensions::WhereNotNull(System.Collections.Generic.IEnumerable`1)": { - "Lines": { - "11": 0, - "12": 0, - "14": 0, - "15": 0 - }, - "Branches": [ - { - "Line": 14, - "Offset": 20, - "EndOffset": 22, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 14, - "Offset": 20, - "EndOffset": 45, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\Microsoft.EntityFrameworkCore.DynamicLinq.EFCore3\\EFDynamicQueryableExtensions.cs": { - "EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions": { - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::AllAsync(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "54": 2, - "55": 2, - "56": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::AllAsync(System.Linq.IQueryable,System.String,System.Threading.CancellationToken,System.Object[])": { - "Lines": { - "78": 2, - "79": 2, - "80": 2, - "81": 2, - "83": 2, - "85": 2, - "86": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::AnyAsync(System.Linq.IQueryable,System.Threading.CancellationToken)": { - "Lines": { - "110": 2, - "111": 2, - "112": 2, - "114": 2, - "115": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::AnyAsync(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "136": 2, - "137": 2, - "138": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::AnyAsync(System.Linq.IQueryable,System.String,System.Threading.CancellationToken,System.Object[])": { - "Lines": { - "160": 2, - "161": 2, - "162": 2, - "163": 2, - "165": 2, - "167": 2, - "168": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::AverageAsync(System.Linq.IQueryable,System.Threading.CancellationToken)": { - "Lines": { - "192": 1, - "193": 1, - "194": 1, - "196": 1, - "197": 1 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::AverageAsync(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "220": 1, - "221": 1, - "222": 1 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::AverageAsync(System.Linq.IQueryable,System.String,System.Threading.CancellationToken,System.Object[])": { - "Lines": { - "246": 1, - "247": 1, - "248": 1, - "249": 1, - "251": 1, - "253": 1, - "254": 1 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::CountAsync(System.Linq.IQueryable,System.Threading.CancellationToken)": { - "Lines": { - "279": 0, - "280": 0, - "281": 0, - "283": 0, - "284": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::CountAsync(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "307": 2, - "308": 2, - "309": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::CountAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.String,System.Object[])": { - "Lines": { - "333": 2, - "334": 2, - "335": 2, - "336": 2, - "338": 2, - "340": 2, - "341": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::FirstAsync(System.Linq.IQueryable,System.Threading.CancellationToken)": { - "Lines": { - "366": 2, - "367": 2, - "369": 2, - "370": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::FirstAsync(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "393": 1, - "394": 1, - "395": 1 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::FirstAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.String,System.Object[])": { - "Lines": { - "419": 1, - "420": 1, - "421": 1, - "423": 1, - "425": 1, - "426": 1 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::FirstOrDefaultAsync(System.Linq.IQueryable,System.Threading.CancellationToken)": { - "Lines": { - "452": 3, - "453": 3, - "454": 3, - "456": 3, - "457": 3 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::FirstOrDefaultAsync(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "482": 2, - "483": 2, - "484": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::FirstOrDefaultAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.String,System.Object[])": { - "Lines": { - "510": 2, - "511": 2, - "512": 2, - "513": 2, - "515": 2, - "517": 2, - "518": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::LastAsync(System.Linq.IQueryable,System.Threading.CancellationToken)": { - "Lines": { - "543": 0, - "544": 0, - "546": 0, - "547": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::LastAsync(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "570": 0, - "571": 0, - "572": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::LastAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.String,System.Object[])": { - "Lines": { - "596": 0, - "597": 0, - "598": 0, - "600": 0, - "602": 0, - "603": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::LastOrDefaultAsync(System.Linq.IQueryable,System.Threading.CancellationToken)": { - "Lines": { - "629": 0, - "630": 0, - "631": 0, - "633": 0, - "634": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::LastOrDefaultAsync(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "659": 0, - "660": 0, - "661": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::LastOrDefaultAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.String,System.Object[])": { - "Lines": { - "687": 0, - "688": 0, - "689": 0, - "690": 0, - "692": 0, - "694": 0, - "695": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::LongCountAsync(System.Linq.IQueryable,System.Threading.CancellationToken)": { - "Lines": { - "720": 0, - "721": 0, - "722": 0, - "724": 0, - "725": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::LongCountAsync(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "748": 0, - "749": 0, - "750": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::LongCountAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.String,System.Object[])": { - "Lines": { - "774": 0, - "775": 0, - "776": 0, - "777": 0, - "779": 0, - "781": 0, - "782": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::SingleOrDefaultAsync(System.Linq.IQueryable,System.Threading.CancellationToken)": { - "Lines": { - "807": 2, - "808": 2, - "809": 2, - "811": 2, - "812": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::SingleOrDefaultAsync(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "834": 1, - "835": 1, - "836": 1 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::SingleOrDefaultAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.String,System.Object[])": { - "Lines": { - "859": 1, - "860": 1, - "861": 1, - "862": 1, - "864": 1, - "866": 1, - "867": 1 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::SumAsync(System.Linq.IQueryable,System.Threading.CancellationToken)": { - "Lines": { - "890": 2, - "891": 2, - "892": 2, - "894": 2, - "896": 2, - "897": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::SumAsync(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "918": 2, - "919": 2, - "920": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::SumAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.String,System.Object[])": { - "Lines": { - "943": 2, - "944": 2, - "945": 2, - "946": 2, - "948": 2, - "950": 2, - "952": 2, - "953": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::ExecuteDynamicAsync(System.Reflection.MethodInfo,System.Linq.IQueryable,System.Threading.CancellationToken)": { - "Lines": { - "967": 2, - "968": 2, - "970": 2, - "971": 4, - "973": 2, - "974": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::ExecuteAsync(System.Reflection.MethodInfo,System.Linq.IQueryable,System.Threading.CancellationToken)": { - "Lines": { - "977": 12, - "981": 12, - "984": 12, - "985": 12, - "986": 12, - "987": 9, - "988": 9, - "989": 9, - "996": 12, - "998": 12, - "1002": 0, - "1003": 12 - }, - "Branches": [ - { - "Line": 984, - "Offset": 19, - "EndOffset": 21, - "Path": 0, - "Ordinal": 0, - "Hits": 12 - }, - { - "Line": 986, - "Offset": 30, - "EndOffset": 32, - "Path": 0, - "Ordinal": 2, - "Hits": 9 - }, - { - "Line": 986, - "Offset": 30, - "EndOffset": 57, - "Path": 1, - "Ordinal": 3, - "Hits": 12 - }, - { - "Line": 984, - "Offset": 19, - "EndOffset": 97, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::ExecuteAsync(System.Reflection.MethodInfo,System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression,System.Threading.CancellationToken)": { - "Lines": { - "1006": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::ExecuteDynamicAsync(System.Reflection.MethodInfo,System.Linq.IQueryable,System.Linq.Expressions.Expression,System.Threading.CancellationToken)": { - "Lines": { - "1018": 2, - "1019": 2, - "1021": 2, - "1022": 4, - "1024": 2, - "1025": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::ExecuteAsync(System.Reflection.MethodInfo,System.Linq.IQueryable,System.Linq.Expressions.Expression,System.Threading.CancellationToken)": { - "Lines": { - "1028": 13, - "1032": 13, - "1035": 13, - "1036": 13, - "1037": 13, - "1038": 13, - "1039": 13, - "1040": 13, - "1046": 13, - "1048": 13, - "1052": 0, - "1053": 13 - }, - "Branches": [ - { - "Line": 1035, - "Offset": 19, - "EndOffset": 21, - "Path": 0, - "Ordinal": 0, - "Hits": 13 - }, - { - "Line": 1037, - "Offset": 31, - "EndOffset": 33, - "Path": 0, - "Ordinal": 2, - "Hits": 13 - }, - { - "Line": 1037, - "Offset": 31, - "EndOffset": 56, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 1035, - "Offset": 19, - "EndOffset": 135, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Reflection.MethodInfo EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::GetMethod(System.String,System.Int32,System.Func`2)": { - "Lines": { - "1056": 0, - "1065": 23, - "1066": 23, - "1067": 23, - "1068": 69, - "1069": 54 - }, - "Branches": [ - { - "Line": 1069, - "Offset": 6, - "EndOffset": 8, - "Path": 0, - "Ordinal": 0, - "Hits": 16 - }, - { - "Line": 1069, - "Offset": 6, - "EndOffset": 22, - "Path": 1, - "Ordinal": 1, - "Hits": 15 - } - ] - }, - "System.Reflection.MethodInfo EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::GetMethod(System.String,System.Type,System.Int32,System.Func`2)": { - "Lines": { - "1059": 14 - }, - "Branches": [ - { - "Line": 1059, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 4 - }, - { - "Line": 1059, - "Offset": 25, - "EndOffset": 27, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 1059, - "Offset": 25, - "EndOffset": 41, - "Path": 1, - "Ordinal": 3, - "Hits": 4 - }, - { - "Line": 1059, - "Offset": 17, - "EndOffset": 44, - "Path": 1, - "Ordinal": 1, - "Hits": 6 - } - ] - }, - "System.Linq.Expressions.Expression EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::OptimizeExpression(System.Linq.Expressions.Expression)": { - "Lines": { - "1100": 25, - "1101": 25, - "1102": 25, - "1103": 25, - "1106": 25, - "1107": 0, - "1110": 0, - "1112": 25, - "1115": 0, - "1116": 25 - }, - "Branches": [ - { - "Line": 1101, - "Offset": 11, - "EndOffset": 13, - "Path": 0, - "Ordinal": 0, - "Hits": 25 - }, - { - "Line": 1106, - "Offset": 35, - "EndOffset": 37, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 1106, - "Offset": 35, - "EndOffset": 39, - "Path": 1, - "Ordinal": 3, - "Hits": 25 - }, - { - "Line": 1101, - "Offset": 11, - "EndOffset": 43, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Void EntityFramework.DynamicLinq.EntityFrameworkDynamicQueryableExtensions::.cctor()": { - "Lines": { - "32": 1, - "35": 1, - "90": 1, - "117": 1, - "172": 2, - "199": 2, - "258": 1, - "286": 1, - "345": 1, - "372": 1, - "430": 1, - "459": 3, - "522": 1, - "549": 1, - "607": 1, - "636": 1, - "699": 1, - "727": 1, - "786": 1, - "814": 3, - "957": 1, - "958": 1, - "959": 1, - "960": 1, - "961": 19, - "1008": 1, - "1009": 1, - "1010": 1, - "1011": 1, - "1012": 20 - }, - "Branches": [ - { - "Line": 961, - "Offset": 16, - "EndOffset": 18, - "Path": 0, - "Ordinal": 0, - "Hits": 3 - }, - { - "Line": 961, - "Offset": 16, - "EndOffset": 112, - "Path": 1, - "Ordinal": 1, - "Hits": 6 - }, - { - "Line": 1012, - "Offset": 16, - "EndOffset": 18, - "Path": 0, - "Ordinal": 0, - "Hits": 3 - }, - { - "Line": 1012, - "Offset": 16, - "EndOffset": 125, - "Path": 1, - "Ordinal": 1, - "Hits": 6 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\Microsoft.EntityFrameworkCore.DynamicLinq.EFCore3\\EFDynamicQueryableWithFormattableStringExtensions.cs": { - "EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions": { - "System.String EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::ParseFormattableString(System.FormattableString,System.Object[]&)": { - "Lines": { - "31": 2, - "32": 2, - "33": 2, - "34": 2, - "35": 2, - "36": 2 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::AllInterpolatedAsync(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "40": 1, - "41": 1, - "42": 1, - "43": 1 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::AllInterpolatedAsync(System.Linq.IQueryable,System.FormattableString,System.Threading.CancellationToken)": { - "Lines": { - "47": 0, - "48": 0, - "49": 0, - "50": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::AnyInterpolatedAsync(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "54": 0, - "55": 0, - "56": 0, - "57": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::AnyInterpolatedAsync(System.Linq.IQueryable,System.FormattableString,System.Threading.CancellationToken)": { - "Lines": { - "61": 0, - "62": 0, - "63": 0, - "64": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::AverageInterpolatedAsync(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "68": 0, - "69": 0, - "70": 0, - "71": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::AverageInterpolatedAsync(System.Linq.IQueryable,System.FormattableString,System.Threading.CancellationToken)": { - "Lines": { - "76": 0, - "77": 0, - "78": 0, - "79": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::CountInterpolatedAsync(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "83": 1, - "84": 1, - "85": 1, - "86": 1 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::CountInterpolatedAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.FormattableString)": { - "Lines": { - "90": 0, - "91": 0, - "92": 0, - "93": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::FirstInterpolatedAsync(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "97": 0, - "98": 0, - "99": 0, - "100": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::FirstInterpolatedAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.FormattableString)": { - "Lines": { - "104": 0, - "105": 0, - "106": 0, - "107": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::FirstOrDefaultInterpolatedAsync(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "111": 0, - "112": 0, - "113": 0, - "114": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::FirstOrDefaultInterpolatedAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.FormattableString)": { - "Lines": { - "118": 0, - "119": 0, - "120": 0, - "121": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::LastInterpolatedAsync(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "125": 0, - "126": 0, - "127": 0, - "128": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::LastInterpolatedAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.FormattableString)": { - "Lines": { - "132": 0, - "133": 0, - "134": 0, - "135": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::LastOrDefaultInterpolatedAsync(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "139": 0, - "140": 0, - "141": 0, - "142": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::LastOrDefaultInterpolatedAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.FormattableString)": { - "Lines": { - "146": 0, - "147": 0, - "148": 0, - "149": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::LongCountInterpolatedAsync(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "153": 0, - "154": 0, - "155": 0, - "156": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::LongCountInterpolatedAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.FormattableString)": { - "Lines": { - "160": 0, - "161": 0, - "162": 0, - "163": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::SingleOrDefaultInterpolatedAsync(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "167": 0, - "168": 0, - "169": 0, - "170": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::SingleOrDefaultInterpolatedAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.FormattableString)": { - "Lines": { - "174": 0, - "175": 0, - "176": 0, - "177": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::SumInterpolatedAsync(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "181": 0, - "182": 0, - "183": 0, - "184": 0 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1 EntityFramework.DynamicLinq.EFDynamicQueryableWithFormattableStringExtensions::SumInterpolatedAsync(System.Linq.IQueryable,System.Threading.CancellationToken,System.FormattableString)": { - "Lines": { - "188": 0, - "189": 0, - "190": 0, - "191": 0 - }, - "Branches": [] - } - } - } - }, - "System.Linq.Dynamic.Core.dll": { - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Compatibility\\StringExtensions.cs": { - "System.StringExtensions": { - "System.Boolean System.StringExtensions::IsNullOrWhiteSpace(System.String)": { - "Lines": { - "19": 2287, - "21": 2287, - "38": 2287 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Compatibility\\CustomIntrospectionExtensions.cs": { - "System.Reflection.CustomIntrospectionExtensions": { - "System.Type[] System.Reflection.CustomIntrospectionExtensions::GetGenericTypeArguments(System.Reflection.TypeInfo)": { - "Lines": { - "35": 3992, - "36": 3992, - "37": 3992 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Compatibility\\CustomTypeBuilderExtensions.cs": { - "System.Reflection.CustomTypeBuilderExtensions": { - "System.Type System.Reflection.CustomTypeBuilderExtensions::CreateType(System.Reflection.Emit.TypeBuilder)": { - "Lines": { - "10": 0, - "11": 0, - "12": 0 - }, - "Branches": [] - }, - "System.Reflection.Emit.PropertyBuilder System.Reflection.CustomTypeBuilderExtensions::DefineProperty(System.Reflection.Emit.TypeBuilder,System.String,System.Reflection.PropertyAttributes,System.Reflection.CallingConventions,System.Type,System.Type[])": { - "Lines": { - "17": 0, - "18": 0, - "19": 0 - }, - "Branches": [] - }, - "System.Type System.Reflection.CustomTypeBuilderExtensions::AsType(System.Reflection.Emit.TypeBuilder)": { - "Lines": { - "25": 0, - "26": 0, - "27": 0 - }, - "Branches": [] - }, - "System.Type System.Reflection.CustomTypeBuilderExtensions::AsType(System.Reflection.Emit.GenericTypeParameterBuilder)": { - "Lines": { - "30": 0, - "31": 0, - "32": 0 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Compatibility\\LambdaExpressionExtensions.cs": { - "System.Linq.Expressions.LambdaExpressionExtensions": { - "System.Type System.Linq.Expressions.LambdaExpressionExtensions::GetReturnType(System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "7": 8, - "9": 8, - "13": 8 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\AssemblyBuilderFactory.cs": { - "System.Linq.Dynamic.Core.AssemblyBuilderFactory": { - "System.Reflection.Emit.AssemblyBuilder System.Linq.Dynamic.Core.AssemblyBuilderFactory::DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess)": { - "Lines": { - "16": 1, - "20": 1, - "22": 1 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\DefaultAssemblyHelper.cs": { - "System.Linq.Dynamic.Core.DefaultAssemblyHelper": { - "System.Reflection.Assembly[] System.Linq.Dynamic.Core.DefaultAssemblyHelper::GetAssemblies()": { - "Lines": { - "13": 110, - "20": 110, - "21": 110, - "22": 52242, - "23": 25956, - "25": 25956, - "26": 25956, - "27": 25630, - "28": 25630, - "29": 25630, - "30": 25956, - "31": 0, - "32": 0, - "34": 0, - "35": 25956, - "37": 110, - "38": 110, - "39": 110, - "44": 0, - "45": 0, - "46": 0, - "47": 0, - "48": 0, - "49": 0, - "50": 0, - "52": 0, - "53": 0, - "54": 0, - "55": 0, - "56": 0, - "58": 0, - "59": 0, - "60": 0, - "61": 0, - "62": 0, - "64": 0, - "65": 0, - "67": 0, - "69": 110 - }, - "Branches": [ - { - "Line": 22, - "Offset": 109, - "EndOffset": 45, - "Path": 1, - "Ordinal": 3, - "Hits": 25956 - }, - { - "Line": 26, - "Offset": 70, - "EndOffset": 72, - "Path": 0, - "Ordinal": 0, - "Hits": 25630 - }, - { - "Line": 26, - "Offset": 70, - "EndOffset": 93, - "Path": 1, - "Ordinal": 1, - "Hits": 25956 - }, - { - "Line": 22, - "Offset": 109, - "EndOffset": 111, - "Path": 0, - "Ordinal": 2, - "Hits": 110 - }, - { - "Line": 37, - "Offset": 146, - "EndOffset": 148, - "Path": 0, - "Ordinal": 4, - "Hits": 110 - }, - { - "Line": 37, - "Offset": 146, - "EndOffset": 162, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 55, - "Offset": 286, - "EndOffset": 232, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 55, - "Offset": 286, - "EndOffset": 288, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.DefaultAssemblyHelper::.ctor(System.Linq.Dynamic.Core.ParsingConfig)": { - "Lines": { - "8": 82, - "10": 82 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\DefaultQueryableAnalyzer.cs": { - "System.Linq.Dynamic.Core.DefaultQueryableAnalyzer": { - "System.Boolean System.Linq.Dynamic.Core.DefaultQueryableAnalyzer::SupportsLinqToObjects(System.Linq.IQueryable,System.Linq.IQueryProvider)": { - "Lines": { - "14": 349, - "15": 349, - "16": 349, - "18": 349, - "19": 349, - "23": 349, - "25": 349, - "26": 65, - "28": 65, - "29": 3, - "31": 3, - "32": 3, - "33": 3, - "34": 3, - "35": 3, - "38": 0, - "40": 0, - "41": 0, - "42": 0, - "47": 62, - "48": 4, - "50": 4, - "51": 4, - "52": 4, - "53": 2, - "54": 2, - "57": 2, - "59": 0, - "60": 0, - "61": 0, - "64": 58, - "66": 342, - "67": 349 - }, - "Branches": [ - { - "Line": 16, - "Offset": 15, - "EndOffset": 17, - "Path": 0, - "Ordinal": 0, - "Hits": 344 - }, - { - "Line": 16, - "Offset": 15, - "EndOffset": 24, - "Path": 1, - "Ordinal": 1, - "Hits": 349 - }, - { - "Line": 25, - "Offset": 68, - "EndOffset": 73, - "Path": 0, - "Ordinal": 2, - "Hits": 65 - }, - { - "Line": 28, - "Offset": 94, - "EndOffset": 96, - "Path": 0, - "Ordinal": 4, - "Hits": 3 - }, - { - "Line": 33, - "Offset": 123, - "EndOffset": 125, - "Path": 0, - "Ordinal": 6, - "Hits": 3 - }, - { - "Line": 35, - "Offset": 144, - "EndOffset": 146, - "Path": 0, - "Ordinal": 8, - "Hits": 3 - }, - { - "Line": 35, - "Offset": 144, - "EndOffset": 157, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 33, - "Offset": 123, - "EndOffset": 165, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 28, - "Offset": 94, - "EndOffset": 184, - "Path": 1, - "Ordinal": 5, - "Hits": 62 - }, - { - "Line": 47, - "Offset": 204, - "EndOffset": 206, - "Path": 0, - "Ordinal": 10, - "Hits": 4 - }, - { - "Line": 52, - "Offset": 240, - "EndOffset": 242, - "Path": 0, - "Ordinal": 12, - "Hits": 2 - }, - { - "Line": 54, - "Offset": 261, - "EndOffset": 263, - "Path": 0, - "Ordinal": 14, - "Hits": 2 - }, - { - "Line": 54, - "Offset": 261, - "EndOffset": 274, - "Path": 1, - "Ordinal": 15, - "Hits": 0 - }, - { - "Line": 52, - "Offset": 240, - "EndOffset": 279, - "Path": 1, - "Ordinal": 13, - "Hits": 2 - }, - { - "Line": 47, - "Offset": 204, - "EndOffset": 298, - "Path": 1, - "Ordinal": 11, - "Hits": 58 - }, - { - "Line": 25, - "Offset": 68, - "EndOffset": 299, - "Path": 1, - "Ordinal": 3, - "Hits": 342 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\DynamicClass.cs": { - "System.Linq.Dynamic.Core.DynamicClass": { - "System.Collections.Generic.Dictionary`2 System.Linq.Dynamic.Core.DynamicClass::get_Properties()": { - "Lines": { - "26": 13, - "27": 13, - "28": 9, - "29": 9, - "31": 65, - "32": 19, - "33": 19, - "34": 19, - "35": 9, - "37": 9, - "40": 10, - "41": 10, - "42": 9, - "44": 13, - "45": 13 - }, - "Branches": [ - { - "Line": 27, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 9 - }, - { - "Line": 31, - "Offset": 109, - "EndOffset": 45, - "Path": 1, - "Ordinal": 5, - "Hits": 19 - }, - { - "Line": 34, - "Offset": 69, - "EndOffset": 71, - "Path": 0, - "Ordinal": 2, - "Hits": 9 - }, - { - "Line": 34, - "Offset": 69, - "EndOffset": 74, - "Path": 1, - "Ordinal": 3, - "Hits": 10 - }, - { - "Line": 31, - "Offset": 109, - "EndOffset": 111, - "Path": 0, - "Ordinal": 4, - "Hits": 9 - }, - { - "Line": 27, - "Offset": 12, - "EndOffset": 112, - "Path": 1, - "Ordinal": 1, - "Hits": 13 - } - ] - }, - "T System.Linq.Dynamic.Core.DynamicClass::GetDynamicPropertyValue(System.String)": { - "Lines": { - "55": 18, - "56": 18, - "57": 18, - "59": 18, - "60": 18 - }, - "Branches": [ - { - "Line": 59, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 59, - "Offset": 17, - "EndOffset": 22, - "Path": 1, - "Ordinal": 1, - "Hits": 18 - } - ] - }, - "System.Object System.Linq.Dynamic.Core.DynamicClass::GetDynamicPropertyValue(System.String)": { - "Lines": { - "68": 0, - "69": 0, - "70": 0 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.DynamicClass::SetDynamicPropertyValue(System.String,T)": { - "Lines": { - "79": 11, - "80": 11, - "81": 11, - "83": 11, - "84": 11 - }, - "Branches": [ - { - "Line": 83, - "Offset": 17, - "EndOffset": 21, - "Path": 1, - "Ordinal": 1, - "Hits": 11 - }, - { - "Line": 83, - "Offset": 17, - "EndOffset": 36, - "Path": 0, - "Ordinal": 0, - "Hits": 11 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.DynamicClass::SetDynamicPropertyValue(System.String,System.Object)": { - "Lines": { - "92": 0, - "93": 0, - "94": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicClass::get_Item(System.String)": { - "Lines": { - "105": 7, - "106": 7, - "107": 7 - }, - "Branches": [ - { - "Line": 106, - "Offset": 15, - "EndOffset": 17, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 106, - "Offset": 15, - "EndOffset": 20, - "Path": 1, - "Ordinal": 1, - "Hits": 7 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.DynamicClass::set_Item(System.String,System.Object)": { - "Lines": { - "110": 2, - "111": 2, - "112": 1, - "113": 1, - "114": 1, - "116": 1, - "117": 1, - "118": 1, - "119": 2 - }, - "Branches": [ - { - "Line": 111, - "Offset": 15, - "EndOffset": 17, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 111, - "Offset": 15, - "EndOffset": 35, - "Path": 1, - "Ordinal": 1, - "Hits": 1 - } - ] - }, - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.DynamicClass::GetDynamicMemberNames()": { - "Lines": { - "129": 2, - "130": 2, - "131": 2 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.DynamicClass::TryGetMember(System.Dynamic.GetMemberBinder,System.Object&)": { - "Lines": { - "142": 0, - "143": 0, - "144": 0 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.DynamicClass::TrySetMember(System.Dynamic.SetMemberBinder,System.Object)": { - "Lines": { - "155": 0, - "156": 0, - "157": 0, - "158": 0, - "159": 0, - "160": 0, - "162": 0, - "163": 0, - "164": 0, - "166": 0, - "167": 0 - }, - "Branches": [ - { - "Line": 157, - "Offset": 22, - "EndOffset": 24, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 157, - "Offset": 22, - "EndOffset": 42, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\DynamicClassFactory.cs": { - "System.Linq.Dynamic.Core.DynamicClassFactory": { - "System.Type System.Linq.Dynamic.Core.DynamicClassFactory::CreateGenericComparerType(System.Type,System.Type)": { - "Lines": { - "93": 5, - "94": 5, - "95": 5, - "97": 5, - "99": 5, - "100": 5, - "104": 5, - "105": 5, - "106": 5, - "107": 5, - "108": 5, - "109": 5, - "110": 5, - "111": 5, - "113": 5, - "114": 5, - "116": 5, - "118": 5, - "119": 5, - "120": 5, - "121": 5, - "122": 5, - "123": 5, - "124": 5, - "125": 5, - "127": 5, - "128": 5, - "129": 5, - "130": 5, - "131": 5, - "132": 10, - "133": 5, - "134": 5, - "135": 5, - "136": 5, - "137": 5, - "138": 5, - "139": 5, - "140": 5, - "141": 5, - "142": 5, - "144": 5, - "146": 0, - "147": 0, - "149": 0, - "150": 5 - }, - "Branches": [ - { - "Line": 99, - "Offset": 66, - "EndOffset": 71, - "Path": 0, - "Ordinal": 0, - "Hits": 5 - }, - { - "Line": 106, - "Offset": 111, - "EndOffset": 116, - "Path": 0, - "Ordinal": 2, - "Hits": 5 - }, - { - "Line": 106, - "Offset": 111, - "EndOffset": 585, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 99, - "Offset": 66, - "EndOffset": 601, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Type System.Linq.Dynamic.Core.DynamicClassFactory::CreateType(System.Collections.Generic.IList`1,System.Boolean)": { - "Lines": { - "174": 56, - "175": 56, - "177": 151, - "178": 151, - "180": 56, - "182": 56, - "183": 45, - "187": 45, - "188": 45, - "189": 45, - "190": 45, - "191": 45, - "193": 45, - "195": 45, - "196": 45, - "200": 45, - "201": 44, - "202": 121, - "203": 44, - "204": 286, - "205": 77, - "206": 77, - "207": 77, - "208": 44, - "210": 1, - "211": 1, - "212": 1, - "214": 45, - "217": 244, - "218": 77, - "220": 77, - "221": 77, - "223": 77, - "226": 77, - "227": 77, - "228": 77, - "229": 77, - "230": 77, - "231": 77, - "232": 77, - "235": 77, - "236": 77, - "239": 77, - "241": 77, - "242": 77, - "243": 77, - "244": 77, - "245": 77, - "246": 77, - "247": 77, - "250": 45, - "251": 45, - "252": 45, - "253": 45, - "254": 45, - "255": 45, - "258": 45, - "259": 45, - "260": 45, - "262": 45, - "263": 45, - "264": 45, - "265": 45, - "266": 45, - "267": 45, - "269": 45, - "272": 45, - "273": 45, - "274": 45, - "275": 45, - "277": 45, - "278": 1, - "279": 1, - "280": 1, - "282": 44, - "285": 44, - "287": 242, - "288": 77, - "289": 77, - "290": 77, - "293": 44, - "294": 44, - "296": 244, - "297": 77, - "299": 77, - "300": 77, - "301": 77, - "304": 77, - "305": 77, - "309": 77, - "310": 77, - "311": 77, - "312": 77, - "313": 77, - "314": 77, - "315": 77, - "318": 77, - "319": 77, - "320": 77, - "321": 77, - "322": 77, - "323": 77, - "324": 77, - "325": 77, - "326": 77, - "327": 77, - "328": 77, - "331": 77, - "332": 77, - "333": 77, - "334": 77, - "335": 77, - "336": 77, - "337": 77, - "338": 77, - "339": 77, - "340": 77, - "341": 77, - "346": 45, - "347": 34, - "349": 34, - "350": 34, - "352": 34, - "353": 34, - "354": 34, - "355": 34, - "358": 92, - "359": 34, - "361": 34, - "362": 34, - "363": 34, - "365": 184, - "366": 58, - "367": 58, - "368": 58, - "370": 58, - "371": 34, - "372": 34, - "373": 34, - "374": 24, - "375": 16, - "376": 16, - "377": 16, - "378": 8, - "379": 4, - "380": 4, - "381": 4, - "382": 4, - "383": 4, - "384": 4, - "385": 4, - "387": 0, - "389": 0, - "390": 0, - "392": 58, - "393": 58, - "395": 34, - "396": 34, - "399": 45, - "400": 1, - "401": 1, - "402": 1, - "403": 1, - "404": 1, - "405": 1, - "407": 44, - "408": 44, - "409": 44, - "410": 44, - "411": 44, - "413": 45, - "416": 45, - "417": 45, - "418": 45, - "421": 45, - "422": 45, - "423": 45, - "424": 45, - "425": 45, - "426": 45, - "427": 45, - "429": 45, - "431": 45, - "432": 45, - "433": 45, - "434": 45, - "436": 56, - "437": 55, - "438": 55, - "439": 55, - "441": 56, - "442": 56 - }, - "Branches": [ - { - "Line": 182, - "Offset": 127, - "EndOffset": 132, - "Path": 0, - "Ordinal": 0, - "Hits": 45 - }, - { - "Line": 189, - "Offset": 174, - "EndOffset": 179, - "Path": 0, - "Ordinal": 2, - "Hits": 45 - }, - { - "Line": 193, - "Offset": 194, - "EndOffset": 196, - "Path": 0, - "Ordinal": 4, - "Hits": 1 - }, - { - "Line": 193, - "Offset": 194, - "EndOffset": 238, - "Path": 1, - "Ordinal": 5, - "Hits": 44 - }, - { - "Line": 200, - "Offset": 355, - "EndOffset": 357, - "Path": 0, - "Ordinal": 6, - "Hits": 44 - }, - { - "Line": 204, - "Offset": 457, - "EndOffset": 423, - "Path": 1, - "Ordinal": 9, - "Hits": 77 - }, - { - "Line": 204, - "Offset": 457, - "EndOffset": 459, - "Path": 0, - "Ordinal": 8, - "Hits": 44 - }, - { - "Line": 200, - "Offset": 355, - "EndOffset": 462, - "Path": 1, - "Ordinal": 7, - "Hits": 1 - }, - { - "Line": 217, - "Offset": 875, - "EndOffset": 490, - "Path": 1, - "Ordinal": 11, - "Hits": 77 - }, - { - "Line": 217, - "Offset": 875, - "EndOffset": 880, - "Path": 0, - "Ordinal": 10, - "Hits": 45 - }, - { - "Line": 277, - "Offset": 1242, - "EndOffset": 1244, - "Path": 0, - "Ordinal": 12, - "Hits": 1 - }, - { - "Line": 277, - "Offset": 1242, - "EndOffset": 1261, - "Path": 1, - "Ordinal": 13, - "Hits": 44 - }, - { - "Line": 287, - "Offset": 1315, - "EndOffset": 1270, - "Path": 1, - "Ordinal": 15, - "Hits": 77 - }, - { - "Line": 287, - "Offset": 1315, - "EndOffset": 1317, - "Path": 0, - "Ordinal": 14, - "Hits": 44 - }, - { - "Line": 296, - "Offset": 1889, - "EndOffset": 1341, - "Path": 1, - "Ordinal": 21, - "Hits": 77 - }, - { - "Line": 299, - "Offset": 1354, - "EndOffset": 1359, - "Path": 0, - "Ordinal": 16, - "Hits": 77 - }, - { - "Line": 299, - "Offset": 1354, - "EndOffset": 1672, - "Path": 1, - "Ordinal": 17, - "Hits": 77 - }, - { - "Line": 332, - "Offset": 1694, - "EndOffset": 1696, - "Path": 0, - "Ordinal": 18, - "Hits": 33 - }, - { - "Line": 332, - "Offset": 1694, - "EndOffset": 1717, - "Path": 1, - "Ordinal": 19, - "Hits": 44 - }, - { - "Line": 296, - "Offset": 1889, - "EndOffset": 1894, - "Path": 0, - "Ordinal": 20, - "Hits": 45 - }, - { - "Line": 346, - "Offset": 1895, - "EndOffset": 1897, - "Path": 0, - "Ordinal": 22, - "Hits": 35 - }, - { - "Line": 346, - "Offset": 1895, - "EndOffset": 1905, - "Path": 1, - "Ordinal": 23, - "Hits": 10 - }, - { - "Line": 346, - "Offset": 1910, - "EndOffset": 1915, - "Path": 0, - "Ordinal": 24, - "Hits": 34 - }, - { - "Line": 365, - "Offset": 2331, - "EndOffset": 2123, - "Path": 1, - "Ordinal": 35, - "Hits": 58 - }, - { - "Line": 370, - "Offset": 2163, - "EndOffset": 2165, - "Path": 0, - "Ordinal": 26, - "Hits": 34 - }, - { - "Line": 370, - "Offset": 2163, - "EndOffset": 2182, - "Path": 1, - "Ordinal": 27, - "Hits": 24 - }, - { - "Line": 374, - "Offset": 2191, - "EndOffset": 2193, - "Path": 0, - "Ordinal": 28, - "Hits": 16 - }, - { - "Line": 374, - "Offset": 2191, - "EndOffset": 2210, - "Path": 1, - "Ordinal": 29, - "Hits": 8 - }, - { - "Line": 378, - "Offset": 2219, - "EndOffset": 2221, - "Path": 0, - "Ordinal": 30, - "Hits": 4 - }, - { - "Line": 378, - "Offset": 2219, - "EndOffset": 2238, - "Path": 1, - "Ordinal": 31, - "Hits": 4 - }, - { - "Line": 382, - "Offset": 2251, - "EndOffset": 2253, - "Path": 0, - "Ordinal": 32, - "Hits": 4 - }, - { - "Line": 382, - "Offset": 2251, - "EndOffset": 2275, - "Path": 1, - "Ordinal": 33, - "Hits": 0 - }, - { - "Line": 365, - "Offset": 2331, - "EndOffset": 2336, - "Path": 0, - "Ordinal": 34, - "Hits": 34 - }, - { - "Line": 346, - "Offset": 1910, - "EndOffset": 2350, - "Path": 1, - "Ordinal": 25, - "Hits": 45 - }, - { - "Line": 399, - "Offset": 2359, - "EndOffset": 2361, - "Path": 0, - "Ordinal": 36, - "Hits": 1 - }, - { - "Line": 399, - "Offset": 2359, - "EndOffset": 2417, - "Path": 1, - "Ordinal": 37, - "Hits": 44 - }, - { - "Line": 422, - "Offset": 2529, - "EndOffset": 2531, - "Path": 0, - "Ordinal": 38, - "Hits": 44 - }, - { - "Line": 422, - "Offset": 2529, - "EndOffset": 2538, - "Path": 1, - "Ordinal": 39, - "Hits": 1 - }, - { - "Line": 189, - "Offset": 174, - "EndOffset": 2646, - "Path": 1, - "Ordinal": 3, - "Hits": 45 - }, - { - "Line": 182, - "Offset": 127, - "EndOffset": 2663, - "Path": 1, - "Ordinal": 1, - "Hits": 56 - }, - { - "Line": 436, - "Offset": 2672, - "EndOffset": 2674, - "Path": 0, - "Ordinal": 40, - "Hits": 55 - }, - { - "Line": 436, - "Offset": 2672, - "EndOffset": 2684, - "Path": 1, - "Ordinal": 41, - "Hits": 56 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.DynamicClassFactory::ClearGeneratedTypes()": { - "Lines": { - "448": 18, - "449": 18, - "450": 18, - "451": 18, - "452": 18, - "453": 18 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.DynamicClassFactory::GenerateKey(System.Collections.Generic.IEnumerable`1,System.Boolean)": { - "Lines": { - "464": 56, - "467": 151, - "468": 56 - }, - "Branches": [ - { - "Line": 467, - "Offset": 59, - "EndOffset": 61, - "Path": 0, - "Ordinal": 0, - "Hits": 10 - }, - { - "Line": 467, - "Offset": 59, - "EndOffset": 68, - "Path": 1, - "Ordinal": 1, - "Hits": 46 - } - ] - }, - "System.String System.Linq.Dynamic.Core.DynamicClassFactory::Escape(System.String)": { - "Lines": { - "471": 95, - "473": 95, - "474": 95, - "475": 95, - "476": 95 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.DynamicClassFactory::.cctor()": { - "Lines": { - "25": 1, - "30": 1, - "31": 1, - "32": 1, - "34": 1, - "38": 1, - "41": 1, - "46": 1, - "47": 1, - "50": 1, - "51": 1, - "57": 1, - "58": 1, - "59": 1, - "62": 1, - "64": 1, - "65": 1, - "71": 1, - "72": 1, - "73": 1, - "74": 1, - "75": 1, - "76": 1, - "77": 1, - "78": 1, - "79": 1, - "80": 1, - "81": 1, - "83": 1, - "84": 1 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\DynamicEnumerableAsyncExtensions.cs": { - "System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions": { - "System.Threading.Tasks.Task`1> System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions::ToDynamicListAsync(System.Collections.IEnumerable,System.Threading.CancellationToken)": { - "Lines": { - "95": 1, - "96": 1, - "97": 1 - }, - "Branches": [] - }, - "System.Threading.Tasks.Task`1> System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions::ToDynamicListAsync(System.Collections.IEnumerable,System.Threading.CancellationToken)": { - "Lines": { - "108": 0, - "109": 0, - "110": 0 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions::.cctor()": { - "Lines": { - "20": 1, - "21": 1, - "22": 1, - "23": 2, - "24": 1 - }, - "Branches": [] - } - }, - "System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions/d__2": { - "System.Void System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions/d__2::MoveNext()": { - "Lines": { - "35": 0, - "36": 0, - "37": 0, - "38": 0 - }, - "Branches": [] - } - }, - "System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions/d__3": { - "System.Void System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions/d__3::MoveNext()": { - "Lines": { - "48": 0, - "49": 0, - "50": 0 - }, - "Branches": [] - } - }, - "System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions/d__4`1": { - "System.Void System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions/d__4`1::MoveNext()": { - "Lines": { - "61": 0, - "62": 0, - "63": 0 - }, - "Branches": [] - } - }, - "System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions/d__5": { - "System.Void System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions/d__5::MoveNext()": { - "Lines": { - "74": 0, - "75": 0, - "76": 0, - "78": 0, - "80": 0, - "82": 0, - "84": 0, - "85": 0 - }, - "Branches": [] - } - }, - "System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions/d__8`1": { - "System.Void System.Linq.Dynamic.Core.DynamicEnumerableAsyncExtensions/d__8`1::MoveNext()": { - "Lines": { - "116": 1, - "117": 1, - "121": 0, - "122": 0, - "123": 0, - "124": 0, - "125": 0, - "126": 0, - "129": 0, - "132": 1, - "134": 1 - }, - "Branches": [ - { - "Line": 117, - "Offset": 66, - "EndOffset": 68, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 117, - "Offset": 66, - "EndOffset": 103, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 122, - "Offset": 348, - "EndOffset": 179, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 122, - "Offset": 348, - "EndOffset": 353, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 117, - "Offset": 91, - "EndOffset": 554, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 117, - "Offset": 91, - "EndOffset": 568, - "Path": 0, - "Ordinal": 2, - "Hits": 1 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\DynamicEnumerableExtensions.cs": { - "System.Linq.Dynamic.Core.DynamicEnumerableExtensions": { - "System.Object[] System.Linq.Dynamic.Core.DynamicEnumerableExtensions::ToDynamicArray(System.Collections.IEnumerable)": { - "Lines": { - "33": 53, - "34": 53, - "35": 52 - }, - "Branches": [] - }, - "T[] System.Linq.Dynamic.Core.DynamicEnumerableExtensions::ToDynamicArray(System.Collections.IEnumerable)": { - "Lines": { - "45": 36, - "46": 36, - "47": 36 - }, - "Branches": [] - }, - "System.Object[] System.Linq.Dynamic.Core.DynamicEnumerableExtensions::ToDynamicArray(System.Collections.IEnumerable,System.Type)": { - "Lines": { - "60": 5, - "61": 5, - "62": 5, - "64": 5, - "68": 5, - "70": 5 - }, - "Branches": [] - }, - "System.Collections.Generic.List`1 System.Linq.Dynamic.Core.DynamicEnumerableExtensions::ToDynamicList(System.Collections.IEnumerable)": { - "Lines": { - "82": 24, - "86": 24, - "88": 22 - }, - "Branches": [] - }, - "System.Collections.Generic.List`1 System.Linq.Dynamic.Core.DynamicEnumerableExtensions::ToDynamicList(System.Collections.IEnumerable,System.Type)": { - "Lines": { - "101": 4, - "102": 4, - "103": 4 - }, - "Branches": [] - }, - "System.Collections.Generic.List`1 System.Linq.Dynamic.Core.DynamicEnumerableExtensions::ToDynamicList(System.Collections.IEnumerable)": { - "Lines": { - "112": 7, - "113": 7, - "114": 7 - }, - "Branches": [] - }, - "T[] System.Linq.Dynamic.Core.DynamicEnumerableExtensions::CastToArray(System.Collections.IEnumerable)": { - "Lines": { - "117": 94, - "118": 94, - "119": 93 - }, - "Branches": [] - }, - "System.Collections.Generic.List`1 System.Linq.Dynamic.Core.DynamicEnumerableExtensions::CastToList(System.Collections.IEnumerable)": { - "Lines": { - "122": 31, - "123": 31, - "124": 29 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.DynamicEnumerableExtensions::.cctor()": { - "Lines": { - "16": 1, - "17": 1, - "18": 3, - "19": 1 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\DynamicExpressionParser.cs": { - "System.Linq.Dynamic.Core.DynamicExpressionParser": { - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Linq.Dynamic.Core.ParsingConfig,System.Boolean,System.Type,System.String,System.Object[])": { - "Lines": { - "25": 5, - "26": 5, - "28": 5, - "30": 5, - "31": 5 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Type,System.Linq.Dynamic.Core.ParsingConfig,System.Boolean,System.Type,System.String,System.Object[])": { - "Lines": { - "45": 0, - "46": 0, - "48": 0, - "50": 0, - "51": 0 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression`1> System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Linq.Dynamic.Core.ParsingConfig,System.Boolean,System.String,System.Object[])": { - "Lines": { - "64": 1, - "65": 1, - "66": 1 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression`1> System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Type,System.Linq.Dynamic.Core.ParsingConfig,System.Boolean,System.String,System.Object[])": { - "Lines": { - "80": 0, - "81": 0, - "82": 0, - "83": 0 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Linq.Dynamic.Core.ParsingConfig,System.Boolean,System.Linq.Expressions.ParameterExpression[],System.Type,System.String,System.Object[])": { - "Lines": { - "97": 539, - "98": 539, - "99": 507 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Type,System.Linq.Dynamic.Core.ParsingConfig,System.Boolean,System.Linq.Expressions.ParameterExpression[],System.Type,System.String,System.Object[])": { - "Lines": { - "114": 551, - "115": 551, - "116": 551, - "118": 551, - "120": 550, - "122": 519, - "123": 2, - "124": 2, - "127": 517, - "128": 3, - "129": 3, - "130": 3, - "132": 3, - "133": 3, - "134": 3, - "137": 514, - "138": 514, - "139": 514, - "140": 519 - }, - "Branches": [ - { - "Line": 122, - "Offset": 61, - "EndOffset": 63, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 122, - "Offset": 61, - "EndOffset": 72, - "Path": 1, - "Ordinal": 1, - "Hits": 517 - }, - { - "Line": 127, - "Offset": 73, - "EndOffset": 75, - "Path": 0, - "Ordinal": 2, - "Hits": 411 - }, - { - "Line": 127, - "Offset": 81, - "EndOffset": 83, - "Path": 0, - "Ordinal": 4, - "Hits": 3 - }, - { - "Line": 127, - "Offset": 73, - "EndOffset": 91, - "Path": 1, - "Ordinal": 3, - "Hits": 514 - }, - { - "Line": 127, - "Offset": 81, - "EndOffset": 91, - "Path": 1, - "Ordinal": 5, - "Hits": 514 - }, - { - "Line": 127, - "Offset": 96, - "EndOffset": 98, - "Path": 0, - "Ordinal": 6, - "Hits": 3 - }, - { - "Line": 132, - "Offset": 130, - "EndOffset": 132, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 132, - "Offset": 130, - "EndOffset": 152, - "Path": 1, - "Ordinal": 9, - "Hits": 3 - }, - { - "Line": 127, - "Offset": 96, - "EndOffset": 173, - "Path": 1, - "Ordinal": 7, - "Hits": 514 - }, - { - "Line": 137, - "Offset": 180, - "EndOffset": 182, - "Path": 0, - "Ordinal": 10, - "Hits": 9 - }, - { - "Line": 137, - "Offset": 180, - "EndOffset": 192, - "Path": 1, - "Ordinal": 11, - "Hits": 505 - } - ] - }, - "System.Linq.Expressions.Expression`1> System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Linq.Dynamic.Core.ParsingConfig,System.Boolean,System.Linq.Expressions.ParameterExpression[],System.String,System.Object[])": { - "Lines": { - "154": 0, - "155": 0, - "156": 0 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression`1> System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Type,System.Linq.Dynamic.Core.ParsingConfig,System.Boolean,System.Linq.Expressions.ParameterExpression[],System.String,System.Object[])": { - "Lines": { - "171": 0, - "172": 0, - "174": 0, - "175": 0 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Boolean,System.Type,System.Type,System.String,System.Object[])": { - "Lines": { - "188": 77, - "189": 77, - "190": 77, - "192": 77, - "193": 76 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression`1> System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Linq.Dynamic.Core.ParsingConfig,System.Boolean,System.String,System.Object[])": { - "Lines": { - "207": 24, - "208": 24, - "210": 24, - "211": 24 - }, - "Branches": [ - { - "Line": 210, - "Offset": 39, - "EndOffset": 41, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 210, - "Offset": 39, - "EndOffset": 44, - "Path": 1, - "Ordinal": 1, - "Hits": 24 - } - ] - }, - "System.Linq.Expressions.Expression`1> System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Type,System.Linq.Dynamic.Core.ParsingConfig,System.Boolean,System.String,System.Object[])": { - "Lines": { - "226": 0, - "227": 0, - "228": 0, - "230": 0, - "231": 0 - }, - "Branches": [ - { - "Line": 230, - "Offset": 52, - "EndOffset": 54, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 230, - "Offset": 52, - "EndOffset": 57, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Linq.Dynamic.Core.ParsingConfig,System.Type,System.String,System.Object[])": { - "Lines": { - "243": 1, - "244": 1, - "245": 1 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Type,System.Linq.Dynamic.Core.ParsingConfig,System.Type,System.String,System.Object[])": { - "Lines": { - "258": 0, - "259": 0, - "261": 0, - "262": 0 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Type,System.String,System.Object[])": { - "Lines": { - "273": 3, - "274": 3, - "276": 3, - "277": 3 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Type,System.Type,System.String,System.Object[])": { - "Lines": { - "298": 56, - "299": 56, - "301": 56, - "302": 55 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Linq.Dynamic.Core.ParsingConfig,System.Type,System.Type,System.String,System.Object[])": { - "Lines": { - "315": 17, - "316": 17, - "318": 17, - "319": 17 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Type,System.Linq.Dynamic.Core.ParsingConfig,System.Type,System.Type,System.String,System.Object[])": { - "Lines": { - "333": 1, - "334": 1, - "335": 1, - "337": 1, - "338": 1 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Linq.Dynamic.Core.ParsingConfig,System.Boolean,System.Type,System.Type,System.String,System.Object[])": { - "Lines": { - "352": 370, - "353": 370, - "354": 370, - "356": 370, - "357": 341 - }, - "Branches": [ - { - "Line": 356, - "Offset": 43, - "EndOffset": 45, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 356, - "Offset": 43, - "EndOffset": 48, - "Path": 1, - "Ordinal": 1, - "Hits": 370 - } - ] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Type,System.Linq.Dynamic.Core.ParsingConfig,System.Boolean,System.Type,System.Type,System.String,System.Object[])": { - "Lines": { - "372": 1, - "373": 1, - "374": 1, - "375": 1, - "377": 1, - "378": 1 - }, - "Branches": [ - { - "Line": 377, - "Offset": 56, - "EndOffset": 58, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 377, - "Offset": 56, - "EndOffset": 61, - "Path": 1, - "Ordinal": 1, - "Hits": 1 - } - ] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Linq.Expressions.ParameterExpression[],System.Type,System.String,System.Object[])": { - "Lines": { - "390": 29, - "391": 29, - "392": 27 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Type,System.Linq.Expressions.ParameterExpression[],System.Type,System.String,System.Object[])": { - "Lines": { - "405": 2, - "406": 2, - "408": 2, - "409": 2 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Linq.Dynamic.Core.ParsingConfig,System.Linq.Expressions.ParameterExpression[],System.Type,System.String,System.Object[])": { - "Lines": { - "422": 26, - "423": 26, - "424": 26 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Type,System.Linq.Dynamic.Core.ParsingConfig,System.Linq.Expressions.ParameterExpression[],System.Type,System.String,System.Object[])": { - "Lines": { - "438": 8, - "439": 8, - "441": 8, - "442": 8 - }, - "Branches": [] - }, - "System.Linq.Expressions.LambdaExpression System.Linq.Dynamic.Core.DynamicExpressionParser::ParseLambda(System.Boolean,System.Linq.Expressions.ParameterExpression[],System.Type,System.String,System.Object[])": { - "Lines": { - "455": 78, - "456": 78, - "457": 77 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\DynamicGetMemberBinder.cs": { - "System.Linq.Dynamic.Core.DynamicGetMemberBinder": { - "System.Dynamic.DynamicMetaObject System.Linq.Dynamic.Core.DynamicGetMemberBinder::FallbackGetMember(System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMetaObject)": { - "Lines": { - "23": 13, - "24": 13, - "25": 13, - "26": 13, - "27": 13, - "28": 13, - "30": 13, - "31": 13 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicGetMemberBinder::GetDynamicMember(System.Object,System.String,System.Boolean)": { - "Lines": { - "34": 13, - "35": 13, - "36": 2, - "37": 2, - "40": 11, - "41": 4, - "42": 4, - "45": 7, - "46": 0, - "47": 0, - "50": 7, - "51": 7, - "52": 7, - "53": 7, - "54": 7, - "56": 7, - "57": 7, - "58": 7, - "59": 0, - "60": 0, - "63": 7, - "64": 11 - }, - "Branches": [ - { - "Line": 35, - "Offset": 9, - "EndOffset": 11, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 35, - "Offset": 9, - "EndOffset": 18, - "Path": 1, - "Ordinal": 1, - "Hits": 11 - }, - { - "Line": 40, - "Offset": 33, - "EndOffset": 35, - "Path": 0, - "Ordinal": 2, - "Hits": 4 - }, - { - "Line": 40, - "Offset": 33, - "EndOffset": 50, - "Path": 1, - "Ordinal": 3, - "Hits": 7 - }, - { - "Line": 45, - "Offset": 65, - "EndOffset": 67, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 45, - "Offset": 65, - "EndOffset": 82, - "Path": 1, - "Ordinal": 5, - "Hits": 7 - }, - { - "Line": 51, - "Offset": 90, - "EndOffset": 92, - "Path": 0, - "Ordinal": 6, - "Hits": 7 - }, - { - "Line": 51, - "Offset": 90, - "EndOffset": 98, - "Path": 1, - "Ordinal": 7, - "Hits": 7 - }, - { - "Line": 58, - "Offset": 127, - "EndOffset": 129, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 58, - "Offset": 127, - "EndOffset": 210, - "Path": 1, - "Ordinal": 9, - "Hits": 7 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.DynamicGetMemberBinder::.ctor(System.String,System.Linq.Dynamic.Core.ParsingConfig)": { - "Lines": { - "18": 13, - "19": 13, - "20": 13 - }, - "Branches": [ - { - "Line": 18, - "Offset": 3, - "EndOffset": 5, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 18, - "Offset": 3, - "EndOffset": 8, - "Path": 1, - "Ordinal": 1, - "Hits": 13 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.DynamicGetMemberBinder::.cctor()": { - "Lines": { - "16": 1 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\DynamicProperty.cs": { - "System.Linq.Dynamic.Core.DynamicProperty": { - "System.String System.Linq.Dynamic.Core.DynamicProperty::get_Name()": { - "Lines": { - "25": 443 - }, - "Branches": [] - }, - "System.Type System.Linq.Dynamic.Core.DynamicProperty::get_Type()": { - "Lines": { - "33": 350 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.DynamicProperty::.ctor(System.String,System.Type)": { - "Lines": { - "13": 122, - "14": 122, - "15": 122, - "16": 122, - "17": 122 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\DynamicQueryableExtensions.cs": { - "System.Linq.Dynamic.Core.DynamicQueryableExtensions": { - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.DynamicQueryableExtensions::OptimizeExpression(System.Linq.Expressions.Expression)": { - "Lines": { - "36": 478, - "37": 478, - "38": 477, - "39": 477, - "42": 477, - "43": 0, - "44": 0, - "45": 0, - "46": 0, - "48": 477, - "51": 1, - "52": 478 - }, - "Branches": [ - { - "Line": 37, - "Offset": 11, - "EndOffset": 13, - "Path": 0, - "Ordinal": 0, - "Hits": 477 - }, - { - "Line": 42, - "Offset": 35, - "EndOffset": 37, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 42, - "Offset": 35, - "EndOffset": 97, - "Path": 1, - "Ordinal": 3, - "Hits": 477 - }, - { - "Line": 37, - "Offset": 11, - "EndOffset": 101, - "Path": 1, - "Ordinal": 1, - "Hits": 1 - } - ] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Aggregate(System.Linq.IQueryable,System.String,System.String)": { - "Lines": { - "63": 12, - "64": 12, - "65": 12, - "66": 12, - "69": 12, - "70": 12, - "71": 12, - "75": 1944, - "78": 12, - "79": 78, - "80": 78, - "81": 12, - "82": 78, - "83": 90, - "86": 12, - "87": 6, - "88": 6, - "89": 6, - "90": 6, - "91": 6, - "92": 6, - "96": 24, - "98": 6, - "99": 6, - "100": 6, - "101": 6, - "102": 6, - "103": 12 - }, - "Branches": [ - { - "Line": 86, - "Offset": 189, - "EndOffset": 191, - "Path": 0, - "Ordinal": 0, - "Hits": 6 - }, - { - "Line": 86, - "Offset": 189, - "EndOffset": 259, - "Path": 1, - "Ordinal": 1, - "Hits": 6 - }, - { - "Line": 75, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 138 - }, - { - "Line": 75, - "Offset": 17, - "EndOffset": 27, - "Path": 1, - "Ordinal": 1, - "Hits": 1794 - }, - { - "Line": 82, - "Offset": 14, - "EndOffset": 16, - "Path": 0, - "Ordinal": 0, - "Hits": 78 - }, - { - "Line": 82, - "Offset": 14, - "EndOffset": 45, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 96, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 18 - }, - { - "Line": 96, - "Offset": 17, - "EndOffset": 32, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.DynamicQueryableExtensions::All(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "116": 5, - "117": 5, - "118": 5 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.DynamicQueryableExtensions::All(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "128": 5, - "129": 5, - "130": 5, - "131": 5, - "133": 5, - "134": 5, - "136": 5, - "137": 5 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.DynamicQueryableExtensions::Any(System.Linq.IQueryable)": { - "Lines": { - "155": 72, - "156": 72, - "157": 72 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.DynamicQueryableExtensions::Any(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "179": 18, - "180": 18, - "181": 18, - "182": 18, - "184": 18, - "185": 18, - "187": 18, - "188": 18 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.DynamicQueryableExtensions::Any(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "192": 18, - "193": 18, - "194": 18 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.DynamicQueryableExtensions::Any(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "203": 0, - "204": 0, - "205": 0, - "207": 0, - "208": 0 - }, - "Branches": [] - }, - "System.Double System.Linq.Dynamic.Core.DynamicQueryableExtensions::Average(System.Linq.IQueryable)": { - "Lines": { - "226": 3, - "227": 3, - "229": 3, - "230": 3, - "231": 3 - }, - "Branches": [] - }, - "System.Double System.Linq.Dynamic.Core.DynamicQueryableExtensions::Average(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "249": 3, - "250": 3, - "251": 3, - "252": 3, - "254": 3, - "255": 3, - "257": 3, - "258": 3 - }, - "Branches": [] - }, - "System.Double System.Linq.Dynamic.Core.DynamicQueryableExtensions::Average(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "263": 3, - "264": 3, - "265": 3 - }, - "Branches": [] - }, - "System.Double System.Linq.Dynamic.Core.DynamicQueryableExtensions::Average(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "275": 3, - "276": 3, - "277": 3, - "279": 3, - "280": 3, - "281": 3 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Cast(System.Linq.IQueryable,System.Type)": { - "Lines": { - "318": 2, - "319": 2, - "320": 2, - "322": 2, - "324": 2, - "325": 2 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Cast(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String)": { - "Lines": { - "335": 1, - "336": 1, - "337": 1, - "338": 1, - "340": 1, - "341": 1, - "343": 1, - "344": 1 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Cast(System.Linq.IQueryable,System.String)": { - "Lines": { - "353": 1, - "354": 1, - "355": 1 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.DynamicQueryableExtensions::Count(System.Linq.IQueryable)": { - "Lines": { - "373": 23, - "374": 23, - "376": 23, - "377": 23 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.DynamicQueryableExtensions::Count(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "399": 17, - "400": 17, - "401": 17, - "402": 17, - "404": 17, - "405": 17, - "407": 14, - "408": 14 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.DynamicQueryableExtensions::Count(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "412": 16, - "413": 16, - "414": 13 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.DynamicQueryableExtensions::Count(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "423": 0, - "424": 0, - "425": 0, - "427": 0, - "428": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::DefaultIfEmpty(System.Linq.IQueryable)": { - "Lines": { - "446": 4, - "447": 4, - "449": 4, - "450": 4 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::DefaultIfEmpty(System.Linq.IQueryable,System.Object)": { - "Lines": { - "464": 4, - "465": 4, - "467": 4, - "468": 4 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Distinct(System.Linq.IQueryable)": { - "Lines": { - "487": 2, - "488": 2, - "490": 2, - "491": 2 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::First(System.Linq.IQueryable)": { - "Lines": { - "507": 14, - "508": 14, - "510": 14, - "511": 14 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::First(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "529": 4, - "530": 4, - "531": 4, - "532": 4, - "534": 4, - "535": 4, - "537": 4, - "538": 4 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::First(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "546": 4, - "547": 4, - "548": 4 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::First(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "561": 0, - "562": 0, - "563": 0, - "564": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::FirstOrDefault(System.Linq.IQueryable)": { - "Lines": { - "581": 5, - "582": 5, - "584": 5, - "585": 5 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::FirstOrDefault(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "601": 4, - "602": 4, - "603": 4, - "604": 4, - "606": 4, - "607": 4, - "609": 4, - "610": 4 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::FirstOrDefault(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "618": 4, - "619": 4, - "620": 4 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::FirstOrDefault(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "633": 0, - "634": 0, - "636": 0, - "637": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupBy(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.String,System.Object[])": { - "Lines": { - "659": 0, - "660": 0, - "661": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupBy(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.String,System.Collections.IEqualityComparer,System.Object[])": { - "Lines": { - "675": 7, - "676": 7, - "677": 4 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::InternalGroupBy(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.String,System.Collections.IEqualityComparer,System.Object[])": { - "Lines": { - "680": 7, - "681": 7, - "682": 7, - "683": 7, - "684": 7, - "686": 4, - "687": 4, - "688": 4, - "691": 4, - "692": 4, - "693": 4, - "694": 4, - "695": 4, - "696": 4, - "697": 4, - "699": 0, - "700": 0, - "701": 0, - "702": 0, - "703": 0, - "704": 0, - "705": 0, - "706": 0, - "708": 4, - "709": 4 - }, - "Branches": [ - { - "Line": 686, - "Offset": 55, - "EndOffset": 57, - "Path": 0, - "Ordinal": 0, - "Hits": 3 - }, - { - "Line": 686, - "Offset": 55, - "EndOffset": 66, - "Path": 1, - "Ordinal": 1, - "Hits": 1 - }, - { - "Line": 691, - "Offset": 113, - "EndOffset": 115, - "Path": 0, - "Ordinal": 2, - "Hits": 4 - }, - { - "Line": 691, - "Offset": 113, - "EndOffset": 224, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - } - ] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupBy(System.Linq.IQueryable,System.String,System.String,System.Object[])": { - "Lines": { - "714": 0, - "715": 0, - "716": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupBy(System.Linq.IQueryable,System.String,System.String,System.Collections.IEqualityComparer,System.Object[])": { - "Lines": { - "720": 0, - "721": 0, - "722": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupBy(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.String)": { - "Lines": { - "740": 7, - "741": 7, - "742": 4 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupBy(System.Linq.IQueryable,System.String,System.String)": { - "Lines": { - "746": 6, - "747": 6, - "748": 3 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupBy(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.String,System.Collections.IEqualityComparer)": { - "Lines": { - "761": 0, - "762": 0, - "763": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupBy(System.Linq.IQueryable,System.String,System.String,System.Collections.IEqualityComparer)": { - "Lines": { - "767": 0, - "768": 0, - "769": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupBy(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "788": 22, - "789": 22, - "790": 13 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupBy(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Collections.IEqualityComparer,System.Object[])": { - "Lines": { - "803": 0, - "804": 0, - "805": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::InternalGroupBy(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Collections.IEqualityComparer,System.Object[])": { - "Lines": { - "808": 22, - "809": 22, - "810": 21, - "811": 21, - "813": 18, - "814": 18, - "817": 13, - "818": 13, - "819": 13, - "820": 13, - "821": 13, - "822": 13, - "824": 0, - "825": 0, - "826": 0, - "827": 0, - "828": 0, - "829": 0, - "830": 0, - "832": 13, - "833": 13 - }, - "Branches": [ - { - "Line": 813, - "Offset": 43, - "EndOffset": 45, - "Path": 0, - "Ordinal": 0, - "Hits": 18 - }, - { - "Line": 813, - "Offset": 43, - "EndOffset": 54, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 817, - "Offset": 80, - "EndOffset": 82, - "Path": 0, - "Ordinal": 2, - "Hits": 13 - }, - { - "Line": 817, - "Offset": 80, - "EndOffset": 168, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - } - ] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupBy(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "838": 22, - "839": 22, - "840": 13 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupBy(System.Linq.IQueryable,System.String,System.Collections.IEqualityComparer,System.Object[])": { - "Lines": { - "844": 0, - "845": 0, - "846": 0 - }, - "Branches": [] - }, - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupByMany(System.Collections.Generic.IEnumerable`1,System.Linq.Dynamic.Core.ParsingConfig,System.String[])": { - "Lines": { - "861": 1, - "862": 1, - "863": 1, - "864": 1, - "866": 1, - "868": 1, - "869": 7, - "870": 2, - "871": 2, - "872": 2, - "873": 2, - "875": 1, - "876": 1 - }, - "Branches": [ - { - "Line": 869, - "Offset": 125, - "EndOffset": 55, - "Path": 1, - "Ordinal": 1, - "Hits": 2 - }, - { - "Line": 869, - "Offset": 125, - "EndOffset": 127, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - } - ] - }, - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupByMany(System.Collections.Generic.IEnumerable`1,System.String[])": { - "Lines": { - "880": 1, - "881": 1, - "882": 1 - }, - "Branches": [] - }, - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupByMany(System.Collections.Generic.IEnumerable`1,System.Func`2[])": { - "Lines": { - "893": 1, - "894": 1, - "895": 1, - "897": 1, - "898": 1 - }, - "Branches": [] - }, - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupByManyInternal(System.Collections.Generic.IEnumerable`1,System.Func`2[],System.Int32)": { - "Lines": { - "901": 15, - "902": 15, - "903": 6, - "904": 6, - "907": 9, - "909": 9, - "910": 22, - "911": 22, - "912": 22, - "913": 22, - "914": 22, - "915": 22, - "916": 22, - "918": 9, - "919": 15 - }, - "Branches": [ - { - "Line": 902, - "Offset": 42, - "EndOffset": 44, - "Path": 0, - "Ordinal": 0, - "Hits": 6 - }, - { - "Line": 902, - "Offset": 42, - "EndOffset": 50, - "Path": 1, - "Ordinal": 1, - "Hits": 9 - } - ] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupJoin(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.Collections.IEnumerable,System.String,System.String,System.String,System.Object[])": { - "Lines": { - "935": 6, - "936": 6, - "937": 6, - "938": 6, - "939": 6, - "940": 6, - "941": 6, - "943": 6, - "944": 6, - "946": 6, - "947": 6, - "948": 6, - "950": 6, - "952": 5, - "953": 5, - "954": 5, - "955": 5, - "956": 5, - "958": 5, - "960": 5, - "961": 5, - "962": 5, - "963": 5, - "964": 5, - "965": 5, - "966": 5, - "967": 5, - "968": 5 - }, - "Branches": [ - { - "Line": 946, - "Offset": 100, - "EndOffset": 102, - "Path": 0, - "Ordinal": 0, - "Hits": 6 - }, - { - "Line": 946, - "Offset": 100, - "EndOffset": 111, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::GroupJoin(System.Linq.IQueryable,System.Collections.IEnumerable,System.String,System.String,System.String,System.Object[])": { - "Lines": { - "972": 6, - "973": 6, - "974": 5 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Join(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.Collections.IEnumerable,System.String,System.String,System.String,System.Object[])": { - "Lines": { - "990": 5, - "993": 5, - "994": 5, - "995": 5, - "996": 5, - "997": 5, - "998": 5, - "1000": 5, - "1001": 5, - "1003": 5, - "1004": 5, - "1005": 5, - "1007": 5, - "1009": 4, - "1010": 4, - "1011": 4, - "1012": 4, - "1013": 4, - "1015": 4, - "1017": 4, - "1018": 4, - "1019": 4, - "1020": 4, - "1021": 4, - "1022": 4, - "1023": 4, - "1024": 4, - "1025": 4, - "1027": 4, - "1028": 4 - }, - "Branches": [ - { - "Line": 1003, - "Offset": 100, - "EndOffset": 102, - "Path": 0, - "Ordinal": 0, - "Hits": 5 - }, - { - "Line": 1003, - "Offset": 100, - "EndOffset": 111, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Join(System.Linq.IQueryable,System.Collections.IEnumerable,System.String,System.String,System.String,System.Object[])": { - "Lines": { - "1032": 5, - "1033": 5, - "1034": 4 - }, - "Branches": [] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::Join(System.Linq.IQueryable`1,System.Linq.Dynamic.Core.ParsingConfig,System.Collections.Generic.IEnumerable`1,System.String,System.String,System.String,System.Object[])": { - "Lines": { - "1050": 0, - "1051": 0, - "1052": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::Join(System.Linq.IQueryable`1,System.Collections.Generic.IEnumerable`1,System.String,System.String,System.String,System.Object[])": { - "Lines": { - "1056": 0, - "1057": 0, - "1058": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Last(System.Linq.IQueryable)": { - "Lines": { - "1075": 10, - "1076": 10, - "1078": 10, - "1079": 10 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Last(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "1094": 2, - "1095": 2, - "1096": 2, - "1097": 2, - "1099": 2, - "1100": 2, - "1102": 2, - "1103": 2 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Last(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "1111": 2, - "1112": 2, - "1113": 2 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Last(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "1127": 0, - "1128": 0, - "1129": 0, - "1130": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::LastOrDefault(System.Linq.IQueryable)": { - "Lines": { - "1147": 1, - "1148": 1, - "1150": 1, - "1151": 1 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::LastOrDefault(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "1166": 2, - "1167": 2, - "1168": 2, - "1169": 2, - "1171": 2, - "1172": 2, - "1174": 2, - "1175": 2 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::LastOrDefault(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "1183": 2, - "1184": 2, - "1185": 2 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::LastOrDefault(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "1198": 0, - "1199": 0, - "1200": 0, - "1201": 0 - }, - "Branches": [] - }, - "System.Int64 System.Linq.Dynamic.Core.DynamicQueryableExtensions::LongCount(System.Linq.IQueryable)": { - "Lines": { - "1220": 3, - "1221": 3, - "1223": 3, - "1224": 3 - }, - "Branches": [] - }, - "System.Int64 System.Linq.Dynamic.Core.DynamicQueryableExtensions::LongCount(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "1244": 8, - "1245": 8, - "1246": 8, - "1247": 8, - "1249": 8, - "1250": 8, - "1252": 8, - "1253": 8 - }, - "Branches": [] - }, - "System.Int64 System.Linq.Dynamic.Core.DynamicQueryableExtensions::LongCount(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "1257": 8, - "1258": 8, - "1259": 8 - }, - "Branches": [] - }, - "System.Int64 System.Linq.Dynamic.Core.DynamicQueryableExtensions::LongCount(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "1268": 0, - "1269": 0, - "1270": 0, - "1272": 0, - "1273": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Max(System.Linq.IQueryable)": { - "Lines": { - "1294": 1, - "1295": 1, - "1297": 1, - "1298": 1 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Max(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "1316": 1, - "1317": 1, - "1318": 1, - "1319": 1, - "1321": 1, - "1322": 1, - "1324": 1, - "1325": 1 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Max(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "1330": 1, - "1331": 1, - "1332": 1 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Max(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "1342": 0, - "1343": 0, - "1344": 0, - "1345": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Min(System.Linq.IQueryable)": { - "Lines": { - "1366": 1, - "1367": 1, - "1369": 1, - "1370": 1 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Min(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "1388": 1, - "1389": 1, - "1390": 1, - "1391": 1, - "1393": 1, - "1394": 1, - "1396": 1, - "1397": 1 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Min(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "1402": 1, - "1403": 1, - "1404": 1 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Min(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "1414": 0, - "1415": 0, - "1416": 0, - "1417": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::OfType(System.Linq.IQueryable,System.Type)": { - "Lines": { - "1430": 2, - "1431": 2, - "1432": 2, - "1434": 2, - "1436": 2, - "1437": 2 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::OfType(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String)": { - "Lines": { - "1447": 1, - "1448": 1, - "1449": 1, - "1450": 1, - "1452": 1, - "1453": 1, - "1455": 1, - "1456": 1 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::OfType(System.Linq.IQueryable,System.String)": { - "Lines": { - "1465": 1, - "1466": 1, - "1467": 1 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::OrderBy(System.Linq.IQueryable`1,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "1490": 20, - "1491": 20, - "1492": 13 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::OrderBy(System.Linq.IQueryable`1,System.String,System.Object[])": { - "Lines": { - "1496": 20, - "1497": 20, - "1498": 13 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::OrderBy(System.Linq.IQueryable`1,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Collections.IComparer,System.Object[])": { - "Lines": { - "1511": 3, - "1512": 3, - "1513": 3 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::OrderBy(System.Linq.IQueryable`1,System.String,System.Collections.IComparer,System.Object[])": { - "Lines": { - "1525": 3, - "1526": 3, - "1527": 3 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::OrderBy(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "1545": 32, - "1546": 67, - "1547": 3, - "1548": 3, - "1551": 29, - "1552": 23 - }, - "Branches": [ - { - "Line": 1546, - "Offset": 3, - "EndOffset": 5, - "Path": 0, - "Ordinal": 0, - "Hits": 4 - }, - { - "Line": 1546, - "Offset": 8, - "EndOffset": 10, - "Path": 0, - "Ordinal": 2, - "Hits": 4 - }, - { - "Line": 1546, - "Offset": 3, - "EndOffset": 61, - "Path": 1, - "Ordinal": 1, - "Hits": 28 - }, - { - "Line": 1546, - "Offset": 8, - "EndOffset": 61, - "Path": 1, - "Ordinal": 3, - "Hits": 28 - }, - { - "Line": 1546, - "Offset": 64, - "EndOffset": 66, - "Path": 0, - "Ordinal": 4, - "Hits": 3 - }, - { - "Line": 1546, - "Offset": 64, - "EndOffset": 86, - "Path": 1, - "Ordinal": 5, - "Hits": 29 - } - ] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::OrderBy(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Collections.IComparer,System.Object[])": { - "Lines": { - "1564": 0, - "1565": 0, - "1566": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::InternalOrderBy(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object,System.Object[])": { - "Lines": { - "1569": 35, - "1570": 35, - "1571": 33, - "1572": 33, - "1574": 28, - "1575": 28, - "1576": 28, - "1578": 26, - "1580": 134, - "1581": 28, - "1582": 28, - "1583": 22, - "1584": 22, - "1585": 22, - "1586": 22, - "1587": 22, - "1588": 22, - "1590": 6, - "1591": 6, - "1594": 6, - "1595": 4, - "1596": 4, - "1597": 4, - "1599": 2, - "1601": 2, - "1602": 2, - "1606": 2, - "1608": 6, - "1609": 6, - "1610": 6, - "1611": 6, - "1612": 6, - "1613": 6, - "1614": 28, - "1616": 26, - "1617": 26, - "1618": 26 - }, - "Branches": [ - { - "Line": 1580, - "Offset": 418, - "EndOffset": 109, - "Path": 1, - "Ordinal": 5, - "Hits": 28 - }, - { - "Line": 1582, - "Offset": 127, - "EndOffset": 129, - "Path": 0, - "Ordinal": 0, - "Hits": 22 - }, - { - "Line": 1582, - "Offset": 127, - "EndOffset": 220, - "Path": 1, - "Ordinal": 1, - "Hits": 6 - }, - { - "Line": 1594, - "Offset": 271, - "EndOffset": 273, - "Path": 0, - "Ordinal": 2, - "Hits": 4 - }, - { - "Line": 1594, - "Offset": 271, - "EndOffset": 287, - "Path": 1, - "Ordinal": 3, - "Hits": 2 - }, - { - "Line": 1580, - "Offset": 418, - "EndOffset": 423, - "Path": 0, - "Ordinal": 4, - "Hits": 26 - } - ] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::OrderBy(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "1622": 12, - "1623": 12, - "1624": 10 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::OrderBy(System.Linq.IQueryable,System.String,System.Collections.IComparer,System.Object[])": { - "Lines": { - "1628": 0, - "1629": 0, - "1630": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Page(System.Linq.IQueryable,System.Int32,System.Int32)": { - "Lines": { - "1643": 4, - "1644": 4, - "1645": 8, - "1646": 8, - "1648": 4, - "1649": 4 - }, - "Branches": [] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::Page(System.Linq.IQueryable`1,System.Int32,System.Int32)": { - "Lines": { - "1660": 4, - "1661": 4, - "1662": 8, - "1663": 8, - "1665": 4, - "1666": 4 - }, - "Branches": [ - { - "Line": 1662, - "Offset": 20, - "EndOffset": 22, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 1662, - "Offset": 20, - "EndOffset": 45, - "Path": 1, - "Ordinal": 1, - "Hits": 4 - }, - { - "Line": 1663, - "Offset": 63, - "EndOffset": 65, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - }, - { - "Line": 1663, - "Offset": 63, - "EndOffset": 88, - "Path": 1, - "Ordinal": 3, - "Hits": 4 - } - ] - }, - "System.Linq.Dynamic.Core.PagedResult System.Linq.Dynamic.Core.DynamicQueryableExtensions::PageResult(System.Linq.IQueryable,System.Int32,System.Int32,System.Nullable`1)": { - "Lines": { - "1677": 2, - "1678": 2, - "1679": 4, - "1680": 4, - "1681": 4, - "1683": 2, - "1684": 2, - "1685": 2, - "1686": 2, - "1687": 2, - "1688": 2, - "1690": 2, - "1691": 2, - "1693": 2, - "1694": 2 - }, - "Branches": [ - { - "Line": 1683, - "Offset": 173, - "EndOffset": 175, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 1683, - "Offset": 173, - "EndOffset": 183, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 1681, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 1681, - "Offset": 7, - "EndOffset": 36, - "Path": 1, - "Ordinal": 1, - "Hits": 2 - } - ] - }, - "System.Linq.Dynamic.Core.PagedResult`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::PageResult(System.Linq.IQueryable`1,System.Int32,System.Int32,System.Nullable`1)": { - "Lines": { - "1706": 2, - "1707": 2, - "1708": 4, - "1709": 4, - "1710": 4, - "1712": 2, - "1713": 2, - "1714": 2, - "1715": 2, - "1716": 2, - "1717": 2, - "1719": 2, - "1720": 2, - "1722": 2, - "1723": 2 - }, - "Branches": [ - { - "Line": 1708, - "Offset": 20, - "EndOffset": 22, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 1708, - "Offset": 20, - "EndOffset": 45, - "Path": 1, - "Ordinal": 1, - "Hits": 2 - }, - { - "Line": 1709, - "Offset": 63, - "EndOffset": 65, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - }, - { - "Line": 1709, - "Offset": 63, - "EndOffset": 88, - "Path": 1, - "Ordinal": 3, - "Hits": 2 - }, - { - "Line": 1710, - "Offset": 106, - "EndOffset": 108, - "Path": 0, - "Ordinal": 4, - "Hits": 2 - }, - { - "Line": 1710, - "Offset": 106, - "EndOffset": 131, - "Path": 1, - "Ordinal": 5, - "Hits": 2 - }, - { - "Line": 1712, - "Offset": 173, - "EndOffset": 175, - "Path": 0, - "Ordinal": 6, - "Hits": 2 - }, - { - "Line": 1712, - "Offset": 173, - "EndOffset": 183, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 1710, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 1710, - "Offset": 7, - "EndOffset": 36, - "Path": 1, - "Ordinal": 1, - "Hits": 2 - } - ] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Reverse(System.Linq.IQueryable)": { - "Lines": { - "1733": 1, - "1734": 1, - "1736": 1, - "1737": 1 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Select(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "1756": 103, - "1757": 103, - "1758": 102, - "1759": 102, - "1761": 99, - "1762": 99, - "1764": 87, - "1765": 87, - "1766": 87, - "1767": 87, - "1768": 87, - "1770": 87, - "1771": 87 - }, - "Branches": [ - { - "Line": 1761, - "Offset": 43, - "EndOffset": 45, - "Path": 0, - "Ordinal": 0, - "Hits": 99 - }, - { - "Line": 1761, - "Offset": 43, - "EndOffset": 54, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Select(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "1775": 94, - "1776": 94, - "1777": 79 - }, - "Branches": [] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::Select(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "1797": 24, - "1798": 24, - "1799": 24, - "1800": 24, - "1802": 24, - "1803": 24, - "1805": 23, - "1806": 23, - "1807": 23, - "1808": 23, - "1809": 23, - "1810": 23, - "1811": 23, - "1813": 23, - "1815": 23, - "1816": 23 - }, - "Branches": [ - { - "Line": 1802, - "Offset": 43, - "EndOffset": 45, - "Path": 0, - "Ordinal": 0, - "Hits": 22 - }, - { - "Line": 1802, - "Offset": 43, - "EndOffset": 54, - "Path": 1, - "Ordinal": 1, - "Hits": 2 - } - ] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::Select(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "1820": 12, - "1821": 12, - "1822": 11 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Select(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.Type,System.String,System.Object[])": { - "Lines": { - "1840": 3, - "1841": 3, - "1842": 3, - "1843": 3, - "1844": 3, - "1846": 3, - "1847": 3, - "1849": 3, - "1850": 3, - "1851": 3, - "1852": 3, - "1854": 3, - "1855": 3 - }, - "Branches": [ - { - "Line": 1846, - "Offset": 55, - "EndOffset": 57, - "Path": 0, - "Ordinal": 0, - "Hits": 3 - }, - { - "Line": 1846, - "Offset": 55, - "EndOffset": 66, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Select(System.Linq.IQueryable,System.Type,System.String,System.Object[])": { - "Lines": { - "1859": 3, - "1860": 3, - "1861": 3 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::SelectMany(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "1880": 7, - "1881": 7, - "1882": 7 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::SelectMany(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "1886": 7, - "1887": 7, - "1888": 7 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::SelectMany(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.Type,System.String,System.Object[])": { - "Lines": { - "1905": 2, - "1906": 2, - "1907": 2, - "1908": 2, - "1909": 2, - "1911": 2, - "1912": 2 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::SelectMany(System.Linq.IQueryable,System.Type,System.String,System.Object[])": { - "Lines": { - "1916": 2, - "1917": 2, - "1918": 2 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::SelectManyInternal(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.Type,System.String,System.Object[])": { - "Lines": { - "1921": 9, - "1922": 9, - "1923": 9, - "1929": 9, - "1930": 7, - "1933": 7, - "1934": 1, - "1936": 1, - "1937": 1, - "1939": 6, - "1940": 6, - "1941": 6, - "1942": 6, - "1943": 7, - "1946": 9, - "1947": 9, - "1948": 9, - "1949": 9, - "1951": 9, - "1952": 9, - "1953": 9, - "1954": 9, - "1955": 9, - "1957": 9, - "1958": 9 - }, - "Branches": [ - { - "Line": 1922, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 8 - }, - { - "Line": 1922, - "Offset": 7, - "EndOffset": 18, - "Path": 1, - "Ordinal": 1, - "Hits": 1 - }, - { - "Line": 1929, - "Offset": 49, - "EndOffset": 51, - "Path": 0, - "Ordinal": 2, - "Hits": 7 - }, - { - "Line": 1933, - "Offset": 72, - "EndOffset": 74, - "Path": 0, - "Ordinal": 4, - "Hits": 1 - }, - { - "Line": 1933, - "Offset": 72, - "EndOffset": 96, - "Path": 1, - "Ordinal": 5, - "Hits": 6 - }, - { - "Line": 1941, - "Offset": 122, - "EndOffset": 124, - "Path": 0, - "Ordinal": 6, - "Hits": 1 - }, - { - "Line": 1941, - "Offset": 122, - "EndOffset": 136, - "Path": 1, - "Ordinal": 7, - "Hits": 5 - }, - { - "Line": 1929, - "Offset": 49, - "EndOffset": 144, - "Path": 1, - "Ordinal": 3, - "Hits": 9 - } - ] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::SelectMany(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "1977": 3, - "1978": 3, - "1979": 3, - "1980": 3, - "1982": 3, - "1983": 3, - "1986": 3, - "1987": 3, - "1988": 3, - "1989": 3, - "1991": 3, - "1992": 3, - "1993": 3, - "1994": 3, - "1995": 3, - "1997": 3, - "1998": 3 - }, - "Branches": [ - { - "Line": 1982, - "Offset": 43, - "EndOffset": 45, - "Path": 0, - "Ordinal": 0, - "Hits": 3 - }, - { - "Line": 1982, - "Offset": 43, - "EndOffset": 54, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::SelectMany(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "2002": 3, - "2003": 3, - "2004": 3 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::SelectMany(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.String,System.Object[],System.Object[])": { - "Lines": { - "2031": 0, - "2032": 0, - "2033": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::SelectMany(System.Linq.IQueryable,System.String,System.String,System.Object[],System.Object[])": { - "Lines": { - "2037": 1, - "2038": 1, - "2039": 1 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::SelectMany(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.String,System.String,System.String,System.Object[],System.Object[])": { - "Lines": { - "2076": 2, - "2077": 2, - "2078": 2, - "2079": 2, - "2080": 2, - "2081": 2, - "2082": 2, - "2084": 2, - "2085": 2, - "2088": 2, - "2089": 2, - "2090": 2, - "2091": 2, - "2093": 2, - "2096": 2, - "2097": 2, - "2099": 2, - "2100": 2, - "2102": 2, - "2103": 2, - "2104": 2, - "2105": 2, - "2106": 2, - "2108": 2, - "2109": 2 - }, - "Branches": [ - { - "Line": 2084, - "Offset": 81, - "EndOffset": 83, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 2084, - "Offset": 81, - "EndOffset": 92, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::SelectMany(System.Linq.IQueryable,System.String,System.String,System.String,System.String,System.Object[],System.Object[])": { - "Lines": { - "2113": 1, - "2114": 1, - "2115": 1 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Single(System.Linq.IQueryable)": { - "Lines": { - "2134": 4, - "2135": 4, - "2137": 4, - "2138": 4, - "2139": 4 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Single(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "2155": 2, - "2156": 2, - "2157": 2, - "2158": 2, - "2160": 2, - "2161": 2, - "2163": 2, - "2164": 2 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Single(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "2172": 2, - "2173": 2, - "2174": 2 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Single(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "2188": 0, - "2189": 0, - "2190": 0, - "2191": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::SingleOrDefault(System.Linq.IQueryable)": { - "Lines": { - "2205": 2, - "2206": 2, - "2208": 2, - "2209": 2, - "2210": 2 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::SingleOrDefault(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "2226": 2, - "2227": 2, - "2228": 2, - "2229": 2, - "2231": 2, - "2232": 2, - "2234": 2, - "2235": 2 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::SingleOrDefault(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "2243": 2, - "2244": 2, - "2245": 2 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::SingleOrDefault(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "2259": 0, - "2260": 0, - "2261": 0, - "2263": 0, - "2264": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Skip(System.Linq.IQueryable,System.Int32)": { - "Lines": { - "2277": 10, - "2278": 10, - "2279": 20, - "2282": 10, - "2283": 1, - "2285": 9, - "2286": 10 - }, - "Branches": [ - { - "Line": 2282, - "Offset": 62, - "EndOffset": 64, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 2282, - "Offset": 62, - "EndOffset": 68, - "Path": 1, - "Ordinal": 1, - "Hits": 9 - } - ] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::SkipWhile(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "2308": 4, - "2309": 4, - "2310": 4, - "2311": 4, - "2313": 4, - "2314": 4, - "2316": 4, - "2317": 4 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::SkipWhile(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "2321": 4, - "2322": 4, - "2323": 4 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Sum(System.Linq.IQueryable)": { - "Lines": { - "2341": 5, - "2342": 5, - "2344": 5, - "2345": 5, - "2346": 5 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Sum(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "2364": 3, - "2365": 3, - "2366": 3, - "2367": 3, - "2369": 3, - "2370": 3, - "2372": 3, - "2374": 3, - "2375": 3 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Sum(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "2380": 3, - "2381": 3, - "2382": 3 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Sum(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "2392": 0, - "2393": 0, - "2394": 0, - "2396": 0, - "2398": 0, - "2399": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Take(System.Linq.IQueryable,System.Int32)": { - "Lines": { - "2411": 12, - "2412": 12, - "2413": 24, - "2415": 12, - "2416": 12 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::TakeWhile(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "2438": 4, - "2439": 4, - "2440": 4, - "2441": 4, - "2443": 4, - "2444": 4, - "2446": 4, - "2447": 4 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::TakeWhile(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "2451": 4, - "2452": 4, - "2453": 4 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::ThenBy(System.Linq.IOrderedQueryable`1,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "2478": 9, - "2479": 9, - "2480": 2 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::ThenBy(System.Linq.IOrderedQueryable`1,System.String,System.Object[])": { - "Lines": { - "2484": 9, - "2485": 9, - "2486": 2 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::ThenBy(System.Linq.IOrderedQueryable`1,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Collections.IComparer,System.Object[])": { - "Lines": { - "2499": 0, - "2500": 0, - "2501": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::ThenBy(System.Linq.IOrderedQueryable`1,System.String,System.Collections.IComparer,System.Object[])": { - "Lines": { - "2513": 0, - "2514": 0, - "2515": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::ThenBy(System.Linq.IOrderedQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "2534": 11, - "2535": 11, - "2536": 2 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::ThenBy(System.Linq.IOrderedQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Collections.IComparer,System.Object[])": { - "Lines": { - "2548": 0, - "2549": 0, - "2550": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::InternalThenBy(System.Linq.IOrderedQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Collections.IComparer,System.Object[])": { - "Lines": { - "2553": 11, - "2554": 11, - "2555": 9, - "2556": 9, - "2558": 4, - "2559": 4, - "2560": 4, - "2562": 2, - "2564": 12, - "2565": 3, - "2566": 3, - "2567": 3, - "2568": 3, - "2569": 3, - "2570": 3, - "2571": 3, - "2572": 3, - "2574": 0, - "2575": 0, - "2576": 0, - "2577": 0, - "2578": 0, - "2579": 0, - "2580": 0, - "2581": 0, - "2582": 3, - "2584": 2, - "2585": 2, - "2586": 2 - }, - "Branches": [ - { - "Line": 2564, - "Offset": 363, - "EndOffset": 109, - "Path": 1, - "Ordinal": 3, - "Hits": 3 - }, - { - "Line": 2566, - "Offset": 127, - "EndOffset": 129, - "Path": 0, - "Ordinal": 0, - "Hits": 3 - }, - { - "Line": 2566, - "Offset": 127, - "EndOffset": 220, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 2564, - "Offset": 363, - "EndOffset": 368, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - } - ] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::ThenBy(System.Linq.IOrderedQueryable,System.String,System.Object[])": { - "Lines": { - "2590": 2, - "2591": 2, - "2592": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::ThenBy(System.Linq.IOrderedQueryable,System.String,System.Collections.IComparer,System.Object[])": { - "Lines": { - "2596": 0, - "2597": 0, - "2598": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::Where(System.Linq.IQueryable`1,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "2622": 92, - "2623": 92, - "2624": 77 - }, - "Branches": [] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::Where(System.Linq.IQueryable`1,System.String,System.Object[])": { - "Lines": { - "2628": 80, - "2629": 80, - "2630": 65 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Where(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.String,System.Object[])": { - "Lines": { - "2650": 94, - "2651": 94, - "2652": 92, - "2653": 92, - "2655": 87, - "2656": 87, - "2658": 79, - "2659": 77, - "2660": 77 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Where(System.Linq.IQueryable,System.String,System.Object[])": { - "Lines": { - "2664": 2, - "2665": 2, - "2666": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::Where(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "2675": 2, - "2676": 2, - "2677": 2, - "2679": 2, - "2680": 2, - "2681": 2 - }, - "Branches": [] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableExtensions::Where(System.Linq.IQueryable`1,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "2685": 1, - "2686": 1, - "2687": 1 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.DynamicQueryableExtensions::SupportsLinqToObjects(System.Linq.Dynamic.Core.ParsingConfig,System.Linq.IQueryable)": { - "Lines": { - "2692": 336, - "2693": 336, - "2694": 336 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.DynamicQueryableExtensions::CheckOuterAndInnerTypes(System.Linq.Dynamic.Core.ParsingConfig,System.Boolean,System.Type,System.Type,System.String,System.String,System.Linq.Expressions.LambdaExpression&,System.Linq.Expressions.LambdaExpression&,System.Object[])": { - "Lines": { - "2697": 11, - "2698": 11, - "2699": 11, - "2701": 50, - "2702": 13, - "2703": 13, - "2705": 56, - "2706": 13, - "2707": 13, - "2710": 13, - "2711": 8, - "2712": 8, - "2713": 2, - "2714": 2, - "2715": 2, - "2716": 2, - "2717": 6, - "2718": 2, - "2719": 2, - "2720": 2, - "2721": 2, - "2722": 8, - "2724": 13, - "2725": 9, - "2727": 9, - "2729": 4, - "2730": 4, - "2733": 2, - "2734": 9 - }, - "Branches": [ - { - "Line": 2701, - "Offset": 271, - "EndOffset": 54, - "Path": 1, - "Ordinal": 15, - "Hits": 13 - }, - { - "Line": 2705, - "Offset": 244, - "EndOffset": 79, - "Path": 1, - "Ordinal": 13, - "Hits": 13 - }, - { - "Line": 2710, - "Offset": 106, - "EndOffset": 108, - "Path": 0, - "Ordinal": 0, - "Hits": 8 - }, - { - "Line": 2712, - "Offset": 115, - "EndOffset": 117, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - }, - { - "Line": 2712, - "Offset": 115, - "EndOffset": 129, - "Path": 1, - "Ordinal": 3, - "Hits": 6 - }, - { - "Line": 2712, - "Offset": 134, - "EndOffset": 136, - "Path": 0, - "Ordinal": 4, - "Hits": 2 - }, - { - "Line": 2712, - "Offset": 134, - "EndOffset": 166, - "Path": 1, - "Ordinal": 5, - "Hits": 6 - }, - { - "Line": 2717, - "Offset": 172, - "EndOffset": 174, - "Path": 0, - "Ordinal": 6, - "Hits": 6 - }, - { - "Line": 2717, - "Offset": 172, - "EndOffset": 183, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 2717, - "Offset": 188, - "EndOffset": 190, - "Path": 0, - "Ordinal": 8, - "Hits": 2 - }, - { - "Line": 2717, - "Offset": 188, - "EndOffset": 217, - "Path": 1, - "Ordinal": 9, - "Hits": 8 - }, - { - "Line": 2710, - "Offset": 106, - "EndOffset": 218, - "Path": 1, - "Ordinal": 1, - "Hits": 13 - }, - { - "Line": 2724, - "Offset": 231, - "EndOffset": 233, - "Path": 0, - "Ordinal": 10, - "Hits": 9 - }, - { - "Line": 2724, - "Offset": 231, - "EndOffset": 236, - "Path": 1, - "Ordinal": 11, - "Hits": 4 - }, - { - "Line": 2705, - "Offset": 244, - "EndOffset": 249, - "Path": 0, - "Ordinal": 12, - "Hits": 4 - }, - { - "Line": 2701, - "Offset": 271, - "EndOffset": 276, - "Path": 0, - "Ordinal": 14, - "Hits": 2 - } - ] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::CreateQuery(System.Reflection.MethodInfo,System.Linq.IQueryable)": { - "Lines": { - "2738": 6, - "2739": 6, - "2740": 6, - "2741": 6, - "2742": 6, - "2744": 6, - "2745": 6, - "2746": 6 - }, - "Branches": [ - { - "Line": 2739, - "Offset": 9, - "EndOffset": 11, - "Path": 0, - "Ordinal": 0, - "Hits": 6 - }, - { - "Line": 2739, - "Offset": 9, - "EndOffset": 36, - "Path": 1, - "Ordinal": 1, - "Hits": 6 - } - ] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::CreateQuery(System.Reflection.MethodInfo,System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "2749": 8 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableExtensions::CreateQuery(System.Reflection.MethodInfo,System.Linq.IQueryable,System.Linq.Expressions.Expression)": { - "Lines": { - "2752": 33, - "2753": 33, - "2754": 33, - "2755": 33, - "2757": 33, - "2758": 33 - }, - "Branches": [ - { - "Line": 2753, - "Offset": 10, - "EndOffset": 12, - "Path": 0, - "Ordinal": 0, - "Hits": 33 - }, - { - "Line": 2753, - "Offset": 10, - "EndOffset": 35, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Execute(System.Reflection.MethodInfo,System.Linq.IQueryable)": { - "Lines": { - "2761": 32, - "2762": 32, - "2763": 32, - "2764": 32, - "2765": 32, - "2767": 32, - "2768": 32, - "2769": 32 - }, - "Branches": [ - { - "Line": 2762, - "Offset": 9, - "EndOffset": 11, - "Path": 0, - "Ordinal": 0, - "Hits": 32 - }, - { - "Line": 2762, - "Offset": 9, - "EndOffset": 36, - "Path": 1, - "Ordinal": 1, - "Hits": 32 - } - ] - }, - "TResult System.Linq.Dynamic.Core.DynamicQueryableExtensions::Execute(System.Reflection.MethodInfo,System.Linq.IQueryable)": { - "Lines": { - "2772": 106, - "2773": 106, - "2774": 98, - "2775": 98, - "2776": 98, - "2778": 106, - "2779": 106, - "2781": 106, - "2782": 106 - }, - "Branches": [ - { - "Line": 2773, - "Offset": 9, - "EndOffset": 11, - "Path": 0, - "Ordinal": 0, - "Hits": 98 - }, - { - "Line": 2773, - "Offset": 9, - "EndOffset": 36, - "Path": 1, - "Ordinal": 1, - "Hits": 106 - } - ] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Execute(System.Reflection.MethodInfo,System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "2785": 18 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableExtensions::Execute(System.Reflection.MethodInfo,System.Linq.IQueryable,System.Linq.Expressions.Expression)": { - "Lines": { - "2788": 18, - "2789": 18, - "2790": 18, - "2791": 18, - "2793": 18, - "2794": 18, - "2795": 18 - }, - "Branches": [ - { - "Line": 2789, - "Offset": 10, - "EndOffset": 12, - "Path": 0, - "Ordinal": 0, - "Hits": 16 - }, - { - "Line": 2789, - "Offset": 10, - "EndOffset": 35, - "Path": 1, - "Ordinal": 1, - "Hits": 2 - } - ] - }, - "TResult System.Linq.Dynamic.Core.DynamicQueryableExtensions::Execute(System.Reflection.MethodInfo,System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "2798": 46 - }, - "Branches": [] - }, - "TResult System.Linq.Dynamic.Core.DynamicQueryableExtensions::Execute(System.Reflection.MethodInfo,System.Linq.IQueryable,System.Linq.Expressions.Expression)": { - "Lines": { - "2801": 51, - "2802": 51, - "2803": 51, - "2804": 51, - "2806": 51, - "2807": 51, - "2809": 51, - "2810": 51 - }, - "Branches": [ - { - "Line": 2802, - "Offset": 10, - "EndOffset": 12, - "Path": 0, - "Ordinal": 0, - "Hits": 51 - }, - { - "Line": 2802, - "Offset": 10, - "EndOffset": 35, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "TResult System.Linq.Dynamic.Core.DynamicQueryableExtensions::ConvertResultIfNeeded(System.Object)": { - "Lines": { - "2813": 157, - "2814": 157, - "2815": 149, - "2816": 149, - "2819": 8, - "2820": 157 - }, - "Branches": [ - { - "Line": 2814, - "Offset": 24, - "EndOffset": 26, - "Path": 0, - "Ordinal": 0, - "Hits": 149 - }, - { - "Line": 2814, - "Offset": 24, - "EndOffset": 36, - "Path": 1, - "Ordinal": 1, - "Hits": 8 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.DynamicQueryableExtensions::.cctor()": { - "Lines": { - "32": 1, - "107": 1, - "141": 1, - "159": 1, - "309": 1, - "359": 1, - "379": 1, - "432": 1, - "433": 1, - "472": 1, - "495": 1, - "513": 1, - "568": 1, - "569": 1, - "1062": 1, - "1063": 1, - "1134": 1, - "1135": 1, - "1205": 1, - "1206": 1, - "1277": 1, - "1278": 1, - "1349": 1, - "1350": 1, - "1421": 1, - "2120": 1, - "2121": 1, - "2268": 1, - "2290": 1, - "2403": 1, - "2420": 1 - }, - "Branches": [] - } - }, - "System.Linq.Dynamic.Core.DynamicQueryableExtensions/d__16": { - "System.Boolean System.Linq.Dynamic.Core.DynamicQueryableExtensions/d__16::MoveNext()": { - "Lines": { - "300": 1, - "301": 203, - "302": 100, - "303": 100, - "304": 100, - "305": 1 - }, - "Branches": [ - { - "Line": 301, - "Offset": 133, - "EndOffset": 65, - "Path": 1, - "Ordinal": 1, - "Hits": 100 - }, - { - "Line": 301, - "Offset": 133, - "EndOffset": 135, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\DynamicQueryableWithFormattableStringExtensions.cs": { - "System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions": { - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::WhereInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "20": 0, - "21": 0, - "22": 0, - "23": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::WhereInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "26": 0, - "27": 0, - "28": 0, - "29": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::WhereInterpolated(System.Linq.IQueryable`1,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "32": 0, - "33": 0, - "34": 0, - "35": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::WhereInterpolated(System.Linq.IQueryable`1,System.FormattableString)": { - "Lines": { - "38": 20, - "39": 20, - "40": 20, - "41": 13 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::AllInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "45": 2, - "46": 2, - "47": 2, - "48": 2 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::AllInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "52": 0, - "53": 0, - "54": 0, - "55": 0 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::AnyInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "59": 0, - "60": 0, - "61": 0, - "62": 0 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::AnyInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "65": 2, - "66": 2, - "67": 2, - "68": 2 - }, - "Branches": [] - }, - "System.Double System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::AverageInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "72": 0, - "73": 0, - "74": 0, - "75": 0 - }, - "Branches": [] - }, - "System.Double System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::AverageInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "79": 0, - "80": 0, - "81": 0, - "82": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SingleInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "85": 0, - "86": 0, - "87": 0, - "88": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SingleInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "91": 1, - "92": 1, - "93": 1, - "94": 1 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SingleOrDefaultInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "97": 0, - "98": 0, - "99": 0, - "100": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SingleOrDefaultInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "103": 1, - "104": 1, - "105": 1, - "106": 1 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SkipWhileInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "109": 0, - "110": 0, - "111": 0, - "112": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SkipWhileInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "115": 2, - "116": 2, - "117": 2, - "118": 2 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::TakeWhileInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "121": 0, - "122": 0, - "123": 0, - "124": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::TakeWhileInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "127": 2, - "128": 2, - "129": 2, - "130": 2 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SumInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "134": 0, - "135": 0, - "136": 0, - "137": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SumInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "141": 0, - "142": 0, - "143": 0, - "144": 0 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::CountInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "148": 0, - "149": 0, - "150": 0, - "151": 0 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::CountInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "154": 1, - "155": 1, - "156": 1, - "157": 1 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::FirstInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "160": 0, - "161": 0, - "162": 0, - "163": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::FirstInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "166": 2, - "167": 2, - "168": 2, - "169": 2 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::FirstOrDefaultInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "172": 0, - "173": 0, - "174": 0, - "175": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::FirstOrDefaultInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "178": 2, - "179": 2, - "180": 2, - "181": 2 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::LastInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "184": 0, - "185": 0, - "186": 0, - "187": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::LastInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "190": 1, - "191": 1, - "192": 1, - "193": 1 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::LastOrDefaultInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "196": 0, - "197": 0, - "198": 0, - "199": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::LastOrDefaultInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "202": 1, - "203": 1, - "204": 1, - "205": 1 - }, - "Branches": [] - }, - "System.Int64 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::LongCountInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "209": 0, - "210": 0, - "211": 0, - "212": 0 - }, - "Branches": [] - }, - "System.Int64 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::LongCountInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "215": 3, - "216": 3, - "217": 3, - "218": 3 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::MaxInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "222": 0, - "223": 0, - "224": 0, - "225": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::MaxInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "229": 0, - "230": 0, - "231": 0, - "232": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::MinInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "236": 0, - "237": 0, - "238": 0, - "239": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::MinInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "243": 0, - "244": 0, - "245": 0, - "246": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SelectInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "249": 0, - "250": 0, - "251": 0, - "252": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SelectInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.Type,System.FormattableString)": { - "Lines": { - "255": 0, - "256": 0, - "257": 0, - "258": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SelectInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "261": 0, - "262": 0, - "263": 0, - "264": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SelectInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "267": 0, - "268": 0, - "269": 0, - "270": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SelectInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "273": 0, - "274": 0, - "275": 0, - "276": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SelectManyInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString,System.FormattableString)": { - "Lines": { - "279": 0, - "280": 0, - "281": 0, - "282": 0, - "283": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SelectManyInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "286": 0, - "287": 0, - "288": 0, - "289": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SelectManyInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.Type,System.FormattableString)": { - "Lines": { - "292": 0, - "293": 0, - "294": 0, - "295": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SelectManyInterpolated(System.Linq.IQueryable,System.FormattableString,System.FormattableString)": { - "Lines": { - "298": 0, - "299": 0, - "300": 0, - "301": 0, - "302": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SelectManyInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "305": 0, - "306": 0, - "307": 0, - "308": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SelectManyInterpolated(System.Linq.IQueryable,System.Type,System.FormattableString)": { - "Lines": { - "311": 0, - "312": 0, - "313": 0, - "314": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SelectManyInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "317": 0, - "318": 0, - "319": 0, - "320": 0 - }, - "Branches": [] - }, - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::SelectManyInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "323": 0, - "324": 0, - "325": 0, - "326": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::OrderByInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString,System.Collections.IComparer)": { - "Lines": { - "329": 0, - "330": 0, - "331": 0, - "332": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::OrderByInterpolated(System.Linq.IQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "335": 0, - "336": 0, - "337": 0, - "338": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::OrderByInterpolated(System.Linq.IQueryable,System.FormattableString,System.Collections.IComparer)": { - "Lines": { - "341": 0, - "342": 0, - "343": 0, - "344": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::OrderByInterpolated(System.Linq.IQueryable,System.FormattableString)": { - "Lines": { - "347": 0, - "348": 0, - "349": 0, - "350": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::OrderByInterpolated(System.Linq.IQueryable`1,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString,System.Collections.IComparer)": { - "Lines": { - "353": 0, - "354": 0, - "355": 0, - "356": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::OrderByInterpolated(System.Linq.IQueryable`1,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "359": 0, - "360": 0, - "361": 0, - "362": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::OrderByInterpolated(System.Linq.IQueryable`1,System.FormattableString,System.Collections.IComparer)": { - "Lines": { - "365": 0, - "366": 0, - "367": 0, - "368": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::OrderByInterpolated(System.Linq.IQueryable`1,System.FormattableString)": { - "Lines": { - "371": 3, - "372": 3, - "373": 3, - "374": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::ThenByInterpolated(System.Linq.IOrderedQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString,System.Collections.IComparer)": { - "Lines": { - "377": 0, - "378": 0, - "379": 0, - "380": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::ThenByInterpolated(System.Linq.IOrderedQueryable,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "383": 0, - "384": 0, - "385": 0, - "386": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::ThenByInterpolated(System.Linq.IOrderedQueryable,System.FormattableString,System.Collections.IComparer)": { - "Lines": { - "389": 0, - "390": 0, - "391": 0, - "392": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::ThenByInterpolated(System.Linq.IOrderedQueryable,System.FormattableString)": { - "Lines": { - "395": 0, - "396": 0, - "397": 0, - "398": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::ThenByInterpolated(System.Linq.IOrderedQueryable`1,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString,System.Collections.IComparer)": { - "Lines": { - "401": 0, - "402": 0, - "403": 0, - "404": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::ThenByInterpolated(System.Linq.IOrderedQueryable`1,System.Linq.Dynamic.Core.ParsingConfig,System.FormattableString)": { - "Lines": { - "407": 0, - "408": 0, - "409": 0, - "410": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::ThenByInterpolated(System.Linq.IOrderedQueryable`1,System.FormattableString,System.Collections.IComparer)": { - "Lines": { - "413": 0, - "414": 0, - "415": 0, - "416": 0 - }, - "Branches": [] - }, - "System.Linq.IOrderedQueryable`1 System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::ThenByInterpolated(System.Linq.IOrderedQueryable`1,System.FormattableString)": { - "Lines": { - "419": 3, - "420": 3, - "421": 3, - "422": 0 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::ParseFormattableString(System.FormattableString,System.Object[]&)": { - "Lines": { - "425": 46, - "426": 46, - "427": 46, - "428": 46 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.DynamicQueryableWithFormattableStringExtensions::.cctor()": { - "Lines": { - "17": 1 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\ExtensibilityPoint.cs": { - "System.Linq.Dynamic.Core.ExtensibilityPoint": { - "System.Void System.Linq.Dynamic.Core.ExtensibilityPoint::.cctor()": { - "Lines": { - "15": 214 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\GroupResult.cs": { - "System.Linq.Dynamic.Core.GroupResult": { - "System.Object System.Linq.Dynamic.Core.GroupResult::get_Key()": { - "Lines": { - "18": 28 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.GroupResult::get_Count()": { - "Lines": { - "24": 15 - }, - "Branches": [] - }, - "System.Collections.IEnumerable System.Linq.Dynamic.Core.GroupResult::get_Items()": { - "Lines": { - "29": 13 - }, - "Branches": [] - }, - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.GroupResult::get_Subgroups()": { - "Lines": { - "34": 17 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.GroupResult::ToString()": { - "Lines": { - "43": 2, - "44": 2, - "45": 2 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\PagedResult.cs": { - "System.Linq.Dynamic.Core.PagedResult": { - "System.Linq.IQueryable System.Linq.Dynamic.Core.PagedResult::get_Queryable()": { - "Lines": { - "15": 4 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.PagedResult::get_CurrentPage()": { - "Lines": { - "23": 7 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.PagedResult::get_PageCount()": { - "Lines": { - "31": 7 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.PagedResult::get_PageSize()": { - "Lines": { - "39": 7 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.PagedResult::get_RowCount()": { - "Lines": { - "47": 11 - }, - "Branches": [] - } - }, - "System.Linq.Dynamic.Core.PagedResult`1": { - "System.Linq.IQueryable`1 System.Linq.Dynamic.Core.PagedResult`1::get_Queryable()": { - "Lines": { - "62": 4 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\ParameterExpressionHelper.cs": { - "System.Linq.Dynamic.Core.ParameterExpressionHelper": { - "System.Linq.Expressions.ParameterExpression System.Linq.Dynamic.Core.ParameterExpressionHelper::CreateParameterExpression(System.Type,System.String,System.Boolean)": { - "Lines": { - "8": 759, - "9": 759, - "10": 759, - "11": 2, - "12": 2, - "13": 2, - "15": 759, - "16": 759 - }, - "Branches": [ - { - "Line": 10, - "Offset": 4, - "EndOffset": 6, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 10, - "Offset": 4, - "EndOffset": 14, - "Path": 1, - "Ordinal": 1, - "Hits": 757 - }, - { - "Line": 10, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - }, - { - "Line": 10, - "Offset": 17, - "EndOffset": 27, - "Path": 1, - "Ordinal": 3, - "Hits": 759 - } - ] - }, - "System.String System.Linq.Dynamic.Core.ParameterExpressionHelper::GenerateRandomWord()": { - "Lines": { - "22": 2, - "25": 34, - "26": 2 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\ParsingConfig.cs": { - "System.Linq.Dynamic.Core.ParsingConfig": { - "System.Linq.Dynamic.Core.ParsingConfig System.Linq.Dynamic.Core.ParsingConfig::get_Default()": { - "Lines": { - "22": 619 - }, - "Branches": [] - }, - "System.Linq.Dynamic.Core.ParsingConfig System.Linq.Dynamic.Core.ParsingConfig::get_DefaultEFCore21()": { - "Lines": { - "27": 1 - }, - "Branches": [] - }, - "System.Linq.Dynamic.Core.ParsingConfig System.Linq.Dynamic.Core.ParsingConfig::get_DefaultCosmosDb()": { - "Lines": { - "35": 1 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_IsCaseSensitive()": { - "Lines": { - "45": 1294 - }, - "Branches": [] - }, - "System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider System.Linq.Dynamic.Core.ParsingConfig::get_CustomTypeProvider()": { - "Lines": { - "53": 1318, - "56": 1318, - "60": 1318 - }, - "Branches": [ - { - "Line": 56, - "Offset": 8, - "EndOffset": 10, - "Path": 0, - "Ordinal": 0, - "Hits": 76 - }, - { - "Line": 56, - "Offset": 8, - "EndOffset": 27, - "Path": 1, - "Ordinal": 1, - "Hits": 1318 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.ParsingConfig::set_CustomTypeProvider(System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider)": { - "Lines": { - "62": 21, - "63": 21, - "64": 21 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_LoadAdditionalAssembliesFromCurrentDomainBaseDirectory()": { - "Lines": { - "73": 110 - }, - "Branches": [] - }, - "System.Linq.Dynamic.Core.Parser.IExpressionPromoter System.Linq.Dynamic.Core.ParsingConfig::get_ExpressionPromoter()": { - "Lines": { - "80": 2578 - }, - "Branches": [ - { - "Line": 80, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 79 - }, - { - "Line": 80, - "Offset": 7, - "EndOffset": 25, - "Path": 1, - "Ordinal": 1, - "Hits": 2578 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.ParsingConfig::set_ExpressionPromoter(System.Linq.Dynamic.Core.Parser.IExpressionPromoter)": { - "Lines": { - "82": 0, - "84": 0, - "85": 0, - "86": 0, - "87": 0, - "88": 0 - }, - "Branches": [ - { - "Line": 84, - "Offset": 15, - "EndOffset": 17, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 84, - "Offset": 15, - "EndOffset": 26, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Linq.Dynamic.Core.IQueryableAnalyzer System.Linq.Dynamic.Core.ParsingConfig::get_QueryableAnalyzer()": { - "Lines": { - "97": 336, - "98": 336, - "99": 336 - }, - "Branches": [ - { - "Line": 98, - "Offset": 8, - "EndOffset": 10, - "Path": 0, - "Ordinal": 0, - "Hits": 30 - }, - { - "Line": 98, - "Offset": 8, - "EndOffset": 25, - "Path": 1, - "Ordinal": 1, - "Hits": 336 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.ParsingConfig::set_QueryableAnalyzer(System.Linq.Dynamic.Core.IQueryableAnalyzer)": { - "Lines": { - "101": 0, - "103": 0, - "104": 0, - "105": 0, - "106": 0, - "107": 0 - }, - "Branches": [ - { - "Line": 103, - "Offset": 15, - "EndOffset": 17, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 103, - "Offset": 15, - "EndOffset": 26, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_AreContextKeywordsEnabled()": { - "Lines": { - "116": 690 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_EvaluateGroupByAtDatabase()": { - "Lines": { - "125": 175 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_UseParameterizedNamesInDynamicQuery()": { - "Lines": { - "133": 2190 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_AllowNewToEvaluateAnyType()": { - "Lines": { - "140": 14 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_RenameParameterExpression()": { - "Lines": { - "147": 417 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_RenameEmptyParameterExpressionNames()": { - "Lines": { - "154": 652 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_DisableMemberAccessToIndexAccessorFallback()": { - "Lines": { - "162": 35 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_ResolveTypesBySimpleName()": { - "Lines": { - "171": 56 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_SupportEnumerationsFromSystemNamespace()": { - "Lines": { - "178": 961 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_DateTimeIsParsedAsUTC()": { - "Lines": { - "186": 11 - }, - "Branches": [] - }, - "System.Globalization.CultureInfo System.Linq.Dynamic.Core.ParsingConfig::get_NumberParseCulture()": { - "Lines": { - "193": 1417 - }, - "Branches": [] - }, - "System.Collections.Generic.IDictionary`2 System.Linq.Dynamic.Core.ParsingConfig::get_TypeConverters()": { - "Lines": { - "198": 7 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_NullPropagatingUseDefaultValueForNonNullableValueTypes()": { - "Lines": { - "205": 3 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_SupportCastingToFullyQualifiedTypeAsString()": { - "Lines": { - "215": 258 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_PrioritizePropertyOrFieldOverTheType()": { - "Lines": { - "223": 1948 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_SupportDotInPropertyNames()": { - "Lines": { - "230": 74 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.ParsingConfig::get_DisallowNewKeyword()": { - "Lines": { - "237": 66 - }, - "Branches": [] - }, - "System.Linq.Dynamic.Core.Util.Cache.CacheConfig System.Linq.Dynamic.Core.ParsingConfig::get_ConstantExpressionCacheConfig()": { - "Lines": { - "242": 1 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.ParsingConfig::.cctor()": { - "Lines": { - "28": 1, - "29": 1, - "30": 1, - "36": 1, - "37": 1, - "38": 1 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Validation\\Check.cs": { - "System.Linq.Dynamic.Core.Validation.Check": { - "T System.Linq.Dynamic.Core.Validation.Check::Condition(T,System.Predicate`1,System.String)": { - "Lines": { - "12": 50, - "13": 50, - "15": 50, - "16": 0, - "17": 0, - "19": 0, - "22": 50, - "23": 50 - }, - "Branches": [ - { - "Line": 15, - "Offset": 25, - "EndOffset": 27, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 15, - "Offset": 25, - "EndOffset": 47, - "Path": 1, - "Ordinal": 1, - "Hits": 50 - } - ] - }, - "T System.Linq.Dynamic.Core.Validation.Check::NotNull(T,System.String)": { - "Lines": { - "26": 25871, - "27": 25871, - "28": 8, - "29": 8, - "31": 8, - "34": 25863, - "35": 25863 - }, - "Branches": [ - { - "Line": 27, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 8 - }, - { - "Line": 27, - "Offset": 12, - "EndOffset": 34, - "Path": 1, - "Ordinal": 1, - "Hits": 25863 - } - ] - }, - "T System.Linq.Dynamic.Core.Validation.Check::NotNull(T,System.String,System.String)": { - "Lines": { - "38": 0, - "39": 0, - "40": 0, - "41": 0, - "42": 0, - "44": 0, - "47": 0, - "48": 0 - }, - "Branches": [ - { - "Line": 39, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 39, - "Offset": 12, - "EndOffset": 52, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.Validation.Check::NotNullOrEmpty(System.Collections.Generic.IEnumerable`1,System.String)": { - "Lines": { - "51": 0, - "52": 0, - "55": 0, - "56": 0, - "57": 0, - "59": 0, - "63": 0, - "64": 0 - }, - "Branches": [ - { - "Line": 55, - "Offset": 20, - "EndOffset": 22, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 55, - "Offset": 20, - "EndOffset": 47, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.String System.Linq.Dynamic.Core.Validation.Check::NotEmpty(System.String,System.String)": { - "Lines": { - "67": 2291 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.Validation.Check::NotNullOrEmpty(System.String,System.String)": { - "Lines": { - "70": 14, - "71": 14, - "72": 0, - "73": 0, - "75": 0, - "78": 14, - "79": 0, - "80": 0, - "83": 14, - "84": 14 - }, - "Branches": [ - { - "Line": 71, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 71, - "Offset": 7, - "EndOffset": 29, - "Path": 1, - "Ordinal": 1, - "Hits": 14 - }, - { - "Line": 78, - "Offset": 37, - "EndOffset": 39, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 78, - "Offset": 37, - "EndOffset": 52, - "Path": 1, - "Ordinal": 3, - "Hits": 14 - } - ] - }, - "System.String System.Linq.Dynamic.Core.Validation.Check::NotNullOrWhiteSpace(System.String,System.String)": { - "Lines": { - "87": 2291, - "88": 2291, - "89": 6, - "90": 6, - "92": 6, - "95": 2285, - "96": 18, - "97": 18, - "100": 2267, - "101": 2267 - }, - "Branches": [ - { - "Line": 88, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 6 - }, - { - "Line": 88, - "Offset": 7, - "EndOffset": 29, - "Path": 1, - "Ordinal": 1, - "Hits": 2285 - }, - { - "Line": 95, - "Offset": 37, - "EndOffset": 39, - "Path": 0, - "Ordinal": 2, - "Hits": 18 - }, - { - "Line": 95, - "Offset": 37, - "EndOffset": 52, - "Path": 1, - "Ordinal": 3, - "Hits": 2267 - } - ] - }, - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.Validation.Check::HasNoNulls(System.Collections.Generic.IEnumerable`1,System.String)": { - "Lines": { - "104": 609, - "105": 609, - "106": 0, - "107": 0, - "109": 0, - "113": 1244, - "114": 0, - "115": 0, - "117": 0, - "121": 609, - "122": 609 - }, - "Branches": [ - { - "Line": 105, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 105, - "Offset": 7, - "EndOffset": 29, - "Path": 1, - "Ordinal": 1, - "Hits": 609 - }, - { - "Line": 113, - "Offset": 36, - "EndOffset": 38, - "Path": 0, - "Ordinal": 2, - "Hits": 4 - }, - { - "Line": 113, - "Offset": 36, - "EndOffset": 61, - "Path": 1, - "Ordinal": 3, - "Hits": 609 - }, - { - "Line": 113, - "Offset": 68, - "EndOffset": 70, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 113, - "Offset": 68, - "EndOffset": 90, - "Path": 1, - "Ordinal": 5, - "Hits": 609 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Validation\\CoreStrings.cs": { - "System.Linq.Dynamic.Core.Validation.CoreStrings": { - "System.String System.Linq.Dynamic.Core.Validation.CoreStrings::ArgumentPropertyNull(System.String,System.String)": { - "Lines": { - "7": 0, - "8": 0, - "9": 0 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.Validation.CoreStrings::ArgumentIsEmpty(System.String)": { - "Lines": { - "12": 18, - "13": 18, - "14": 18 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.Validation.CoreStrings::CollectionArgumentIsEmpty(System.String)": { - "Lines": { - "17": 0, - "18": 0, - "19": 0 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Util\\DateTimeUtils.cs": { - "System.Linq.Dynamic.Core.Util.DateTimeUtils": { - "System.DateTime System.Linq.Dynamic.Core.Util.DateTimeUtils::get_UtcNow()": { - "Lines": { - "10": 1426 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Util\\ParameterExpressionRenamer.cs": { - "System.Linq.Dynamic.Core.Util.ParameterExpressionRenamer": { - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Util.ParameterExpressionRenamer::Rename(System.Linq.Expressions.Expression,System.Linq.Expressions.ParameterExpression&)": { - "Lines": { - "43": 3, - "44": 3, - "46": 3, - "48": 3, - "49": 3 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Util.ParameterExpressionRenamer::VisitParameter(System.Linq.Expressions.ParameterExpression)": { - "Lines": { - "53": 4, - "54": 4, - "55": 4, - "56": 4, - "57": 3, - "58": 3, - "59": 3, - "61": 4, - "65": 0, - "66": 4 - }, - "Branches": [ - { - "Line": 54, - "Offset": 21, - "EndOffset": 23, - "Path": 0, - "Ordinal": 0, - "Hits": 4 - }, - { - "Line": 56, - "Offset": 35, - "EndOffset": 37, - "Path": 0, - "Ordinal": 2, - "Hits": 3 - }, - { - "Line": 56, - "Offset": 35, - "EndOffset": 63, - "Path": 1, - "Ordinal": 3, - "Hits": 4 - }, - { - "Line": 54, - "Offset": 21, - "EndOffset": 72, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Util.ParameterExpressionRenamer::.ctor(System.String)": { - "Lines": { - "21": 3, - "22": 3, - "23": 3 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.Util.ParameterExpressionRenamer::.ctor(System.String,System.String)": { - "Lines": { - "30": 3, - "31": 3, - "32": 3, - "33": 3, - "34": 3 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Util\\QueryableMethodFinder.cs": { - "System.Linq.Dynamic.Core.Util.QueryableMethodFinder": { - "System.Reflection.MethodInfo System.Linq.Dynamic.Core.Util.QueryableMethodFinder::GetGenericMethod(System.String)": { - "Lines": { - "11": 2, - "12": 4, - "13": 2 - }, - "Branches": [] - }, - "System.Reflection.MethodInfo System.Linq.Dynamic.Core.Util.QueryableMethodFinder::GetMethod(System.String,System.Type,System.Type,System.Int32,System.Func`2)": { - "Lines": { - "16": 13 - }, - "Branches": [ - { - "Line": 16, - "Offset": 22, - "EndOffset": 24, - "Path": 0, - "Ordinal": 0, - "Hits": 6 - }, - { - "Line": 16, - "Offset": 30, - "EndOffset": 32, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 16, - "Offset": 30, - "EndOffset": 46, - "Path": 1, - "Ordinal": 3, - "Hits": 6 - }, - { - "Line": 16, - "Offset": 22, - "EndOffset": 49, - "Path": 1, - "Ordinal": 1, - "Hits": 1 - } - ] - }, - "System.Reflection.MethodInfo System.Linq.Dynamic.Core.Util.QueryableMethodFinder::GetMethod(System.String,System.Type,System.Int32,System.Func`2)": { - "Lines": { - "19": 14, - "20": 14, - "21": 14, - "22": 14, - "23": 14, - "24": 14, - "26": 47, - "27": 14 - }, - "Branches": [ - { - "Line": 21, - "Offset": 44, - "EndOffset": 46, - "Path": 0, - "Ordinal": 0, - "Hits": 14 - }, - { - "Line": 21, - "Offset": 44, - "EndOffset": 66, - "Path": 1, - "Ordinal": 1, - "Hits": 14 - }, - { - "Line": 26, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 15 - }, - { - "Line": 26, - "Offset": 25, - "EndOffset": 27, - "Path": 0, - "Ordinal": 2, - "Hits": 7 - }, - { - "Line": 26, - "Offset": 25, - "EndOffset": 41, - "Path": 1, - "Ordinal": 3, - "Hits": 8 - }, - { - "Line": 26, - "Offset": 17, - "EndOffset": 44, - "Path": 1, - "Ordinal": 1, - "Hits": 18 - } - ] - }, - "System.Reflection.MethodInfo System.Linq.Dynamic.Core.Util.QueryableMethodFinder::GetMethodWithExpressionParameter(System.String)": { - "Lines": { - "30": 10, - "31": 15, - "32": 15, - "33": 15, - "34": 15, - "35": 15, - "36": 10 - }, - "Branches": [ - { - "Line": 31, - "Offset": 9, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 15 - }, - { - "Line": 31, - "Offset": 37, - "EndOffset": 39, - "Path": 0, - "Ordinal": 2, - "Hits": 12 - }, - { - "Line": 31, - "Offset": 72, - "EndOffset": 74, - "Path": 0, - "Ordinal": 4, - "Hits": 10 - }, - { - "Line": 31, - "Offset": 104, - "EndOffset": 106, - "Path": 0, - "Ordinal": 6, - "Hits": 10 - }, - { - "Line": 31, - "Offset": 9, - "EndOffset": 148, - "Path": 1, - "Ordinal": 1, - "Hits": 5 - }, - { - "Line": 31, - "Offset": 37, - "EndOffset": 148, - "Path": 1, - "Ordinal": 3, - "Hits": 5 - }, - { - "Line": 31, - "Offset": 72, - "EndOffset": 148, - "Path": 1, - "Ordinal": 5, - "Hits": 5 - }, - { - "Line": 31, - "Offset": 104, - "EndOffset": 148, - "Path": 1, - "Ordinal": 7, - "Hits": 5 - } - ] - }, - "System.Reflection.MethodInfo System.Linq.Dynamic.Core.Util.QueryableMethodFinder::GetMethodWithIntParameter(System.String)": { - "Lines": { - "39": 1, - "40": 1, - "41": 1, - "42": 1 - }, - "Branches": [ - { - "Line": 40, - "Offset": 9, - "EndOffset": 11, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 40, - "Offset": 9, - "EndOffset": 41, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Reflection.MethodInfo System.Linq.Dynamic.Core.Util.QueryableMethodFinder::GetMethod(System.String,System.Int32,System.Func`2)": { - "Lines": { - "45": 42, - "47": 42, - "48": 42, - "49": 180, - "51": 0, - "52": 0, - "53": 0, - "55": 42 - }, - "Branches": [ - { - "Line": 49, - "Offset": 16, - "EndOffset": 18, - "Path": 0, - "Ordinal": 0, - "Hits": 66 - }, - { - "Line": 49, - "Offset": 24, - "EndOffset": 26, - "Path": 0, - "Ordinal": 2, - "Hits": 49 - }, - { - "Line": 49, - "Offset": 24, - "EndOffset": 40, - "Path": 1, - "Ordinal": 3, - "Hits": 17 - }, - { - "Line": 49, - "Offset": 16, - "EndOffset": 43, - "Path": 1, - "Ordinal": 1, - "Hits": 72 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Util\\RuntimeInformationUtils.cs": { - "System.Linq.Dynamic.Core.Util.RuntimeInformationUtils": { - "System.Void System.Linq.Dynamic.Core.Util.RuntimeInformationUtils::.cctor()": { - "Lines": { - "8": 1, - "12": 1, - "13": 1, - "14": 1, - "15": 1, - "16": 1, - "17": 1, - "18": 1, - "20": 1 - }, - "Branches": [ - { - "Line": 12, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 12, - "Offset": 17, - "EndOffset": 36, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Util\\TaskUtils.cs": { - "System.Linq.Dynamic.Core.Util.TaskUtils": { - "System.Void System.Linq.Dynamic.Core.Util.TaskUtils::Run(System.Action)": { - "Lines": { - "8": 0, - "9": 0, - "13": 0, - "15": 0 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Util\\Cache\\CacheConfig.cs": { - "System.Linq.Dynamic.Core.Util.Cache.CacheConfig": { - "System.TimeSpan System.Linq.Dynamic.Core.Util.Cache.CacheConfig::get_TimeToLive()": { - "Lines": { - "13": 3 - }, - "Branches": [] - }, - "System.Nullable`1 System.Linq.Dynamic.Core.Util.Cache.CacheConfig::get_MinItemsTrigger()": { - "Lines": { - "20": 2 - }, - "Branches": [] - }, - "System.TimeSpan System.Linq.Dynamic.Core.Util.Cache.CacheConfig::get_CleanupFrequency()": { - "Lines": { - "26": 3 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.Util.Cache.CacheConfig::get_ReturnExpiredItems()": { - "Lines": { - "35": 3 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Util\\Cache\\CacheEntry.cs": { - "System.Linq.Dynamic.Core.Util.Cache.CacheEntry`1": { - "TValue System.Linq.Dynamic.Core.Util.Cache.CacheEntry`1::get_Value()": { - "Lines": { - "5": 422 - }, - "Branches": [] - }, - "System.DateTime System.Linq.Dynamic.Core.Util.Cache.CacheEntry`1::get_ExpirationTime()": { - "Lines": { - "7": 0 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.Util.Cache.CacheEntry`1::.ctor(TValue,System.DateTime)": { - "Lines": { - "10": 636, - "11": 636, - "12": 636, - "13": 636 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Util\\Cache\\SlidingCache.cs": { - "System.Linq.Dynamic.Core.Util.Cache.SlidingCache`2": { - "System.TimeSpan System.Linq.Dynamic.Core.Util.Cache.SlidingCache`2::get_TimeToLive()": { - "Lines": { - "78": 636 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.Util.Cache.SlidingCache`2::get_Count()": { - "Lines": { - "83": 0 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.Util.Cache.SlidingCache`2::AddOrUpdate(TKey,TValue)": { - "Lines": { - "91": 214, - "92": 214, - "93": 214, - "95": 214, - "96": 214, - "98": 214, - "99": 214 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.Util.Cache.SlidingCache`2::TryGetValue(TKey,TValue&)": { - "Lines": { - "108": 574, - "109": 574, - "112": 574, - "113": 574, - "114": 422, - "117": 422, - "118": 422, - "119": 422, - "120": 422, - "121": 422, - "122": 422, - "126": 0, - "127": 0, - "128": 152, - "130": 574, - "133": 574, - "134": 574, - "136": 152, - "137": 152, - "138": 574 - }, - "Branches": [ - { - "Line": 113, - "Offset": 30, - "EndOffset": 32, - "Path": 0, - "Ordinal": 0, - "Hits": 422 - }, - { - "Line": 117, - "Offset": 39, - "EndOffset": 41, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 117, - "Offset": 39, - "EndOffset": 66, - "Path": 1, - "Ordinal": 3, - "Hits": 422 - }, - { - "Line": 117, - "Offset": 69, - "EndOffset": 71, - "Path": 0, - "Ordinal": 4, - "Hits": 422 - }, - { - "Line": 117, - "Offset": 69, - "EndOffset": 142, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 113, - "Offset": 30, - "EndOffset": 158, - "Path": 1, - "Ordinal": 1, - "Hits": 152 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Util.Cache.SlidingCache`2::Remove(TKey)": { - "Lines": { - "141": 0, - "142": 0, - "144": 0, - "145": 0, - "146": 0, - "147": 0 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.Util.Cache.SlidingCache`2::CleanupIfNeeded()": { - "Lines": { - "150": 788, - "152": 788, - "153": 0, - "154": 0, - "158": 788, - "159": 788, - "160": 788, - "161": 788, - "162": 788, - "163": 788, - "164": 0, - "166": 0, - "168": 0, - "169": 0, - "170": 788, - "172": 788, - "174": 788, - "175": 788, - "176": 788 - }, - "Branches": [ - { - "Line": 152, - "Offset": 19, - "EndOffset": 21, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 152, - "Offset": 19, - "EndOffset": 27, - "Path": 1, - "Ordinal": 1, - "Hits": 788 - }, - { - "Line": 159, - "Offset": 62, - "EndOffset": 64, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 159, - "Offset": 75, - "EndOffset": 77, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 159, - "Offset": 75, - "EndOffset": 118, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 159, - "Offset": 62, - "EndOffset": 121, - "Path": 1, - "Ordinal": 3, - "Hits": 788 - }, - { - "Line": 159, - "Offset": 124, - "EndOffset": 126, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 159, - "Offset": 124, - "EndOffset": 157, - "Path": 1, - "Ordinal": 7, - "Hits": 788 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Util.Cache.SlidingCache`2::Cleanup()": { - "Lines": { - "179": 0, - "181": 0, - "182": 0, - "183": 0, - "184": 0, - "185": 0, - "186": 0, - "187": 0, - "188": 0 - }, - "Branches": [ - { - "Line": 181, - "Offset": 89, - "EndOffset": 16, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 183, - "Offset": 57, - "EndOffset": 59, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 183, - "Offset": 57, - "EndOffset": 82, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 181, - "Offset": 89, - "EndOffset": 91, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Util.Cache.SlidingCache`2::.ctor(System.TimeSpan,System.Nullable`1,System.Nullable`1,System.Linq.Dynamic.Core.Util.IDateTimeUtils,System.Boolean)": { - "Lines": { - "17": 2, - "34": 0, - "35": 0, - "36": 0, - "37": 0, - "38": 0, - "39": 0, - "40": 0, - "41": 0, - "42": 0, - "43": 0, - "44": 0, - "45": 0, - "46": 0, - "47": 0, - "49": 0, - "50": 0 - }, - "Branches": [ - { - "Line": 45, - "Offset": 58, - "EndOffset": 60, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 45, - "Offset": 58, - "EndOffset": 67, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 47, - "Offset": 101, - "EndOffset": 103, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 47, - "Offset": 101, - "EndOffset": 109, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Util.Cache.SlidingCache`2::.ctor(System.Linq.Dynamic.Core.Util.Cache.CacheConfig,System.Linq.Dynamic.Core.Util.IDateTimeUtils)": { - "Lines": { - "60": 2, - "61": 2, - "62": 2, - "64": 2, - "65": 2, - "66": 2, - "67": 2, - "68": 2, - "69": 2, - "70": 2, - "72": 2, - "73": 2 - }, - "Branches": [ - { - "Line": 66, - "Offset": 65, - "EndOffset": 67, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 66, - "Offset": 65, - "EndOffset": 78, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 70, - "Offset": 141, - "EndOffset": 143, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - }, - { - "Line": 70, - "Offset": 141, - "EndOffset": 149, - "Path": 1, - "Ordinal": 3, - "Hits": 2 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Util\\Cache\\SlidingCacheConstants.cs": { - "System.Linq.Dynamic.Core.Util.Cache.SlidingCacheConstants": { - "System.Void System.Linq.Dynamic.Core.Util.Cache.SlidingCacheConstants::.cctor()": { - "Lines": { - "6": 1, - "9": 1 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\TypeConverters\\CustomDateTimeConverter.cs": { - "System.Linq.Dynamic.Core.TypeConverters.CustomDateTimeConverter": { - "System.Object System.Linq.Dynamic.Core.TypeConverters.CustomDateTimeConverter::ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)": { - "Lines": { - "21": 2, - "22": 2, - "24": 2, - "25": 2 - }, - "Branches": [ - { - "Line": 24, - "Offset": 28, - "EndOffset": 30, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 24, - "Offset": 28, - "EndOffset": 41, - "Path": 1, - "Ordinal": 1, - "Hits": 2 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\TypeConverters\\TypeConverterFactory.cs": { - "System.Linq.Dynamic.Core.TypeConverters.TypeConverterFactory": { - "System.ComponentModel.TypeConverter System.Linq.Dynamic.Core.TypeConverters.TypeConverterFactory::GetConverter(System.Type)": { - "Lines": { - "26": 9, - "27": 9, - "29": 9, - "30": 2, - "31": 2, - "34": 7, - "35": 7, - "36": 0, - "37": 0, - "41": 7, - "56": 9 - }, - "Branches": [ - { - "Line": 29, - "Offset": 24, - "EndOffset": 26, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 29, - "Offset": 42, - "EndOffset": 44, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - }, - { - "Line": 29, - "Offset": 42, - "EndOffset": 62, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 29, - "Offset": 24, - "EndOffset": 65, - "Path": 1, - "Ordinal": 1, - "Hits": 7 - }, - { - "Line": 29, - "Offset": 68, - "EndOffset": 70, - "Path": 0, - "Ordinal": 4, - "Hits": 2 - }, - { - "Line": 29, - "Offset": 68, - "EndOffset": 79, - "Path": 1, - "Ordinal": 5, - "Hits": 7 - }, - { - "Line": 34, - "Offset": 85, - "EndOffset": 87, - "Path": 0, - "Ordinal": 6, - "Hits": 5 - }, - { - "Line": 34, - "Offset": 85, - "EndOffset": 90, - "Path": 1, - "Ordinal": 7, - "Hits": 2 - }, - { - "Line": 35, - "Offset": 108, - "EndOffset": 110, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 35, - "Offset": 108, - "EndOffset": 131, - "Path": 1, - "Ordinal": 9, - "Hits": 7 - }, - { - "Line": 35, - "Offset": 136, - "EndOffset": 138, - "Path": 0, - "Ordinal": 10, - "Hits": 0 - }, - { - "Line": 35, - "Offset": 136, - "EndOffset": 143, - "Path": 1, - "Ordinal": 11, - "Hits": 7 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.TypeConverters.TypeConverterFactory::.ctor(System.Linq.Dynamic.Core.ParsingConfig)": { - "Lines": { - "19": 588, - "20": 588, - "21": 588, - "22": 588 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Tokenizer\\TextParser.cs": { - "System.Linq.Dynamic.Core.Tokenizer.TextParser": { - "System.Linq.Dynamic.Core.Tokenizer.TextParser System.Linq.Dynamic.Core.Tokenizer.TextParser::Clone()": { - "Lines": { - "75": 159, - "76": 159, - "77": 159, - "79": 159, - "80": 159 - }, - "Branches": [] - }, - "System.Char System.Linq.Dynamic.Core.Tokenizer.TextParser::PeekNextChar()": { - "Lines": { - "87": 2217, - "88": 2217, - "89": 2217 - }, - "Branches": [ - { - "Line": 88, - "Offset": 15, - "EndOffset": 17, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 88, - "Offset": 15, - "EndOffset": 20, - "Path": 1, - "Ordinal": 1, - "Hits": 2217 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Tokenizer.TextParser::NextToken()": { - "Lines": { - "95": 4551, - "96": 5555, - "97": 1004, - "98": 1004, - "99": 1004, - "102": 4551, - "104": 4551, - "107": 28, - "108": 28, - "109": 28, - "110": 28, - "111": 28, - "112": 28, - "114": 0, - "115": 0, - "116": 0, - "117": 28, - "120": 0, - "121": 0, - "122": 0, - "125": 22, - "126": 22, - "127": 22, - "128": 22, - "129": 22, - "130": 22, - "132": 0, - "133": 0, - "134": 0, - "135": 22, - "138": 394, - "139": 394, - "140": 394, - "143": 456, - "144": 456, - "145": 456, - "148": 5, - "149": 5, - "150": 5, - "153": 5, - "154": 5, - "155": 5, - "158": 10, - "159": 10, - "160": 10, - "163": 31, - "164": 31, - "165": 31, - "168": 153, - "169": 153, - "170": 153, - "173": 6, - "174": 6, - "175": 6, - "178": 412, - "179": 412, - "180": 412, - "183": 0, - "184": 0, - "185": 0, - "188": 1, - "189": 1, - "190": 1, - "193": 0, - "194": 0, - "195": 0, - "196": 0, - "197": 0, - "198": 0, - "199": 0, - "200": 0, - "201": 0, - "202": 0, - "203": 0, - "204": 0, - "205": 0, - "206": 0, - "207": 0, - "208": 0, - "210": 0, - "211": 0, - "212": 0, - "213": 0, - "216": 177, - "217": 177, - "218": 106, - "219": 106, - "220": 106, - "221": 106, - "222": 71, - "223": 39, - "224": 39, - "225": 39, - "226": 39, - "228": 32, - "229": 32, - "230": 32, - "231": 177, - "234": 72, - "235": 72, - "236": 6, - "237": 6, - "238": 6, - "239": 6, - "240": 66, - "241": 0, - "242": 0, - "243": 0, - "244": 0, - "246": 66, - "247": 66, - "248": 66, - "249": 72, - "252": 8, - "253": 8, - "254": 2, - "255": 2, - "256": 2, - "257": 2, - "258": 6, - "259": 0, - "260": 0, - "261": 0, - "262": 0, - "264": 6, - "265": 6, - "266": 6, - "267": 8, - "270": 1, - "271": 1, - "272": 1, - "275": 1, - "276": 1, - "277": 1, - "280": 9, - "281": 9, - "282": 9, - "283": 9, - "284": 9, - "285": 9, - "287": 0, - "288": 0, - "289": 0, - "290": 9, - "294": 189, - "295": 189, - "297": 189, - "299": 2406, - "300": 2217, - "301": 2217, - "303": 2217, - "304": 15, - "305": 15, - "306": 7, - "307": 7, - "308": 7, - "310": 15, - "311": 8, - "312": 8, - "313": 8, - "314": 15, - "316": 2217, - "318": 2217, - "319": 174, - "320": 174, - "321": 174, - "322": 2217, - "324": 189, - "325": 1, - "326": 1, - "329": 188, - "331": 188, - "332": 188, - "335": 2571, - "336": 1815, - "338": 9740, - "339": 9740, - "340": 19480, - "341": 1815, - "342": 1815, - "345": 756, - "346": 146, - "347": 146, - "349": 288, - "350": 288, - "351": 576, - "353": 146, - "354": 146, - "355": 0, - "356": 0, - "357": 0, - "359": 0, - "360": 0, - "361": 0, - "363": 0, - "364": 0, - "366": 146, - "367": 0, - "368": 0, - "371": 146, - "372": 146, - "373": 0, - "374": 0, - "375": 0, - "377": 0, - "378": 0, - "379": 0, - "381": 0, - "382": 0, - "384": 146, - "385": 0, - "386": 0, - "387": 0, - "388": 0, - "389": 0, - "390": 0, - "391": 0, - "392": 0, - "394": 0, - "395": 0, - "397": 0, - "398": 0, - "399": 0, - "402": 146, - "403": 0, - "404": 0, - "407": 146, - "408": 16, - "409": 16, - "410": 16, - "411": 16, - "413": 41, - "414": 41, - "415": 82, - "416": 16, - "418": 146, - "419": 4, - "420": 4, - "421": 4, - "422": 4, - "423": 2, - "424": 2, - "425": 2, - "427": 4, - "429": 4, - "430": 4, - "431": 8, - "432": 4, - "434": 146, - "435": 8, - "436": 8, - "437": 8, - "439": 146, - "440": 10, - "441": 10, - "442": 10, - "444": 146, - "445": 6, - "446": 6, - "447": 6, - "449": 146, - "452": 610, - "453": 610, - "454": 610, - "455": 610, - "458": 0, - "461": 4550, - "462": 4550, - "463": 4550, - "464": 4550, - "465": 4550 - }, - "Branches": [ - { - "Line": 96, - "Offset": 25, - "EndOffset": 3, - "Path": 1, - "Ordinal": 1, - "Hits": 1004 - }, - { - "Line": 96, - "Offset": 25, - "EndOffset": 27, - "Path": 0, - "Ordinal": 0, - "Hits": 4551 - }, - { - "Line": 104, - "Offset": 50, - "EndOffset": 55, - "Path": 0, - "Ordinal": 2, - "Hits": 4015 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 191, - "Path": 0, - "Ordinal": 4, - "Hits": 1910 - }, - { - "Line": 104, - "Offset": 50, - "EndOffset": 205, - "Path": 1, - "Ordinal": 3, - "Hits": 536 - }, - { - "Line": 104, - "Offset": 209, - "EndOffset": 216, - "Path": 0, - "Ordinal": 38, - "Hits": 535 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 243, - "Path": 1, - "Ordinal": 5, - "Hits": 28 - }, - { - "Line": 108, - "Offset": 264, - "EndOffset": 266, - "Path": 0, - "Ordinal": 44, - "Hits": 28 - }, - { - "Line": 108, - "Offset": 264, - "EndOffset": 280, - "Path": 1, - "Ordinal": 45, - "Hits": 0 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 289, - "Path": 5, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 303, - "Path": 6, - "Ordinal": 10, - "Hits": 22 - }, - { - "Line": 126, - "Offset": 324, - "EndOffset": 326, - "Path": 0, - "Ordinal": 46, - "Hits": 22 - }, - { - "Line": 126, - "Offset": 324, - "EndOffset": 340, - "Path": 1, - "Ordinal": 47, - "Hits": 0 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 349, - "Path": 8, - "Ordinal": 12, - "Hits": 394 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 364, - "Path": 9, - "Ordinal": 13, - "Hits": 456 - }, - { - "Line": 104, - "Offset": 221, - "EndOffset": 379, - "Path": 1, - "Ordinal": 41, - "Hits": 5 - }, - { - "Line": 104, - "Offset": 221, - "EndOffset": 394, - "Path": 3, - "Ordinal": 43, - "Hits": 5 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 409, - "Path": 10, - "Ordinal": 14, - "Hits": 10 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 424, - "Path": 11, - "Ordinal": 15, - "Hits": 31 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 439, - "Path": 12, - "Ordinal": 16, - "Hits": 153 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 454, - "Path": 13, - "Ordinal": 17, - "Hits": 6 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 469, - "Path": 14, - "Ordinal": 18, - "Hits": 412 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 484, - "Path": 15, - "Ordinal": 19, - "Hits": 0 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 499, - "Path": 26, - "Ordinal": 30, - "Hits": 1 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 514, - "Path": 28, - "Ordinal": 32, - "Hits": 0 - }, - { - "Line": 194, - "Offset": 535, - "EndOffset": 537, - "Path": 0, - "Ordinal": 48, - "Hits": 0 - }, - { - "Line": 194, - "Offset": 535, - "EndOffset": 551, - "Path": 1, - "Ordinal": 49, - "Hits": 0 - }, - { - "Line": 199, - "Offset": 565, - "EndOffset": 567, - "Path": 0, - "Ordinal": 50, - "Hits": 0 - }, - { - "Line": 199, - "Offset": 565, - "EndOffset": 581, - "Path": 1, - "Ordinal": 51, - "Hits": 0 - }, - { - "Line": 204, - "Offset": 595, - "EndOffset": 597, - "Path": 0, - "Ordinal": 52, - "Hits": 0 - }, - { - "Line": 204, - "Offset": 595, - "EndOffset": 611, - "Path": 1, - "Ordinal": 53, - "Hits": 0 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 621, - "Path": 29, - "Ordinal": 33, - "Hits": 177 - }, - { - "Line": 217, - "Offset": 642, - "EndOffset": 644, - "Path": 0, - "Ordinal": 54, - "Hits": 106 - }, - { - "Line": 217, - "Offset": 642, - "EndOffset": 658, - "Path": 1, - "Ordinal": 55, - "Hits": 71 - }, - { - "Line": 222, - "Offset": 672, - "EndOffset": 674, - "Path": 0, - "Ordinal": 56, - "Hits": 39 - }, - { - "Line": 222, - "Offset": 672, - "EndOffset": 688, - "Path": 1, - "Ordinal": 57, - "Hits": 32 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 698, - "Path": 30, - "Ordinal": 34, - "Hits": 72 - }, - { - "Line": 235, - "Offset": 719, - "EndOffset": 721, - "Path": 0, - "Ordinal": 58, - "Hits": 6 - }, - { - "Line": 235, - "Offset": 719, - "EndOffset": 735, - "Path": 1, - "Ordinal": 59, - "Hits": 66 - }, - { - "Line": 240, - "Offset": 749, - "EndOffset": 751, - "Path": 0, - "Ordinal": 60, - "Hits": 0 - }, - { - "Line": 240, - "Offset": 749, - "EndOffset": 765, - "Path": 1, - "Ordinal": 61, - "Hits": 66 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 775, - "Path": 31, - "Ordinal": 35, - "Hits": 8 - }, - { - "Line": 253, - "Offset": 796, - "EndOffset": 798, - "Path": 0, - "Ordinal": 62, - "Hits": 2 - }, - { - "Line": 253, - "Offset": 796, - "EndOffset": 812, - "Path": 1, - "Ordinal": 63, - "Hits": 6 - }, - { - "Line": 258, - "Offset": 826, - "EndOffset": 828, - "Path": 0, - "Ordinal": 64, - "Hits": 0 - }, - { - "Line": 258, - "Offset": 826, - "EndOffset": 842, - "Path": 1, - "Ordinal": 65, - "Hits": 6 - }, - { - "Line": 104, - "Offset": 195, - "EndOffset": 852, - "Path": 1, - "Ordinal": 37, - "Hits": 1 - }, - { - "Line": 104, - "Offset": 209, - "EndOffset": 867, - "Path": 1, - "Ordinal": 39, - "Hits": 1 - }, - { - "Line": 104, - "Offset": 221, - "EndOffset": 882, - "Path": 2, - "Ordinal": 42, - "Hits": 9 - }, - { - "Line": 281, - "Offset": 903, - "EndOffset": 905, - "Path": 0, - "Ordinal": 66, - "Hits": 9 - }, - { - "Line": 281, - "Offset": 903, - "EndOffset": 919, - "Path": 1, - "Ordinal": 67, - "Hits": 0 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 929, - "Path": 2, - "Ordinal": 6, - "Hits": 189 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 929, - "Path": 7, - "Ordinal": 11, - "Hits": 189 - }, - { - "Line": 299, - "Offset": 1088, - "EndOffset": 948, - "Path": 1, - "Ordinal": 79, - "Hits": 2217 - }, - { - "Line": 303, - "Offset": 971, - "EndOffset": 973, - "Path": 0, - "Ordinal": 68, - "Hits": 15 - }, - { - "Line": 305, - "Offset": 990, - "EndOffset": 992, - "Path": 0, - "Ordinal": 70, - "Hits": 7 - }, - { - "Line": 305, - "Offset": 990, - "EndOffset": 1001, - "Path": 1, - "Ordinal": 71, - "Hits": 15 - }, - { - "Line": 310, - "Offset": 1011, - "EndOffset": 1013, - "Path": 0, - "Ordinal": 72, - "Hits": 8 - }, - { - "Line": 310, - "Offset": 1011, - "EndOffset": 1022, - "Path": 1, - "Ordinal": 73, - "Hits": 15 - }, - { - "Line": 303, - "Offset": 971, - "EndOffset": 1023, - "Path": 1, - "Ordinal": 69, - "Hits": 2217 - }, - { - "Line": 318, - "Offset": 1044, - "EndOffset": 1046, - "Path": 0, - "Ordinal": 74, - "Hits": 174 - }, - { - "Line": 318, - "Offset": 1044, - "EndOffset": 1053, - "Path": 1, - "Ordinal": 75, - "Hits": 2217 - }, - { - "Line": 299, - "Offset": 1066, - "EndOffset": 1068, - "Path": 0, - "Ordinal": 76, - "Hits": 2405 - }, - { - "Line": 299, - "Offset": 1066, - "EndOffset": 1083, - "Path": 1, - "Ordinal": 77, - "Hits": 1 - }, - { - "Line": 299, - "Offset": 1088, - "EndOffset": 1093, - "Path": 0, - "Ordinal": 78, - "Hits": 189 - }, - { - "Line": 324, - "Offset": 1105, - "EndOffset": 1107, - "Path": 0, - "Ordinal": 80, - "Hits": 1 - }, - { - "Line": 324, - "Offset": 1105, - "EndOffset": 1113, - "Path": 1, - "Ordinal": 81, - "Hits": 188 - }, - { - "Line": 324, - "Offset": 1118, - "EndOffset": 1120, - "Path": 0, - "Ordinal": 82, - "Hits": 1 - }, - { - "Line": 324, - "Offset": 1118, - "EndOffset": 1143, - "Path": 1, - "Ordinal": 83, - "Hits": 188 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 1157, - "Path": 3, - "Ordinal": 7, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 1157, - "Path": 4, - "Ordinal": 8, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 1157, - "Path": 16, - "Ordinal": 20, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 1157, - "Path": 17, - "Ordinal": 21, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 1157, - "Path": 18, - "Ordinal": 22, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 1157, - "Path": 19, - "Ordinal": 23, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 1157, - "Path": 20, - "Ordinal": 24, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 1157, - "Path": 21, - "Ordinal": 25, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 1157, - "Path": 22, - "Ordinal": 26, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 1157, - "Path": 23, - "Ordinal": 27, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 1157, - "Path": 24, - "Ordinal": 28, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 1157, - "Path": 25, - "Ordinal": 29, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 60, - "EndOffset": 1157, - "Path": 27, - "Ordinal": 31, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 195, - "EndOffset": 1157, - "Path": 0, - "Ordinal": 36, - "Hits": 2571 - }, - { - "Line": 104, - "Offset": 221, - "EndOffset": 1157, - "Path": 0, - "Ordinal": 40, - "Hits": 2571 - }, - { - "Line": 335, - "Offset": 1176, - "EndOffset": 1178, - "Path": 0, - "Ordinal": 84, - "Hits": 871 - }, - { - "Line": 335, - "Offset": 1190, - "EndOffset": 1192, - "Path": 0, - "Ordinal": 86, - "Hits": 856 - }, - { - "Line": 335, - "Offset": 1196, - "EndOffset": 1200, - "Path": 0, - "Ordinal": 88, - "Hits": 856 - }, - { - "Line": 335, - "Offset": 1190, - "EndOffset": 1208, - "Path": 1, - "Ordinal": 87, - "Hits": 15 - }, - { - "Line": 335, - "Offset": 1212, - "EndOffset": 1216, - "Path": 0, - "Ordinal": 92, - "Hits": 15 - }, - { - "Line": 335, - "Offset": 1220, - "EndOffset": 1224, - "Path": 0, - "Ordinal": 94, - "Hits": 6 - }, - { - "Line": 335, - "Offset": 1196, - "EndOffset": 1232, - "Path": 1, - "Ordinal": 89, - "Hits": 115 - }, - { - "Line": 335, - "Offset": 1204, - "EndOffset": 1232, - "Path": 1, - "Ordinal": 91, - "Hits": 115 - }, - { - "Line": 335, - "Offset": 1212, - "EndOffset": 1232, - "Path": 1, - "Ordinal": 93, - "Hits": 115 - }, - { - "Line": 335, - "Offset": 1220, - "EndOffset": 1232, - "Path": 1, - "Ordinal": 95, - "Hits": 115 - }, - { - "Line": 335, - "Offset": 1228, - "EndOffset": 1232, - "Path": 1, - "Ordinal": 97, - "Hits": 115 - }, - { - "Line": 335, - "Offset": 1204, - "EndOffset": 1237, - "Path": 0, - "Ordinal": 90, - "Hits": 756 - }, - { - "Line": 335, - "Offset": 1228, - "EndOffset": 1237, - "Path": 0, - "Ordinal": 96, - "Hits": 756 - }, - { - "Line": 335, - "Offset": 1176, - "EndOffset": 1244, - "Path": 1, - "Ordinal": 85, - "Hits": 2571 - }, - { - "Line": 335, - "Offset": 1250, - "EndOffset": 1252, - "Path": 0, - "Ordinal": 98, - "Hits": 1815 - }, - { - "Line": 340, - "Offset": 1292, - "EndOffset": 1253, - "Path": 1, - "Ordinal": 103, - "Hits": 9740 - }, - { - "Line": 340, - "Offset": 1273, - "EndOffset": 1275, - "Path": 0, - "Ordinal": 100, - "Hits": 1831 - }, - { - "Line": 340, - "Offset": 1273, - "EndOffset": 1287, - "Path": 1, - "Ordinal": 101, - "Hits": 7909 - }, - { - "Line": 340, - "Offset": 1292, - "EndOffset": 1294, - "Path": 0, - "Ordinal": 102, - "Hits": 1815 - }, - { - "Line": 335, - "Offset": 1250, - "EndOffset": 1301, - "Path": 1, - "Ordinal": 99, - "Hits": 756 - }, - { - "Line": 345, - "Offset": 1316, - "EndOffset": 1321, - "Path": 0, - "Ordinal": 104, - "Hits": 146 - }, - { - "Line": 351, - "Offset": 1348, - "EndOffset": 1324, - "Path": 1, - "Ordinal": 107, - "Hits": 288 - }, - { - "Line": 351, - "Offset": 1348, - "EndOffset": 1350, - "Path": 0, - "Ordinal": 106, - "Hits": 146 - }, - { - "Line": 354, - "Offset": 1365, - "EndOffset": 1369, - "Path": 0, - "Ordinal": 108, - "Hits": 146 - }, - { - "Line": 354, - "Offset": 1365, - "EndOffset": 1377, - "Path": 1, - "Ordinal": 109, - "Hits": 0 - }, - { - "Line": 354, - "Offset": 1373, - "EndOffset": 1377, - "Path": 1, - "Ordinal": 111, - "Hits": 0 - }, - { - "Line": 354, - "Offset": 1373, - "EndOffset": 1382, - "Path": 0, - "Ordinal": 110, - "Hits": 146 - }, - { - "Line": 354, - "Offset": 1391, - "EndOffset": 1393, - "Path": 0, - "Ordinal": 112, - "Hits": 0 - }, - { - "Line": 361, - "Offset": 1432, - "EndOffset": 1408, - "Path": 1, - "Ordinal": 115, - "Hits": 0 - }, - { - "Line": 361, - "Offset": 1432, - "EndOffset": 1434, - "Path": 0, - "Ordinal": 114, - "Hits": 0 - }, - { - "Line": 354, - "Offset": 1391, - "EndOffset": 1438, - "Path": 1, - "Ordinal": 113, - "Hits": 146 - }, - { - "Line": 366, - "Offset": 1444, - "EndOffset": 1446, - "Path": 0, - "Ordinal": 116, - "Hits": 0 - }, - { - "Line": 366, - "Offset": 1444, - "EndOffset": 1452, - "Path": 1, - "Ordinal": 117, - "Hits": 146 - }, - { - "Line": 372, - "Offset": 1467, - "EndOffset": 1471, - "Path": 0, - "Ordinal": 118, - "Hits": 146 - }, - { - "Line": 372, - "Offset": 1467, - "EndOffset": 1479, - "Path": 1, - "Ordinal": 119, - "Hits": 0 - }, - { - "Line": 372, - "Offset": 1475, - "EndOffset": 1479, - "Path": 1, - "Ordinal": 121, - "Hits": 0 - }, - { - "Line": 372, - "Offset": 1475, - "EndOffset": 1484, - "Path": 0, - "Ordinal": 120, - "Hits": 146 - }, - { - "Line": 372, - "Offset": 1493, - "EndOffset": 1495, - "Path": 0, - "Ordinal": 122, - "Hits": 0 - }, - { - "Line": 379, - "Offset": 1534, - "EndOffset": 1510, - "Path": 1, - "Ordinal": 125, - "Hits": 0 - }, - { - "Line": 379, - "Offset": 1534, - "EndOffset": 1536, - "Path": 0, - "Ordinal": 124, - "Hits": 0 - }, - { - "Line": 372, - "Offset": 1493, - "EndOffset": 1540, - "Path": 1, - "Ordinal": 123, - "Hits": 146 - }, - { - "Line": 384, - "Offset": 1552, - "EndOffset": 1556, - "Path": 0, - "Ordinal": 126, - "Hits": 146 - }, - { - "Line": 384, - "Offset": 1552, - "EndOffset": 1564, - "Path": 1, - "Ordinal": 127, - "Hits": 0 - }, - { - "Line": 384, - "Offset": 1560, - "EndOffset": 1564, - "Path": 1, - "Ordinal": 129, - "Hits": 0 - }, - { - "Line": 384, - "Offset": 1560, - "EndOffset": 1569, - "Path": 0, - "Ordinal": 128, - "Hits": 146 - }, - { - "Line": 384, - "Offset": 1578, - "EndOffset": 1580, - "Path": 0, - "Ordinal": 130, - "Hits": 0 - }, - { - "Line": 387, - "Offset": 1602, - "EndOffset": 1604, - "Path": 0, - "Ordinal": 132, - "Hits": 0 - }, - { - "Line": 389, - "Offset": 1632, - "EndOffset": 1634, - "Path": 0, - "Ordinal": 134, - "Hits": 0 - }, - { - "Line": 389, - "Offset": 1632, - "EndOffset": 1645, - "Path": 1, - "Ordinal": 135, - "Hits": 0 - }, - { - "Line": 387, - "Offset": 1602, - "EndOffset": 1693, - "Path": 1, - "Ordinal": 133, - "Hits": 0 - }, - { - "Line": 384, - "Offset": 1578, - "EndOffset": 1705, - "Path": 1, - "Ordinal": 131, - "Hits": 146 - }, - { - "Line": 402, - "Offset": 1711, - "EndOffset": 1713, - "Path": 0, - "Ordinal": 136, - "Hits": 0 - }, - { - "Line": 402, - "Offset": 1711, - "EndOffset": 1719, - "Path": 1, - "Ordinal": 137, - "Hits": 146 - }, - { - "Line": 407, - "Offset": 1737, - "EndOffset": 1739, - "Path": 0, - "Ordinal": 138, - "Hits": 16 - }, - { - "Line": 415, - "Offset": 1780, - "EndOffset": 1756, - "Path": 1, - "Ordinal": 141, - "Hits": 41 - }, - { - "Line": 415, - "Offset": 1780, - "EndOffset": 1782, - "Path": 0, - "Ordinal": 140, - "Hits": 16 - }, - { - "Line": 407, - "Offset": 1737, - "EndOffset": 1783, - "Path": 1, - "Ordinal": 139, - "Hits": 146 - }, - { - "Line": 418, - "Offset": 1795, - "EndOffset": 1799, - "Path": 0, - "Ordinal": 142, - "Hits": 142 - }, - { - "Line": 418, - "Offset": 1795, - "EndOffset": 1807, - "Path": 1, - "Ordinal": 143, - "Hits": 4 - }, - { - "Line": 418, - "Offset": 1803, - "EndOffset": 1807, - "Path": 1, - "Ordinal": 145, - "Hits": 4 - }, - { - "Line": 418, - "Offset": 1803, - "EndOffset": 1812, - "Path": 0, - "Ordinal": 144, - "Hits": 142 - }, - { - "Line": 418, - "Offset": 1821, - "EndOffset": 1823, - "Path": 0, - "Ordinal": 146, - "Hits": 4 - }, - { - "Line": 422, - "Offset": 1845, - "EndOffset": 1849, - "Path": 0, - "Ordinal": 148, - "Hits": 4 - }, - { - "Line": 422, - "Offset": 1845, - "EndOffset": 1857, - "Path": 1, - "Ordinal": 149, - "Hits": 2 - }, - { - "Line": 422, - "Offset": 1853, - "EndOffset": 1857, - "Path": 1, - "Ordinal": 151, - "Hits": 2 - }, - { - "Line": 422, - "Offset": 1853, - "EndOffset": 1862, - "Path": 0, - "Ordinal": 150, - "Hits": 2 - }, - { - "Line": 422, - "Offset": 1871, - "EndOffset": 1873, - "Path": 0, - "Ordinal": 152, - "Hits": 2 - }, - { - "Line": 422, - "Offset": 1871, - "EndOffset": 1882, - "Path": 1, - "Ordinal": 153, - "Hits": 4 - }, - { - "Line": 431, - "Offset": 1913, - "EndOffset": 1889, - "Path": 1, - "Ordinal": 155, - "Hits": 4 - }, - { - "Line": 431, - "Offset": 1913, - "EndOffset": 1915, - "Path": 0, - "Ordinal": 154, - "Hits": 4 - }, - { - "Line": 418, - "Offset": 1821, - "EndOffset": 1916, - "Path": 1, - "Ordinal": 147, - "Hits": 146 - }, - { - "Line": 434, - "Offset": 1928, - "EndOffset": 1932, - "Path": 0, - "Ordinal": 156, - "Hits": 144 - }, - { - "Line": 434, - "Offset": 1928, - "EndOffset": 1940, - "Path": 1, - "Ordinal": 157, - "Hits": 8 - }, - { - "Line": 434, - "Offset": 1936, - "EndOffset": 1940, - "Path": 1, - "Ordinal": 159, - "Hits": 8 - }, - { - "Line": 434, - "Offset": 1936, - "EndOffset": 1945, - "Path": 0, - "Ordinal": 158, - "Hits": 138 - }, - { - "Line": 434, - "Offset": 1954, - "EndOffset": 1956, - "Path": 0, - "Ordinal": 160, - "Hits": 8 - }, - { - "Line": 434, - "Offset": 1954, - "EndOffset": 1965, - "Path": 1, - "Ordinal": 161, - "Hits": 146 - }, - { - "Line": 439, - "Offset": 1977, - "EndOffset": 1981, - "Path": 0, - "Ordinal": 162, - "Hits": 144 - }, - { - "Line": 439, - "Offset": 1977, - "EndOffset": 1989, - "Path": 1, - "Ordinal": 163, - "Hits": 10 - }, - { - "Line": 439, - "Offset": 1985, - "EndOffset": 1989, - "Path": 1, - "Ordinal": 165, - "Hits": 10 - }, - { - "Line": 439, - "Offset": 1985, - "EndOffset": 1994, - "Path": 0, - "Ordinal": 164, - "Hits": 136 - }, - { - "Line": 439, - "Offset": 2003, - "EndOffset": 2005, - "Path": 0, - "Ordinal": 166, - "Hits": 10 - }, - { - "Line": 439, - "Offset": 2003, - "EndOffset": 2014, - "Path": 1, - "Ordinal": 167, - "Hits": 146 - }, - { - "Line": 444, - "Offset": 2026, - "EndOffset": 2030, - "Path": 0, - "Ordinal": 168, - "Hits": 146 - }, - { - "Line": 444, - "Offset": 2026, - "EndOffset": 2038, - "Path": 1, - "Ordinal": 169, - "Hits": 6 - }, - { - "Line": 444, - "Offset": 2034, - "EndOffset": 2038, - "Path": 1, - "Ordinal": 171, - "Hits": 6 - }, - { - "Line": 444, - "Offset": 2034, - "EndOffset": 2043, - "Path": 0, - "Ordinal": 170, - "Hits": 140 - }, - { - "Line": 444, - "Offset": 2052, - "EndOffset": 2054, - "Path": 0, - "Ordinal": 172, - "Hits": 6 - }, - { - "Line": 345, - "Offset": 1316, - "EndOffset": 2065, - "Path": 1, - "Ordinal": 105, - "Hits": 610 - }, - { - "Line": 452, - "Offset": 2083, - "EndOffset": 2085, - "Path": 0, - "Ordinal": 174, - "Hits": 610 - }, - { - "Line": 452, - "Offset": 2083, - "EndOffset": 2090, - "Path": 1, - "Ordinal": 175, - "Hits": 0 - }, - { - "Line": 444, - "Offset": 2052, - "EndOffset": 2127, - "Path": 1, - "Ordinal": 173, - "Hits": 4550 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Tokenizer.TextParser::ValidateToken(System.Linq.Dynamic.Core.Tokenizer.TokenId,System.String)": { - "Lines": { - "473": 3661, - "474": 3661, - "475": 2, - "476": 2, - "478": 3659 - }, - "Branches": [ - { - "Line": 474, - "Offset": 20, - "EndOffset": 22, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 476, - "Offset": 26, - "EndOffset": 28, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 476, - "Offset": 26, - "EndOffset": 34, - "Path": 1, - "Ordinal": 3, - "Hits": 2 - }, - { - "Line": 474, - "Offset": 20, - "EndOffset": 45, - "Path": 1, - "Ordinal": 1, - "Hits": 3659 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Tokenizer.TextParser::SetTextPos(System.Int32)": { - "Lines": { - "481": 906, - "482": 906, - "483": 906, - "484": 906 - }, - "Branches": [ - { - "Line": 483, - "Offset": 21, - "EndOffset": 23, - "Path": 0, - "Ordinal": 0, - "Hits": 44 - }, - { - "Line": 483, - "Offset": 21, - "EndOffset": 26, - "Path": 1, - "Ordinal": 1, - "Hits": 862 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Tokenizer.TextParser::NextChar()": { - "Lines": { - "487": 15735, - "488": 15735, - "489": 15735, - "490": 15735, - "491": 15735, - "492": 15735, - "493": 15735 - }, - "Branches": [ - { - "Line": 488, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 15735 - }, - { - "Line": 488, - "Offset": 17, - "EndOffset": 35, - "Path": 1, - "Ordinal": 1, - "Hits": 15735 - }, - { - "Line": 492, - "Offset": 48, - "EndOffset": 50, - "Path": 0, - "Ordinal": 2, - "Hits": 593 - }, - { - "Line": 492, - "Offset": 48, - "EndOffset": 53, - "Path": 1, - "Ordinal": 3, - "Hits": 15142 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Tokenizer.TextParser::ValidateExpression()": { - "Lines": { - "496": 0, - "497": 0, - "498": 0, - "499": 0, - "501": 0 - }, - "Branches": [ - { - "Line": 497, - "Offset": 14, - "EndOffset": 16, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 497, - "Offset": 14, - "EndOffset": 39, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Tokenizer.TextParser::ValidateDigit()": { - "Lines": { - "504": 20, - "505": 20, - "506": 0, - "507": 0, - "509": 20 - }, - "Branches": [ - { - "Line": 505, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 505, - "Offset": 17, - "EndOffset": 42, - "Path": 1, - "Ordinal": 1, - "Hits": 20 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Tokenizer.TextParser::ValidateHexChar()": { - "Lines": { - "512": 0, - "513": 0, - "514": 0, - "515": 0, - "517": 0 - }, - "Branches": [ - { - "Line": 513, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 513, - "Offset": 17, - "EndOffset": 42, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Tokenizer.TextParser::ValidateBinaryChar()": { - "Lines": { - "520": 0, - "521": 0, - "522": 0, - "523": 0, - "525": 0 - }, - "Branches": [ - { - "Line": 521, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 521, - "Offset": 17, - "EndOffset": 42, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Exception System.Linq.Dynamic.Core.Tokenizer.TextParser::ParseError(System.String,System.Object[])": { - "Lines": { - "528": 2, - "529": 2, - "530": 2 - }, - "Branches": [] - }, - "System.Exception System.Linq.Dynamic.Core.Tokenizer.TextParser::ParseError(System.Int32,System.String,System.Object[])": { - "Lines": { - "533": 3, - "534": 3, - "535": 3 - }, - "Branches": [] - }, - "System.Linq.Dynamic.Core.Tokenizer.TokenId System.Linq.Dynamic.Core.Tokenizer.TextParser::GetAliasedTokenId(System.Linq.Dynamic.Core.Tokenizer.TokenId,System.String)": { - "Lines": { - "538": 4550, - "539": 4550, - "540": 4550 - }, - "Branches": [ - { - "Line": 539, - "Offset": 3, - "EndOffset": 5, - "Path": 0, - "Ordinal": 0, - "Hits": 1815 - }, - { - "Line": 539, - "Offset": 3, - "EndOffset": 20, - "Path": 1, - "Ordinal": 1, - "Hits": 4537 - }, - { - "Line": 539, - "Offset": 18, - "EndOffset": 20, - "Path": 0, - "Ordinal": 2, - "Hits": 4537 - }, - { - "Line": 539, - "Offset": 18, - "EndOffset": 23, - "Path": 1, - "Ordinal": 3, - "Hits": 13 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Tokenizer.TextParser::IsHexChar(System.Char)": { - "Lines": { - "543": 0, - "544": 0, - "545": 0, - "546": 0, - "549": 0, - "550": 0, - "551": 0, - "552": 0, - "555": 0, - "556": 0 - }, - "Branches": [ - { - "Line": 544, - "Offset": 9, - "EndOffset": 11, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 544, - "Offset": 9, - "EndOffset": 16, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 549, - "Offset": 26, - "EndOffset": 28, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 552, - "Offset": 39, - "EndOffset": 41, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 552, - "Offset": 39, - "EndOffset": 51, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 549, - "Offset": 26, - "EndOffset": 55, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Tokenizer.TextParser::IsZeroOrOne(System.Char)": { - "Lines": { - "559": 0, - "560": 0, - "561": 0 - }, - "Branches": [ - { - "Line": 560, - "Offset": 4, - "EndOffset": 8, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 560, - "Offset": 4, - "EndOffset": 15, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 560, - "Offset": 11, - "EndOffset": 15, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 560, - "Offset": 11, - "EndOffset": 19, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Tokenizer.TextParser::.ctor(System.Linq.Dynamic.Core.ParsingConfig,System.String)": { - "Lines": { - "57": 747, - "58": 747, - "59": 747, - "61": 747, - "63": 747, - "64": 747, - "66": 747, - "67": 747, - "68": 747 - }, - "Branches": [ - { - "Line": 61, - "Offset": 23, - "EndOffset": 25, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 61, - "Offset": 23, - "EndOffset": 30, - "Path": 1, - "Ordinal": 1, - "Hits": 747 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Tokenizer.TextParser::.cctor()": { - "Lines": { - "13": 1, - "16": 1, - "17": 1, - "18": 1, - "19": 1, - "20": 1, - "21": 1, - "22": 1, - "23": 1, - "24": 1, - "25": 1, - "26": 1, - "27": 1, - "28": 1, - "29": 1, - "30": 1, - "31": 1, - "32": 1, - "33": 1, - "34": 1, - "35": 1, - "36": 1, - "37": 1 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Tokenizer\\Token.cs": { - "System.Linq.Dynamic.Core.Tokenizer.Token": { - "System.Linq.Dynamic.Core.Tokenizer.TokenId System.Linq.Dynamic.Core.Tokenizer.Token::get_Id()": { - "Lines": { - "11": 47004 - }, - "Branches": [] - }, - "System.Linq.Dynamic.Core.Tokenizer.TokenId System.Linq.Dynamic.Core.Tokenizer.Token::get_OriginalId()": { - "Lines": { - "16": 4550 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.Tokenizer.Token::get_Text()": { - "Lines": { - "21": 15156 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.Tokenizer.Token::get_Pos()": { - "Lines": { - "26": 7762 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\ConstantExpressionHelper.cs": { - "System.Linq.Dynamic.Core.Parser.ConstantExpressionHelper": { - "System.Boolean System.Linq.Dynamic.Core.Parser.ConstantExpressionHelper::TryGetText(System.Linq.Expressions.Expression,System.String&)": { - "Lines": { - "23": 269, - "24": 269, - "25": 269 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ConstantExpressionHelper::CreateLiteral(System.Object,System.String)": { - "Lines": { - "28": 305, - "29": 305, - "30": 198, - "31": 198, - "34": 107, - "36": 107, - "37": 107, - "39": 107, - "40": 305 - }, - "Branches": [ - { - "Line": 29, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 198 - }, - { - "Line": 29, - "Offset": 17, - "EndOffset": 24, - "Path": 1, - "Ordinal": 1, - "Hits": 107 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.ConstantExpressionHelper::.ctor(System.Linq.Dynamic.Core.ParsingConfig)": { - "Lines": { - "13": 1, - "14": 1, - "15": 1, - "16": 1, - "18": 1, - "19": 1, - "20": 1 - }, - "Branches": [ - { - "Line": 16, - "Offset": 27, - "EndOffset": 29, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 16, - "Offset": 27, - "EndOffset": 35, - "Path": 1, - "Ordinal": 1, - "Hits": 1 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\ConstantExpressionHelperFactory.cs": { - "System.Linq.Dynamic.Core.Parser.ConstantExpressionHelperFactory": { - "System.Linq.Dynamic.Core.Parser.ConstantExpressionHelper System.Linq.Dynamic.Core.Parser.ConstantExpressionHelperFactory::GetInstance(System.Linq.Dynamic.Core.ParsingConfig)": { - "Lines": { - "9": 1334, - "10": 1334, - "11": 2, - "12": 2, - "13": 2, - "14": 2, - "15": 2, - "16": 2, - "18": 1334, - "19": 1334 - }, - "Branches": [ - { - "Line": 10, - "Offset": 11, - "EndOffset": 13, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 14, - "Offset": 37, - "EndOffset": 39, - "Path": 0, - "Ordinal": 2, - "Hits": 1 - }, - { - "Line": 14, - "Offset": 37, - "EndOffset": 50, - "Path": 1, - "Ordinal": 3, - "Hits": 2 - }, - { - "Line": 10, - "Offset": 11, - "EndOffset": 65, - "Path": 1, - "Ordinal": 1, - "Hits": 1334 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.ConstantExpressionHelperFactory::.cctor()": { - "Lines": { - "5": 1 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\ConstantExpressionWrapper.cs": { - "System.Linq.Dynamic.Core.Parser.ConstantExpressionWrapper": { - "System.Void System.Linq.Dynamic.Core.Parser.ConstantExpressionWrapper::Wrap(System.Linq.Expressions.Expression&)": { - "Lines": { - "15": 58, - "16": 58, - "17": 23, - "18": 23, - "19": 0, - "20": 0, - "21": 0, - "22": 23, - "23": 0, - "24": 0, - "25": 0, - "26": 23, - "27": 0, - "28": 0, - "29": 0, - "30": 23, - "31": 0, - "32": 0, - "33": 0, - "34": 23, - "35": 0, - "36": 0, - "37": 0, - "38": 23, - "39": 0, - "40": 0, - "41": 0, - "42": 23, - "43": 0, - "44": 0, - "45": 0, - "46": 23, - "47": 8, - "48": 8, - "49": 8, - "50": 15, - "51": 0, - "52": 0, - "53": 0, - "54": 15, - "55": 0, - "56": 0, - "57": 0, - "58": 15, - "59": 0, - "60": 0, - "61": 0, - "62": 15, - "63": 0, - "64": 0, - "65": 0, - "66": 15, - "67": 1, - "68": 1, - "69": 1, - "70": 14, - "71": 0, - "72": 0, - "73": 0, - "74": 14, - "75": 0, - "76": 0, - "77": 0, - "78": 14, - "79": 0, - "80": 0, - "81": 0, - "82": 14, - "83": 0, - "84": 0, - "85": 0, - "86": 14, - "87": 0, - "88": 0, - "89": 0, - "90": 14, - "91": 6, - "92": 6, - "93": 6, - "94": 8, - "95": 0, - "96": 0, - "97": 0, - "98": 8, - "99": 0, - "100": 0, - "101": 0, - "102": 8, - "103": 0, - "104": 0, - "105": 0, - "106": 8, - "107": 0, - "108": 0, - "109": 0, - "110": 8, - "111": 0, - "112": 0, - "113": 0, - "114": 8, - "115": 0, - "116": 0, - "117": 0, - "118": 8, - "119": 0, - "120": 0, - "121": 0, - "122": 8, - "123": 0, - "124": 0, - "125": 0, - "126": 8, - "127": 0, - "128": 0, - "129": 0, - "130": 8, - "131": 0, - "132": 0, - "133": 0, - "134": 8, - "135": 0, - "136": 0, - "137": 0, - "138": 8, - "139": 0, - "140": 0, - "141": 0, - "142": 8, - "143": 2, - "144": 2, - "145": 2, - "146": 6, - "147": 0, - "148": 0, - "149": 0, - "150": 6, - "151": 0, - "152": 0, - "153": 0, - "155": 6, - "156": 0, - "157": 0, - "158": 0, - "159": 6, - "160": 0, - "161": 0, - "162": 0, - "163": 6, - "164": 0, - "165": 0, - "166": 0, - "167": 6, - "168": 0, - "169": 0, - "170": 0, - "172": 23, - "175": 35, - "176": 0, - "177": 0, - "178": 0, - "179": 0, - "180": 0, - "181": 0, - "182": 0, - "183": 0, - "184": 0, - "185": 0, - "186": 0, - "187": 0, - "188": 0, - "189": 0, - "190": 0, - "191": 0, - "192": 0, - "193": 0, - "194": 0, - "195": 0, - "196": 0, - "197": 0, - "198": 0, - "199": 0, - "200": 0, - "201": 0, - "202": 0, - "203": 0, - "204": 0, - "205": 0, - "206": 0, - "207": 0, - "208": 0, - "210": 0, - "211": 0, - "212": 0, - "213": 0, - "214": 0, - "215": 0, - "216": 0, - "217": 0, - "218": 0, - "219": 0, - "220": 0, - "221": 0, - "222": 0, - "223": 0, - "224": 0, - "225": 0, - "227": 0, - "228": 58 - }, - "Branches": [ - { - "Line": 16, - "Offset": 15, - "EndOffset": 20, - "Path": 0, - "Ordinal": 0, - "Hits": 23 - }, - { - "Line": 18, - "Offset": 44, - "EndOffset": 46, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 18, - "Offset": 44, - "EndOffset": 71, - "Path": 1, - "Ordinal": 3, - "Hits": 23 - }, - { - "Line": 22, - "Offset": 96, - "EndOffset": 98, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 22, - "Offset": 96, - "EndOffset": 123, - "Path": 1, - "Ordinal": 5, - "Hits": 23 - }, - { - "Line": 26, - "Offset": 148, - "EndOffset": 150, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 26, - "Offset": 148, - "EndOffset": 175, - "Path": 1, - "Ordinal": 7, - "Hits": 23 - }, - { - "Line": 30, - "Offset": 200, - "EndOffset": 202, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 30, - "Offset": 200, - "EndOffset": 227, - "Path": 1, - "Ordinal": 9, - "Hits": 23 - }, - { - "Line": 34, - "Offset": 252, - "EndOffset": 254, - "Path": 0, - "Ordinal": 10, - "Hits": 0 - }, - { - "Line": 34, - "Offset": 252, - "EndOffset": 279, - "Path": 1, - "Ordinal": 11, - "Hits": 23 - }, - { - "Line": 38, - "Offset": 304, - "EndOffset": 306, - "Path": 0, - "Ordinal": 12, - "Hits": 0 - }, - { - "Line": 38, - "Offset": 304, - "EndOffset": 331, - "Path": 1, - "Ordinal": 13, - "Hits": 23 - }, - { - "Line": 42, - "Offset": 356, - "EndOffset": 358, - "Path": 0, - "Ordinal": 14, - "Hits": 0 - }, - { - "Line": 42, - "Offset": 356, - "EndOffset": 383, - "Path": 1, - "Ordinal": 15, - "Hits": 23 - }, - { - "Line": 46, - "Offset": 408, - "EndOffset": 410, - "Path": 0, - "Ordinal": 16, - "Hits": 8 - }, - { - "Line": 46, - "Offset": 408, - "EndOffset": 435, - "Path": 1, - "Ordinal": 17, - "Hits": 15 - }, - { - "Line": 50, - "Offset": 460, - "EndOffset": 462, - "Path": 0, - "Ordinal": 18, - "Hits": 0 - }, - { - "Line": 50, - "Offset": 460, - "EndOffset": 487, - "Path": 1, - "Ordinal": 19, - "Hits": 15 - }, - { - "Line": 54, - "Offset": 512, - "EndOffset": 514, - "Path": 0, - "Ordinal": 20, - "Hits": 0 - }, - { - "Line": 54, - "Offset": 512, - "EndOffset": 539, - "Path": 1, - "Ordinal": 21, - "Hits": 15 - }, - { - "Line": 58, - "Offset": 564, - "EndOffset": 566, - "Path": 0, - "Ordinal": 22, - "Hits": 0 - }, - { - "Line": 58, - "Offset": 564, - "EndOffset": 591, - "Path": 1, - "Ordinal": 23, - "Hits": 15 - }, - { - "Line": 62, - "Offset": 616, - "EndOffset": 618, - "Path": 0, - "Ordinal": 24, - "Hits": 0 - }, - { - "Line": 62, - "Offset": 616, - "EndOffset": 643, - "Path": 1, - "Ordinal": 25, - "Hits": 15 - }, - { - "Line": 66, - "Offset": 668, - "EndOffset": 670, - "Path": 0, - "Ordinal": 26, - "Hits": 1 - }, - { - "Line": 66, - "Offset": 668, - "EndOffset": 695, - "Path": 1, - "Ordinal": 27, - "Hits": 14 - }, - { - "Line": 70, - "Offset": 720, - "EndOffset": 722, - "Path": 0, - "Ordinal": 28, - "Hits": 0 - }, - { - "Line": 70, - "Offset": 720, - "EndOffset": 747, - "Path": 1, - "Ordinal": 29, - "Hits": 14 - }, - { - "Line": 74, - "Offset": 772, - "EndOffset": 774, - "Path": 0, - "Ordinal": 30, - "Hits": 0 - }, - { - "Line": 74, - "Offset": 772, - "EndOffset": 799, - "Path": 1, - "Ordinal": 31, - "Hits": 14 - }, - { - "Line": 78, - "Offset": 824, - "EndOffset": 826, - "Path": 0, - "Ordinal": 32, - "Hits": 0 - }, - { - "Line": 78, - "Offset": 824, - "EndOffset": 851, - "Path": 1, - "Ordinal": 33, - "Hits": 14 - }, - { - "Line": 82, - "Offset": 876, - "EndOffset": 878, - "Path": 0, - "Ordinal": 34, - "Hits": 0 - }, - { - "Line": 82, - "Offset": 876, - "EndOffset": 903, - "Path": 1, - "Ordinal": 35, - "Hits": 14 - }, - { - "Line": 86, - "Offset": 928, - "EndOffset": 930, - "Path": 0, - "Ordinal": 36, - "Hits": 0 - }, - { - "Line": 86, - "Offset": 928, - "EndOffset": 955, - "Path": 1, - "Ordinal": 37, - "Hits": 14 - }, - { - "Line": 90, - "Offset": 980, - "EndOffset": 982, - "Path": 0, - "Ordinal": 38, - "Hits": 6 - }, - { - "Line": 90, - "Offset": 980, - "EndOffset": 1007, - "Path": 1, - "Ordinal": 39, - "Hits": 8 - }, - { - "Line": 94, - "Offset": 1032, - "EndOffset": 1034, - "Path": 0, - "Ordinal": 40, - "Hits": 0 - }, - { - "Line": 94, - "Offset": 1032, - "EndOffset": 1059, - "Path": 1, - "Ordinal": 41, - "Hits": 8 - }, - { - "Line": 98, - "Offset": 1084, - "EndOffset": 1086, - "Path": 0, - "Ordinal": 42, - "Hits": 0 - }, - { - "Line": 98, - "Offset": 1084, - "EndOffset": 1111, - "Path": 1, - "Ordinal": 43, - "Hits": 8 - }, - { - "Line": 102, - "Offset": 1136, - "EndOffset": 1138, - "Path": 0, - "Ordinal": 44, - "Hits": 0 - }, - { - "Line": 102, - "Offset": 1136, - "EndOffset": 1163, - "Path": 1, - "Ordinal": 45, - "Hits": 8 - }, - { - "Line": 106, - "Offset": 1188, - "EndOffset": 1190, - "Path": 0, - "Ordinal": 46, - "Hits": 0 - }, - { - "Line": 106, - "Offset": 1188, - "EndOffset": 1215, - "Path": 1, - "Ordinal": 47, - "Hits": 8 - }, - { - "Line": 110, - "Offset": 1240, - "EndOffset": 1242, - "Path": 0, - "Ordinal": 48, - "Hits": 0 - }, - { - "Line": 110, - "Offset": 1240, - "EndOffset": 1267, - "Path": 1, - "Ordinal": 49, - "Hits": 8 - }, - { - "Line": 114, - "Offset": 1292, - "EndOffset": 1294, - "Path": 0, - "Ordinal": 50, - "Hits": 0 - }, - { - "Line": 114, - "Offset": 1292, - "EndOffset": 1319, - "Path": 1, - "Ordinal": 51, - "Hits": 8 - }, - { - "Line": 118, - "Offset": 1344, - "EndOffset": 1346, - "Path": 0, - "Ordinal": 52, - "Hits": 0 - }, - { - "Line": 118, - "Offset": 1344, - "EndOffset": 1371, - "Path": 1, - "Ordinal": 53, - "Hits": 8 - }, - { - "Line": 122, - "Offset": 1396, - "EndOffset": 1398, - "Path": 0, - "Ordinal": 54, - "Hits": 0 - }, - { - "Line": 122, - "Offset": 1396, - "EndOffset": 1423, - "Path": 1, - "Ordinal": 55, - "Hits": 8 - }, - { - "Line": 126, - "Offset": 1448, - "EndOffset": 1450, - "Path": 0, - "Ordinal": 56, - "Hits": 0 - }, - { - "Line": 126, - "Offset": 1448, - "EndOffset": 1475, - "Path": 1, - "Ordinal": 57, - "Hits": 8 - }, - { - "Line": 130, - "Offset": 1500, - "EndOffset": 1502, - "Path": 0, - "Ordinal": 58, - "Hits": 0 - }, - { - "Line": 130, - "Offset": 1500, - "EndOffset": 1527, - "Path": 1, - "Ordinal": 59, - "Hits": 8 - }, - { - "Line": 134, - "Offset": 1552, - "EndOffset": 1554, - "Path": 0, - "Ordinal": 60, - "Hits": 0 - }, - { - "Line": 134, - "Offset": 1552, - "EndOffset": 1579, - "Path": 1, - "Ordinal": 61, - "Hits": 8 - }, - { - "Line": 138, - "Offset": 1604, - "EndOffset": 1606, - "Path": 0, - "Ordinal": 62, - "Hits": 0 - }, - { - "Line": 138, - "Offset": 1604, - "EndOffset": 1631, - "Path": 1, - "Ordinal": 63, - "Hits": 8 - }, - { - "Line": 142, - "Offset": 1656, - "EndOffset": 1658, - "Path": 0, - "Ordinal": 64, - "Hits": 2 - }, - { - "Line": 142, - "Offset": 1656, - "EndOffset": 1683, - "Path": 1, - "Ordinal": 65, - "Hits": 6 - }, - { - "Line": 146, - "Offset": 1708, - "EndOffset": 1710, - "Path": 0, - "Ordinal": 66, - "Hits": 0 - }, - { - "Line": 146, - "Offset": 1708, - "EndOffset": 1735, - "Path": 1, - "Ordinal": 67, - "Hits": 6 - }, - { - "Line": 150, - "Offset": 1760, - "EndOffset": 1762, - "Path": 0, - "Ordinal": 68, - "Hits": 0 - }, - { - "Line": 150, - "Offset": 1760, - "EndOffset": 1787, - "Path": 1, - "Ordinal": 69, - "Hits": 6 - }, - { - "Line": 155, - "Offset": 1812, - "EndOffset": 1814, - "Path": 0, - "Ordinal": 70, - "Hits": 0 - }, - { - "Line": 155, - "Offset": 1812, - "EndOffset": 1839, - "Path": 1, - "Ordinal": 71, - "Hits": 6 - }, - { - "Line": 159, - "Offset": 1864, - "EndOffset": 1866, - "Path": 0, - "Ordinal": 72, - "Hits": 0 - }, - { - "Line": 159, - "Offset": 1864, - "EndOffset": 1888, - "Path": 1, - "Ordinal": 73, - "Hits": 6 - }, - { - "Line": 163, - "Offset": 1913, - "EndOffset": 1915, - "Path": 0, - "Ordinal": 74, - "Hits": 0 - }, - { - "Line": 163, - "Offset": 1913, - "EndOffset": 1937, - "Path": 1, - "Ordinal": 75, - "Hits": 6 - }, - { - "Line": 167, - "Offset": 1962, - "EndOffset": 1964, - "Path": 0, - "Ordinal": 76, - "Hits": 0 - }, - { - "Line": 16, - "Offset": 15, - "EndOffset": 1989, - "Path": 1, - "Ordinal": 1, - "Hits": 35 - }, - { - "Line": 175, - "Offset": 2005, - "EndOffset": 2010, - "Path": 0, - "Ordinal": 78, - "Hits": 0 - }, - { - "Line": 177, - "Offset": 2036, - "EndOffset": 2038, - "Path": 0, - "Ordinal": 80, - "Hits": 0 - }, - { - "Line": 177, - "Offset": 2036, - "EndOffset": 2073, - "Path": 1, - "Ordinal": 81, - "Hits": 0 - }, - { - "Line": 181, - "Offset": 2098, - "EndOffset": 2100, - "Path": 0, - "Ordinal": 82, - "Hits": 0 - }, - { - "Line": 181, - "Offset": 2098, - "EndOffset": 2135, - "Path": 1, - "Ordinal": 83, - "Hits": 0 - }, - { - "Line": 185, - "Offset": 2160, - "EndOffset": 2162, - "Path": 0, - "Ordinal": 84, - "Hits": 0 - }, - { - "Line": 185, - "Offset": 2160, - "EndOffset": 2197, - "Path": 1, - "Ordinal": 85, - "Hits": 0 - }, - { - "Line": 189, - "Offset": 2222, - "EndOffset": 2224, - "Path": 0, - "Ordinal": 86, - "Hits": 0 - }, - { - "Line": 189, - "Offset": 2222, - "EndOffset": 2259, - "Path": 1, - "Ordinal": 87, - "Hits": 0 - }, - { - "Line": 193, - "Offset": 2284, - "EndOffset": 2286, - "Path": 0, - "Ordinal": 88, - "Hits": 0 - }, - { - "Line": 193, - "Offset": 2284, - "EndOffset": 2321, - "Path": 1, - "Ordinal": 89, - "Hits": 0 - }, - { - "Line": 197, - "Offset": 2346, - "EndOffset": 2348, - "Path": 0, - "Ordinal": 90, - "Hits": 0 - }, - { - "Line": 197, - "Offset": 2346, - "EndOffset": 2383, - "Path": 1, - "Ordinal": 91, - "Hits": 0 - }, - { - "Line": 201, - "Offset": 2408, - "EndOffset": 2410, - "Path": 0, - "Ordinal": 92, - "Hits": 0 - }, - { - "Line": 201, - "Offset": 2408, - "EndOffset": 2445, - "Path": 1, - "Ordinal": 93, - "Hits": 0 - }, - { - "Line": 205, - "Offset": 2470, - "EndOffset": 2472, - "Path": 0, - "Ordinal": 94, - "Hits": 0 - }, - { - "Line": 205, - "Offset": 2470, - "EndOffset": 2507, - "Path": 1, - "Ordinal": 95, - "Hits": 0 - }, - { - "Line": 210, - "Offset": 2532, - "EndOffset": 2534, - "Path": 0, - "Ordinal": 96, - "Hits": 0 - }, - { - "Line": 210, - "Offset": 2532, - "EndOffset": 2569, - "Path": 1, - "Ordinal": 97, - "Hits": 0 - }, - { - "Line": 214, - "Offset": 2594, - "EndOffset": 2596, - "Path": 0, - "Ordinal": 98, - "Hits": 0 - }, - { - "Line": 214, - "Offset": 2594, - "EndOffset": 2628, - "Path": 1, - "Ordinal": 99, - "Hits": 0 - }, - { - "Line": 218, - "Offset": 2653, - "EndOffset": 2655, - "Path": 0, - "Ordinal": 100, - "Hits": 0 - }, - { - "Line": 218, - "Offset": 2653, - "EndOffset": 2687, - "Path": 1, - "Ordinal": 101, - "Hits": 0 - }, - { - "Line": 222, - "Offset": 2712, - "EndOffset": 2714, - "Path": 0, - "Ordinal": 102, - "Hits": 0 - }, - { - "Line": 222, - "Offset": 2712, - "EndOffset": 2744, - "Path": 1, - "Ordinal": 103, - "Hits": 0 - }, - { - "Line": 167, - "Offset": 1962, - "EndOffset": 2745, - "Path": 1, - "Ordinal": 77, - "Hits": 58 - }, - { - "Line": 175, - "Offset": 2005, - "EndOffset": 2745, - "Path": 1, - "Ordinal": 79, - "Hits": 58 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ConstantExpressionWrapper::TryUnwrapAsValue(System.Linq.Expressions.MemberExpression,TValue&)": { - "Lines": { - "231": 18, - "232": 18, - "233": 9, - "234": 9, - "235": 9, - "238": 9, - "239": 9, - "240": 18 - }, - "Branches": [ - { - "Line": 232, - "Offset": 2, - "EndOffset": 4, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 232, - "Offset": 2, - "EndOffset": 7, - "Path": 1, - "Ordinal": 1, - "Hits": 18 - }, - { - "Line": 232, - "Offset": 20, - "EndOffset": 22, - "Path": 0, - "Ordinal": 2, - "Hits": 14 - }, - { - "Line": 232, - "Offset": 20, - "EndOffset": 40, - "Path": 1, - "Ordinal": 3, - "Hits": 4 - }, - { - "Line": 232, - "Offset": 43, - "EndOffset": 45, - "Path": 0, - "Ordinal": 4, - "Hits": 9 - }, - { - "Line": 232, - "Offset": 43, - "EndOffset": 62, - "Path": 1, - "Ordinal": 5, - "Hits": 9 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ConstantExpressionWrapper::TryUnwrapAsConstantExpression(System.Linq.Expressions.MemberExpression,System.Linq.Expressions.ConstantExpression&)": { - "Lines": { - "243": 9, - "244": 9, - "245": 7, - "246": 7, - "247": 7, - "250": 2, - "251": 2, - "252": 9 - }, - "Branches": [ - { - "Line": 244, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 7 - }, - { - "Line": 244, - "Offset": 12, - "EndOffset": 32, - "Path": 1, - "Ordinal": 1, - "Hits": 2 - } - ] - }, - "System.Linq.Expressions.MemberExpression System.Linq.Dynamic.Core.Parser.ConstantExpressionWrapper::Wrap(TValue)": { - "Lines": { - "255": 17, - "256": 17, - "258": 17, - "259": 17 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\Constants.cs": { - "System.Linq.Dynamic.Core.Parser.Constants": { - "System.Boolean System.Linq.Dynamic.Core.Parser.Constants::IsNull(System.Linq.Expressions.Expression)": { - "Lines": { - "8": 620, - "9": 620, - "10": 620 - }, - "Branches": [ - { - "Line": 9, - "Offset": 9, - "EndOffset": 11, - "Path": 0, - "Ordinal": 0, - "Hits": 503 - }, - { - "Line": 9, - "Offset": 9, - "EndOffset": 22, - "Path": 1, - "Ordinal": 1, - "Hits": 117 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\EnumerationsFromMscorlib.cs": { - "System.Linq.Dynamic.Core.Parser.EnumerationsFromMscorlib": { - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.Parser.EnumerationsFromMscorlib::AddEnumsFromAssembly(System.String)": { - "Lines": { - "31": 3, - "33": 3, - "34": 2643, - "36": 0, - "37": 0, - "38": 0, - "40": 3 - }, - "Branches": [ - { - "Line": 34, - "Offset": 11, - "EndOffset": 13, - "Path": 0, - "Ordinal": 0, - "Hits": 296 - }, - { - "Line": 34, - "Offset": 11, - "EndOffset": 26, - "Path": 1, - "Ordinal": 1, - "Hits": 2344 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.EnumerationsFromMscorlib::Add(System.Linq.IGrouping`2)": { - "Lines": { - "43": 154, - "44": 154, - "45": 154, - "46": 154, - "47": 154, - "48": 154, - "49": 154, - "51": 0, - "52": 0, - "53": 0, - "54": 0, - "55": 0, - "56": 0, - "57": 154 - }, - "Branches": [ - { - "Line": 44, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 154 - }, - { - "Line": 44, - "Offset": 12, - "EndOffset": 61, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 52, - "Offset": 105, - "EndOffset": 72, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 52, - "Offset": 105, - "EndOffset": 107, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.EnumerationsFromMscorlib::.cctor()": { - "Lines": { - "12": 1, - "15": 1, - "16": 1, - "21": 1, - "22": 1, - "24": 465, - "25": 154, - "26": 154, - "27": 154, - "28": 1 - }, - "Branches": [ - { - "Line": 24, - "Offset": 134, - "EndOffset": 112, - "Path": 1, - "Ordinal": 1, - "Hits": 154 - }, - { - "Line": 24, - "Offset": 134, - "EndOffset": 136, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\ExpressionHelper.cs": { - "System.Linq.Dynamic.Core.Parser.ExpressionHelper": { - "System.Void System.Linq.Dynamic.Core.Parser.ExpressionHelper::WrapConstantExpression(System.Linq.Expressions.Expression&)": { - "Lines": { - "23": 1682, - "24": 1682, - "25": 30, - "26": 30, - "27": 30, - "28": 1682 - }, - "Branches": [ - { - "Line": 24, - "Offset": 14, - "EndOffset": 16, - "Path": 0, - "Ordinal": 0, - "Hits": 30 - }, - { - "Line": 24, - "Offset": 14, - "EndOffset": 31, - "Path": 1, - "Ordinal": 1, - "Hits": 1682 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionHelper::TryUnwrapAsValue(System.Linq.Expressions.Expression,TValue&)": { - "Lines": { - "31": 249, - "32": 249, - "33": 2, - "34": 2, - "37": 247, - "38": 247, - "39": 249 - }, - "Branches": [ - { - "Line": 32, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 9 - }, - { - "Line": 32, - "Offset": 12, - "EndOffset": 34, - "Path": 1, - "Ordinal": 1, - "Hits": 240 - }, - { - "Line": 32, - "Offset": 37, - "EndOffset": 39, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - }, - { - "Line": 32, - "Offset": 37, - "EndOffset": 44, - "Path": 1, - "Ordinal": 3, - "Hits": 247 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionHelper::TryUnwrapAsConstantExpression(System.Linq.Expressions.Expression,System.Linq.Expressions.ConstantExpression&)": { - "Lines": { - "42": 0, - "43": 0, - "44": 0, - "45": 0, - "48": 0, - "49": 0, - "50": 0, - "53": 7, - "54": 7, - "55": 0, - "56": 0, - "57": 0, - "60": 7, - "61": 7, - "62": 7, - "63": 7, - "64": 7, - "65": 7, - "66": 7, - "67": 7, - "68": 7, - "71": 0, - "72": 0, - "73": 7 - }, - "Branches": [ - { - "Line": 43, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 43, - "Offset": 12, - "EndOffset": 34, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 43, - "Offset": 37, - "EndOffset": 39, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 43, - "Offset": 37, - "EndOffset": 44, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 54, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 7 - }, - { - "Line": 54, - "Offset": 12, - "EndOffset": 30, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 54, - "Offset": 33, - "EndOffset": 35, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 54, - "Offset": 33, - "EndOffset": 43, - "Path": 1, - "Ordinal": 3, - "Hits": 7 - }, - { - "Line": 60, - "Offset": 56, - "EndOffset": 58, - "Path": 0, - "Ordinal": 4, - "Hits": 2 - }, - { - "Line": 60, - "Offset": 71, - "EndOffset": 73, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 60, - "Offset": 86, - "EndOffset": 88, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 60, - "Offset": 56, - "EndOffset": 103, - "Path": 1, - "Ordinal": 5, - "Hits": 7 - }, - { - "Line": 60, - "Offset": 71, - "EndOffset": 103, - "Path": 1, - "Ordinal": 7, - "Hits": 7 - }, - { - "Line": 60, - "Offset": 86, - "EndOffset": 103, - "Path": 1, - "Ordinal": 9, - "Hits": 7 - }, - { - "Line": 60, - "Offset": 106, - "EndOffset": 108, - "Path": 0, - "Ordinal": 10, - "Hits": 7 - }, - { - "Line": 60, - "Offset": 106, - "EndOffset": 113, - "Path": 1, - "Ordinal": 11, - "Hits": 0 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionHelper::ConvertNumericTypeToBiggestCommonTypeForBinaryOperator(System.Linq.Expressions.Expression&,System.Linq.Expressions.Expression&)": { - "Lines": { - "76": 0, - "77": 0, - "78": 0, - "79": 0, - "82": 0, - "83": 0, - "84": 0, - "85": 0, - "86": 0, - "87": 0, - "88": 0, - "89": 0, - "90": 0, - "91": 0, - "92": 0, - "93": 0, - "94": 0, - "95": 0, - "96": 0, - "97": 0, - "98": 0, - "99": 0, - "100": 0, - "101": 0, - "102": 0, - "103": 0, - "104": 0, - "105": 0, - "106": 0, - "107": 0, - "108": 0, - "109": 0, - "110": 0, - "111": 0, - "112": 0, - "113": 0, - "114": 0, - "115": 0, - "116": 0, - "118": 0, - "119": 0 - }, - "Branches": [ - { - "Line": 77, - "Offset": 22, - "EndOffset": 24, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 77, - "Offset": 22, - "EndOffset": 32, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 82, - "Offset": 54, - "EndOffset": 56, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 82, - "Offset": 54, - "EndOffset": 80, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 82, - "Offset": 83, - "EndOffset": 85, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 84, - "Offset": 109, - "EndOffset": 111, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 84, - "Offset": 109, - "EndOffset": 115, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 85, - "Offset": 156, - "EndOffset": 158, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 85, - "Offset": 156, - "EndOffset": 162, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 82, - "Offset": 83, - "EndOffset": 186, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 87, - "Offset": 208, - "EndOffset": 210, - "Path": 0, - "Ordinal": 10, - "Hits": 0 - }, - { - "Line": 87, - "Offset": 208, - "EndOffset": 234, - "Path": 1, - "Ordinal": 11, - "Hits": 0 - }, - { - "Line": 87, - "Offset": 237, - "EndOffset": 239, - "Path": 0, - "Ordinal": 12, - "Hits": 0 - }, - { - "Line": 89, - "Offset": 263, - "EndOffset": 265, - "Path": 0, - "Ordinal": 14, - "Hits": 0 - }, - { - "Line": 89, - "Offset": 263, - "EndOffset": 269, - "Path": 1, - "Ordinal": 15, - "Hits": 0 - }, - { - "Line": 90, - "Offset": 310, - "EndOffset": 312, - "Path": 0, - "Ordinal": 16, - "Hits": 0 - }, - { - "Line": 90, - "Offset": 310, - "EndOffset": 316, - "Path": 1, - "Ordinal": 17, - "Hits": 0 - }, - { - "Line": 87, - "Offset": 237, - "EndOffset": 340, - "Path": 1, - "Ordinal": 13, - "Hits": 0 - }, - { - "Line": 92, - "Offset": 362, - "EndOffset": 364, - "Path": 0, - "Ordinal": 18, - "Hits": 0 - }, - { - "Line": 92, - "Offset": 362, - "EndOffset": 388, - "Path": 1, - "Ordinal": 19, - "Hits": 0 - }, - { - "Line": 92, - "Offset": 393, - "EndOffset": 395, - "Path": 0, - "Ordinal": 20, - "Hits": 0 - }, - { - "Line": 94, - "Offset": 419, - "EndOffset": 421, - "Path": 0, - "Ordinal": 22, - "Hits": 0 - }, - { - "Line": 94, - "Offset": 419, - "EndOffset": 425, - "Path": 1, - "Ordinal": 23, - "Hits": 0 - }, - { - "Line": 95, - "Offset": 466, - "EndOffset": 468, - "Path": 0, - "Ordinal": 24, - "Hits": 0 - }, - { - "Line": 95, - "Offset": 466, - "EndOffset": 472, - "Path": 1, - "Ordinal": 25, - "Hits": 0 - }, - { - "Line": 92, - "Offset": 393, - "EndOffset": 496, - "Path": 1, - "Ordinal": 21, - "Hits": 0 - }, - { - "Line": 97, - "Offset": 518, - "EndOffset": 520, - "Path": 0, - "Ordinal": 26, - "Hits": 0 - }, - { - "Line": 97, - "Offset": 518, - "EndOffset": 544, - "Path": 1, - "Ordinal": 27, - "Hits": 0 - }, - { - "Line": 97, - "Offset": 549, - "EndOffset": 551, - "Path": 0, - "Ordinal": 28, - "Hits": 0 - }, - { - "Line": 99, - "Offset": 575, - "EndOffset": 577, - "Path": 0, - "Ordinal": 30, - "Hits": 0 - }, - { - "Line": 99, - "Offset": 575, - "EndOffset": 581, - "Path": 1, - "Ordinal": 31, - "Hits": 0 - }, - { - "Line": 100, - "Offset": 622, - "EndOffset": 624, - "Path": 0, - "Ordinal": 32, - "Hits": 0 - }, - { - "Line": 100, - "Offset": 622, - "EndOffset": 628, - "Path": 1, - "Ordinal": 33, - "Hits": 0 - }, - { - "Line": 97, - "Offset": 549, - "EndOffset": 652, - "Path": 1, - "Ordinal": 29, - "Hits": 0 - }, - { - "Line": 102, - "Offset": 674, - "EndOffset": 676, - "Path": 0, - "Ordinal": 34, - "Hits": 0 - }, - { - "Line": 102, - "Offset": 674, - "EndOffset": 700, - "Path": 1, - "Ordinal": 35, - "Hits": 0 - }, - { - "Line": 102, - "Offset": 705, - "EndOffset": 707, - "Path": 0, - "Ordinal": 36, - "Hits": 0 - }, - { - "Line": 104, - "Offset": 731, - "EndOffset": 733, - "Path": 0, - "Ordinal": 38, - "Hits": 0 - }, - { - "Line": 104, - "Offset": 731, - "EndOffset": 737, - "Path": 1, - "Ordinal": 39, - "Hits": 0 - }, - { - "Line": 105, - "Offset": 778, - "EndOffset": 780, - "Path": 0, - "Ordinal": 40, - "Hits": 0 - }, - { - "Line": 105, - "Offset": 778, - "EndOffset": 784, - "Path": 1, - "Ordinal": 41, - "Hits": 0 - }, - { - "Line": 102, - "Offset": 705, - "EndOffset": 808, - "Path": 1, - "Ordinal": 37, - "Hits": 0 - }, - { - "Line": 107, - "Offset": 830, - "EndOffset": 832, - "Path": 0, - "Ordinal": 42, - "Hits": 0 - }, - { - "Line": 107, - "Offset": 830, - "EndOffset": 856, - "Path": 1, - "Ordinal": 43, - "Hits": 0 - }, - { - "Line": 107, - "Offset": 861, - "EndOffset": 863, - "Path": 0, - "Ordinal": 44, - "Hits": 0 - }, - { - "Line": 109, - "Offset": 887, - "EndOffset": 889, - "Path": 0, - "Ordinal": 46, - "Hits": 0 - }, - { - "Line": 109, - "Offset": 887, - "EndOffset": 893, - "Path": 1, - "Ordinal": 47, - "Hits": 0 - }, - { - "Line": 110, - "Offset": 934, - "EndOffset": 936, - "Path": 0, - "Ordinal": 48, - "Hits": 0 - }, - { - "Line": 110, - "Offset": 934, - "EndOffset": 940, - "Path": 1, - "Ordinal": 49, - "Hits": 0 - }, - { - "Line": 107, - "Offset": 861, - "EndOffset": 964, - "Path": 1, - "Ordinal": 45, - "Hits": 0 - }, - { - "Line": 112, - "Offset": 986, - "EndOffset": 988, - "Path": 0, - "Ordinal": 50, - "Hits": 0 - }, - { - "Line": 112, - "Offset": 986, - "EndOffset": 1012, - "Path": 1, - "Ordinal": 51, - "Hits": 0 - }, - { - "Line": 112, - "Offset": 1017, - "EndOffset": 1019, - "Path": 0, - "Ordinal": 52, - "Hits": 0 - }, - { - "Line": 114, - "Offset": 1043, - "EndOffset": 1045, - "Path": 0, - "Ordinal": 54, - "Hits": 0 - }, - { - "Line": 114, - "Offset": 1043, - "EndOffset": 1049, - "Path": 1, - "Ordinal": 55, - "Hits": 0 - }, - { - "Line": 115, - "Offset": 1090, - "EndOffset": 1092, - "Path": 0, - "Ordinal": 56, - "Hits": 0 - }, - { - "Line": 115, - "Offset": 1090, - "EndOffset": 1096, - "Path": 1, - "Ordinal": 57, - "Hits": 0 - }, - { - "Line": 112, - "Offset": 1017, - "EndOffset": 1115, - "Path": 1, - "Ordinal": 53, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GenerateAdd(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)": { - "Lines": { - "122": 6, - "123": 6, - "124": 6 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GenerateStringConcat(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)": { - "Lines": { - "127": 14, - "128": 14, - "129": 14 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GenerateSubtract(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)": { - "Lines": { - "132": 0, - "133": 0, - "134": 0 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GenerateEqual(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)": { - "Lines": { - "137": 138, - "138": 138, - "140": 138, - "142": 138, - "143": 138 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GenerateNotEqual(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)": { - "Lines": { - "146": 28, - "147": 28, - "149": 28, - "151": 28, - "152": 28 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GenerateGreaterThan(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)": { - "Lines": { - "155": 66, - "156": 66, - "157": 0, - "158": 0, - "161": 66, - "162": 0, - "163": 0, - "164": 0, - "165": 0, - "168": 66, - "170": 66, - "171": 66 - }, - "Branches": [ - { - "Line": 156, - "Offset": 24, - "EndOffset": 26, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 156, - "Offset": 24, - "EndOffset": 61, - "Path": 1, - "Ordinal": 1, - "Hits": 66 - }, - { - "Line": 161, - "Offset": 77, - "EndOffset": 79, - "Path": 0, - "Ordinal": 2, - "Hits": 66 - }, - { - "Line": 161, - "Offset": 77, - "EndOffset": 97, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 161, - "Offset": 100, - "EndOffset": 102, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 163, - "Offset": 119, - "EndOffset": 121, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 163, - "Offset": 119, - "EndOffset": 124, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 164, - "Offset": 158, - "EndOffset": 160, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 164, - "Offset": 158, - "EndOffset": 163, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 161, - "Offset": 100, - "EndOffset": 193, - "Path": 1, - "Ordinal": 5, - "Hits": 66 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GenerateGreaterThanEqual(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)": { - "Lines": { - "174": 6, - "175": 6, - "176": 0, - "177": 0, - "180": 6, - "181": 0, - "182": 0, - "183": 0, - "184": 0, - "185": 0, - "188": 6, - "190": 6, - "191": 6 - }, - "Branches": [ - { - "Line": 175, - "Offset": 24, - "EndOffset": 26, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 175, - "Offset": 24, - "EndOffset": 61, - "Path": 1, - "Ordinal": 1, - "Hits": 6 - }, - { - "Line": 180, - "Offset": 77, - "EndOffset": 79, - "Path": 0, - "Ordinal": 2, - "Hits": 6 - }, - { - "Line": 180, - "Offset": 77, - "EndOffset": 97, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 180, - "Offset": 100, - "EndOffset": 102, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 182, - "Offset": 119, - "EndOffset": 121, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 182, - "Offset": 119, - "EndOffset": 124, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 182, - "Offset": 157, - "EndOffset": 159, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 182, - "Offset": 157, - "EndOffset": 162, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 180, - "Offset": 100, - "EndOffset": 187, - "Path": 1, - "Ordinal": 5, - "Hits": 6 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GenerateLessThan(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)": { - "Lines": { - "194": 0, - "195": 0, - "196": 0, - "197": 0, - "200": 0, - "201": 0, - "202": 0, - "203": 0, - "204": 0, - "205": 0, - "208": 0, - "210": 0, - "211": 0 - }, - "Branches": [ - { - "Line": 195, - "Offset": 24, - "EndOffset": 26, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 195, - "Offset": 24, - "EndOffset": 61, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 200, - "Offset": 77, - "EndOffset": 79, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 200, - "Offset": 77, - "EndOffset": 97, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 200, - "Offset": 100, - "EndOffset": 102, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 202, - "Offset": 119, - "EndOffset": 121, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 202, - "Offset": 119, - "EndOffset": 124, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 202, - "Offset": 157, - "EndOffset": 159, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 202, - "Offset": 157, - "EndOffset": 162, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 200, - "Offset": 100, - "EndOffset": 187, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GenerateLessThanEqual(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)": { - "Lines": { - "214": 0, - "215": 0, - "216": 0, - "217": 0, - "220": 0, - "221": 0, - "222": 0, - "223": 0, - "224": 0, - "225": 0, - "228": 0, - "230": 0, - "231": 0 - }, - "Branches": [ - { - "Line": 215, - "Offset": 24, - "EndOffset": 26, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 215, - "Offset": 24, - "EndOffset": 61, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 220, - "Offset": 77, - "EndOffset": 79, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 220, - "Offset": 77, - "EndOffset": 97, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 220, - "Offset": 100, - "EndOffset": 102, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 222, - "Offset": 119, - "EndOffset": 121, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 222, - "Offset": 119, - "EndOffset": 124, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 222, - "Offset": 157, - "EndOffset": 159, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 222, - "Offset": 157, - "EndOffset": 162, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 220, - "Offset": 100, - "EndOffset": 187, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.ExpressionHelper::OptimizeForEqualityIfPossible(System.Linq.Expressions.Expression&,System.Linq.Expressions.Expression&)": { - "Lines": { - "234": 166, - "237": 166, - "238": 166, - "240": 166, - "241": 65, - "242": 65, - "243": 65, - "245": 166, - "246": 1, - "247": 1, - "248": 1, - "249": 166 - }, - "Branches": [ - { - "Line": 240, - "Offset": 33, - "EndOffset": 35, - "Path": 0, - "Ordinal": 0, - "Hits": 67 - }, - { - "Line": 240, - "Offset": 33, - "EndOffset": 48, - "Path": 1, - "Ordinal": 1, - "Hits": 99 - }, - { - "Line": 240, - "Offset": 51, - "EndOffset": 53, - "Path": 0, - "Ordinal": 2, - "Hits": 65 - }, - { - "Line": 242, - "Offset": 80, - "EndOffset": 82, - "Path": 0, - "Ordinal": 4, - "Hits": 65 - }, - { - "Line": 242, - "Offset": 80, - "EndOffset": 85, - "Path": 1, - "Ordinal": 5, - "Hits": 65 - }, - { - "Line": 240, - "Offset": 51, - "EndOffset": 87, - "Path": 1, - "Ordinal": 3, - "Hits": 166 - }, - { - "Line": 245, - "Offset": 103, - "EndOffset": 105, - "Path": 0, - "Ordinal": 6, - "Hits": 71 - }, - { - "Line": 245, - "Offset": 103, - "EndOffset": 118, - "Path": 1, - "Ordinal": 7, - "Hits": 95 - }, - { - "Line": 245, - "Offset": 121, - "EndOffset": 123, - "Path": 0, - "Ordinal": 8, - "Hits": 1 - }, - { - "Line": 247, - "Offset": 150, - "EndOffset": 152, - "Path": 0, - "Ordinal": 10, - "Hits": 1 - }, - { - "Line": 247, - "Offset": 150, - "EndOffset": 155, - "Path": 1, - "Ordinal": 11, - "Hits": 1 - }, - { - "Line": 245, - "Offset": 121, - "EndOffset": 157, - "Path": 1, - "Ordinal": 9, - "Hits": 166 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::OptimizeStringForEqualityIfPossible(System.String,System.Type)": { - "Lines": { - "252": 66, - "253": 66, - "254": 0, - "255": 0, - "259": 66, - "260": 0, - "261": 0, - "264": 66, - "265": 0, - "266": 0, - "271": 66, - "272": 0, - "273": 0, - "285": 66, - "286": 66 - }, - "Branches": [ - { - "Line": 253, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 253, - "Offset": 17, - "EndOffset": 35, - "Path": 1, - "Ordinal": 1, - "Hits": 66 - }, - { - "Line": 253, - "Offset": 40, - "EndOffset": 42, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 253, - "Offset": 40, - "EndOffset": 71, - "Path": 1, - "Ordinal": 3, - "Hits": 66 - }, - { - "Line": 259, - "Offset": 87, - "EndOffset": 89, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 259, - "Offset": 87, - "EndOffset": 105, - "Path": 1, - "Ordinal": 5, - "Hits": 66 - }, - { - "Line": 259, - "Offset": 110, - "EndOffset": 112, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 259, - "Offset": 110, - "EndOffset": 141, - "Path": 1, - "Ordinal": 7, - "Hits": 66 - }, - { - "Line": 264, - "Offset": 157, - "EndOffset": 159, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 264, - "Offset": 157, - "EndOffset": 175, - "Path": 1, - "Ordinal": 9, - "Hits": 66 - }, - { - "Line": 264, - "Offset": 180, - "EndOffset": 182, - "Path": 0, - "Ordinal": 10, - "Hits": 0 - }, - { - "Line": 264, - "Offset": 180, - "EndOffset": 208, - "Path": 1, - "Ordinal": 11, - "Hits": 66 - }, - { - "Line": 271, - "Offset": 224, - "EndOffset": 226, - "Path": 0, - "Ordinal": 12, - "Hits": 0 - }, - { - "Line": 271, - "Offset": 224, - "EndOffset": 236, - "Path": 1, - "Ordinal": 13, - "Hits": 66 - }, - { - "Line": 271, - "Offset": 241, - "EndOffset": 243, - "Path": 0, - "Ordinal": 14, - "Hits": 0 - }, - { - "Line": 271, - "Offset": 241, - "EndOffset": 269, - "Path": 1, - "Ordinal": 15, - "Hits": 66 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionHelper::MemberExpressionIsDynamic(System.Linq.Expressions.Expression)": { - "Lines": { - "289": 0, - "293": 0, - "295": 0 - }, - "Branches": [ - { - "Line": 293, - "Offset": 9, - "EndOffset": 11, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 293, - "Offset": 9, - "EndOffset": 27, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::ConvertToExpandoObjectAndCreateDynamicExpression(System.Linq.Expressions.Expression,System.Type,System.String)": { - "Lines": { - "298": 13, - "300": 13, - "304": 13 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.Parser.ExpressionHelper::WrapConstantExpressions(System.Linq.Expressions.Expression&,System.Linq.Expressions.Expression&)": { - "Lines": { - "307": 238, - "308": 238, - "309": 14, - "310": 14, - "311": 14, - "312": 14, - "313": 238 - }, - "Branches": [ - { - "Line": 308, - "Offset": 14, - "EndOffset": 16, - "Path": 0, - "Ordinal": 0, - "Hits": 14 - }, - { - "Line": 308, - "Offset": 14, - "EndOffset": 44, - "Path": 1, - "Ordinal": 1, - "Hits": 238 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionHelper::TryGenerateAndAlsoNotNullExpression(System.Linq.Expressions.Expression,System.Boolean,System.Linq.Expressions.Expression&)": { - "Lines": { - "316": 10, - "317": 10, - "319": 10, - "320": 0, - "321": 0, - "322": 0, - "326": 10, - "329": 10, - "330": 39, - "331": 30, - "332": 10, - "335": 10, - "336": 60, - "337": 20, - "338": 20, - "339": 20, - "341": 10, - "342": 10 - }, - "Branches": [ - { - "Line": 319, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 319, - "Offset": 17, - "EndOffset": 39, - "Path": 1, - "Ordinal": 1, - "Hits": 10 - }, - { - "Line": 319, - "Offset": 42, - "EndOffset": 44, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 319, - "Offset": 42, - "EndOffset": 55, - "Path": 1, - "Ordinal": 3, - "Hits": 10 - }, - { - "Line": 336, - "Offset": 183, - "EndOffset": 151, - "Path": 1, - "Ordinal": 5, - "Hits": 20 - }, - { - "Line": 336, - "Offset": 183, - "EndOffset": 185, - "Path": 0, - "Ordinal": 4, - "Hits": 10 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionHelper::ExpressionQualifiesForNullPropagation(System.Linq.Expressions.Expression)": { - "Lines": { - "345": 73, - "346": 73, - "347": 73 - }, - "Branches": [ - { - "Line": 346, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 33 - }, - { - "Line": 346, - "Offset": 15, - "EndOffset": 17, - "Path": 0, - "Ordinal": 2, - "Hits": 14 - }, - { - "Line": 346, - "Offset": 23, - "EndOffset": 25, - "Path": 0, - "Ordinal": 4, - "Hits": 2 - }, - { - "Line": 346, - "Offset": 7, - "EndOffset": 35, - "Path": 1, - "Ordinal": 1, - "Hits": 73 - }, - { - "Line": 346, - "Offset": 15, - "EndOffset": 35, - "Path": 1, - "Ordinal": 3, - "Hits": 73 - }, - { - "Line": 346, - "Offset": 23, - "EndOffset": 35, - "Path": 1, - "Ordinal": 5, - "Hits": 73 - }, - { - "Line": 346, - "Offset": 31, - "EndOffset": 35, - "Path": 1, - "Ordinal": 7, - "Hits": 73 - }, - { - "Line": 346, - "Offset": 31, - "EndOffset": 39, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GenerateDefaultExpression(System.Type)": { - "Lines": { - "350": 0, - "354": 0, - "356": 0 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::ConvertAnyArrayToObjectArray(System.Linq.Expressions.Expression)": { - "Lines": { - "359": 1, - "360": 1, - "362": 1, - "363": 1, - "364": 1, - "365": 1, - "366": 1, - "367": 1 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GetMemberExpression(System.Linq.Expressions.Expression)": { - "Lines": { - "370": 33, - "371": 33, - "372": 33, - "373": 33, - "376": 0, - "377": 0, - "378": 0, - "379": 0, - "380": 0, - "383": 0, - "384": 0, - "385": 0, - "387": 0, - "389": 0, - "390": 33 - }, - "Branches": [ - { - "Line": 371, - "Offset": 10, - "EndOffset": 12, - "Path": 0, - "Ordinal": 0, - "Hits": 33 - }, - { - "Line": 371, - "Offset": 10, - "EndOffset": 17, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 376, - "Offset": 30, - "EndOffset": 32, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 378, - "Offset": 55, - "EndOffset": 57, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 378, - "Offset": 55, - "EndOffset": 63, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 383, - "Offset": 85, - "EndOffset": 87, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 383, - "Offset": 85, - "EndOffset": 98, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 376, - "Offset": 30, - "EndOffset": 99, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - } - ] - }, - "System.Collections.Generic.List`1 System.Linq.Dynamic.Core.Parser.ExpressionHelper::CollectExpressions(System.Boolean,System.Linq.Expressions.Expression)": { - "Lines": { - "393": 10, - "394": 10, - "396": 10, - "398": 10, - "399": 10, - "400": 10, - "403": 9, - "404": 9, - "408": 1, - "410": 10, - "414": 40, - "415": 40, - "418": 23, - "419": 23, - "420": 23, - "423": 6, - "424": 6, - "425": 6, - "428": 1, - "429": 1, - "430": 1, - "433": 10, - "434": 10, - "437": 40, - "438": 30, - "439": 30, - "440": 30, - "441": 80, - "443": 10, - "444": 10 - }, - "Branches": [ - { - "Line": 398, - "Offset": 18, - "EndOffset": 20, - "Path": 0, - "Ordinal": 0, - "Hits": 10 - }, - { - "Line": 400, - "Offset": 35, - "EndOffset": 39, - "Path": 1, - "Ordinal": 3, - "Hits": 9 - }, - { - "Line": 400, - "Offset": 35, - "EndOffset": 51, - "Path": 0, - "Ordinal": 2, - "Hits": 10 - }, - { - "Line": 398, - "Offset": 18, - "EndOffset": 52, - "Path": 1, - "Ordinal": 1, - "Hits": 40 - }, - { - "Line": 441, - "Offset": 197, - "EndOffset": 52, - "Path": 1, - "Ordinal": 15, - "Hits": 40 - }, - { - "Line": 415, - "Offset": 71, - "EndOffset": 73, - "Path": 0, - "Ordinal": 4, - "Hits": 17 - }, - { - "Line": 415, - "Offset": 84, - "EndOffset": 86, - "Path": 0, - "Ordinal": 6, - "Hits": 11 - }, - { - "Line": 415, - "Offset": 71, - "EndOffset": 103, - "Path": 1, - "Ordinal": 5, - "Hits": 23 - }, - { - "Line": 415, - "Offset": 84, - "EndOffset": 126, - "Path": 1, - "Ordinal": 7, - "Hits": 6 - }, - { - "Line": 415, - "Offset": 97, - "EndOffset": 143, - "Path": 1, - "Ordinal": 9, - "Hits": 1 - }, - { - "Line": 415, - "Offset": 97, - "EndOffset": 158, - "Path": 0, - "Ordinal": 8, - "Hits": 10 - }, - { - "Line": 437, - "Offset": 163, - "EndOffset": 165, - "Path": 0, - "Ordinal": 10, - "Hits": 30 - }, - { - "Line": 437, - "Offset": 163, - "EndOffset": 174, - "Path": 1, - "Ordinal": 11, - "Hits": 10 - }, - { - "Line": 437, - "Offset": 179, - "EndOffset": 181, - "Path": 0, - "Ordinal": 12, - "Hits": 30 - }, - { - "Line": 437, - "Offset": 179, - "EndOffset": 191, - "Path": 1, - "Ordinal": 13, - "Hits": 40 - }, - { - "Line": 441, - "Offset": 197, - "EndOffset": 202, - "Path": 0, - "Ordinal": 14, - "Hits": 10 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GenerateStaticMethodCall(System.String,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)": { - "Lines": { - "447": 14, - "448": 14, - "449": 14 - }, - "Branches": [] - }, - "System.Reflection.MethodInfo System.Linq.Dynamic.Core.Parser.ExpressionHelper::GetStaticMethod(System.String,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)": { - "Lines": { - "452": 14, - "453": 14, - "454": 14, - "455": 1, - "456": 1, - "457": 1, - "459": 14, - "460": 14 - }, - "Branches": [ - { - "Line": 454, - "Offset": 47, - "EndOffset": 49, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 454, - "Offset": 47, - "EndOffset": 88, - "Path": 1, - "Ordinal": 1, - "Hits": 14 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GetMethodCallExpression(System.Linq.Expressions.MethodCallExpression)": { - "Lines": { - "463": 6, - "464": 6, - "465": 3, - "467": 3, - "471": 3, - "472": 6 - }, - "Branches": [ - { - "Line": 464, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 3 - }, - { - "Line": 464, - "Offset": 12, - "EndOffset": 24, - "Path": 1, - "Ordinal": 1, - "Hits": 3 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionHelper::GetUnaryExpression(System.Linq.Expressions.UnaryExpression)": { - "Lines": { - "475": 1, - "476": 1, - "477": 1 - }, - "Branches": [ - { - "Line": 476, - "Offset": 2, - "EndOffset": 4, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 476, - "Offset": 2, - "EndOffset": 7, - "Path": 1, - "Ordinal": 1, - "Hits": 1 - } - ] - }, - "System.Object[] System.Linq.Dynamic.Core.Parser.ExpressionHelper::ConvertIfIEnumerableHasValues(System.Collections.IEnumerable)": { - "Lines": { - "480": 1, - "482": 1, - "483": 1, - "485": 1, - "488": 0, - "489": 1 - }, - "Branches": [ - { - "Line": 482, - "Offset": 2, - "EndOffset": 4, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 482, - "Offset": 2, - "EndOffset": 17, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 482, - "Offset": 20, - "EndOffset": 22, - "Path": 0, - "Ordinal": 2, - "Hits": 1 - }, - { - "Line": 482, - "Offset": 20, - "EndOffset": 37, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.ExpressionHelper::.ctor(System.Linq.Dynamic.Core.ParsingConfig)": { - "Lines": { - "14": 588, - "17": 588, - "18": 588, - "19": 588, - "20": 588 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\ExpressionParser.cs": { - "System.Linq.Dynamic.Core.Parser.ExpressionParser": { - "System.String System.Linq.Dynamic.Core.Parser.ExpressionParser::get_ItName()": { - "Lines": { - "53": 770 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.Parser.ExpressionParser::get_LastLambdaItName()": { - "Lines": { - "61": 628 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.Parser.ExpressionParser::ProcessParameters(System.Linq.Expressions.ParameterExpression[])": { - "Lines": { - "98": 588, - "99": 2453, - "100": 61, - "101": 61, - "102": 60, - "105": 587, - "106": 544, - "107": 544, - "108": 544, - "110": 544, - "111": 544, - "112": 544, - "113": 544, - "114": 544, - "115": 587 - }, - "Branches": [ - { - "Line": 99, - "Offset": 76, - "EndOffset": 47, - "Path": 1, - "Ordinal": 1, - "Hits": 61 - }, - { - "Line": 99, - "Offset": 76, - "EndOffset": 78, - "Path": 0, - "Ordinal": 0, - "Hits": 587 - }, - { - "Line": 105, - "Offset": 99, - "EndOffset": 101, - "Path": 0, - "Ordinal": 2, - "Hits": 544 - }, - { - "Line": 110, - "Offset": 134, - "EndOffset": 136, - "Path": 0, - "Ordinal": 4, - "Hits": 544 - }, - { - "Line": 110, - "Offset": 134, - "EndOffset": 150, - "Path": 1, - "Ordinal": 5, - "Hits": 544 - }, - { - "Line": 105, - "Offset": 99, - "EndOffset": 151, - "Path": 1, - "Ordinal": 3, - "Hits": 587 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.ExpressionParser::ProcessValues(System.Object[])": { - "Lines": { - "118": 579, - "119": 1394, - "120": 118, - "121": 118, - "124": 118, - "125": 4, - "126": 4, - "127": 4, - "129": 114, - "130": 114, - "131": 114, - "132": 118, - "133": 579 - }, - "Branches": [ - { - "Line": 119, - "Offset": 94, - "EndOffset": 5, - "Path": 1, - "Ordinal": 5, - "Hits": 118 - }, - { - "Line": 124, - "Offset": 16, - "EndOffset": 18, - "Path": 0, - "Ordinal": 0, - "Hits": 113 - }, - { - "Line": 124, - "Offset": 16, - "EndOffset": 31, - "Path": 1, - "Ordinal": 1, - "Hits": 5 - }, - { - "Line": 124, - "Offset": 34, - "EndOffset": 36, - "Path": 0, - "Ordinal": 2, - "Hits": 4 - }, - { - "Line": 124, - "Offset": 34, - "EndOffset": 47, - "Path": 1, - "Ordinal": 3, - "Hits": 114 - }, - { - "Line": 119, - "Offset": 94, - "EndOffset": 96, - "Path": 0, - "Ordinal": 4, - "Hits": 579 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.ExpressionParser::AddSymbol(System.String,System.Object)": { - "Lines": { - "136": 175, - "137": 175, - "138": 1, - "139": 1, - "142": 174, - "143": 174 - }, - "Branches": [ - { - "Line": 137, - "Offset": 15, - "EndOffset": 17, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 137, - "Offset": 15, - "EndOffset": 40, - "Path": 1, - "Ordinal": 1, - "Hits": 174 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::Parse(System.Type,System.Boolean)": { - "Lines": { - "152": 555, - "153": 555, - "154": 555, - "156": 555, - "157": 555, - "159": 526, - "160": 154, - "161": 154, - "162": 0, - "163": 0, - "165": 154, - "167": 526, - "169": 524, - "170": 524 - }, - "Branches": [ - { - "Line": 159, - "Offset": 48, - "EndOffset": 50, - "Path": 0, - "Ordinal": 0, - "Hits": 154 - }, - { - "Line": 161, - "Offset": 78, - "EndOffset": 80, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 161, - "Offset": 78, - "EndOffset": 108, - "Path": 1, - "Ordinal": 3, - "Hits": 154 - }, - { - "Line": 159, - "Offset": 48, - "EndOffset": 109, - "Path": 1, - "Ordinal": 1, - "Hits": 526 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseOutKeyword()": { - "Lines": { - "174": 318, - "175": 318, - "176": 0, - "178": 0, - "180": 0, - "181": 0, - "182": 0, - "183": 0, - "187": 0, - "191": 0, - "194": 318, - "195": 318 - }, - "Branches": [ - { - "Line": 175, - "Offset": 18, - "EndOffset": 20, - "Path": 0, - "Ordinal": 0, - "Hits": 212 - }, - { - "Line": 175, - "Offset": 18, - "EndOffset": 48, - "Path": 1, - "Ordinal": 1, - "Hits": 106 - }, - { - "Line": 175, - "Offset": 51, - "EndOffset": 53, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 181, - "Offset": 96, - "EndOffset": 98, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 181, - "Offset": 96, - "EndOffset": 131, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 175, - "Offset": 51, - "EndOffset": 167, - "Path": 1, - "Ordinal": 3, - "Hits": 318 - } - ] - }, - "System.Collections.Generic.IList`1 System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseOrdering(System.Boolean)": { - "Lines": { - "198": 32, - "199": 32, - "200": 35, - "201": 35, - "202": 35, - "203": 31, - "204": 31, - "205": 1, - "206": 1, - "207": 1, - "208": 30, - "209": 4, - "210": 4, - "211": 4, - "212": 4, - "215": 31, - "216": 5, - "217": 5, - "218": 5, - "220": 26, - "221": 26, - "222": 26, - "224": 31, - "226": 31, - "227": 28, - "228": 28, - "231": 3, - "232": 3, - "234": 28, - "235": 28, - "236": 28 - }, - "Branches": [ - { - "Line": 204, - "Offset": 33, - "EndOffset": 35, - "Path": 0, - "Ordinal": 0, - "Hits": 30 - }, - { - "Line": 204, - "Offset": 33, - "EndOffset": 48, - "Path": 1, - "Ordinal": 1, - "Hits": 1 - }, - { - "Line": 204, - "Offset": 53, - "EndOffset": 55, - "Path": 0, - "Ordinal": 2, - "Hits": 1 - }, - { - "Line": 204, - "Offset": 53, - "EndOffset": 71, - "Path": 1, - "Ordinal": 3, - "Hits": 30 - }, - { - "Line": 208, - "Offset": 82, - "EndOffset": 84, - "Path": 0, - "Ordinal": 4, - "Hits": 26 - }, - { - "Line": 208, - "Offset": 82, - "EndOffset": 97, - "Path": 1, - "Ordinal": 5, - "Hits": 4 - }, - { - "Line": 208, - "Offset": 102, - "EndOffset": 104, - "Path": 0, - "Ordinal": 6, - "Hits": 4 - }, - { - "Line": 208, - "Offset": 102, - "EndOffset": 120, - "Path": 1, - "Ordinal": 7, - "Hits": 31 - }, - { - "Line": 215, - "Offset": 121, - "EndOffset": 123, - "Path": 0, - "Ordinal": 8, - "Hits": 28 - }, - { - "Line": 215, - "Offset": 121, - "EndOffset": 134, - "Path": 1, - "Ordinal": 9, - "Hits": 3 - }, - { - "Line": 215, - "Offset": 139, - "EndOffset": 141, - "Path": 0, - "Ordinal": 10, - "Hits": 5 - }, - { - "Line": 217, - "Offset": 143, - "EndOffset": 145, - "Path": 0, - "Ordinal": 12, - "Hits": 0 - }, - { - "Line": 217, - "Offset": 143, - "EndOffset": 152, - "Path": 1, - "Ordinal": 13, - "Hits": 5 - }, - { - "Line": 215, - "Offset": 139, - "EndOffset": 161, - "Path": 1, - "Ordinal": 11, - "Hits": 26 - }, - { - "Line": 221, - "Offset": 163, - "EndOffset": 165, - "Path": 0, - "Ordinal": 14, - "Hits": 4 - }, - { - "Line": 221, - "Offset": 163, - "EndOffset": 172, - "Path": 1, - "Ordinal": 15, - "Hits": 22 - }, - { - "Line": 226, - "Offset": 239, - "EndOffset": 241, - "Path": 0, - "Ordinal": 16, - "Hits": 28 - }, - { - "Line": 226, - "Offset": 239, - "EndOffset": 244, - "Path": 1, - "Ordinal": 17, - "Hits": 3 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseConditionalOperator()": { - "Lines": { - "240": 1078, - "241": 1078, - "242": 1078, - "243": 1041, - "244": 1, - "245": 1, - "246": 1, - "247": 1, - "248": 1, - "249": 1, - "250": 1, - "251": 1, - "252": 1041, - "253": 1041 - }, - "Branches": [ - { - "Line": 243, - "Offset": 47, - "EndOffset": 49, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 243, - "Offset": 47, - "EndOffset": 122, - "Path": 1, - "Ordinal": 1, - "Hits": 1041 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseNullCoalescingOperator()": { - "Lines": { - "257": 1078, - "258": 1078, - "259": 1041, - "260": 2, - "261": 2, - "262": 2, - "263": 2, - "264": 2, - "265": 1041, - "266": 1041 - }, - "Branches": [ - { - "Line": 259, - "Offset": 30, - "EndOffset": 32, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 259, - "Offset": 30, - "EndOffset": 61, - "Path": 1, - "Ordinal": 1, - "Hits": 1041 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseLambdaOperator()": { - "Lines": { - "270": 1078, - "271": 1078, - "273": 1041, - "274": 2, - "275": 2, - "276": 2, - "277": 2, - "278": 2, - "279": 2, - "281": 0, - "282": 0, - "284": 1039, - "285": 1041 - }, - "Branches": [ - { - "Line": 273, - "Offset": 26, - "EndOffset": 28, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 273, - "Offset": 35, - "EndOffset": 37, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 273, - "Offset": 35, - "EndOffset": 41, - "Path": 1, - "Ordinal": 3, - "Hits": 2 - }, - { - "Line": 273, - "Offset": 26, - "EndOffset": 59, - "Path": 1, - "Ordinal": 1, - "Hits": 1039 - }, - { - "Line": 273, - "Offset": 62, - "EndOffset": 64, - "Path": 0, - "Ordinal": 4, - "Hits": 2 - }, - { - "Line": 276, - "Offset": 96, - "EndOffset": 100, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 276, - "Offset": 96, - "EndOffset": 107, - "Path": 1, - "Ordinal": 7, - "Hits": 2 - }, - { - "Line": 276, - "Offset": 103, - "EndOffset": 107, - "Path": 1, - "Ordinal": 9, - "Hits": 2 - }, - { - "Line": 276, - "Offset": 103, - "EndOffset": 111, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 276, - "Offset": 118, - "EndOffset": 120, - "Path": 0, - "Ordinal": 10, - "Hits": 2 - }, - { - "Line": 276, - "Offset": 118, - "EndOffset": 155, - "Path": 1, - "Ordinal": 11, - "Hits": 0 - }, - { - "Line": 273, - "Offset": 62, - "EndOffset": 175, - "Path": 1, - "Ordinal": 5, - "Hits": 1039 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseOrOperator()": { - "Lines": { - "292": 1078, - "293": 1078, - "294": 1049, - "295": 8, - "296": 8, - "297": 8, - "298": 8, - "299": 8, - "300": 8, - "301": 8, - "302": 1041, - "303": 1041 - }, - "Branches": [ - { - "Line": 294, - "Offset": 115, - "EndOffset": 10, - "Path": 1, - "Ordinal": 1, - "Hits": 8 - }, - { - "Line": 294, - "Offset": 115, - "EndOffset": 117, - "Path": 0, - "Ordinal": 0, - "Hits": 1041 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseAndOperator()": { - "Lines": { - "310": 1086, - "311": 1086, - "312": 1075, - "313": 26, - "314": 26, - "315": 26, - "316": 26, - "317": 26, - "318": 26, - "319": 26, - "320": 1049, - "321": 1049 - }, - "Branches": [ - { - "Line": 312, - "Offset": 115, - "EndOffset": 10, - "Path": 1, - "Ordinal": 1, - "Hits": 26 - }, - { - "Line": 312, - "Offset": 115, - "EndOffset": 117, - "Path": 0, - "Ordinal": 0, - "Hits": 1049 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseIn()": { - "Lines": { - "327": 1112, - "328": 1112, - "329": 1075, - "331": 1081, - "332": 6, - "333": 6, - "335": 6, - "336": 6, - "337": 5, - "338": 16, - "339": 11, - "340": 11, - "343": 11, - "346": 11, - "347": 4, - "348": 4, - "349": 0, - "350": 0, - "351": 0, - "352": 4, - "353": 4, - "354": 4, - "355": 4, - "356": 4, - "359": 7, - "360": 0, - "361": 0, - "362": 0, - "364": 11, - "365": 5, - "366": 5, - "367": 5, - "369": 6, - "370": 6, - "371": 6, - "373": 11, - "374": 0, - "375": 0, - "377": 11, - "380": 5, - "381": 5, - "382": 1, - "383": 1, - "384": 1, - "386": 1, - "387": 0, - "388": 0, - "391": 1, - "393": 1, - "395": 1, - "396": 1, - "398": 0, - "399": 0, - "401": 6, - "403": 1075, - "404": 1075 - }, - "Branches": [ - { - "Line": 331, - "Offset": 658, - "EndOffset": 15, - "Path": 1, - "Ordinal": 21, - "Hits": 6 - }, - { - "Line": 336, - "Offset": 62, - "EndOffset": 67, - "Path": 0, - "Ordinal": 0, - "Hits": 5 - }, - { - "Line": 338, - "Offset": 418, - "EndOffset": 73, - "Path": 1, - "Ordinal": 15, - "Hits": 11 - }, - { - "Line": 346, - "Offset": 114, - "EndOffset": 116, - "Path": 0, - "Ordinal": 2, - "Hits": 4 - }, - { - "Line": 348, - "Offset": 135, - "EndOffset": 137, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 348, - "Offset": 135, - "EndOffset": 163, - "Path": 1, - "Ordinal": 5, - "Hits": 4 - }, - { - "Line": 352, - "Offset": 182, - "EndOffset": 184, - "Path": 0, - "Ordinal": 6, - "Hits": 4 - }, - { - "Line": 352, - "Offset": 182, - "EndOffset": 208, - "Path": 1, - "Ordinal": 7, - "Hits": 4 - }, - { - "Line": 346, - "Offset": 114, - "EndOffset": 211, - "Path": 1, - "Ordinal": 3, - "Hits": 7 - }, - { - "Line": 359, - "Offset": 233, - "EndOffset": 235, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 359, - "Offset": 233, - "EndOffset": 272, - "Path": 1, - "Ordinal": 9, - "Hits": 11 - }, - { - "Line": 364, - "Offset": 297, - "EndOffset": 299, - "Path": 0, - "Ordinal": 10, - "Hits": 5 - }, - { - "Line": 364, - "Offset": 297, - "EndOffset": 318, - "Path": 1, - "Ordinal": 11, - "Hits": 6 - }, - { - "Line": 373, - "Offset": 364, - "EndOffset": 366, - "Path": 0, - "Ordinal": 12, - "Hits": 0 - }, - { - "Line": 373, - "Offset": 364, - "EndOffset": 390, - "Path": 1, - "Ordinal": 13, - "Hits": 11 - }, - { - "Line": 338, - "Offset": 418, - "EndOffset": 423, - "Path": 0, - "Ordinal": 14, - "Hits": 5 - }, - { - "Line": 336, - "Offset": 62, - "EndOffset": 441, - "Path": 1, - "Ordinal": 1, - "Hits": 1 - }, - { - "Line": 382, - "Offset": 464, - "EndOffset": 469, - "Path": 0, - "Ordinal": 16, - "Hits": 1 - }, - { - "Line": 386, - "Offset": 507, - "EndOffset": 509, - "Path": 0, - "Ordinal": 18, - "Hits": 0 - }, - { - "Line": 386, - "Offset": 507, - "EndOffset": 556, - "Path": 1, - "Ordinal": 19, - "Hits": 1 - }, - { - "Line": 382, - "Offset": 464, - "EndOffset": 618, - "Path": 1, - "Ordinal": 17, - "Hits": 0 - }, - { - "Line": 331, - "Offset": 658, - "EndOffset": 663, - "Path": 0, - "Ordinal": 20, - "Hits": 1075 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseLogicalAndOrOperator()": { - "Lines": { - "408": 1112, - "409": 1112, - "411": 1075, - "412": 1075, - "413": 1075, - "415": 1075, - "416": 0, - "417": 0, - "418": 0, - "419": 0, - "421": 0, - "422": 0, - "423": 0, - "424": 0, - "426": 0, - "427": 0, - "428": 0, - "429": 0, - "431": 0, - "434": 0, - "435": 0, - "436": 0, - "437": 0, - "438": 0, - "439": 0, - "440": 0, - "441": 0, - "445": 0, - "446": 0, - "447": 0, - "448": 0, - "450": 0, - "451": 0, - "452": 0, - "453": 0, - "454": 0, - "457": 0, - "458": 0, - "459": 0, - "462": 0, - "463": 0, - "466": 1075, - "467": 0, - "468": 0, - "471": 1075, - "472": 1075 - }, - "Branches": [ - { - "Line": 415, - "Offset": 558, - "EndOffset": 24, - "Path": 1, - "Ordinal": 33, - "Hits": 0 - }, - { - "Line": 421, - "Offset": 78, - "EndOffset": 80, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 421, - "Offset": 78, - "EndOffset": 100, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 426, - "Offset": 121, - "EndOffset": 123, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 426, - "Offset": 121, - "EndOffset": 146, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 431, - "Offset": 162, - "EndOffset": 166, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 431, - "Offset": 162, - "EndOffset": 180, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 434, - "Offset": 201, - "EndOffset": 203, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 434, - "Offset": 211, - "EndOffset": 213, - "Path": 0, - "Ordinal": 10, - "Hits": 0 - }, - { - "Line": 434, - "Offset": 236, - "EndOffset": 238, - "Path": 0, - "Ordinal": 12, - "Hits": 0 - }, - { - "Line": 434, - "Offset": 201, - "EndOffset": 252, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 434, - "Offset": 211, - "EndOffset": 252, - "Path": 1, - "Ordinal": 11, - "Hits": 0 - }, - { - "Line": 434, - "Offset": 236, - "EndOffset": 252, - "Path": 1, - "Ordinal": 13, - "Hits": 0 - }, - { - "Line": 434, - "Offset": 257, - "EndOffset": 259, - "Path": 0, - "Ordinal": 14, - "Hits": 0 - }, - { - "Line": 434, - "Offset": 257, - "EndOffset": 276, - "Path": 1, - "Ordinal": 15, - "Hits": 0 - }, - { - "Line": 438, - "Offset": 298, - "EndOffset": 300, - "Path": 0, - "Ordinal": 16, - "Hits": 0 - }, - { - "Line": 438, - "Offset": 309, - "EndOffset": 311, - "Path": 0, - "Ordinal": 18, - "Hits": 0 - }, - { - "Line": 438, - "Offset": 335, - "EndOffset": 337, - "Path": 0, - "Ordinal": 20, - "Hits": 0 - }, - { - "Line": 438, - "Offset": 298, - "EndOffset": 350, - "Path": 1, - "Ordinal": 17, - "Hits": 0 - }, - { - "Line": 438, - "Offset": 309, - "EndOffset": 350, - "Path": 1, - "Ordinal": 19, - "Hits": 0 - }, - { - "Line": 438, - "Offset": 335, - "EndOffset": 350, - "Path": 1, - "Ordinal": 21, - "Hits": 0 - }, - { - "Line": 438, - "Offset": 355, - "EndOffset": 357, - "Path": 0, - "Ordinal": 22, - "Hits": 0 - }, - { - "Line": 438, - "Offset": 355, - "EndOffset": 373, - "Path": 1, - "Ordinal": 23, - "Hits": 0 - }, - { - "Line": 445, - "Offset": 394, - "EndOffset": 396, - "Path": 0, - "Ordinal": 24, - "Hits": 0 - }, - { - "Line": 445, - "Offset": 394, - "EndOffset": 420, - "Path": 1, - "Ordinal": 25, - "Hits": 0 - }, - { - "Line": 445, - "Offset": 425, - "EndOffset": 427, - "Path": 0, - "Ordinal": 26, - "Hits": 0 - }, - { - "Line": 445, - "Offset": 425, - "EndOffset": 446, - "Path": 1, - "Ordinal": 27, - "Hits": 0 - }, - { - "Line": 431, - "Offset": 170, - "EndOffset": 477, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 431, - "Offset": 170, - "EndOffset": 506, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 415, - "Offset": 532, - "EndOffset": 536, - "Path": 0, - "Ordinal": 28, - "Hits": 1075 - }, - { - "Line": 415, - "Offset": 532, - "EndOffset": 544, - "Path": 1, - "Ordinal": 29, - "Hits": 0 - }, - { - "Line": 415, - "Offset": 540, - "EndOffset": 544, - "Path": 1, - "Ordinal": 31, - "Hits": 0 - }, - { - "Line": 415, - "Offset": 540, - "EndOffset": 549, - "Path": 0, - "Ordinal": 30, - "Hits": 1075 - }, - { - "Line": 415, - "Offset": 558, - "EndOffset": 563, - "Path": 0, - "Ordinal": 32, - "Hits": 1075 - }, - { - "Line": 466, - "Offset": 569, - "EndOffset": 571, - "Path": 0, - "Ordinal": 34, - "Hits": 0 - }, - { - "Line": 466, - "Offset": 569, - "EndOffset": 584, - "Path": 1, - "Ordinal": 35, - "Hits": 1075 - }, - { - "Line": 466, - "Offset": 589, - "EndOffset": 591, - "Path": 0, - "Ordinal": 36, - "Hits": 0 - }, - { - "Line": 466, - "Offset": 589, - "EndOffset": 603, - "Path": 1, - "Ordinal": 37, - "Hits": 1075 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseComparisonOperator()": { - "Lines": { - "476": 1112, - "477": 1112, - "478": 1309, - "479": 1309, - "480": 1309, - "481": 1309, - "482": 234, - "485": 234, - "486": 234, - "487": 233, - "488": 233, - "490": 233, - "491": 96, - "493": 96, - "494": 14, - "495": 14, - "496": 12, - "497": 12, - "498": 12, - "499": 2, - "500": 2, - "501": 2, - "502": 2, - "504": 0, - "505": 0, - "507": 14, - "508": 96, - "509": 137, - "510": 5, - "511": 5, - "512": 5, - "514": 5, - "515": 3, - "516": 3, - "517": 3, - "518": 2, - "519": 0, - "520": 0, - "521": 0, - "522": 2, - "523": 2, - "524": 2, - "525": 0, - "526": 0, - "527": 0, - "528": 2, - "529": 2, - "530": 2, - "531": 2, - "532": 2, - "533": 0, - "534": 0, - "535": 0, - "536": 0, - "537": 0, - "538": 0, - "539": 0, - "540": 0, - "541": 0, - "542": 0, - "543": 0, - "545": 0, - "546": 0, - "548": 5, - "549": 5, - "550": 132, - "551": 6, - "552": 6, - "553": 6, - "554": 126, - "555": 1, - "556": 1, - "557": 1, - "558": 125, - "559": 1, - "560": 1, - "561": 1, - "562": 124, - "563": 1, - "564": 1, - "565": 1, - "567": 123, - "568": 123, - "569": 123, - "570": 79, - "571": 481, - "572": 79, - "573": 13, - "574": 37, - "575": 13, - "577": 66, - "578": 132, - "579": 66, - "580": 79, - "582": 123, - "583": 45, - "584": 45, - "585": 4, - "586": 4, - "587": 1, - "588": 1, - "589": 1, - "590": 3, - "591": 1, - "592": 1, - "593": 1, - "594": 4, - "595": 41, - "596": 2, - "597": 2, - "598": 1, - "599": 1, - "600": 1, - "601": 1, - "602": 1, - "603": 1, - "604": 1, - "605": 2, - "607": 39, - "608": 39, - "609": 33, - "610": 39, - "611": 117, - "613": 227, - "617": 127, - "618": 127, - "621": 28, - "622": 28, - "624": 66, - "625": 66, - "627": 6, - "628": 6, - "630": 0, - "631": 0, - "633": 0, - "634": 0, - "636": 227, - "638": 1075, - "639": 1075 - }, - "Branches": [ - { - "Line": 478, - "Offset": 2073, - "EndOffset": 13, - "Path": 1, - "Ordinal": 137, - "Hits": 234 - }, - { - "Line": 488, - "Offset": 55, - "EndOffset": 57, - "Path": 0, - "Ordinal": 0, - "Hits": 201 - }, - { - "Line": 488, - "Offset": 66, - "EndOffset": 68, - "Path": 0, - "Ordinal": 2, - "Hits": 100 - }, - { - "Line": 488, - "Offset": 77, - "EndOffset": 79, - "Path": 0, - "Ordinal": 4, - "Hits": 72 - }, - { - "Line": 488, - "Offset": 55, - "EndOffset": 92, - "Path": 1, - "Ordinal": 1, - "Hits": 161 - }, - { - "Line": 488, - "Offset": 66, - "EndOffset": 92, - "Path": 1, - "Ordinal": 3, - "Hits": 161 - }, - { - "Line": 488, - "Offset": 77, - "EndOffset": 92, - "Path": 1, - "Ordinal": 5, - "Hits": 161 - }, - { - "Line": 490, - "Offset": 97, - "EndOffset": 99, - "Path": 0, - "Ordinal": 6, - "Hits": 161 - }, - { - "Line": 490, - "Offset": 115, - "EndOffset": 117, - "Path": 0, - "Ordinal": 8, - "Hits": 94 - }, - { - "Line": 490, - "Offset": 115, - "EndOffset": 136, - "Path": 1, - "Ordinal": 9, - "Hits": 74 - }, - { - "Line": 490, - "Offset": 134, - "EndOffset": 136, - "Path": 0, - "Ordinal": 10, - "Hits": 74 - }, - { - "Line": 490, - "Offset": 157, - "EndOffset": 159, - "Path": 0, - "Ordinal": 12, - "Hits": 18 - }, - { - "Line": 490, - "Offset": 157, - "EndOffset": 183, - "Path": 1, - "Ordinal": 13, - "Hits": 56 - }, - { - "Line": 490, - "Offset": 134, - "EndOffset": 186, - "Path": 1, - "Ordinal": 11, - "Hits": 87 - }, - { - "Line": 490, - "Offset": 97, - "EndOffset": 189, - "Path": 1, - "Ordinal": 7, - "Hits": 72 - }, - { - "Line": 490, - "Offset": 194, - "EndOffset": 199, - "Path": 0, - "Ordinal": 14, - "Hits": 96 - }, - { - "Line": 493, - "Offset": 206, - "EndOffset": 208, - "Path": 0, - "Ordinal": 16, - "Hits": 96 - }, - { - "Line": 493, - "Offset": 215, - "EndOffset": 217, - "Path": 0, - "Ordinal": 18, - "Hits": 84 - }, - { - "Line": 493, - "Offset": 206, - "EndOffset": 237, - "Path": 1, - "Ordinal": 17, - "Hits": 12 - }, - { - "Line": 493, - "Offset": 215, - "EndOffset": 237, - "Path": 1, - "Ordinal": 19, - "Hits": 12 - }, - { - "Line": 493, - "Offset": 242, - "EndOffset": 247, - "Path": 0, - "Ordinal": 20, - "Hits": 14 - }, - { - "Line": 495, - "Offset": 266, - "EndOffset": 268, - "Path": 0, - "Ordinal": 22, - "Hits": 4 - }, - { - "Line": 495, - "Offset": 266, - "EndOffset": 288, - "Path": 1, - "Ordinal": 23, - "Hits": 10 - }, - { - "Line": 495, - "Offset": 293, - "EndOffset": 295, - "Path": 0, - "Ordinal": 24, - "Hits": 12 - }, - { - "Line": 495, - "Offset": 293, - "EndOffset": 314, - "Path": 1, - "Ordinal": 25, - "Hits": 2 - }, - { - "Line": 499, - "Offset": 332, - "EndOffset": 334, - "Path": 0, - "Ordinal": 26, - "Hits": 2 - }, - { - "Line": 499, - "Offset": 332, - "EndOffset": 354, - "Path": 1, - "Ordinal": 27, - "Hits": 0 - }, - { - "Line": 499, - "Offset": 359, - "EndOffset": 361, - "Path": 0, - "Ordinal": 28, - "Hits": 2 - }, - { - "Line": 499, - "Offset": 359, - "EndOffset": 379, - "Path": 1, - "Ordinal": 29, - "Hits": 0 - }, - { - "Line": 493, - "Offset": 242, - "EndOffset": 404, - "Path": 1, - "Ordinal": 21, - "Hits": 96 - }, - { - "Line": 490, - "Offset": 194, - "EndOffset": 410, - "Path": 1, - "Ordinal": 15, - "Hits": 137 - }, - { - "Line": 509, - "Offset": 421, - "EndOffset": 423, - "Path": 0, - "Ordinal": 30, - "Hits": 132 - }, - { - "Line": 509, - "Offset": 421, - "EndOffset": 437, - "Path": 1, - "Ordinal": 31, - "Hits": 5 - }, - { - "Line": 509, - "Offset": 442, - "EndOffset": 447, - "Path": 0, - "Ordinal": 32, - "Hits": 5 - }, - { - "Line": 511, - "Offset": 470, - "EndOffset": 475, - "Path": 0, - "Ordinal": 34, - "Hits": 5 - }, - { - "Line": 514, - "Offset": 512, - "EndOffset": 514, - "Path": 0, - "Ordinal": 36, - "Hits": 3 - }, - { - "Line": 514, - "Offset": 512, - "EndOffset": 525, - "Path": 1, - "Ordinal": 37, - "Hits": 2 - }, - { - "Line": 518, - "Offset": 561, - "EndOffset": 563, - "Path": 0, - "Ordinal": 38, - "Hits": 0 - }, - { - "Line": 518, - "Offset": 561, - "EndOffset": 573, - "Path": 1, - "Ordinal": 39, - "Hits": 2 - }, - { - "Line": 522, - "Offset": 588, - "EndOffset": 590, - "Path": 0, - "Ordinal": 40, - "Hits": 2 - }, - { - "Line": 524, - "Offset": 609, - "EndOffset": 611, - "Path": 0, - "Ordinal": 42, - "Hits": 0 - }, - { - "Line": 524, - "Offset": 609, - "EndOffset": 637, - "Path": 1, - "Ordinal": 43, - "Hits": 2 - }, - { - "Line": 528, - "Offset": 656, - "EndOffset": 658, - "Path": 0, - "Ordinal": 44, - "Hits": 2 - }, - { - "Line": 528, - "Offset": 656, - "EndOffset": 682, - "Path": 1, - "Ordinal": 45, - "Hits": 2 - }, - { - "Line": 522, - "Offset": 588, - "EndOffset": 688, - "Path": 1, - "Ordinal": 41, - "Hits": 0 - }, - { - "Line": 533, - "Offset": 704, - "EndOffset": 706, - "Path": 0, - "Ordinal": 46, - "Hits": 0 - }, - { - "Line": 535, - "Offset": 724, - "EndOffset": 726, - "Path": 0, - "Ordinal": 48, - "Hits": 0 - }, - { - "Line": 535, - "Offset": 724, - "EndOffset": 752, - "Path": 1, - "Ordinal": 49, - "Hits": 0 - }, - { - "Line": 539, - "Offset": 770, - "EndOffset": 772, - "Path": 0, - "Ordinal": 50, - "Hits": 0 - }, - { - "Line": 539, - "Offset": 770, - "EndOffset": 796, - "Path": 1, - "Ordinal": 51, - "Hits": 0 - }, - { - "Line": 533, - "Offset": 704, - "EndOffset": 799, - "Path": 1, - "Ordinal": 47, - "Hits": 0 - }, - { - "Line": 511, - "Offset": 470, - "EndOffset": 824, - "Path": 1, - "Ordinal": 35, - "Hits": 5 - }, - { - "Line": 509, - "Offset": 442, - "EndOffset": 830, - "Path": 1, - "Ordinal": 33, - "Hits": 132 - }, - { - "Line": 550, - "Offset": 839, - "EndOffset": 841, - "Path": 0, - "Ordinal": 52, - "Hits": 115 - }, - { - "Line": 550, - "Offset": 856, - "EndOffset": 858, - "Path": 0, - "Ordinal": 54, - "Hits": 6 - }, - { - "Line": 550, - "Offset": 877, - "EndOffset": 879, - "Path": 0, - "Ordinal": 56, - "Hits": 6 - }, - { - "Line": 550, - "Offset": 839, - "EndOffset": 894, - "Path": 1, - "Ordinal": 53, - "Hits": 126 - }, - { - "Line": 550, - "Offset": 856, - "EndOffset": 894, - "Path": 1, - "Ordinal": 55, - "Hits": 126 - }, - { - "Line": 550, - "Offset": 877, - "EndOffset": 894, - "Path": 1, - "Ordinal": 57, - "Hits": 126 - }, - { - "Line": 550, - "Offset": 899, - "EndOffset": 901, - "Path": 0, - "Ordinal": 58, - "Hits": 6 - }, - { - "Line": 550, - "Offset": 899, - "EndOffset": 929, - "Path": 1, - "Ordinal": 59, - "Hits": 126 - }, - { - "Line": 554, - "Offset": 937, - "EndOffset": 939, - "Path": 0, - "Ordinal": 60, - "Hits": 6 - }, - { - "Line": 554, - "Offset": 954, - "EndOffset": 956, - "Path": 0, - "Ordinal": 62, - "Hits": 1 - }, - { - "Line": 554, - "Offset": 976, - "EndOffset": 978, - "Path": 0, - "Ordinal": 64, - "Hits": 1 - }, - { - "Line": 554, - "Offset": 937, - "EndOffset": 992, - "Path": 1, - "Ordinal": 61, - "Hits": 125 - }, - { - "Line": 554, - "Offset": 954, - "EndOffset": 992, - "Path": 1, - "Ordinal": 63, - "Hits": 125 - }, - { - "Line": 554, - "Offset": 976, - "EndOffset": 992, - "Path": 1, - "Ordinal": 65, - "Hits": 125 - }, - { - "Line": 554, - "Offset": 997, - "EndOffset": 999, - "Path": 0, - "Ordinal": 66, - "Hits": 1 - }, - { - "Line": 554, - "Offset": 997, - "EndOffset": 1027, - "Path": 1, - "Ordinal": 67, - "Hits": 125 - }, - { - "Line": 558, - "Offset": 1042, - "EndOffset": 1044, - "Path": 0, - "Ordinal": 68, - "Hits": 1 - }, - { - "Line": 558, - "Offset": 1063, - "EndOffset": 1065, - "Path": 0, - "Ordinal": 70, - "Hits": 1 - }, - { - "Line": 558, - "Offset": 1042, - "EndOffset": 1080, - "Path": 1, - "Ordinal": 69, - "Hits": 124 - }, - { - "Line": 558, - "Offset": 1063, - "EndOffset": 1080, - "Path": 1, - "Ordinal": 71, - "Hits": 124 - }, - { - "Line": 558, - "Offset": 1085, - "EndOffset": 1087, - "Path": 0, - "Ordinal": 72, - "Hits": 1 - }, - { - "Line": 558, - "Offset": 1085, - "EndOffset": 1115, - "Path": 1, - "Ordinal": 73, - "Hits": 124 - }, - { - "Line": 562, - "Offset": 1129, - "EndOffset": 1131, - "Path": 0, - "Ordinal": 74, - "Hits": 1 - }, - { - "Line": 562, - "Offset": 1151, - "EndOffset": 1153, - "Path": 0, - "Ordinal": 76, - "Hits": 1 - }, - { - "Line": 562, - "Offset": 1129, - "EndOffset": 1167, - "Path": 1, - "Ordinal": 75, - "Hits": 123 - }, - { - "Line": 562, - "Offset": 1151, - "EndOffset": 1167, - "Path": 1, - "Ordinal": 77, - "Hits": 123 - }, - { - "Line": 562, - "Offset": 1172, - "EndOffset": 1174, - "Path": 0, - "Ordinal": 78, - "Hits": 1 - }, - { - "Line": 562, - "Offset": 1172, - "EndOffset": 1202, - "Path": 1, - "Ordinal": 79, - "Hits": 123 - }, - { - "Line": 569, - "Offset": 1228, - "EndOffset": 1233, - "Path": 0, - "Ordinal": 80, - "Hits": 79 - }, - { - "Line": 572, - "Offset": 1289, - "EndOffset": 1291, - "Path": 0, - "Ordinal": 82, - "Hits": 13 - }, - { - "Line": 572, - "Offset": 1289, - "EndOffset": 1335, - "Path": 1, - "Ordinal": 83, - "Hits": 66 - }, - { - "Line": 569, - "Offset": 1228, - "EndOffset": 1378, - "Path": 1, - "Ordinal": 81, - "Hits": 123 - }, - { - "Line": 582, - "Offset": 1387, - "EndOffset": 1392, - "Path": 0, - "Ordinal": 84, - "Hits": 45 - }, - { - "Line": 584, - "Offset": 1404, - "EndOffset": 1406, - "Path": 0, - "Ordinal": 86, - "Hits": 40 - }, - { - "Line": 584, - "Offset": 1404, - "EndOffset": 1419, - "Path": 1, - "Ordinal": 87, - "Hits": 7 - }, - { - "Line": 584, - "Offset": 1417, - "EndOffset": 1419, - "Path": 0, - "Ordinal": 88, - "Hits": 7 - }, - { - "Line": 584, - "Offset": 1417, - "EndOffset": 1431, - "Path": 1, - "Ordinal": 89, - "Hits": 38 - }, - { - "Line": 584, - "Offset": 1436, - "EndOffset": 1438, - "Path": 0, - "Ordinal": 90, - "Hits": 4 - }, - { - "Line": 586, - "Offset": 1461, - "EndOffset": 1463, - "Path": 0, - "Ordinal": 92, - "Hits": 1 - }, - { - "Line": 586, - "Offset": 1461, - "EndOffset": 1481, - "Path": 1, - "Ordinal": 93, - "Hits": 3 - }, - { - "Line": 590, - "Offset": 1503, - "EndOffset": 1505, - "Path": 0, - "Ordinal": 94, - "Hits": 1 - }, - { - "Line": 590, - "Offset": 1503, - "EndOffset": 1522, - "Path": 1, - "Ordinal": 95, - "Hits": 4 - }, - { - "Line": 584, - "Offset": 1436, - "EndOffset": 1528, - "Path": 1, - "Ordinal": 91, - "Hits": 41 - }, - { - "Line": 595, - "Offset": 1540, - "EndOffset": 1542, - "Path": 0, - "Ordinal": 96, - "Hits": 24 - }, - { - "Line": 595, - "Offset": 1540, - "EndOffset": 1556, - "Path": 1, - "Ordinal": 97, - "Hits": 17 - }, - { - "Line": 595, - "Offset": 1554, - "EndOffset": 1556, - "Path": 0, - "Ordinal": 98, - "Hits": 17 - }, - { - "Line": 595, - "Offset": 1554, - "EndOffset": 1567, - "Path": 1, - "Ordinal": 99, - "Hits": 24 - }, - { - "Line": 595, - "Offset": 1572, - "EndOffset": 1574, - "Path": 0, - "Ordinal": 100, - "Hits": 2 - }, - { - "Line": 597, - "Offset": 1597, - "EndOffset": 1599, - "Path": 0, - "Ordinal": 102, - "Hits": 1 - }, - { - "Line": 597, - "Offset": 1597, - "EndOffset": 1618, - "Path": 1, - "Ordinal": 103, - "Hits": 1 - }, - { - "Line": 601, - "Offset": 1640, - "EndOffset": 1642, - "Path": 0, - "Ordinal": 104, - "Hits": 1 - }, - { - "Line": 601, - "Offset": 1640, - "EndOffset": 1658, - "Path": 1, - "Ordinal": 105, - "Hits": 2 - }, - { - "Line": 595, - "Offset": 1572, - "EndOffset": 1661, - "Path": 1, - "Ordinal": 101, - "Hits": 39 - }, - { - "Line": 608, - "Offset": 1665, - "EndOffset": 1667, - "Path": 0, - "Ordinal": 106, - "Hits": 4 - }, - { - "Line": 608, - "Offset": 1665, - "EndOffset": 1679, - "Path": 1, - "Ordinal": 107, - "Hits": 35 - }, - { - "Line": 582, - "Offset": 1387, - "EndOffset": 1722, - "Path": 1, - "Ordinal": 85, - "Hits": 117 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1800, - "Path": 2, - "Ordinal": 110, - "Hits": 127 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1800, - "Path": 12, - "Ordinal": 120, - "Hits": 127 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1817, - "Path": 8, - "Ordinal": 116, - "Hits": 28 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1817, - "Path": 11, - "Ordinal": 119, - "Hits": 28 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1834, - "Path": 3, - "Ordinal": 111, - "Hits": 66 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1851, - "Path": 13, - "Ordinal": 121, - "Hits": 6 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1868, - "Path": 1, - "Ordinal": 109, - "Hits": 0 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1885, - "Path": 10, - "Ordinal": 118, - "Hits": 0 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1902, - "Path": 0, - "Ordinal": 108, - "Hits": 227 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1902, - "Path": 4, - "Ordinal": 112, - "Hits": 227 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1902, - "Path": 5, - "Ordinal": 113, - "Hits": 227 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1902, - "Path": 6, - "Ordinal": 114, - "Hits": 227 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1902, - "Path": 7, - "Ordinal": 115, - "Hits": 227 - }, - { - "Line": 613, - "Offset": 1741, - "EndOffset": 1902, - "Path": 9, - "Ordinal": 117, - "Hits": 227 - }, - { - "Line": 478, - "Offset": 1921, - "EndOffset": 1926, - "Path": 0, - "Ordinal": 122, - "Hits": 1277 - }, - { - "Line": 478, - "Offset": 1944, - "EndOffset": 1946, - "Path": 0, - "Ordinal": 124, - "Hits": 1175 - }, - { - "Line": 478, - "Offset": 1964, - "EndOffset": 1966, - "Path": 0, - "Ordinal": 126, - "Hits": 1147 - }, - { - "Line": 478, - "Offset": 1984, - "EndOffset": 1986, - "Path": 0, - "Ordinal": 128, - "Hits": 1147 - }, - { - "Line": 478, - "Offset": 2004, - "EndOffset": 2006, - "Path": 0, - "Ordinal": 130, - "Hits": 1081 - }, - { - "Line": 478, - "Offset": 2024, - "EndOffset": 2026, - "Path": 0, - "Ordinal": 132, - "Hits": 1075 - }, - { - "Line": 478, - "Offset": 2044, - "EndOffset": 2046, - "Path": 0, - "Ordinal": 134, - "Hits": 1075 - }, - { - "Line": 478, - "Offset": 1921, - "EndOffset": 2068, - "Path": 1, - "Ordinal": 123, - "Hits": 234 - }, - { - "Line": 478, - "Offset": 1944, - "EndOffset": 2068, - "Path": 1, - "Ordinal": 125, - "Hits": 234 - }, - { - "Line": 478, - "Offset": 1964, - "EndOffset": 2068, - "Path": 1, - "Ordinal": 127, - "Hits": 234 - }, - { - "Line": 478, - "Offset": 1984, - "EndOffset": 2068, - "Path": 1, - "Ordinal": 129, - "Hits": 234 - }, - { - "Line": 478, - "Offset": 2004, - "EndOffset": 2068, - "Path": 1, - "Ordinal": 131, - "Hits": 234 - }, - { - "Line": 478, - "Offset": 2024, - "EndOffset": 2068, - "Path": 1, - "Ordinal": 133, - "Hits": 234 - }, - { - "Line": 478, - "Offset": 2044, - "EndOffset": 2068, - "Path": 1, - "Ordinal": 135, - "Hits": 234 - }, - { - "Line": 478, - "Offset": 2073, - "EndOffset": 2078, - "Path": 0, - "Ordinal": 136, - "Hits": 1075 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionParser::HasImplicitConversion(System.Type,System.Type)": { - "Lines": { - "642": 16, - "643": 16, - "644": 353, - "645": 20, - "647": 16, - "648": 4, - "649": 4, - "652": 12, - "653": 227, - "654": 16, - "655": 16 - }, - "Branches": [ - { - "Line": 647, - "Offset": 72, - "EndOffset": 74, - "Path": 0, - "Ordinal": 0, - "Hits": 4 - }, - { - "Line": 647, - "Offset": 72, - "EndOffset": 79, - "Path": 1, - "Ordinal": 1, - "Hits": 12 - }, - { - "Line": 644, - "Offset": 16, - "EndOffset": 18, - "Path": 0, - "Ordinal": 0, - "Hits": 10 - }, - { - "Line": 644, - "Offset": 16, - "EndOffset": 37, - "Path": 1, - "Ordinal": 1, - "Hits": 343 - }, - { - "Line": 645, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 645, - "Offset": 12, - "EndOffset": 18, - "Path": 1, - "Ordinal": 1, - "Hits": 4 - }, - { - "Line": 653, - "Offset": 16, - "EndOffset": 18, - "Path": 0, - "Ordinal": 0, - "Hits": 6 - }, - { - "Line": 653, - "Offset": 16, - "EndOffset": 37, - "Path": 1, - "Ordinal": 1, - "Hits": 221 - }, - { - "Line": 654, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 654, - "Offset": 12, - "EndOffset": 18, - "Path": 1, - "Ordinal": 1, - "Hits": 4 - } - ] - }, - "System.Linq.Expressions.ConstantExpression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseEnumToConstantExpression(System.Int32,System.Type,System.Linq.Expressions.ConstantExpression)": { - "Lines": { - "658": 6, - "659": 6, - "660": 6 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseConstantExpressionToEnum(System.Int32,System.Type,System.Linq.Expressions.ConstantExpression)": { - "Lines": { - "663": 6, - "665": 6, - "666": 6, - "667": 4, - "668": 4, - "670": 2, - "671": 0, - "672": 0, - "673": 0, - "677": 2, - "678": 2, - "680": 0, - "681": 0, - "682": 0, - "684": 6 - }, - "Branches": [ - { - "Line": 666, - "Offset": 20, - "EndOffset": 22, - "Path": 0, - "Ordinal": 0, - "Hits": 4 - }, - { - "Line": 666, - "Offset": 20, - "EndOffset": 39, - "Path": 1, - "Ordinal": 1, - "Hits": 2 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseShiftOperator()": { - "Lines": { - "688": 1345, - "689": 1345, - "690": 1315, - "691": 0, - "692": 0, - "693": 0, - "694": 0, - "695": 0, - "698": 0, - "699": 0, - "700": 0, - "702": 0, - "703": 0, - "704": 0, - "706": 0, - "707": 1315, - "708": 1315 - }, - "Branches": [ - { - "Line": 690, - "Offset": 223, - "EndOffset": 13, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 695, - "Offset": 60, - "EndOffset": 64, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 695, - "Offset": 67, - "EndOffset": 71, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 695, - "Offset": 60, - "EndOffset": 123, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 695, - "Offset": 67, - "EndOffset": 175, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 690, - "Offset": 194, - "EndOffset": 196, - "Path": 0, - "Ordinal": 4, - "Hits": 1315 - }, - { - "Line": 690, - "Offset": 194, - "EndOffset": 218, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 690, - "Offset": 223, - "EndOffset": 228, - "Path": 0, - "Ordinal": 6, - "Hits": 1315 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseAdditive()": { - "Lines": { - "712": 1345, - "713": 1345, - "714": 1335, - "715": 20, - "716": 20, - "717": 20, - "719": 20, - "720": 20, - "723": 20, - "724": 14, - "725": 14, - "726": 14, - "728": 6, - "729": 6, - "730": 6, - "731": 6, - "732": 20, - "735": 0, - "736": 0, - "737": 0, - "739": 20, - "740": 1315, - "741": 1315 - }, - "Branches": [ - { - "Line": 714, - "Offset": 315, - "EndOffset": 13, - "Path": 1, - "Ordinal": 13, - "Hits": 20 - }, - { - "Line": 720, - "Offset": 60, - "EndOffset": 64, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 720, - "Offset": 60, - "EndOffset": 77, - "Path": 1, - "Ordinal": 1, - "Hits": 20 - }, - { - "Line": 723, - "Offset": 98, - "EndOffset": 100, - "Path": 0, - "Ordinal": 4, - "Hits": 7 - }, - { - "Line": 723, - "Offset": 98, - "EndOffset": 123, - "Path": 1, - "Ordinal": 5, - "Hits": 13 - }, - { - "Line": 723, - "Offset": 128, - "EndOffset": 130, - "Path": 0, - "Ordinal": 6, - "Hits": 14 - }, - { - "Line": 723, - "Offset": 128, - "EndOffset": 148, - "Path": 1, - "Ordinal": 7, - "Hits": 6 - }, - { - "Line": 720, - "Offset": 67, - "EndOffset": 208, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 720, - "Offset": 67, - "EndOffset": 266, - "Path": 0, - "Ordinal": 2, - "Hits": 20 - }, - { - "Line": 714, - "Offset": 289, - "EndOffset": 293, - "Path": 0, - "Ordinal": 8, - "Hits": 1315 - }, - { - "Line": 714, - "Offset": 289, - "EndOffset": 301, - "Path": 1, - "Ordinal": 9, - "Hits": 20 - }, - { - "Line": 714, - "Offset": 297, - "EndOffset": 301, - "Path": 1, - "Ordinal": 11, - "Hits": 20 - }, - { - "Line": 714, - "Offset": 297, - "EndOffset": 306, - "Path": 0, - "Ordinal": 10, - "Hits": 1315 - }, - { - "Line": 714, - "Offset": 315, - "EndOffset": 320, - "Path": 0, - "Ordinal": 12, - "Hits": 1315 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseArithmetic()": { - "Lines": { - "745": 1365, - "746": 1365, - "747": 1345, - "748": 10, - "749": 10, - "750": 10, - "751": 10, - "752": 10, - "753": 10, - "756": 10, - "757": 10, - "760": 0, - "761": 0, - "765": 0, - "766": 0, - "768": 10, - "769": 1335, - "770": 1335 - }, - "Branches": [ - { - "Line": 747, - "Offset": 231, - "EndOffset": 13, - "Path": 1, - "Ordinal": 19, - "Hits": 10 - }, - { - "Line": 753, - "Offset": 101, - "EndOffset": 103, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 753, - "Offset": 105, - "EndOffset": 109, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 753, - "Offset": 101, - "EndOffset": 115, - "Path": 1, - "Ordinal": 1, - "Hits": 10 - }, - { - "Line": 753, - "Offset": 118, - "EndOffset": 122, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 753, - "Offset": 118, - "EndOffset": 129, - "Path": 1, - "Ordinal": 7, - "Hits": 10 - }, - { - "Line": 753, - "Offset": 125, - "EndOffset": 139, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 753, - "Offset": 105, - "EndOffset": 149, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 753, - "Offset": 111, - "EndOffset": 149, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 753, - "Offset": 111, - "EndOffset": 159, - "Path": 0, - "Ordinal": 4, - "Hits": 10 - }, - { - "Line": 753, - "Offset": 125, - "EndOffset": 159, - "Path": 0, - "Ordinal": 8, - "Hits": 10 - }, - { - "Line": 747, - "Offset": 181, - "EndOffset": 185, - "Path": 0, - "Ordinal": 10, - "Hits": 1345 - }, - { - "Line": 747, - "Offset": 189, - "EndOffset": 193, - "Path": 0, - "Ordinal": 12, - "Hits": 1335 - }, - { - "Line": 747, - "Offset": 181, - "EndOffset": 201, - "Path": 1, - "Ordinal": 11, - "Hits": 10 - }, - { - "Line": 747, - "Offset": 189, - "EndOffset": 201, - "Path": 1, - "Ordinal": 13, - "Hits": 10 - }, - { - "Line": 747, - "Offset": 197, - "EndOffset": 201, - "Path": 1, - "Ordinal": 15, - "Hits": 10 - }, - { - "Line": 747, - "Offset": 197, - "EndOffset": 206, - "Path": 0, - "Ordinal": 14, - "Hits": 1335 - }, - { - "Line": 747, - "Offset": 211, - "EndOffset": 213, - "Path": 0, - "Ordinal": 16, - "Hits": 1335 - }, - { - "Line": 747, - "Offset": 211, - "EndOffset": 226, - "Path": 1, - "Ordinal": 17, - "Hits": 10 - }, - { - "Line": 747, - "Offset": 231, - "EndOffset": 236, - "Path": 0, - "Ordinal": 18, - "Hits": 1335 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseUnary()": { - "Lines": { - "774": 1386, - "775": 1386, - "776": 6, - "777": 6, - "778": 6, - "779": 6, - "780": 6, - "781": 6, - "782": 6, - "783": 6, - "786": 0, - "787": 0, - "788": 0, - "789": 0, - "790": 0, - "791": 0, - "793": 0, - "794": 0, - "795": 0, - "796": 0, - "798": 0, - "801": 1380, - "802": 1356 - }, - "Branches": [ - { - "Line": 775, - "Offset": 19, - "EndOffset": 21, - "Path": 0, - "Ordinal": 0, - "Hits": 1380 - }, - { - "Line": 775, - "Offset": 38, - "EndOffset": 40, - "Path": 0, - "Ordinal": 2, - "Hits": 1380 - }, - { - "Line": 775, - "Offset": 19, - "EndOffset": 53, - "Path": 1, - "Ordinal": 1, - "Hits": 6 - }, - { - "Line": 775, - "Offset": 38, - "EndOffset": 53, - "Path": 1, - "Ordinal": 3, - "Hits": 6 - }, - { - "Line": 775, - "Offset": 56, - "EndOffset": 61, - "Path": 0, - "Ordinal": 4, - "Hits": 6 - }, - { - "Line": 779, - "Offset": 95, - "EndOffset": 97, - "Path": 0, - "Ordinal": 6, - "Hits": 6 - }, - { - "Line": 779, - "Offset": 114, - "EndOffset": 116, - "Path": 0, - "Ordinal": 8, - "Hits": 2 - }, - { - "Line": 779, - "Offset": 114, - "EndOffset": 137, - "Path": 1, - "Ordinal": 9, - "Hits": 4 - }, - { - "Line": 779, - "Offset": 95, - "EndOffset": 140, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 779, - "Offset": 143, - "EndOffset": 145, - "Path": 0, - "Ordinal": 10, - "Hits": 6 - }, - { - "Line": 779, - "Offset": 143, - "EndOffset": 223, - "Path": 1, - "Ordinal": 11, - "Hits": 0 - }, - { - "Line": 787, - "Offset": 245, - "EndOffset": 247, - "Path": 0, - "Ordinal": 12, - "Hits": 0 - }, - { - "Line": 787, - "Offset": 245, - "EndOffset": 291, - "Path": 1, - "Ordinal": 13, - "Hits": 0 - }, - { - "Line": 775, - "Offset": 56, - "EndOffset": 338, - "Path": 1, - "Ordinal": 5, - "Hits": 1380 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParsePrimary()": { - "Lines": { - "805": 1387, - "806": 1387, - "807": 1364, - "809": 1691, - "810": 1691, - "811": 1691, - "812": 334, - "813": 334, - "814": 334, - "815": 327, - "816": 1357, - "817": 0, - "818": 0, - "820": 1357, - "821": 0, - "822": 0, - "823": 0, - "825": 1357, - "826": 1357, - "828": 327, - "830": 1357, - "831": 1357 - }, - "Branches": [ - { - "Line": 811, - "Offset": 47, - "EndOffset": 49, - "Path": 0, - "Ordinal": 0, - "Hits": 334 - }, - { - "Line": 811, - "Offset": 47, - "EndOffset": 75, - "Path": 1, - "Ordinal": 1, - "Hits": 1357 - }, - { - "Line": 816, - "Offset": 97, - "EndOffset": 99, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 816, - "Offset": 97, - "EndOffset": 111, - "Path": 1, - "Ordinal": 3, - "Hits": 1357 - }, - { - "Line": 820, - "Offset": 133, - "EndOffset": 135, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 820, - "Offset": 133, - "EndOffset": 147, - "Path": 1, - "Ordinal": 5, - "Hits": 1357 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParsePrimaryStart()": { - "Lines": { - "834": 1387, - "835": 1387, - "838": 1070, - "841": 159, - "844": 130, - "847": 16, - "850": 12, - "853": 0, - "855": 1364 - }, - "Branches": [ - { - "Line": 835, - "Offset": 23, - "EndOffset": 62, - "Path": 1, - "Ordinal": 1, - "Hits": 1070 - }, - { - "Line": 835, - "Offset": 23, - "EndOffset": 71, - "Path": 2, - "Ordinal": 2, - "Hits": 159 - }, - { - "Line": 835, - "Offset": 23, - "EndOffset": 80, - "Path": 3, - "Ordinal": 3, - "Hits": 130 - }, - { - "Line": 835, - "Offset": 23, - "EndOffset": 89, - "Path": 4, - "Ordinal": 4, - "Hits": 16 - }, - { - "Line": 835, - "Offset": 23, - "EndOffset": 98, - "Path": 8, - "Ordinal": 8, - "Hits": 12 - }, - { - "Line": 835, - "Offset": 23, - "EndOffset": 107, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 835, - "Offset": 23, - "EndOffset": 107, - "Path": 5, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 835, - "Offset": 23, - "EndOffset": 107, - "Path": 6, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 835, - "Offset": 23, - "EndOffset": 107, - "Path": 7, - "Ordinal": 7, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseStringLiteralAsStringExpressionOrTypeExpression()": { - "Lines": { - "858": 159, - "859": 159, - "860": 159, - "865": 159, - "866": 159, - "867": 0, - "868": 0, - "869": 0, - "870": 159, - "871": 0, - "872": 0, - "873": 0, - "874": 0, - "875": 0, - "876": 0, - "877": 0, - "879": 159, - "880": 159, - "881": 159 - }, - "Branches": [ - { - "Line": 866, - "Offset": 39, - "EndOffset": 41, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 866, - "Offset": 39, - "EndOffset": 47, - "Path": 1, - "Ordinal": 1, - "Hits": 159 - }, - { - "Line": 870, - "Offset": 66, - "EndOffset": 68, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 873, - "Offset": 95, - "EndOffset": 97, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 873, - "Offset": 95, - "EndOffset": 101, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 870, - "Offset": 66, - "EndOffset": 102, - "Path": 1, - "Ordinal": 3, - "Hits": 159 - }, - { - "Line": 880, - "Offset": 117, - "EndOffset": 119, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 880, - "Offset": 117, - "EndOffset": 135, - "Path": 1, - "Ordinal": 7, - "Hits": 159 - } - ] - }, - "AnyOfTypes.AnyOf`2 System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseStringLiteral(System.Boolean)": { - "Lines": { - "884": 159, - "885": 159, - "887": 159, - "888": 159, - "890": 159, - "891": 1, - "892": 1, - "893": 0, - "894": 0, - "897": 1, - "898": 1, - "901": 158, - "903": 158, - "904": 0, - "906": 0, - "907": 0, - "908": 0, - "909": 0, - "911": 0, - "914": 178, - "915": 20, - "916": 20, - "917": 20, - "918": 20, - "920": 158, - "922": 158, - "923": 159 - }, - "Branches": [ - { - "Line": 890, - "Offset": 83, - "EndOffset": 85, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 892, - "Offset": 97, - "EndOffset": 99, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 892, - "Offset": 97, - "EndOffset": 117, - "Path": 1, - "Ordinal": 3, - "Hits": 1 - }, - { - "Line": 890, - "Offset": 83, - "EndOffset": 165, - "Path": 1, - "Ordinal": 1, - "Hits": 158 - }, - { - "Line": 903, - "Offset": 188, - "EndOffset": 190, - "Path": 0, - "Ordinal": 4, - "Hits": 158 - }, - { - "Line": 903, - "Offset": 191, - "EndOffset": 193, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 903, - "Offset": 200, - "EndOffset": 202, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 903, - "Offset": 188, - "EndOffset": 212, - "Path": 1, - "Ordinal": 5, - "Hits": 158 - }, - { - "Line": 903, - "Offset": 191, - "EndOffset": 212, - "Path": 1, - "Ordinal": 7, - "Hits": 158 - }, - { - "Line": 903, - "Offset": 200, - "EndOffset": 212, - "Path": 1, - "Ordinal": 9, - "Hits": 158 - }, - { - "Line": 903, - "Offset": 217, - "EndOffset": 219, - "Path": 0, - "Ordinal": 10, - "Hits": 0 - }, - { - "Line": 907, - "Offset": 245, - "EndOffset": 247, - "Path": 0, - "Ordinal": 12, - "Hits": 0 - }, - { - "Line": 907, - "Offset": 245, - "EndOffset": 259, - "Path": 1, - "Ordinal": 13, - "Hits": 0 - }, - { - "Line": 914, - "Offset": 322, - "EndOffset": 262, - "Path": 1, - "Ordinal": 15, - "Hits": 20 - }, - { - "Line": 903, - "Offset": 217, - "EndOffset": 299, - "Path": 1, - "Ordinal": 11, - "Hits": 178 - }, - { - "Line": 914, - "Offset": 322, - "EndOffset": 324, - "Path": 0, - "Ordinal": 14, - "Hits": 158 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseIntegerLiteral()": { - "Lines": { - "926": 130, - "927": 130, - "929": 130, - "931": 130, - "933": 130, - "934": 130, - "935": 130, - "936": 130 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseRealLiteral()": { - "Lines": { - "939": 16, - "940": 16, - "942": 16, - "944": 16, - "946": 16, - "947": 16 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseParenExpression()": { - "Lines": { - "950": 12, - "951": 12, - "952": 12, - "953": 12, - "954": 12, - "955": 12, - "956": 12, - "957": 12 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseIdentifier()": { - "Lines": { - "960": 1070, - "961": 1070, - "963": 1070, - "965": 1070, - "967": 1070, - "968": 46, - "969": 46, - "970": 46, - "971": 46, - "972": 0, - "973": 0, - "974": 0, - "975": 46, - "977": 1070, - "978": 272, - "979": 272, - "980": 48, - "981": 48, - "984": 224, - "988": 82, - "992": 0, - "996": 6, - "999": 6, - "1002": 0, - "1005": 66, - "1006": 0, - "1007": 0, - "1009": 66, - "1012": 10, - "1015": 5, - "1018": 8, - "1021": 6, - "1024": 35, - "1026": 35, - "1029": 798, - "1030": 798, - "1031": 798, - "1032": 200, - "1033": 200, - "1034": 200, - "1035": 103, - "1036": 103, - "1037": 103, - "1039": 97, - "1040": 97, - "1041": 0, - "1042": 0, - "1044": 97, - "1046": 200, - "1048": 200, - "1051": 598, - "1052": 598, - "1053": 598, - "1056": 0, - "1057": 1047 - }, - "Branches": [ - { - "Line": 967, - "Offset": 58, - "EndOffset": 60, - "Path": 0, - "Ordinal": 0, - "Hits": 1066 - }, - { - "Line": 967, - "Offset": 58, - "EndOffset": 71, - "Path": 1, - "Ordinal": 1, - "Hits": 4 - }, - { - "Line": 967, - "Offset": 74, - "EndOffset": 76, - "Path": 0, - "Ordinal": 2, - "Hits": 46 - }, - { - "Line": 969, - "Offset": 83, - "EndOffset": 85, - "Path": 0, - "Ordinal": 4, - "Hits": 46 - }, - { - "Line": 969, - "Offset": 83, - "EndOffset": 127, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 971, - "Offset": 168, - "EndOffset": 170, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 971, - "Offset": 168, - "EndOffset": 174, - "Path": 1, - "Ordinal": 7, - "Hits": 46 - }, - { - "Line": 967, - "Offset": 74, - "EndOffset": 175, - "Path": 1, - "Ordinal": 3, - "Hits": 1070 - }, - { - "Line": 977, - "Offset": 182, - "EndOffset": 187, - "Path": 0, - "Ordinal": 8, - "Hits": 272 - }, - { - "Line": 979, - "Offset": 205, - "EndOffset": 207, - "Path": 0, - "Ordinal": 10, - "Hits": 48 - }, - { - "Line": 979, - "Offset": 205, - "EndOffset": 224, - "Path": 1, - "Ordinal": 11, - "Hits": 224 - }, - { - "Line": 984, - "Offset": 242, - "EndOffset": 247, - "Path": 0, - "Ordinal": 12, - "Hits": 189 - }, - { - "Line": 984, - "Offset": 263, - "EndOffset": 265, - "Path": 0, - "Ordinal": 14, - "Hits": 163 - }, - { - "Line": 984, - "Offset": 272, - "EndOffset": 274, - "Path": 0, - "Ordinal": 16, - "Hits": 66 - }, - { - "Line": 984, - "Offset": 281, - "EndOffset": 288, - "Path": 0, - "Ordinal": 18, - "Hits": 66 - }, - { - "Line": 984, - "Offset": 295, - "EndOffset": 302, - "Path": 0, - "Ordinal": 20, - "Hits": 66 - }, - { - "Line": 984, - "Offset": 272, - "EndOffset": 319, - "Path": 1, - "Ordinal": 17, - "Hits": 97 - }, - { - "Line": 984, - "Offset": 326, - "EndOffset": 333, - "Path": 0, - "Ordinal": 24, - "Hits": 87 - }, - { - "Line": 984, - "Offset": 340, - "EndOffset": 347, - "Path": 0, - "Ordinal": 26, - "Hits": 5 - }, - { - "Line": 984, - "Offset": 263, - "EndOffset": 364, - "Path": 1, - "Ordinal": 15, - "Hits": 26 - }, - { - "Line": 984, - "Offset": 371, - "EndOffset": 373, - "Path": 0, - "Ordinal": 30, - "Hits": 14 - }, - { - "Line": 984, - "Offset": 380, - "EndOffset": 387, - "Path": 0, - "Ordinal": 32, - "Hits": 6 - }, - { - "Line": 984, - "Offset": 394, - "EndOffset": 401, - "Path": 0, - "Ordinal": 34, - "Hits": 6 - }, - { - "Line": 984, - "Offset": 371, - "EndOffset": 418, - "Path": 1, - "Ordinal": 31, - "Hits": 12 - }, - { - "Line": 984, - "Offset": 425, - "EndOffset": 427, - "Path": 0, - "Ordinal": 38, - "Hits": 6 - }, - { - "Line": 984, - "Offset": 434, - "EndOffset": 441, - "Path": 0, - "Ordinal": 40, - "Hits": 0 - }, - { - "Line": 984, - "Offset": 425, - "EndOffset": 455, - "Path": 1, - "Ordinal": 39, - "Hits": 6 - }, - { - "Line": 984, - "Offset": 462, - "EndOffset": 466, - "Path": 0, - "Ordinal": 44, - "Hits": 6 - }, - { - "Line": 984, - "Offset": 340, - "EndOffset": 480, - "Path": 1, - "Ordinal": 27, - "Hits": 82 - }, - { - "Line": 984, - "Offset": 295, - "EndOffset": 502, - "Path": 1, - "Ordinal": 21, - "Hits": 0 - }, - { - "Line": 984, - "Offset": 462, - "EndOffset": 524, - "Path": 1, - "Ordinal": 45, - "Hits": 0 - }, - { - "Line": 984, - "Offset": 448, - "EndOffset": 546, - "Path": 1, - "Ordinal": 43, - "Hits": 0 - }, - { - "Line": 984, - "Offset": 281, - "EndOffset": 568, - "Path": 1, - "Ordinal": 19, - "Hits": 0 - }, - { - "Line": 984, - "Offset": 473, - "EndOffset": 590, - "Path": 1, - "Ordinal": 47, - "Hits": 6 - }, - { - "Line": 984, - "Offset": 408, - "EndOffset": 612, - "Path": 1, - "Ordinal": 37, - "Hits": 6 - }, - { - "Line": 984, - "Offset": 394, - "EndOffset": 634, - "Path": 1, - "Ordinal": 35, - "Hits": 0 - }, - { - "Line": 984, - "Offset": 309, - "EndOffset": 656, - "Path": 1, - "Ordinal": 23, - "Hits": 66 - }, - { - "Line": 984, - "Offset": 326, - "EndOffset": 678, - "Path": 1, - "Ordinal": 25, - "Hits": 10 - }, - { - "Line": 984, - "Offset": 354, - "EndOffset": 700, - "Path": 1, - "Ordinal": 29, - "Hits": 5 - }, - { - "Line": 984, - "Offset": 380, - "EndOffset": 722, - "Path": 1, - "Ordinal": 33, - "Hits": 8 - }, - { - "Line": 984, - "Offset": 434, - "EndOffset": 744, - "Path": 1, - "Ordinal": 41, - "Hits": 6 - }, - { - "Line": 984, - "Offset": 492, - "EndOffset": 766, - "Path": 1, - "Ordinal": 49, - "Hits": 82 - }, - { - "Line": 984, - "Offset": 514, - "EndOffset": 766, - "Path": 1, - "Ordinal": 51, - "Hits": 82 - }, - { - "Line": 984, - "Offset": 536, - "EndOffset": 779, - "Path": 1, - "Ordinal": 53, - "Hits": 0 - }, - { - "Line": 984, - "Offset": 558, - "EndOffset": 779, - "Path": 1, - "Ordinal": 55, - "Hits": 0 - }, - { - "Line": 984, - "Offset": 580, - "EndOffset": 792, - "Path": 1, - "Ordinal": 57, - "Hits": 6 - }, - { - "Line": 984, - "Offset": 602, - "EndOffset": 792, - "Path": 1, - "Ordinal": 59, - "Hits": 6 - }, - { - "Line": 984, - "Offset": 624, - "EndOffset": 805, - "Path": 1, - "Ordinal": 61, - "Hits": 6 - }, - { - "Line": 984, - "Offset": 646, - "EndOffset": 818, - "Path": 1, - "Ordinal": 63, - "Hits": 0 - }, - { - "Line": 984, - "Offset": 668, - "EndOffset": 831, - "Path": 1, - "Ordinal": 65, - "Hits": 66 - }, - { - "Line": 1005, - "Offset": 846, - "EndOffset": 848, - "Path": 0, - "Ordinal": 74, - "Hits": 0 - }, - { - "Line": 1005, - "Offset": 846, - "EndOffset": 866, - "Path": 1, - "Ordinal": 75, - "Hits": 66 - }, - { - "Line": 984, - "Offset": 690, - "EndOffset": 879, - "Path": 1, - "Ordinal": 67, - "Hits": 10 - }, - { - "Line": 984, - "Offset": 712, - "EndOffset": 892, - "Path": 1, - "Ordinal": 69, - "Hits": 5 - }, - { - "Line": 984, - "Offset": 734, - "EndOffset": 905, - "Path": 1, - "Ordinal": 71, - "Hits": 8 - }, - { - "Line": 984, - "Offset": 756, - "EndOffset": 918, - "Path": 1, - "Ordinal": 73, - "Hits": 6 - }, - { - "Line": 984, - "Offset": 242, - "EndOffset": 931, - "Path": 1, - "Ordinal": 13, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 309, - "EndOffset": 931, - "Path": 0, - "Ordinal": 22, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 354, - "EndOffset": 931, - "Path": 0, - "Ordinal": 28, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 408, - "EndOffset": 931, - "Path": 0, - "Ordinal": 36, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 448, - "EndOffset": 931, - "Path": 0, - "Ordinal": 42, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 473, - "EndOffset": 931, - "Path": 0, - "Ordinal": 46, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 492, - "EndOffset": 931, - "Path": 0, - "Ordinal": 48, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 514, - "EndOffset": 931, - "Path": 0, - "Ordinal": 50, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 536, - "EndOffset": 931, - "Path": 0, - "Ordinal": 52, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 558, - "EndOffset": 931, - "Path": 0, - "Ordinal": 54, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 580, - "EndOffset": 931, - "Path": 0, - "Ordinal": 56, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 602, - "EndOffset": 931, - "Path": 0, - "Ordinal": 58, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 624, - "EndOffset": 931, - "Path": 0, - "Ordinal": 60, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 646, - "EndOffset": 931, - "Path": 0, - "Ordinal": 62, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 668, - "EndOffset": 931, - "Path": 0, - "Ordinal": 64, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 690, - "EndOffset": 931, - "Path": 0, - "Ordinal": 66, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 712, - "EndOffset": 931, - "Path": 0, - "Ordinal": 68, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 734, - "EndOffset": 931, - "Path": 0, - "Ordinal": 70, - "Hits": 35 - }, - { - "Line": 984, - "Offset": 756, - "EndOffset": 931, - "Path": 0, - "Ordinal": 72, - "Hits": 35 - }, - { - "Line": 977, - "Offset": 182, - "EndOffset": 956, - "Path": 1, - "Ordinal": 9, - "Hits": 798 - }, - { - "Line": 1029, - "Offset": 985, - "EndOffset": 987, - "Path": 0, - "Ordinal": 76, - "Hits": 644 - }, - { - "Line": 1029, - "Offset": 993, - "EndOffset": 995, - "Path": 0, - "Ordinal": 78, - "Hits": 26 - }, - { - "Line": 1029, - "Offset": 993, - "EndOffset": 1026, - "Path": 1, - "Ordinal": 79, - "Hits": 640 - }, - { - "Line": 1029, - "Offset": 1024, - "EndOffset": 1026, - "Path": 0, - "Ordinal": 80, - "Hits": 640 - }, - { - "Line": 1029, - "Offset": 985, - "EndOffset": 1057, - "Path": 1, - "Ordinal": 77, - "Hits": 158 - }, - { - "Line": 1029, - "Offset": 1024, - "EndOffset": 1057, - "Path": 1, - "Ordinal": 81, - "Hits": 158 - }, - { - "Line": 1029, - "Offset": 1062, - "EndOffset": 1064, - "Path": 0, - "Ordinal": 82, - "Hits": 200 - }, - { - "Line": 1034, - "Offset": 1082, - "EndOffset": 1084, - "Path": 0, - "Ordinal": 84, - "Hits": 103 - }, - { - "Line": 1034, - "Offset": 1082, - "EndOffset": 1096, - "Path": 1, - "Ordinal": 85, - "Hits": 97 - }, - { - "Line": 1040, - "Offset": 1115, - "EndOffset": 1117, - "Path": 0, - "Ordinal": 86, - "Hits": 0 - }, - { - "Line": 1040, - "Offset": 1115, - "EndOffset": 1130, - "Path": 1, - "Ordinal": 87, - "Hits": 97 - }, - { - "Line": 1029, - "Offset": 1062, - "EndOffset": 1149, - "Path": 1, - "Ordinal": 83, - "Hits": 598 - }, - { - "Line": 1051, - "Offset": 1162, - "EndOffset": 1164, - "Path": 0, - "Ordinal": 88, - "Hits": 598 - }, - { - "Line": 1051, - "Offset": 1162, - "EndOffset": 1183, - "Path": 1, - "Ordinal": 89, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseIt()": { - "Lines": { - "1060": 82, - "1061": 82, - "1062": 0, - "1063": 0, - "1066": 82, - "1068": 82, - "1069": 82 - }, - "Branches": [ - { - "Line": 1061, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 1061, - "Offset": 12, - "EndOffset": 32, - "Path": 1, - "Ordinal": 1, - "Hits": 82 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseParent()": { - "Lines": { - "1072": 0, - "1073": 0, - "1074": 0, - "1075": 0, - "1077": 0, - "1078": 0, - "1079": 0 - }, - "Branches": [ - { - "Line": 1073, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 1073, - "Offset": 12, - "EndOffset": 32, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseRoot()": { - "Lines": { - "1082": 6, - "1083": 6, - "1084": 0, - "1085": 0, - "1087": 6, - "1088": 6, - "1089": 6 - }, - "Branches": [ - { - "Line": 1083, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 1083, - "Offset": 12, - "EndOffset": 32, - "Path": 1, - "Ordinal": 1, - "Hits": 6 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseFunctionIsNull()": { - "Lines": { - "1093": 0, - "1094": 0, - "1095": 0, - "1096": 0, - "1097": 0, - "1098": 0, - "1099": 0, - "1102": 0, - "1103": 0 - }, - "Branches": [ - { - "Line": 1097, - "Offset": 48, - "EndOffset": 50, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 1097, - "Offset": 48, - "EndOffset": 68, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseFunctionIif()": { - "Lines": { - "1107": 6, - "1108": 6, - "1109": 6, - "1111": 6, - "1112": 6, - "1113": 0, - "1114": 0, - "1117": 6, - "1118": 6 - }, - "Branches": [ - { - "Line": 1112, - "Offset": 48, - "EndOffset": 50, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 1112, - "Offset": 48, - "EndOffset": 68, - "Path": 1, - "Ordinal": 1, - "Hits": 6 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseFunctionNullPropagation()": { - "Lines": { - "1122": 10, - "1123": 10, - "1124": 10, - "1126": 10, - "1128": 10, - "1129": 0, - "1130": 0, - "1133": 10, - "1134": 10, - "1135": 10, - "1136": 10, - "1138": 10, - "1139": 10, - "1140": 10, - "1143": 0, - "1146": 0, - "1147": 10 - }, - "Branches": [ - { - "Line": 1128, - "Offset": 41, - "EndOffset": 43, - "Path": 0, - "Ordinal": 0, - "Hits": 3 - }, - { - "Line": 1128, - "Offset": 41, - "EndOffset": 54, - "Path": 1, - "Ordinal": 1, - "Hits": 7 - }, - { - "Line": 1128, - "Offset": 57, - "EndOffset": 59, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 1128, - "Offset": 57, - "EndOffset": 77, - "Path": 1, - "Ordinal": 3, - "Hits": 10 - }, - { - "Line": 1133, - "Offset": 93, - "EndOffset": 95, - "Path": 0, - "Ordinal": 4, - "Hits": 10 - }, - { - "Line": 1136, - "Offset": 106, - "EndOffset": 108, - "Path": 0, - "Ordinal": 6, - "Hits": 7 - }, - { - "Line": 1136, - "Offset": 106, - "EndOffset": 116, - "Path": 1, - "Ordinal": 7, - "Hits": 3 - }, - { - "Line": 1138, - "Offset": 142, - "EndOffset": 144, - "Path": 0, - "Ordinal": 8, - "Hits": 10 - }, - { - "Line": 1138, - "Offset": 142, - "EndOffset": 164, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 1133, - "Offset": 93, - "EndOffset": 171, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseFunctionIs()": { - "Lines": { - "1151": 5, - "1152": 5, - "1153": 5, - "1154": 5, - "1156": 5, - "1158": 5, - "1159": 0, - "1160": 0, - "1165": 5, - "1166": 4, - "1167": 4, - "1168": 4, - "1169": 4, - "1171": 1, - "1172": 1, - "1173": 1, - "1174": 1, - "1176": 5, - "1177": 5 - }, - "Branches": [ - { - "Line": 1158, - "Offset": 58, - "EndOffset": 60, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 1158, - "Offset": 58, - "EndOffset": 71, - "Path": 1, - "Ordinal": 1, - "Hits": 4 - }, - { - "Line": 1158, - "Offset": 76, - "EndOffset": 78, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 1158, - "Offset": 76, - "EndOffset": 101, - "Path": 1, - "Ordinal": 3, - "Hits": 5 - }, - { - "Line": 1165, - "Offset": 111, - "EndOffset": 113, - "Path": 0, - "Ordinal": 4, - "Hits": 4 - }, - { - "Line": 1165, - "Offset": 111, - "EndOffset": 129, - "Path": 1, - "Ordinal": 5, - "Hits": 1 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseFunctionAs()": { - "Lines": { - "1181": 8, - "1182": 8, - "1183": 8, - "1184": 8, - "1186": 8, - "1188": 8, - "1189": 0, - "1190": 0, - "1195": 8, - "1196": 3, - "1197": 3, - "1198": 3, - "1199": 3, - "1201": 5, - "1202": 5, - "1203": 5, - "1204": 5, - "1206": 8, - "1207": 8 - }, - "Branches": [ - { - "Line": 1188, - "Offset": 58, - "EndOffset": 60, - "Path": 0, - "Ordinal": 0, - "Hits": 5 - }, - { - "Line": 1188, - "Offset": 58, - "EndOffset": 71, - "Path": 1, - "Ordinal": 1, - "Hits": 3 - }, - { - "Line": 1188, - "Offset": 76, - "EndOffset": 78, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 1188, - "Offset": 76, - "EndOffset": 101, - "Path": 1, - "Ordinal": 3, - "Hits": 8 - }, - { - "Line": 1195, - "Offset": 111, - "EndOffset": 113, - "Path": 0, - "Ordinal": 4, - "Hits": 3 - }, - { - "Line": 1195, - "Offset": 111, - "EndOffset": 129, - "Path": 1, - "Ordinal": 5, - "Hits": 5 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseFunctionCast()": { - "Lines": { - "1211": 6, - "1212": 6, - "1213": 6, - "1214": 6, - "1216": 6, - "1218": 6, - "1219": 0, - "1220": 0, - "1225": 6, - "1226": 5, - "1227": 5, - "1228": 5, - "1229": 5, - "1231": 1, - "1232": 1, - "1233": 1, - "1234": 1, - "1236": 6, - "1238": 6, - "1239": 6, - "1240": 6, - "1243": 0, - "1244": 6 - }, - "Branches": [ - { - "Line": 1218, - "Offset": 58, - "EndOffset": 60, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 1218, - "Offset": 58, - "EndOffset": 71, - "Path": 1, - "Ordinal": 1, - "Hits": 5 - }, - { - "Line": 1218, - "Offset": 76, - "EndOffset": 78, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 1218, - "Offset": 76, - "EndOffset": 101, - "Path": 1, - "Ordinal": 3, - "Hits": 6 - }, - { - "Line": 1225, - "Offset": 111, - "EndOffset": 113, - "Path": 0, - "Ordinal": 4, - "Hits": 5 - }, - { - "Line": 1225, - "Offset": 111, - "EndOffset": 129, - "Path": 1, - "Ordinal": 5, - "Hits": 1 - }, - { - "Line": 1238, - "Offset": 174, - "EndOffset": 176, - "Path": 0, - "Ordinal": 6, - "Hits": 6 - }, - { - "Line": 1238, - "Offset": 174, - "EndOffset": 183, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::GenerateConditional(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Boolean,System.Int32)": { - "Lines": { - "1247": 17, - "1248": 17, - "1249": 0, - "1250": 0, - "1253": 17, - "1254": 8, - "1256": 8, - "1257": 0, - "1258": 0, - "1259": 0, - "1265": 0, - "1266": 0, - "1267": 0, - "1268": 0, - "1270": 0, - "1271": 0, - "1272": 0, - "1273": 0, - "1275": 0, - "1278": 0, - "1279": 0, - "1281": 0, - "1282": 0, - "1283": 0, - "1284": 0, - "1285": 0, - "1287": 0, - "1291": 8, - "1292": 4, - "1293": 4, - "1294": 0, - "1300": 0, - "1301": 0, - "1302": 0, - "1303": 0, - "1305": 0, - "1306": 0, - "1307": 0, - "1308": 0, - "1310": 4, - "1314": 4, - "1315": 4, - "1316": 4, - "1317": 4, - "1318": 4, - "1319": 4, - "1320": 4, - "1322": 4, - "1325": 4, - "1326": 4, - "1327": 4, - "1328": 0, - "1329": 0, - "1330": 0, - "1331": 4, - "1332": 4, - "1333": 4, - "1334": 4, - "1336": 0, - "1337": 0, - "1338": 0, - "1339": 0, - "1340": 0, - "1341": 0, - "1344": 0, - "1346": 4, - "1348": 13, - "1349": 17 - }, - "Branches": [ - { - "Line": 1248, - "Offset": 24, - "EndOffset": 26, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 1248, - "Offset": 24, - "EndOffset": 45, - "Path": 1, - "Ordinal": 1, - "Hits": 17 - }, - { - "Line": 1253, - "Offset": 64, - "EndOffset": 69, - "Path": 0, - "Ordinal": 2, - "Hits": 8 - }, - { - "Line": 1256, - "Offset": 76, - "EndOffset": 78, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 1256, - "Offset": 76, - "EndOffset": 96, - "Path": 1, - "Ordinal": 5, - "Hits": 8 - }, - { - "Line": 1256, - "Offset": 101, - "EndOffset": 106, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 1258, - "Offset": 109, - "EndOffset": 111, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 1258, - "Offset": 109, - "EndOffset": 124, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 1258, - "Offset": 129, - "EndOffset": 131, - "Path": 0, - "Ordinal": 10, - "Hits": 0 - }, - { - "Line": 1265, - "Offset": 150, - "EndOffset": 152, - "Path": 0, - "Ordinal": 12, - "Hits": 0 - }, - { - "Line": 1265, - "Offset": 150, - "EndOffset": 175, - "Path": 1, - "Ordinal": 13, - "Hits": 0 - }, - { - "Line": 1258, - "Offset": 129, - "EndOffset": 194, - "Path": 1, - "Ordinal": 11, - "Hits": 0 - }, - { - "Line": 1281, - "Offset": 236, - "EndOffset": 238, - "Path": 0, - "Ordinal": 14, - "Hits": 0 - }, - { - "Line": 1281, - "Offset": 236, - "EndOffset": 250, - "Path": 1, - "Ordinal": 15, - "Hits": 0 - }, - { - "Line": 1256, - "Offset": 101, - "EndOffset": 266, - "Path": 1, - "Ordinal": 7, - "Hits": 8 - }, - { - "Line": 1291, - "Offset": 272, - "EndOffset": 274, - "Path": 0, - "Ordinal": 16, - "Hits": 8 - }, - { - "Line": 1291, - "Offset": 272, - "EndOffset": 292, - "Path": 1, - "Ordinal": 17, - "Hits": 0 - }, - { - "Line": 1291, - "Offset": 297, - "EndOffset": 302, - "Path": 0, - "Ordinal": 18, - "Hits": 4 - }, - { - "Line": 1293, - "Offset": 305, - "EndOffset": 307, - "Path": 0, - "Ordinal": 20, - "Hits": 3 - }, - { - "Line": 1293, - "Offset": 305, - "EndOffset": 320, - "Path": 1, - "Ordinal": 21, - "Hits": 1 - }, - { - "Line": 1293, - "Offset": 325, - "EndOffset": 327, - "Path": 0, - "Ordinal": 22, - "Hits": 0 - }, - { - "Line": 1300, - "Offset": 346, - "EndOffset": 348, - "Path": 0, - "Ordinal": 24, - "Hits": 0 - }, - { - "Line": 1300, - "Offset": 346, - "EndOffset": 371, - "Path": 1, - "Ordinal": 25, - "Hits": 0 - }, - { - "Line": 1293, - "Offset": 325, - "EndOffset": 390, - "Path": 1, - "Ordinal": 23, - "Hits": 4 - }, - { - "Line": 1316, - "Offset": 432, - "EndOffset": 434, - "Path": 0, - "Ordinal": 26, - "Hits": 4 - }, - { - "Line": 1316, - "Offset": 432, - "EndOffset": 446, - "Path": 1, - "Ordinal": 27, - "Hits": 4 - }, - { - "Line": 1291, - "Offset": 297, - "EndOffset": 462, - "Path": 1, - "Ordinal": 19, - "Hits": 4 - }, - { - "Line": 1325, - "Offset": 468, - "EndOffset": 470, - "Path": 0, - "Ordinal": 28, - "Hits": 4 - }, - { - "Line": 1325, - "Offset": 468, - "EndOffset": 473, - "Path": 1, - "Ordinal": 29, - "Hits": 0 - }, - { - "Line": 1326, - "Offset": 505, - "EndOffset": 507, - "Path": 0, - "Ordinal": 30, - "Hits": 0 - }, - { - "Line": 1326, - "Offset": 505, - "EndOffset": 510, - "Path": 1, - "Ordinal": 31, - "Hits": 4 - }, - { - "Line": 1327, - "Offset": 537, - "EndOffset": 539, - "Path": 0, - "Ordinal": 32, - "Hits": 0 - }, - { - "Line": 1327, - "Offset": 537, - "EndOffset": 545, - "Path": 1, - "Ordinal": 33, - "Hits": 4 - }, - { - "Line": 1327, - "Offset": 550, - "EndOffset": 552, - "Path": 0, - "Ordinal": 34, - "Hits": 0 - }, - { - "Line": 1327, - "Offset": 550, - "EndOffset": 562, - "Path": 1, - "Ordinal": 35, - "Hits": 4 - }, - { - "Line": 1331, - "Offset": 563, - "EndOffset": 565, - "Path": 0, - "Ordinal": 36, - "Hits": 4 - }, - { - "Line": 1331, - "Offset": 563, - "EndOffset": 571, - "Path": 1, - "Ordinal": 37, - "Hits": 0 - }, - { - "Line": 1331, - "Offset": 576, - "EndOffset": 578, - "Path": 0, - "Ordinal": 38, - "Hits": 4 - }, - { - "Line": 1331, - "Offset": 576, - "EndOffset": 585, - "Path": 1, - "Ordinal": 39, - "Hits": 0 - }, - { - "Line": 1337, - "Offset": 592, - "EndOffset": 594, - "Path": 0, - "Ordinal": 40, - "Hits": 0 - }, - { - "Line": 1337, - "Offset": 592, - "EndOffset": 601, - "Path": 1, - "Ordinal": 41, - "Hits": 0 - }, - { - "Line": 1338, - "Offset": 620, - "EndOffset": 622, - "Path": 0, - "Ordinal": 42, - "Hits": 0 - }, - { - "Line": 1338, - "Offset": 620, - "EndOffset": 629, - "Path": 1, - "Ordinal": 43, - "Hits": 0 - }, - { - "Line": 1339, - "Offset": 650, - "EndOffset": 652, - "Path": 0, - "Ordinal": 44, - "Hits": 0 - }, - { - "Line": 1339, - "Offset": 650, - "EndOffset": 682, - "Path": 1, - "Ordinal": 45, - "Hits": 0 - }, - { - "Line": 1253, - "Offset": 64, - "EndOffset": 712, - "Path": 1, - "Ordinal": 3, - "Hits": 13 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseNew()": { - "Lines": { - "1353": 66, - "1354": 66, - "1355": 66, - "1356": 66, - "1357": 66, - "1358": 66, - "1359": 0, - "1360": 0, - "1363": 66, - "1364": 66, - "1365": 9, - "1366": 9, - "1368": 9, - "1370": 38, - "1371": 29, - "1372": 29, - "1373": 29, - "1374": 29, - "1375": 0, - "1376": 0, - "1378": 29, - "1379": 29, - "1380": 29, - "1382": 9, - "1383": 9, - "1384": 2, - "1385": 2, - "1388": 7, - "1389": 7, - "1390": 7, - "1391": 0, - "1392": 0, - "1394": 7, - "1396": 64, - "1397": 64, - "1398": 1, - "1399": 1, - "1400": 1, - "1401": 1, - "1402": 1, - "1403": 1, - "1404": 1, - "1406": 64, - "1408": 64, - "1409": 64, - "1411": 117, - "1412": 115, - "1413": 115, - "1414": 115, - "1415": 111, - "1416": 108, - "1418": 108, - "1419": 73, - "1420": 73, - "1421": 73, - "1422": 73, - "1424": 35, - "1425": 35, - "1426": 0, - "1427": 0, - "1428": 0, - "1429": 0, - "1430": 0, - "1431": 0, - "1432": 0, - "1433": 0, - "1434": 0, - "1436": 0, - "1437": 0, - "1439": 0, - "1440": 35, - "1442": 108, - "1443": 108, - "1444": 108, - "1445": 108, - "1446": 108, - "1448": 111, - "1450": 111, - "1451": 58, - "1452": 58, - "1455": 53, - "1456": 53, - "1458": 60, - "1459": 2, - "1460": 2, - "1462": 58, - "1464": 58, - "1465": 1, - "1466": 1, - "1469": 57, - "1470": 58 - }, - "Branches": [ - { - "Line": 1355, - "Offset": 31, - "EndOffset": 33, - "Path": 0, - "Ordinal": 0, - "Hits": 13 - }, - { - "Line": 1355, - "Offset": 51, - "EndOffset": 53, - "Path": 0, - "Ordinal": 2, - "Hits": 10 - }, - { - "Line": 1355, - "Offset": 71, - "EndOffset": 73, - "Path": 0, - "Ordinal": 4, - "Hits": 9 - }, - { - "Line": 1355, - "Offset": 31, - "EndOffset": 97, - "Path": 1, - "Ordinal": 1, - "Hits": 57 - }, - { - "Line": 1355, - "Offset": 51, - "EndOffset": 97, - "Path": 1, - "Ordinal": 3, - "Hits": 57 - }, - { - "Line": 1355, - "Offset": 71, - "EndOffset": 97, - "Path": 1, - "Ordinal": 5, - "Hits": 57 - }, - { - "Line": 1355, - "Offset": 102, - "EndOffset": 104, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 1355, - "Offset": 102, - "EndOffset": 122, - "Path": 1, - "Ordinal": 7, - "Hits": 66 - }, - { - "Line": 1364, - "Offset": 147, - "EndOffset": 152, - "Path": 0, - "Ordinal": 8, - "Hits": 9 - }, - { - "Line": 1370, - "Offset": 350, - "EndOffset": 185, - "Path": 1, - "Ordinal": 17, - "Hits": 29 - }, - { - "Line": 1374, - "Offset": 242, - "EndOffset": 244, - "Path": 0, - "Ordinal": 10, - "Hits": 0 - }, - { - "Line": 1374, - "Offset": 242, - "EndOffset": 262, - "Path": 1, - "Ordinal": 11, - "Hits": 29 - }, - { - "Line": 1370, - "Offset": 324, - "EndOffset": 328, - "Path": 0, - "Ordinal": 12, - "Hits": 31 - }, - { - "Line": 1370, - "Offset": 324, - "EndOffset": 336, - "Path": 1, - "Ordinal": 13, - "Hits": 29 - }, - { - "Line": 1370, - "Offset": 332, - "EndOffset": 336, - "Path": 1, - "Ordinal": 15, - "Hits": 29 - }, - { - "Line": 1370, - "Offset": 332, - "EndOffset": 341, - "Path": 0, - "Ordinal": 14, - "Hits": 9 - }, - { - "Line": 1370, - "Offset": 350, - "EndOffset": 355, - "Path": 0, - "Ordinal": 16, - "Hits": 9 - }, - { - "Line": 1383, - "Offset": 414, - "EndOffset": 416, - "Path": 0, - "Ordinal": 18, - "Hits": 2 - }, - { - "Line": 1383, - "Offset": 414, - "EndOffset": 455, - "Path": 1, - "Ordinal": 19, - "Hits": 7 - }, - { - "Line": 1388, - "Offset": 473, - "EndOffset": 475, - "Path": 0, - "Ordinal": 20, - "Hits": 1 - }, - { - "Line": 1388, - "Offset": 493, - "EndOffset": 495, - "Path": 0, - "Ordinal": 22, - "Hits": 1 - }, - { - "Line": 1388, - "Offset": 473, - "EndOffset": 520, - "Path": 1, - "Ordinal": 21, - "Hits": 6 - }, - { - "Line": 1388, - "Offset": 493, - "EndOffset": 520, - "Path": 1, - "Ordinal": 23, - "Hits": 6 - }, - { - "Line": 1388, - "Offset": 525, - "EndOffset": 527, - "Path": 0, - "Ordinal": 24, - "Hits": 0 - }, - { - "Line": 1388, - "Offset": 525, - "EndOffset": 545, - "Path": 1, - "Ordinal": 25, - "Hits": 7 - }, - { - "Line": 1364, - "Offset": 147, - "EndOffset": 546, - "Path": 1, - "Ordinal": 9, - "Hits": 64 - }, - { - "Line": 1397, - "Offset": 572, - "EndOffset": 574, - "Path": 0, - "Ordinal": 26, - "Hits": 1 - }, - { - "Line": 1397, - "Offset": 572, - "EndOffset": 640, - "Path": 1, - "Ordinal": 27, - "Hits": 64 - }, - { - "Line": 1411, - "Offset": 1095, - "EndOffset": 669, - "Path": 1, - "Ordinal": 51, - "Hits": 115 - }, - { - "Line": 1415, - "Offset": 704, - "EndOffset": 709, - "Path": 0, - "Ordinal": 28, - "Hits": 108 - }, - { - "Line": 1418, - "Offset": 725, - "EndOffset": 727, - "Path": 0, - "Ordinal": 30, - "Hits": 73 - }, - { - "Line": 1418, - "Offset": 725, - "EndOffset": 754, - "Path": 1, - "Ordinal": 31, - "Hits": 35 - }, - { - "Line": 1425, - "Offset": 771, - "EndOffset": 776, - "Path": 0, - "Ordinal": 32, - "Hits": 0 - }, - { - "Line": 1427, - "Offset": 795, - "EndOffset": 797, - "Path": 0, - "Ordinal": 34, - "Hits": 0 - }, - { - "Line": 1427, - "Offset": 810, - "EndOffset": 812, - "Path": 0, - "Ordinal": 36, - "Hits": 0 - }, - { - "Line": 1427, - "Offset": 848, - "EndOffset": 850, - "Path": 0, - "Ordinal": 38, - "Hits": 0 - }, - { - "Line": 1427, - "Offset": 877, - "EndOffset": 879, - "Path": 0, - "Ordinal": 40, - "Hits": 0 - }, - { - "Line": 1427, - "Offset": 795, - "EndOffset": 900, - "Path": 1, - "Ordinal": 35, - "Hits": 0 - }, - { - "Line": 1427, - "Offset": 810, - "EndOffset": 900, - "Path": 1, - "Ordinal": 37, - "Hits": 0 - }, - { - "Line": 1427, - "Offset": 848, - "EndOffset": 900, - "Path": 1, - "Ordinal": 39, - "Hits": 0 - }, - { - "Line": 1427, - "Offset": 877, - "EndOffset": 900, - "Path": 1, - "Ordinal": 41, - "Hits": 0 - }, - { - "Line": 1427, - "Offset": 905, - "EndOffset": 907, - "Path": 0, - "Ordinal": 42, - "Hits": 0 - }, - { - "Line": 1427, - "Offset": 905, - "EndOffset": 930, - "Path": 1, - "Ordinal": 43, - "Hits": 0 - }, - { - "Line": 1425, - "Offset": 771, - "EndOffset": 950, - "Path": 1, - "Ordinal": 33, - "Hits": 35 - }, - { - "Line": 1442, - "Offset": 965, - "EndOffset": 967, - "Path": 0, - "Ordinal": 44, - "Hits": 108 - }, - { - "Line": 1442, - "Offset": 965, - "EndOffset": 990, - "Path": 1, - "Ordinal": 45, - "Hits": 108 - }, - { - "Line": 1415, - "Offset": 704, - "EndOffset": 991, - "Path": 1, - "Ordinal": 29, - "Hits": 111 - }, - { - "Line": 1450, - "Offset": 1027, - "EndOffset": 1029, - "Path": 0, - "Ordinal": 46, - "Hits": 58 - }, - { - "Line": 1450, - "Offset": 1027, - "EndOffset": 1032, - "Path": 1, - "Ordinal": 47, - "Hits": 53 - }, - { - "Line": 1411, - "Offset": 1063, - "EndOffset": 1065, - "Path": 0, - "Ordinal": 48, - "Hits": 115 - }, - { - "Line": 1411, - "Offset": 1063, - "EndOffset": 1090, - "Path": 1, - "Ordinal": 49, - "Hits": 2 - }, - { - "Line": 1411, - "Offset": 1095, - "EndOffset": 1100, - "Path": 0, - "Ordinal": 50, - "Hits": 60 - }, - { - "Line": 1458, - "Offset": 1118, - "EndOffset": 1120, - "Path": 0, - "Ordinal": 52, - "Hits": 7 - }, - { - "Line": 1458, - "Offset": 1118, - "EndOffset": 1145, - "Path": 1, - "Ordinal": 53, - "Hits": 53 - }, - { - "Line": 1458, - "Offset": 1150, - "EndOffset": 1152, - "Path": 0, - "Ordinal": 54, - "Hits": 2 - }, - { - "Line": 1458, - "Offset": 1150, - "EndOffset": 1170, - "Path": 1, - "Ordinal": 55, - "Hits": 58 - }, - { - "Line": 1464, - "Offset": 1187, - "EndOffset": 1189, - "Path": 0, - "Ordinal": 56, - "Hits": 1 - }, - { - "Line": 1464, - "Offset": 1187, - "EndOffset": 1202, - "Path": 1, - "Ordinal": 57, - "Hits": 57 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::CreateArrayInitializerExpression(System.Collections.Generic.List`1,System.Type)": { - "Lines": { - "1473": 1, - "1474": 1, - "1475": 0, - "1476": 0, - "1479": 1, - "1480": 0, - "1481": 0, - "1484": 4, - "1485": 1 - }, - "Branches": [ - { - "Line": 1474, - "Offset": 44, - "EndOffset": 46, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 1476, - "Offset": 54, - "EndOffset": 56, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 1476, - "Offset": 54, - "EndOffset": 67, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 1474, - "Offset": 44, - "EndOffset": 80, - "Path": 1, - "Ordinal": 1, - "Hits": 1 - }, - { - "Line": 1479, - "Offset": 94, - "EndOffset": 96, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 1479, - "Offset": 94, - "EndOffset": 134, - "Path": 1, - "Ordinal": 5, - "Hits": 1 - }, - { - "Line": 1484, - "Offset": 157, - "EndOffset": 159, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 1484, - "Offset": 157, - "EndOffset": 171, - "Path": 1, - "Ordinal": 7, - "Hits": 1 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::CreateNewExpression(System.Collections.Generic.List`1,System.Collections.Generic.List`1,System.Type)": { - "Lines": { - "1488": 57, - "1490": 57, - "1492": 57, - "1493": 46, - "1518": 46, - "1520": 46, - "1523": 57, - "1524": 57, - "1525": 46, - "1526": 173, - "1527": 46, - "1528": 205, - "1529": 57, - "1530": 57, - "1531": 39, - "1532": 39, - "1533": 39, - "1534": 39, - "1535": 103, - "1536": 217, - "1537": 39, - "1540": 214, - "1541": 68, - "1542": 68, - "1543": 5, - "1544": 5, - "1545": 5, - "1547": 63, - "1548": 63, - "1549": 63, - "1550": 172, - "1551": 172, - "1553": 63, - "1554": 63, - "1555": 68, - "1557": 39, - "1559": 0, - "1562": 50, - "1563": 18, - "1564": 18, - "1565": 2, - "1567": 2, - "1568": 2, - "1569": 2, - "1571": 2, - "1575": 16, - "1576": 92, - "1577": 30, - "1578": 30, - "1581": 30, - "1582": 30, - "1583": 29, - "1584": 29, - "1585": 29, - "1586": 29, - "1588": 1, - "1589": 1, - "1590": 1, - "1591": 0, - "1592": 0, - "1595": 1, - "1596": 1, - "1597": 1, - "1600": 30, - "1601": 30, - "1602": 0, - "1603": 0, - "1605": 30, - "1606": 30, - "1608": 16, - "1609": 57 - }, - "Branches": [ - { - "Line": 1490, - "Offset": 23, - "EndOffset": 25, - "Path": 0, - "Ordinal": 0, - "Hits": 51 - }, - { - "Line": 1490, - "Offset": 23, - "EndOffset": 32, - "Path": 1, - "Ordinal": 1, - "Hits": 57 - }, - { - "Line": 1492, - "Offset": 44, - "EndOffset": 46, - "Path": 0, - "Ordinal": 2, - "Hits": 46 - }, - { - "Line": 1492, - "Offset": 44, - "EndOffset": 61, - "Path": 1, - "Ordinal": 3, - "Hits": 57 - }, - { - "Line": 1524, - "Offset": 98, - "EndOffset": 100, - "Path": 0, - "Ordinal": 4, - "Hits": 46 - }, - { - "Line": 1524, - "Offset": 98, - "EndOffset": 145, - "Path": 1, - "Ordinal": 5, - "Hits": 57 - }, - { - "Line": 1530, - "Offset": 209, - "EndOffset": 214, - "Path": 0, - "Ordinal": 6, - "Hits": 39 - }, - { - "Line": 1533, - "Offset": 262, - "EndOffset": 267, - "Path": 0, - "Ordinal": 8, - "Hits": 39 - }, - { - "Line": 1540, - "Offset": 551, - "EndOffset": 307, - "Path": 1, - "Ordinal": 13, - "Hits": 68 - }, - { - "Line": 1542, - "Offset": 314, - "EndOffset": 316, - "Path": 0, - "Ordinal": 10, - "Hits": 5 - }, - { - "Line": 1542, - "Offset": 314, - "EndOffset": 366, - "Path": 1, - "Ordinal": 11, - "Hits": 63 - }, - { - "Line": 1540, - "Offset": 551, - "EndOffset": 556, - "Path": 0, - "Ordinal": 12, - "Hits": 39 - }, - { - "Line": 1533, - "Offset": 262, - "EndOffset": 573, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 1530, - "Offset": 209, - "EndOffset": 574, - "Path": 1, - "Ordinal": 7, - "Hits": 18 - }, - { - "Line": 1564, - "Offset": 640, - "EndOffset": 642, - "Path": 0, - "Ordinal": 14, - "Hits": 2 - }, - { - "Line": 1564, - "Offset": 640, - "EndOffset": 690, - "Path": 1, - "Ordinal": 15, - "Hits": 16 - }, - { - "Line": 1576, - "Offset": 990, - "EndOffset": 711, - "Path": 1, - "Ordinal": 23, - "Hits": 30 - }, - { - "Line": 1582, - "Offset": 749, - "EndOffset": 751, - "Path": 0, - "Ordinal": 16, - "Hits": 29 - }, - { - "Line": 1582, - "Offset": 749, - "EndOffset": 768, - "Path": 1, - "Ordinal": 17, - "Hits": 1 - }, - { - "Line": 1590, - "Offset": 791, - "EndOffset": 793, - "Path": 0, - "Ordinal": 18, - "Hits": 0 - }, - { - "Line": 1590, - "Offset": 791, - "EndOffset": 826, - "Path": 1, - "Ordinal": 19, - "Hits": 1 - }, - { - "Line": 1601, - "Offset": 884, - "EndOffset": 886, - "Path": 0, - "Ordinal": 20, - "Hits": 0 - }, - { - "Line": 1601, - "Offset": 884, - "EndOffset": 957, - "Path": 1, - "Ordinal": 21, - "Hits": 30 - }, - { - "Line": 1576, - "Offset": 990, - "EndOffset": 995, - "Path": 0, - "Ordinal": 22, - "Hits": 16 - }, - { - "Line": 1536, - "Offset": 22, - "EndOffset": 24, - "Path": 0, - "Ordinal": 0, - "Hits": 63 - }, - { - "Line": 1536, - "Offset": 46, - "EndOffset": 48, - "Path": 0, - "Ordinal": 2, - "Hits": 1 - }, - { - "Line": 1536, - "Offset": 46, - "EndOffset": 77, - "Path": 1, - "Ordinal": 3, - "Hits": 62 - }, - { - "Line": 1536, - "Offset": 22, - "EndOffset": 80, - "Path": 1, - "Ordinal": 1, - "Hits": 51 - }, - { - "Line": 1551, - "Offset": 22, - "EndOffset": 24, - "Path": 0, - "Ordinal": 0, - "Hits": 63 - }, - { - "Line": 1551, - "Offset": 46, - "EndOffset": 48, - "Path": 0, - "Ordinal": 2, - "Hits": 1 - }, - { - "Line": 1551, - "Offset": 46, - "EndOffset": 77, - "Path": 1, - "Ordinal": 3, - "Hits": 62 - }, - { - "Line": 1551, - "Offset": 22, - "EndOffset": 80, - "Path": 1, - "Ordinal": 1, - "Hits": 46 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseLambdaInvocation(System.Linq.Expressions.LambdaExpression)": { - "Lines": { - "1612": 0, - "1613": 0, - "1614": 0, - "1615": 0, - "1617": 0, - "1618": 0, - "1619": 0, - "1620": 0, - "1623": 0, - "1624": 0 - }, - "Branches": [ - { - "Line": 1618, - "Offset": 76, - "EndOffset": 78, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 1618, - "Offset": 76, - "EndOffset": 96, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseTypeAccess(System.Type,System.Boolean)": { - "Lines": { - "1627": 48, - "1628": 48, - "1629": 48, - "1630": 48, - "1631": 48, - "1632": 48, - "1634": 48, - "1635": 5, - "1636": 5, - "1637": 0, - "1638": 0, - "1641": 5, - "1642": 5, - "1643": 5, - "1646": 48, - "1647": 48, - "1648": 10, - "1650": 10, - "1651": 0, - "1652": 0, - "1653": 0, - "1654": 0, - "1656": 10, - "1657": 10, - "1658": 10, - "1668": 10, - "1669": 0, - "1670": 0, - "1674": 10, - "1675": 8, - "1676": 8, - "1678": 8, - "1679": 5, - "1680": 5, - "1682": 3, - "1684": 5, - "1685": 261, - "1686": 5, - "1687": 5, - "1690": 3, - "1691": 3, - "1692": 3, - "1695": 0, - "1698": 2, - "1701": 0, - "1705": 38, - "1706": 38, - "1708": 38, - "1709": 48 - }, - "Branches": [ - { - "Line": 1629, - "Offset": 21, - "EndOffset": 23, - "Path": 0, - "Ordinal": 0, - "Hits": 48 - }, - { - "Line": 1629, - "Offset": 21, - "EndOffset": 37, - "Path": 1, - "Ordinal": 1, - "Hits": 48 - }, - { - "Line": 1634, - "Offset": 59, - "EndOffset": 61, - "Path": 0, - "Ordinal": 2, - "Hits": 5 - }, - { - "Line": 1636, - "Offset": 73, - "EndOffset": 75, - "Path": 0, - "Ordinal": 4, - "Hits": 5 - }, - { - "Line": 1636, - "Offset": 73, - "EndOffset": 83, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 1636, - "Offset": 88, - "EndOffset": 90, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 1636, - "Offset": 88, - "EndOffset": 118, - "Path": 1, - "Ordinal": 7, - "Hits": 5 - }, - { - "Line": 1634, - "Offset": 59, - "EndOffset": 158, - "Path": 1, - "Ordinal": 3, - "Hits": 48 - }, - { - "Line": 1647, - "Offset": 204, - "EndOffset": 209, - "Path": 0, - "Ordinal": 8, - "Hits": 10 - }, - { - "Line": 1650, - "Offset": 215, - "EndOffset": 217, - "Path": 0, - "Ordinal": 10, - "Hits": 0 - }, - { - "Line": 1650, - "Offset": 215, - "EndOffset": 248, - "Path": 1, - "Ordinal": 11, - "Hits": 10 - }, - { - "Line": 1668, - "Offset": 263, - "EndOffset": 265, - "Path": 0, - "Ordinal": 12, - "Hits": 8 - }, - { - "Line": 1668, - "Offset": 269, - "EndOffset": 271, - "Path": 0, - "Ordinal": 14, - "Hits": 8 - }, - { - "Line": 1668, - "Offset": 269, - "EndOffset": 282, - "Path": 1, - "Ordinal": 15, - "Hits": 0 - }, - { - "Line": 1668, - "Offset": 280, - "EndOffset": 282, - "Path": 0, - "Ordinal": 16, - "Hits": 0 - }, - { - "Line": 1668, - "Offset": 263, - "EndOffset": 297, - "Path": 1, - "Ordinal": 13, - "Hits": 10 - }, - { - "Line": 1668, - "Offset": 280, - "EndOffset": 297, - "Path": 1, - "Ordinal": 17, - "Hits": 10 - }, - { - "Line": 1668, - "Offset": 302, - "EndOffset": 304, - "Path": 0, - "Ordinal": 18, - "Hits": 0 - }, - { - "Line": 1668, - "Offset": 302, - "EndOffset": 314, - "Path": 1, - "Ordinal": 19, - "Hits": 10 - }, - { - "Line": 1674, - "Offset": 325, - "EndOffset": 327, - "Path": 0, - "Ordinal": 20, - "Hits": 8 - }, - { - "Line": 1678, - "Offset": 350, - "EndOffset": 352, - "Path": 0, - "Ordinal": 22, - "Hits": 7 - }, - { - "Line": 1678, - "Offset": 358, - "EndOffset": 360, - "Path": 0, - "Ordinal": 24, - "Hits": 5 - }, - { - "Line": 1678, - "Offset": 350, - "EndOffset": 374, - "Path": 1, - "Ordinal": 23, - "Hits": 3 - }, - { - "Line": 1678, - "Offset": 358, - "EndOffset": 374, - "Path": 1, - "Ordinal": 25, - "Hits": 3 - }, - { - "Line": 1678, - "Offset": 379, - "EndOffset": 381, - "Path": 0, - "Ordinal": 26, - "Hits": 5 - }, - { - "Line": 1678, - "Offset": 379, - "EndOffset": 399, - "Path": 1, - "Ordinal": 27, - "Hits": 3 - }, - { - "Line": 1674, - "Offset": 325, - "EndOffset": 400, - "Path": 1, - "Ordinal": 21, - "Hits": 5 - }, - { - "Line": 1687, - "Offset": 474, - "EndOffset": 478, - "Path": 0, - "Ordinal": 28, - "Hits": 2 - }, - { - "Line": 1687, - "Offset": 474, - "EndOffset": 485, - "Path": 1, - "Ordinal": 29, - "Hits": 3 - }, - { - "Line": 1690, - "Offset": 490, - "EndOffset": 492, - "Path": 0, - "Ordinal": 32, - "Hits": 3 - }, - { - "Line": 1690, - "Offset": 490, - "EndOffset": 507, - "Path": 1, - "Ordinal": 33, - "Hits": 0 - }, - { - "Line": 1690, - "Offset": 512, - "EndOffset": 514, - "Path": 0, - "Ordinal": 34, - "Hits": 3 - }, - { - "Line": 1690, - "Offset": 512, - "EndOffset": 521, - "Path": 1, - "Ordinal": 35, - "Hits": 0 - }, - { - "Line": 1687, - "Offset": 481, - "EndOffset": 548, - "Path": 1, - "Ordinal": 31, - "Hits": 2 - }, - { - "Line": 1687, - "Offset": 481, - "EndOffset": 566, - "Path": 0, - "Ordinal": 30, - "Hits": 0 - }, - { - "Line": 1647, - "Offset": 204, - "EndOffset": 593, - "Path": 1, - "Ordinal": 9, - "Hits": 38 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionParser::TryGenerateConversion(System.Linq.Expressions.Expression,System.Type,System.Linq.Expressions.Expression&)": { - "Lines": { - "1712": 9, - "1713": 9, - "1714": 9, - "1715": 0, - "1716": 0, - "1717": 0, - "1720": 9, - "1721": 2, - "1722": 2, - "1723": 0, - "1724": 0, - "1725": 0, - "1728": 2, - "1729": 2, - "1730": 2, - "1731": 2, - "1733": 0, - "1735": 7, - "1736": 6, - "1737": 6, - "1738": 6, - "1742": 1, - "1743": 0, - "1744": 0, - "1745": 0, - "1746": 0, - "1747": 0, - "1748": 0, - "1749": 0, - "1751": 0, - "1754": 1, - "1755": 1, - "1756": 0, - "1757": 0, - "1758": 0, - "1762": 1, - "1763": 1, - "1764": 1, - "1765": 1, - "1766": 1, - "1769": 0, - "1770": 0, - "1771": 9 - }, - "Branches": [ - { - "Line": 1714, - "Offset": 37, - "EndOffset": 39, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 1714, - "Offset": 37, - "EndOffset": 51, - "Path": 1, - "Ordinal": 1, - "Hits": 9 - }, - { - "Line": 1720, - "Offset": 62, - "EndOffset": 64, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - }, - { - "Line": 1720, - "Offset": 62, - "EndOffset": 82, - "Path": 1, - "Ordinal": 3, - "Hits": 7 - }, - { - "Line": 1720, - "Offset": 87, - "EndOffset": 92, - "Path": 0, - "Ordinal": 4, - "Hits": 2 - }, - { - "Line": 1722, - "Offset": 99, - "EndOffset": 101, - "Path": 0, - "Ordinal": 6, - "Hits": 2 - }, - { - "Line": 1722, - "Offset": 99, - "EndOffset": 114, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 1722, - "Offset": 112, - "EndOffset": 114, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 1722, - "Offset": 112, - "EndOffset": 138, - "Path": 1, - "Ordinal": 9, - "Hits": 2 - }, - { - "Line": 1722, - "Offset": 143, - "EndOffset": 145, - "Path": 0, - "Ordinal": 10, - "Hits": 0 - }, - { - "Line": 1722, - "Offset": 143, - "EndOffset": 168, - "Path": 1, - "Ordinal": 11, - "Hits": 2 - }, - { - "Line": 1728, - "Offset": 174, - "EndOffset": 176, - "Path": 0, - "Ordinal": 12, - "Hits": 0 - }, - { - "Line": 1728, - "Offset": 174, - "EndOffset": 184, - "Path": 1, - "Ordinal": 13, - "Hits": 2 - }, - { - "Line": 1728, - "Offset": 182, - "EndOffset": 184, - "Path": 0, - "Ordinal": 14, - "Hits": 2 - }, - { - "Line": 1728, - "Offset": 182, - "EndOffset": 197, - "Path": 1, - "Ordinal": 15, - "Hits": 0 - }, - { - "Line": 1728, - "Offset": 195, - "EndOffset": 197, - "Path": 0, - "Ordinal": 16, - "Hits": 0 - }, - { - "Line": 1728, - "Offset": 195, - "EndOffset": 210, - "Path": 1, - "Ordinal": 17, - "Hits": 2 - }, - { - "Line": 1728, - "Offset": 215, - "EndOffset": 217, - "Path": 0, - "Ordinal": 18, - "Hits": 2 - }, - { - "Line": 1728, - "Offset": 215, - "EndOffset": 240, - "Path": 1, - "Ordinal": 19, - "Hits": 0 - }, - { - "Line": 1720, - "Offset": 87, - "EndOffset": 241, - "Path": 1, - "Ordinal": 5, - "Hits": 7 - }, - { - "Line": 1735, - "Offset": 253, - "EndOffset": 255, - "Path": 0, - "Ordinal": 20, - "Hits": 1 - }, - { - "Line": 1735, - "Offset": 267, - "EndOffset": 269, - "Path": 0, - "Ordinal": 22, - "Hits": 1 - }, - { - "Line": 1735, - "Offset": 280, - "EndOffset": 282, - "Path": 0, - "Ordinal": 24, - "Hits": 1 - }, - { - "Line": 1735, - "Offset": 253, - "EndOffset": 300, - "Path": 1, - "Ordinal": 21, - "Hits": 6 - }, - { - "Line": 1735, - "Offset": 267, - "EndOffset": 300, - "Path": 1, - "Ordinal": 23, - "Hits": 6 - }, - { - "Line": 1735, - "Offset": 280, - "EndOffset": 300, - "Path": 1, - "Ordinal": 25, - "Hits": 6 - }, - { - "Line": 1735, - "Offset": 305, - "EndOffset": 307, - "Path": 0, - "Ordinal": 26, - "Hits": 6 - }, - { - "Line": 1735, - "Offset": 305, - "EndOffset": 330, - "Path": 1, - "Ordinal": 27, - "Hits": 1 - }, - { - "Line": 1742, - "Offset": 340, - "EndOffset": 342, - "Path": 0, - "Ordinal": 28, - "Hits": 0 - }, - { - "Line": 1742, - "Offset": 340, - "EndOffset": 361, - "Path": 1, - "Ordinal": 29, - "Hits": 1 - }, - { - "Line": 1742, - "Offset": 366, - "EndOffset": 368, - "Path": 0, - "Ordinal": 30, - "Hits": 0 - }, - { - "Line": 1745, - "Offset": 409, - "EndOffset": 411, - "Path": 0, - "Ordinal": 32, - "Hits": 0 - }, - { - "Line": 1745, - "Offset": 409, - "EndOffset": 445, - "Path": 1, - "Ordinal": 33, - "Hits": 0 - }, - { - "Line": 1742, - "Offset": 366, - "EndOffset": 446, - "Path": 1, - "Ordinal": 31, - "Hits": 1 - }, - { - "Line": 1755, - "Offset": 485, - "EndOffset": 487, - "Path": 0, - "Ordinal": 34, - "Hits": 0 - }, - { - "Line": 1755, - "Offset": 485, - "EndOffset": 507, - "Path": 1, - "Ordinal": 35, - "Hits": 1 - }, - { - "Line": 1763, - "Offset": 552, - "EndOffset": 554, - "Path": 0, - "Ordinal": 36, - "Hits": 1 - }, - { - "Line": 1763, - "Offset": 552, - "EndOffset": 570, - "Path": 1, - "Ordinal": 37, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseMemberAccess(System.Type,System.Linq.Expressions.Expression,System.String)": { - "Lines": { - "1774": 973, - "1775": 973, - "1778": 973, - "1779": 932, - "1780": 932, - "1781": 932, - "1784": 973, - "1785": 970, - "1786": 970, - "1787": 970, - "1788": 970, - "1791": 973, - "1792": 37, - "1793": 37, - "1796": 936, - "1797": 267, - "1798": 267, - "1800": 267, - "1801": 267, - "1803": 267, - "1804": 218, - "1805": 218, - "1806": 218, - "1807": 177, - "1808": 177, - "1810": 35, - "1813": 84, - "1814": 84, - "1817": 3, - "1820": 81, - "1821": 81, - "1822": 1, - "1823": 1, - "1827": 80, - "1828": 78, - "1829": 78, - "1830": 78, - "1832": 2, - "1833": 8, - "1834": 4, - "1835": 2, - "1836": 2, - "1838": 80, - "1841": 0, - "1845": 669, - "1846": 5, - "1847": 5, - "1856": 664, - "1857": 631, - "1858": 631, - "1862": 33, - "1863": 33, - "1865": 33, - "1866": 30, - "1867": 30, - "1868": 30, - "1869": 5, - "1870": 5, - "1872": 25, - "1875": 28, - "1876": 13, - "1878": 13, - "1887": 15, - "1888": 3, - "1889": 3, - "1892": 12, - "1893": 951 - }, - "Branches": [ - { - "Line": 1778, - "Offset": 26, - "EndOffset": 28, - "Path": 0, - "Ordinal": 0, - "Hits": 932 - }, - { - "Line": 1780, - "Offset": 30, - "EndOffset": 32, - "Path": 0, - "Ordinal": 2, - "Hits": 932 - }, - { - "Line": 1780, - "Offset": 30, - "EndOffset": 40, - "Path": 1, - "Ordinal": 3, - "Hits": 932 - }, - { - "Line": 1778, - "Offset": 26, - "EndOffset": 41, - "Path": 1, - "Ordinal": 1, - "Hits": 973 - }, - { - "Line": 1784, - "Offset": 49, - "EndOffset": 51, - "Path": 0, - "Ordinal": 4, - "Hits": 970 - }, - { - "Line": 1784, - "Offset": 49, - "EndOffset": 73, - "Path": 1, - "Ordinal": 5, - "Hits": 973 - }, - { - "Line": 1791, - "Offset": 91, - "EndOffset": 93, - "Path": 0, - "Ordinal": 6, - "Hits": 37 - }, - { - "Line": 1791, - "Offset": 100, - "EndOffset": 102, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 1791, - "Offset": 100, - "EndOffset": 106, - "Path": 1, - "Ordinal": 9, - "Hits": 37 - }, - { - "Line": 1791, - "Offset": 91, - "EndOffset": 119, - "Path": 1, - "Ordinal": 7, - "Hits": 936 - }, - { - "Line": 1791, - "Offset": 124, - "EndOffset": 126, - "Path": 0, - "Ordinal": 10, - "Hits": 37 - }, - { - "Line": 1791, - "Offset": 124, - "EndOffset": 141, - "Path": 1, - "Ordinal": 11, - "Hits": 936 - }, - { - "Line": 1796, - "Offset": 165, - "EndOffset": 170, - "Path": 0, - "Ordinal": 12, - "Hits": 267 - }, - { - "Line": 1801, - "Offset": 202, - "EndOffset": 204, - "Path": 0, - "Ordinal": 14, - "Hits": 13 - }, - { - "Line": 1801, - "Offset": 202, - "EndOffset": 221, - "Path": 1, - "Ordinal": 15, - "Hits": 254 - }, - { - "Line": 1803, - "Offset": 226, - "EndOffset": 228, - "Path": 0, - "Ordinal": 16, - "Hits": 239 - }, - { - "Line": 1803, - "Offset": 230, - "EndOffset": 232, - "Path": 0, - "Ordinal": 18, - "Hits": 238 - }, - { - "Line": 1803, - "Offset": 226, - "EndOffset": 252, - "Path": 1, - "Ordinal": 17, - "Hits": 29 - }, - { - "Line": 1803, - "Offset": 230, - "EndOffset": 252, - "Path": 1, - "Ordinal": 19, - "Hits": 29 - }, - { - "Line": 1803, - "Offset": 257, - "EndOffset": 259, - "Path": 0, - "Ordinal": 20, - "Hits": 218 - }, - { - "Line": 1806, - "Offset": 301, - "EndOffset": 303, - "Path": 0, - "Ordinal": 22, - "Hits": 177 - }, - { - "Line": 1806, - "Offset": 301, - "EndOffset": 313, - "Path": 1, - "Ordinal": 23, - "Hits": 35 - }, - { - "Line": 1803, - "Offset": 257, - "EndOffset": 314, - "Path": 1, - "Ordinal": 21, - "Hits": 84 - }, - { - "Line": 1813, - "Offset": 321, - "EndOffset": 323, - "Path": 0, - "Ordinal": 24, - "Hits": 49 - }, - { - "Line": 1813, - "Offset": 321, - "EndOffset": 336, - "Path": 1, - "Ordinal": 25, - "Hits": 84 - }, - { - "Line": 1814, - "Offset": 370, - "EndOffset": 374, - "Path": 0, - "Ordinal": 26, - "Hits": 81 - }, - { - "Line": 1814, - "Offset": 370, - "EndOffset": 384, - "Path": 1, - "Ordinal": 27, - "Hits": 3 - }, - { - "Line": 1814, - "Offset": 377, - "EndOffset": 415, - "Path": 1, - "Ordinal": 29, - "Hits": 81 - }, - { - "Line": 1821, - "Offset": 449, - "EndOffset": 451, - "Path": 0, - "Ordinal": 30, - "Hits": 1 - }, - { - "Line": 1821, - "Offset": 449, - "EndOffset": 485, - "Path": 1, - "Ordinal": 31, - "Hits": 80 - }, - { - "Line": 1827, - "Offset": 499, - "EndOffset": 501, - "Path": 0, - "Ordinal": 32, - "Hits": 78 - }, - { - "Line": 1827, - "Offset": 499, - "EndOffset": 509, - "Path": 1, - "Ordinal": 33, - "Hits": 2 - }, - { - "Line": 1814, - "Offset": 377, - "EndOffset": 616, - "Path": 0, - "Ordinal": 28, - "Hits": 0 - }, - { - "Line": 1796, - "Offset": 165, - "EndOffset": 647, - "Path": 1, - "Ordinal": 13, - "Hits": 669 - }, - { - "Line": 1845, - "Offset": 660, - "EndOffset": 662, - "Path": 0, - "Ordinal": 34, - "Hits": 5 - }, - { - "Line": 1845, - "Offset": 660, - "EndOffset": 676, - "Path": 1, - "Ordinal": 35, - "Hits": 664 - }, - { - "Line": 1856, - "Offset": 691, - "EndOffset": 693, - "Path": 0, - "Ordinal": 36, - "Hits": 631 - }, - { - "Line": 1856, - "Offset": 691, - "EndOffset": 702, - "Path": 1, - "Ordinal": 37, - "Hits": 33 - }, - { - "Line": 1862, - "Offset": 713, - "EndOffset": 715, - "Path": 0, - "Ordinal": 38, - "Hits": 33 - }, - { - "Line": 1862, - "Offset": 726, - "EndOffset": 728, - "Path": 0, - "Ordinal": 40, - "Hits": 33 - }, - { - "Line": 1862, - "Offset": 726, - "EndOffset": 734, - "Path": 1, - "Ordinal": 41, - "Hits": 0 - }, - { - "Line": 1862, - "Offset": 713, - "EndOffset": 737, - "Path": 1, - "Ordinal": 39, - "Hits": 0 - }, - { - "Line": 1865, - "Offset": 759, - "EndOffset": 761, - "Path": 0, - "Ordinal": 42, - "Hits": 30 - }, - { - "Line": 1867, - "Offset": 763, - "EndOffset": 765, - "Path": 0, - "Ordinal": 44, - "Hits": 0 - }, - { - "Line": 1867, - "Offset": 763, - "EndOffset": 768, - "Path": 1, - "Ordinal": 45, - "Hits": 30 - }, - { - "Line": 1868, - "Offset": 817, - "EndOffset": 819, - "Path": 0, - "Ordinal": 46, - "Hits": 5 - }, - { - "Line": 1868, - "Offset": 817, - "EndOffset": 850, - "Path": 1, - "Ordinal": 47, - "Hits": 25 - }, - { - "Line": 1865, - "Offset": 759, - "EndOffset": 851, - "Path": 1, - "Ordinal": 43, - "Hits": 28 - }, - { - "Line": 1875, - "Offset": 871, - "EndOffset": 873, - "Path": 0, - "Ordinal": 48, - "Hits": 13 - }, - { - "Line": 1875, - "Offset": 871, - "EndOffset": 892, - "Path": 1, - "Ordinal": 49, - "Hits": 15 - }, - { - "Line": 1887, - "Offset": 914, - "EndOffset": 918, - "Path": 0, - "Ordinal": 50, - "Hits": 15 - }, - { - "Line": 1887, - "Offset": 914, - "EndOffset": 926, - "Path": 1, - "Ordinal": 51, - "Hits": 3 - }, - { - "Line": 1887, - "Offset": 922, - "EndOffset": 926, - "Path": 1, - "Ordinal": 53, - "Hits": 3 - }, - { - "Line": 1887, - "Offset": 922, - "EndOffset": 931, - "Path": 0, - "Ordinal": 52, - "Hits": 12 - }, - { - "Line": 1887, - "Offset": 940, - "EndOffset": 942, - "Path": 0, - "Ordinal": 54, - "Hits": 3 - }, - { - "Line": 1887, - "Offset": 940, - "EndOffset": 954, - "Path": 1, - "Ordinal": 55, - "Hits": 12 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionParser::TryFindPropertyOrField(System.Type,System.String,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression&)": { - "Lines": { - "1896": 664, - "1897": 664, - "1898": 664, - "1901": 625, - "1902": 625, - "1905": 6, - "1906": 6, - "1909": 33, - "1910": 33, - "1912": 664 - }, - "Branches": [ - { - "Line": 1898, - "Offset": 28, - "EndOffset": 30, - "Path": 0, - "Ordinal": 0, - "Hits": 39 - }, - { - "Line": 1898, - "Offset": 28, - "EndOffset": 44, - "Path": 1, - "Ordinal": 1, - "Hits": 625 - }, - { - "Line": 1898, - "Offset": 38, - "EndOffset": 61, - "Path": 1, - "Ordinal": 3, - "Hits": 6 - }, - { - "Line": 1898, - "Offset": 38, - "EndOffset": 76, - "Path": 0, - "Ordinal": 2, - "Hits": 33 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::CallMethod(System.Linq.Expressions.Expression,System.Reflection.MethodInfo,System.Linq.Expressions.Expression[])": { - "Lines": { - "1915": 80, - "1919": 82, - "1920": 80, - "1921": 80, - "1925": 0, - "1928": 0, - "1930": 0, - "1931": 0, - "1932": 0, - "1933": 0, - "1935": 0, - "1937": 0, - "1938": 0, - "1939": 0, - "1941": 0, - "1942": 0, - "1943": 0, - "1944": 0, - "1947": 0, - "1950": 0, - "1953": 0, - "1956": 0, - "1957": 0, - "1958": 0, - "1959": 0, - "1960": 0, - "1963": 0, - "1965": 80 - }, - "Branches": [ - { - "Line": 1919, - "Offset": 50, - "EndOffset": 52, - "Path": 0, - "Ordinal": 0, - "Hits": 80 - }, - { - "Line": 1919, - "Offset": 50, - "EndOffset": 68, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 1930, - "Offset": 193, - "EndOffset": 89, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 1932, - "Offset": 108, - "EndOffset": 110, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 1932, - "Offset": 108, - "EndOffset": 119, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 1932, - "Offset": 124, - "EndOffset": 126, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 1932, - "Offset": 124, - "EndOffset": 169, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 1930, - "Offset": 193, - "EndOffset": 195, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseAsLambda(System.String)": { - "Lines": { - "1968": 37, - "1970": 37, - "1971": 37, - "1974": 37, - "1975": 34, - "1976": 34, - "1977": 34, - "1980": 37, - "1982": 37, - "1983": 37, - "1986": 37, - "1987": 37, - "1989": 37, - "1990": 37 - }, - "Branches": [ - { - "Line": 1974, - "Offset": 45, - "EndOffset": 47, - "Path": 0, - "Ordinal": 0, - "Hits": 34 - }, - { - "Line": 1974, - "Offset": 45, - "EndOffset": 57, - "Path": 1, - "Ordinal": 1, - "Hits": 37 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseAsEnumOrNestedClass(System.String)": { - "Lines": { - "1993": 3, - "1994": 3, - "1996": 13, - "1997": 10, - "1998": 10, - "1999": 10, - "2000": 10, - "2001": 10, - "2002": 10, - "2004": 10, - "2005": 10, - "2006": 10, - "2007": 10, - "2008": 10, - "2009": 10, - "2011": 3, - "2012": 3, - "2013": 3, - "2014": 0, - "2015": 0, - "2018": 3, - "2020": 3, - "2021": 3, - "2022": 0, - "2023": 0, - "2024": 0, - "2025": 0, - "2028": 0, - "2031": 3, - "2032": 0, - "2033": 0, - "2034": 0, - "2035": 0, - "2038": 0, - "2041": 3, - "2042": 3 - }, - "Branches": [ - { - "Line": 1996, - "Offset": 219, - "EndOffset": 20, - "Path": 1, - "Ordinal": 13, - "Hits": 10 - }, - { - "Line": 1998, - "Offset": 43, - "EndOffset": 47, - "Path": 0, - "Ordinal": 0, - "Hits": 10 - }, - { - "Line": 1998, - "Offset": 43, - "EndOffset": 55, - "Path": 1, - "Ordinal": 1, - "Hits": 10 - }, - { - "Line": 1998, - "Offset": 51, - "EndOffset": 55, - "Path": 1, - "Ordinal": 3, - "Hits": 10 - }, - { - "Line": 1998, - "Offset": 51, - "EndOffset": 60, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 1998, - "Offset": 69, - "EndOffset": 71, - "Path": 0, - "Ordinal": 4, - "Hits": 10 - }, - { - "Line": 1998, - "Offset": 69, - "EndOffset": 108, - "Path": 1, - "Ordinal": 5, - "Hits": 10 - }, - { - "Line": 2004, - "Offset": 131, - "EndOffset": 133, - "Path": 0, - "Ordinal": 6, - "Hits": 10 - }, - { - "Line": 2004, - "Offset": 131, - "EndOffset": 170, - "Path": 1, - "Ordinal": 7, - "Hits": 10 - }, - { - "Line": 1996, - "Offset": 193, - "EndOffset": 197, - "Path": 0, - "Ordinal": 8, - "Hits": 13 - }, - { - "Line": 1996, - "Offset": 193, - "EndOffset": 205, - "Path": 1, - "Ordinal": 9, - "Hits": 10 - }, - { - "Line": 1996, - "Offset": 201, - "EndOffset": 205, - "Path": 1, - "Ordinal": 11, - "Hits": 10 - }, - { - "Line": 1996, - "Offset": 201, - "EndOffset": 210, - "Path": 0, - "Ordinal": 10, - "Hits": 3 - }, - { - "Line": 1996, - "Offset": 219, - "EndOffset": 224, - "Path": 0, - "Ordinal": 12, - "Hits": 3 - }, - { - "Line": 2013, - "Offset": 275, - "EndOffset": 277, - "Path": 0, - "Ordinal": 14, - "Hits": 0 - }, - { - "Line": 2013, - "Offset": 275, - "EndOffset": 315, - "Path": 1, - "Ordinal": 15, - "Hits": 3 - }, - { - "Line": 2021, - "Offset": 339, - "EndOffset": 341, - "Path": 0, - "Ordinal": 16, - "Hits": 0 - }, - { - "Line": 2023, - "Offset": 347, - "EndOffset": 349, - "Path": 0, - "Ordinal": 18, - "Hits": 0 - }, - { - "Line": 2023, - "Offset": 347, - "EndOffset": 387, - "Path": 1, - "Ordinal": 19, - "Hits": 0 - }, - { - "Line": 2021, - "Offset": 339, - "EndOffset": 424, - "Path": 1, - "Ordinal": 17, - "Hits": 3 - }, - { - "Line": 2031, - "Offset": 429, - "EndOffset": 431, - "Path": 0, - "Ordinal": 20, - "Hits": 0 - }, - { - "Line": 2033, - "Offset": 446, - "EndOffset": 448, - "Path": 0, - "Ordinal": 22, - "Hits": 0 - }, - { - "Line": 2033, - "Offset": 446, - "EndOffset": 460, - "Path": 1, - "Ordinal": 23, - "Hits": 0 - }, - { - "Line": 2031, - "Offset": 429, - "EndOffset": 502, - "Path": 1, - "Ordinal": 21, - "Hits": 3 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionParser::TryParseEnumerable(System.Linq.Expressions.Expression,System.Type,System.String,System.Int32,System.Type,System.Linq.Expressions.Expression[]&,System.Linq.Expressions.Expression&)": { - "Lines": { - "2045": 218, - "2047": 218, - "2050": 218, - "2053": 218, - "2056": 218, - "2058": 218, - "2059": 26, - "2061": 26, - "2062": 26, - "2064": 192, - "2066": 192, - "2067": 192, - "2069": 218, - "2072": 218, - "2073": 218, - "2075": 218, - "2076": 218, - "2077": 35, - "2079": 35, - "2080": 35, - "2083": 183, - "2084": 5, - "2085": 5, - "2086": 5, - "2087": 5, - "2091": 178, - "2093": 178, - "2094": 178, - "2095": 36, - "2096": 36, - "2097": 36, - "2100": 178, - "2101": 1, - "2102": 1, - "2103": 1, - "2107": 177, - "2108": 14, - "2109": 14, - "2110": 2, - "2111": 2, - "2114": 12, - "2115": 8, - "2116": 8, - "2117": 163, - "2118": 49, - "2119": 49, - "2120": 1, - "2121": 1, - "2122": 1, - "2123": 48, - "2124": 46, - "2125": 46, - "2126": 46, - "2128": 2, - "2129": 2, - "2130": 2, - "2131": 49, - "2132": 114, - "2133": 3, - "2134": 3, - "2135": 3, - "2136": 30, - "2137": 3, - "2138": 3, - "2139": 3, - "2141": 111, - "2142": 111, - "2143": 111, - "2145": 171, - "2146": 49, - "2147": 49, - "2148": 49, - "2150": 122, - "2151": 122, - "2152": 8, - "2153": 8, - "2154": 8, - "2156": 114, - "2157": 114, - "2158": 1, - "2159": 1, - "2160": 1, - "2162": 113, - "2163": 113, - "2164": 113, - "2165": 114, - "2166": 122, - "2168": 171, - "2169": 171, - "2170": 212 - }, - "Branches": [ - { - "Line": 2058, - "Offset": 98, - "EndOffset": 100, - "Path": 0, - "Ordinal": 0, - "Hits": 26 - }, - { - "Line": 2058, - "Offset": 98, - "EndOffset": 111, - "Path": 1, - "Ordinal": 1, - "Hits": 192 - }, - { - "Line": 2075, - "Offset": 146, - "EndOffset": 148, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 2075, - "Offset": 146, - "EndOffset": 155, - "Path": 1, - "Ordinal": 3, - "Hits": 218 - }, - { - "Line": 2076, - "Offset": 172, - "EndOffset": 174, - "Path": 0, - "Ordinal": 4, - "Hits": 37 - }, - { - "Line": 2076, - "Offset": 172, - "EndOffset": 193, - "Path": 1, - "Ordinal": 5, - "Hits": 181 - }, - { - "Line": 2076, - "Offset": 198, - "EndOffset": 200, - "Path": 0, - "Ordinal": 6, - "Hits": 35 - }, - { - "Line": 2076, - "Offset": 198, - "EndOffset": 213, - "Path": 1, - "Ordinal": 7, - "Hits": 183 - }, - { - "Line": 2083, - "Offset": 221, - "EndOffset": 223, - "Path": 0, - "Ordinal": 8, - "Hits": 183 - }, - { - "Line": 2083, - "Offset": 230, - "EndOffset": 232, - "Path": 0, - "Ordinal": 10, - "Hits": 5 - }, - { - "Line": 2083, - "Offset": 221, - "EndOffset": 249, - "Path": 1, - "Ordinal": 9, - "Hits": 178 - }, - { - "Line": 2083, - "Offset": 230, - "EndOffset": 249, - "Path": 1, - "Ordinal": 11, - "Hits": 178 - }, - { - "Line": 2083, - "Offset": 254, - "EndOffset": 256, - "Path": 0, - "Ordinal": 12, - "Hits": 5 - }, - { - "Line": 2083, - "Offset": 254, - "EndOffset": 289, - "Path": 1, - "Ordinal": 13, - "Hits": 178 - }, - { - "Line": 2094, - "Offset": 335, - "EndOffset": 337, - "Path": 0, - "Ordinal": 14, - "Hits": 37 - }, - { - "Line": 2094, - "Offset": 335, - "EndOffset": 362, - "Path": 1, - "Ordinal": 15, - "Hits": 141 - }, - { - "Line": 2094, - "Offset": 367, - "EndOffset": 369, - "Path": 0, - "Ordinal": 16, - "Hits": 36 - }, - { - "Line": 2094, - "Offset": 367, - "EndOffset": 383, - "Path": 1, - "Ordinal": 17, - "Hits": 178 - }, - { - "Line": 2100, - "Offset": 394, - "EndOffset": 396, - "Path": 0, - "Ordinal": 18, - "Hits": 10 - }, - { - "Line": 2100, - "Offset": 400, - "EndOffset": 402, - "Path": 0, - "Ordinal": 20, - "Hits": 1 - }, - { - "Line": 2100, - "Offset": 394, - "EndOffset": 420, - "Path": 1, - "Ordinal": 19, - "Hits": 177 - }, - { - "Line": 2100, - "Offset": 400, - "EndOffset": 420, - "Path": 1, - "Ordinal": 21, - "Hits": 177 - }, - { - "Line": 2100, - "Offset": 425, - "EndOffset": 427, - "Path": 0, - "Ordinal": 22, - "Hits": 1 - }, - { - "Line": 2100, - "Offset": 425, - "EndOffset": 457, - "Path": 1, - "Ordinal": 23, - "Hits": 177 - }, - { - "Line": 2107, - "Offset": 489, - "EndOffset": 491, - "Path": 0, - "Ordinal": 24, - "Hits": 14 - }, - { - "Line": 2109, - "Offset": 507, - "EndOffset": 509, - "Path": 0, - "Ordinal": 26, - "Hits": 2 - }, - { - "Line": 2109, - "Offset": 507, - "EndOffset": 547, - "Path": 1, - "Ordinal": 27, - "Hits": 12 - }, - { - "Line": 2107, - "Offset": 489, - "EndOffset": 595, - "Path": 1, - "Ordinal": 25, - "Hits": 163 - }, - { - "Line": 2117, - "Offset": 675, - "EndOffset": 677, - "Path": 0, - "Ordinal": 28, - "Hits": 49 - }, - { - "Line": 2119, - "Offset": 690, - "EndOffset": 692, - "Path": 0, - "Ordinal": 30, - "Hits": 1 - }, - { - "Line": 2119, - "Offset": 690, - "EndOffset": 734, - "Path": 1, - "Ordinal": 31, - "Hits": 48 - }, - { - "Line": 2123, - "Offset": 746, - "EndOffset": 748, - "Path": 0, - "Ordinal": 32, - "Hits": 46 - }, - { - "Line": 2123, - "Offset": 746, - "EndOffset": 777, - "Path": 1, - "Ordinal": 33, - "Hits": 2 - }, - { - "Line": 2117, - "Offset": 675, - "EndOffset": 797, - "Path": 1, - "Ordinal": 29, - "Hits": 114 - }, - { - "Line": 2132, - "Offset": 812, - "EndOffset": 817, - "Path": 0, - "Ordinal": 34, - "Hits": 3 - }, - { - "Line": 2132, - "Offset": 812, - "EndOffset": 951, - "Path": 1, - "Ordinal": 35, - "Hits": 111 - }, - { - "Line": 2145, - "Offset": 976, - "EndOffset": 978, - "Path": 0, - "Ordinal": 36, - "Hits": 49 - }, - { - "Line": 2145, - "Offset": 976, - "EndOffset": 998, - "Path": 1, - "Ordinal": 37, - "Hits": 122 - }, - { - "Line": 2151, - "Offset": 1088, - "EndOffset": 1090, - "Path": 0, - "Ordinal": 38, - "Hits": 8 - }, - { - "Line": 2151, - "Offset": 1088, - "EndOffset": 1115, - "Path": 1, - "Ordinal": 39, - "Hits": 114 - }, - { - "Line": 2157, - "Offset": 1128, - "EndOffset": 1130, - "Path": 0, - "Ordinal": 40, - "Hits": 1 - }, - { - "Line": 2157, - "Offset": 1128, - "EndOffset": 1193, - "Path": 1, - "Ordinal": 41, - "Hits": 113 - } - ] - }, - "System.Type System.Linq.Dynamic.Core.Parser.ExpressionParser::ResolveTypeFromArgumentExpression(System.String,System.Linq.Expressions.Expression,System.Nullable`1)": { - "Lines": { - "2173": 31, - "2174": 31, - "2176": 31, - "2179": 30, - "2182": 1, - "2183": 1, - "2184": 1, - "2187": 0, - "2190": 0, - "2191": 27 - }, - "Branches": [ - { - "Line": 2174, - "Offset": 8, - "EndOffset": 10, - "Path": 0, - "Ordinal": 0, - "Hits": 19 - }, - { - "Line": 2174, - "Offset": 18, - "EndOffset": 20, - "Path": 0, - "Ordinal": 2, - "Hits": 7 - }, - { - "Line": 2174, - "Offset": 18, - "EndOffset": 27, - "Path": 1, - "Ordinal": 3, - "Hits": 12 - }, - { - "Line": 2174, - "Offset": 8, - "EndOffset": 34, - "Path": 1, - "Ordinal": 1, - "Hits": 12 - }, - { - "Line": 2176, - "Offset": 56, - "EndOffset": 58, - "Path": 0, - "Ordinal": 4, - "Hits": 1 - }, - { - "Line": 2176, - "Offset": 56, - "EndOffset": 73, - "Path": 1, - "Ordinal": 5, - "Hits": 30 - }, - { - "Line": 2176, - "Offset": 67, - "EndOffset": 88, - "Path": 1, - "Ordinal": 7, - "Hits": 1 - }, - { - "Line": 2182, - "Offset": 106, - "EndOffset": 108, - "Path": 0, - "Ordinal": 8, - "Hits": 1 - }, - { - "Line": 2176, - "Offset": 67, - "EndOffset": 124, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 2182, - "Offset": 106, - "EndOffset": 124, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - } - ] - }, - "System.Type System.Linq.Dynamic.Core.Parser.ExpressionParser::ResolveTypeFromExpressionValue(System.String,System.Linq.Expressions.ConstantExpression,System.String)": { - "Lines": { - "2194": 31, - "2195": 31, - "2198": 23, - "2201": 6, - "2204": 2, - "2206": 27 - }, - "Branches": [ - { - "Line": 2195, - "Offset": 18, - "EndOffset": 20, - "Path": 0, - "Ordinal": 0, - "Hits": 8 - }, - { - "Line": 2195, - "Offset": 18, - "EndOffset": 34, - "Path": 1, - "Ordinal": 1, - "Hits": 23 - }, - { - "Line": 2195, - "Offset": 28, - "EndOffset": 47, - "Path": 1, - "Ordinal": 3, - "Hits": 6 - }, - { - "Line": 2195, - "Offset": 28, - "EndOffset": 52, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - } - ] - }, - "System.Type System.Linq.Dynamic.Core.Parser.ExpressionParser::ResolveTypeStringFromArgument(System.String)": { - "Lines": { - "2209": 23, - "2210": 23, - "2211": 23, - "2212": 3, - "2213": 3, - "2214": 3, - "2215": 3, - "2217": 23, - "2218": 23, - "2219": 2, - "2220": 2, - "2223": 21, - "2224": 21 - }, - "Branches": [ - { - "Line": 2211, - "Offset": 16, - "EndOffset": 18, - "Path": 0, - "Ordinal": 0, - "Hits": 3 - }, - { - "Line": 2211, - "Offset": 16, - "EndOffset": 32, - "Path": 1, - "Ordinal": 1, - "Hits": 23 - }, - { - "Line": 2218, - "Offset": 88, - "EndOffset": 90, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - }, - { - "Line": 2218, - "Offset": 88, - "EndOffset": 128, - "Path": 1, - "Ordinal": 3, - "Hits": 21 - }, - { - "Line": 2223, - "Offset": 129, - "EndOffset": 131, - "Path": 0, - "Ordinal": 4, - "Hits": 18 - }, - { - "Line": 2223, - "Offset": 129, - "EndOffset": 134, - "Path": 1, - "Ordinal": 5, - "Hits": 3 - } - ] - }, - "System.Linq.Expressions.Expression[] System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseArgumentList()": { - "Lines": { - "2227": 312, - "2228": 312, - "2229": 312, - "2231": 312, - "2233": 312, - "2234": 312, - "2236": 312, - "2237": 312 - }, - "Branches": [ - { - "Line": 2231, - "Offset": 50, - "EndOffset": 52, - "Path": 0, - "Ordinal": 0, - "Hits": 58 - }, - { - "Line": 2231, - "Offset": 50, - "EndOffset": 60, - "Path": 1, - "Ordinal": 1, - "Hits": 254 - } - ] - }, - "System.Linq.Expressions.Expression[] System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseArguments()": { - "Lines": { - "2240": 254, - "2241": 254, - "2243": 318, - "2244": 318, - "2245": 318, - "2247": 318, - "2249": 318, - "2251": 318, - "2252": 254, - "2253": 254, - "2256": 64, - "2257": 64, - "2259": 254, - "2260": 254 - }, - "Branches": [ - { - "Line": 2251, - "Offset": 64, - "EndOffset": 66, - "Path": 0, - "Ordinal": 0, - "Hits": 254 - }, - { - "Line": 2251, - "Offset": 64, - "EndOffset": 69, - "Path": 1, - "Ordinal": 1, - "Hits": 64 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseElementAccess(System.Linq.Expressions.Expression)": { - "Lines": { - "2263": 0, - "2264": 0, - "2265": 0, - "2266": 0, - "2268": 0, - "2269": 0, - "2270": 0, - "2272": 0, - "2273": 0, - "2274": 0, - "2275": 0, - "2276": 0, - "2279": 0, - "2280": 0, - "2281": 0, - "2282": 0, - "2285": 0, - "2288": 0, - "2291": 0, - "2292": 0, - "2295": 0, - "2296": 0, - "2298": 0, - "2299": 0, - "2300": 0, - "2301": 0, - "2302": 0, - "2304": 0, - "2307": 0, - "2309": 0 - }, - "Branches": [ - { - "Line": 2272, - "Offset": 100, - "EndOffset": 105, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 2274, - "Offset": 118, - "EndOffset": 120, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 2274, - "Offset": 118, - "EndOffset": 131, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 2274, - "Offset": 136, - "EndOffset": 138, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 2274, - "Offset": 136, - "EndOffset": 156, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 2280, - "Offset": 198, - "EndOffset": 200, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 2280, - "Offset": 198, - "EndOffset": 218, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 2272, - "Offset": 100, - "EndOffset": 233, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 2288, - "Offset": 261, - "EndOffset": 265, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 2288, - "Offset": 261, - "EndOffset": 272, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 2288, - "Offset": 268, - "EndOffset": 304, - "Path": 1, - "Ordinal": 11, - "Hits": 0 - }, - { - "Line": 2299, - "Offset": 354, - "EndOffset": 356, - "Path": 0, - "Ordinal": 12, - "Hits": 0 - }, - { - "Line": 2299, - "Offset": 354, - "EndOffset": 369, - "Path": 1, - "Ordinal": 13, - "Hits": 0 - }, - { - "Line": 2288, - "Offset": 268, - "EndOffset": 392, - "Path": 0, - "Ordinal": 10, - "Hits": 0 - } - ] - }, - "System.Type System.Linq.Dynamic.Core.Parser.ExpressionParser::ToNullableType(System.Type)": { - "Lines": { - "2312": 4, - "2313": 4, - "2315": 4, - "2316": 0, - "2317": 0, - "2320": 4, - "2321": 4 - }, - "Branches": [ - { - "Line": 2315, - "Offset": 24, - "EndOffset": 26, - "Path": 0, - "Ordinal": 0, - "Hits": 4 - }, - { - "Line": 2315, - "Offset": 24, - "EndOffset": 34, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 2315, - "Offset": 37, - "EndOffset": 39, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 2315, - "Offset": 37, - "EndOffset": 67, - "Path": 1, - "Ordinal": 3, - "Hits": 4 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionParser::TryGetMemberName(System.Linq.Expressions.Expression,System.String&)": { - "Lines": { - "2324": 35, - "2325": 35, - "2326": 35, - "2327": 0, - "2328": 0, - "2329": 0, - "2331": 35, - "2332": 35, - "2333": 35, - "2334": 35, - "2345": 0, - "2346": 0, - "2347": 35 - }, - "Branches": [ - { - "Line": 2326, - "Offset": 9, - "EndOffset": 11, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 2326, - "Offset": 9, - "EndOffset": 22, - "Path": 1, - "Ordinal": 1, - "Hits": 35 - }, - { - "Line": 2326, - "Offset": 25, - "EndOffset": 27, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 2328, - "Offset": 35, - "EndOffset": 37, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 2328, - "Offset": 35, - "EndOffset": 41, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 2326, - "Offset": 25, - "EndOffset": 53, - "Path": 1, - "Ordinal": 3, - "Hits": 35 - }, - { - "Line": 2331, - "Offset": 59, - "EndOffset": 61, - "Path": 0, - "Ordinal": 6, - "Hits": 35 - }, - { - "Line": 2331, - "Offset": 59, - "EndOffset": 79, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.ExpressionParser::CheckAndPromoteOperand(System.Type,System.String,System.Linq.Expressions.Expression&,System.Int32)": { - "Lines": { - "2350": 0, - "2351": 0, - "2353": 0, - "2354": 0, - "2355": 0, - "2358": 0, - "2359": 0 - }, - "Branches": [ - { - "Line": 2353, - "Offset": 39, - "EndOffset": 41, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 2353, - "Offset": 39, - "EndOffset": 53, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionParser::TryGetOverloadedEqualityOperator(System.Linq.Dynamic.Core.Tokenizer.TokenId,System.Linq.Expressions.Expression&,System.Linq.Expressions.Expression&,System.Linq.Expressions.Expression[]&)": { - "Lines": { - "2362": 89, - "2363": 89, - "2364": 21, - "2366": 21, - "2367": 21, - "2370": 68, - "2371": 14, - "2373": 14, - "2374": 14, - "2377": 54, - "2378": 89 - }, - "Branches": [ - { - "Line": 2363, - "Offset": 4, - "EndOffset": 8, - "Path": 0, - "Ordinal": 0, - "Hits": 81 - }, - { - "Line": 2363, - "Offset": 4, - "EndOffset": 15, - "Path": 1, - "Ordinal": 1, - "Hits": 21 - }, - { - "Line": 2363, - "Offset": 11, - "EndOffset": 15, - "Path": 1, - "Ordinal": 3, - "Hits": 21 - }, - { - "Line": 2363, - "Offset": 11, - "EndOffset": 19, - "Path": 0, - "Ordinal": 2, - "Hits": 68 - }, - { - "Line": 2363, - "Offset": 24, - "EndOffset": 26, - "Path": 0, - "Ordinal": 4, - "Hits": 21 - }, - { - "Line": 2366, - "Offset": 54, - "EndOffset": 56, - "Path": 0, - "Ordinal": 6, - "Hits": 21 - }, - { - "Line": 2366, - "Offset": 54, - "EndOffset": 85, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 2363, - "Offset": 24, - "EndOffset": 89, - "Path": 1, - "Ordinal": 5, - "Hits": 68 - }, - { - "Line": 2370, - "Offset": 92, - "EndOffset": 96, - "Path": 0, - "Ordinal": 8, - "Hits": 54 - }, - { - "Line": 2370, - "Offset": 92, - "EndOffset": 103, - "Path": 1, - "Ordinal": 9, - "Hits": 14 - }, - { - "Line": 2370, - "Offset": 99, - "EndOffset": 103, - "Path": 1, - "Ordinal": 11, - "Hits": 14 - }, - { - "Line": 2370, - "Offset": 99, - "EndOffset": 107, - "Path": 0, - "Ordinal": 10, - "Hits": 54 - }, - { - "Line": 2370, - "Offset": 112, - "EndOffset": 114, - "Path": 0, - "Ordinal": 12, - "Hits": 14 - }, - { - "Line": 2373, - "Offset": 142, - "EndOffset": 144, - "Path": 0, - "Ordinal": 14, - "Hits": 14 - }, - { - "Line": 2373, - "Offset": 142, - "EndOffset": 173, - "Path": 1, - "Ordinal": 15, - "Hits": 0 - }, - { - "Line": 2370, - "Offset": 112, - "EndOffset": 177, - "Path": 1, - "Ordinal": 13, - "Hits": 54 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionParser::TryGetOverloadedImplicitOperator(System.Linq.Dynamic.Core.Tokenizer.TokenId,System.Linq.Expressions.Expression&,System.Linq.Expressions.Expression&)": { - "Lines": { - "2381": 12, - "2383": 12, - "2384": 6, - "2385": 6, - "2388": 6, - "2389": 6, - "2392": 6, - "2393": 6, - "2394": 6, - "2395": 6, - "2396": 6, - "2397": 6, - "2398": 6, - "2399": 6, - "2400": 6, - "2403": 6, - "2404": 2, - "2405": 2, - "2406": 2, - "2407": 2, - "2408": 2, - "2409": 2, - "2410": 2, - "2411": 2, - "2413": 6, - "2414": 12 - }, - "Branches": [ - { - "Line": 2383, - "Offset": 4, - "EndOffset": 6, - "Path": 0, - "Ordinal": 0, - "Hits": 6 - }, - { - "Line": 2383, - "Offset": 8, - "EndOffset": 12, - "Path": 0, - "Ordinal": 2, - "Hits": 6 - }, - { - "Line": 2383, - "Offset": 4, - "EndOffset": 19, - "Path": 1, - "Ordinal": 1, - "Hits": 6 - }, - { - "Line": 2383, - "Offset": 22, - "EndOffset": 26, - "Path": 0, - "Ordinal": 6, - "Hits": 3 - }, - { - "Line": 2383, - "Offset": 8, - "EndOffset": 33, - "Path": 1, - "Ordinal": 3, - "Hits": 6 - }, - { - "Line": 2383, - "Offset": 15, - "EndOffset": 33, - "Path": 1, - "Ordinal": 5, - "Hits": 6 - }, - { - "Line": 2383, - "Offset": 22, - "EndOffset": 33, - "Path": 1, - "Ordinal": 7, - "Hits": 6 - }, - { - "Line": 2383, - "Offset": 29, - "EndOffset": 33, - "Path": 1, - "Ordinal": 9, - "Hits": 6 - }, - { - "Line": 2383, - "Offset": 15, - "EndOffset": 37, - "Path": 0, - "Ordinal": 4, - "Hits": 6 - }, - { - "Line": 2383, - "Offset": 29, - "EndOffset": 37, - "Path": 0, - "Ordinal": 8, - "Hits": 6 - }, - { - "Line": 2383, - "Offset": 45, - "EndOffset": 47, - "Path": 0, - "Ordinal": 10, - "Hits": 6 - }, - { - "Line": 2383, - "Offset": 45, - "EndOffset": 56, - "Path": 1, - "Ordinal": 11, - "Hits": 6 - }, - { - "Line": 2392, - "Offset": 86, - "EndOffset": 88, - "Path": 0, - "Ordinal": 12, - "Hits": 6 - }, - { - "Line": 2395, - "Offset": 133, - "EndOffset": 135, - "Path": 0, - "Ordinal": 14, - "Hits": 6 - }, - { - "Line": 2395, - "Offset": 146, - "EndOffset": 148, - "Path": 0, - "Ordinal": 16, - "Hits": 6 - }, - { - "Line": 2395, - "Offset": 133, - "EndOffset": 172, - "Path": 1, - "Ordinal": 15, - "Hits": 0 - }, - { - "Line": 2395, - "Offset": 146, - "EndOffset": 172, - "Path": 1, - "Ordinal": 17, - "Hits": 0 - }, - { - "Line": 2395, - "Offset": 177, - "EndOffset": 179, - "Path": 0, - "Ordinal": 18, - "Hits": 6 - }, - { - "Line": 2395, - "Offset": 177, - "EndOffset": 194, - "Path": 1, - "Ordinal": 19, - "Hits": 6 - }, - { - "Line": 2392, - "Offset": 86, - "EndOffset": 195, - "Path": 1, - "Ordinal": 13, - "Hits": 6 - }, - { - "Line": 2403, - "Offset": 221, - "EndOffset": 223, - "Path": 0, - "Ordinal": 20, - "Hits": 2 - }, - { - "Line": 2406, - "Offset": 268, - "EndOffset": 270, - "Path": 0, - "Ordinal": 22, - "Hits": 2 - }, - { - "Line": 2406, - "Offset": 281, - "EndOffset": 283, - "Path": 0, - "Ordinal": 24, - "Hits": 2 - }, - { - "Line": 2406, - "Offset": 268, - "EndOffset": 307, - "Path": 1, - "Ordinal": 23, - "Hits": 0 - }, - { - "Line": 2406, - "Offset": 281, - "EndOffset": 307, - "Path": 1, - "Ordinal": 25, - "Hits": 0 - }, - { - "Line": 2406, - "Offset": 312, - "EndOffset": 314, - "Path": 0, - "Ordinal": 26, - "Hits": 2 - }, - { - "Line": 2406, - "Offset": 312, - "EndOffset": 329, - "Path": 1, - "Ordinal": 27, - "Hits": 2 - }, - { - "Line": 2403, - "Offset": 221, - "EndOffset": 330, - "Path": 1, - "Ordinal": 21, - "Hits": 6 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.ExpressionParser::CheckAndPromoteOperands(System.Type,System.Linq.Dynamic.Core.Tokenizer.TokenId,System.String,System.Linq.Expressions.Expression&,System.Linq.Expressions.Expression&,System.Int32)": { - "Lines": { - "2417": 89, - "2418": 89, - "2422": 89, - "2423": 77, - "2424": 77, - "2425": 77, - "2427": 77, - "2431": 12, - "2432": 6, - "2433": 6, - "2436": 6, - "2437": 83 - }, - "Branches": [ - { - "Line": 2422, - "Offset": 33, - "EndOffset": 35, - "Path": 0, - "Ordinal": 0, - "Hits": 89 - }, - { - "Line": 2422, - "Offset": 33, - "EndOffset": 58, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 2422, - "Offset": 61, - "EndOffset": 63, - "Path": 0, - "Ordinal": 2, - "Hits": 77 - }, - { - "Line": 2422, - "Offset": 61, - "EndOffset": 78, - "Path": 1, - "Ordinal": 3, - "Hits": 12 - }, - { - "Line": 2431, - "Offset": 91, - "EndOffset": 93, - "Path": 0, - "Ordinal": 4, - "Hits": 6 - }, - { - "Line": 2431, - "Offset": 91, - "EndOffset": 96, - "Path": 1, - "Ordinal": 5, - "Hits": 6 - } - ] - }, - "System.Exception System.Linq.Dynamic.Core.Parser.ExpressionParser::IncompatibleOperandError(System.String,System.Linq.Expressions.Expression,System.Int32)": { - "Lines": { - "2440": 0, - "2441": 0, - "2442": 0 - }, - "Branches": [] - }, - "System.Exception System.Linq.Dynamic.Core.Parser.ExpressionParser::IncompatibleOperandsError(System.String,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Int32)": { - "Lines": { - "2445": 6, - "2446": 6, - "2447": 6 - }, - "Branches": [] - }, - "System.Reflection.MemberInfo System.Linq.Dynamic.Core.Parser.ExpressionParser::FindPropertyOrField(System.Type,System.String,System.Boolean)": { - "Lines": { - "2450": 710, - "2452": 710, - "2453": 710, - "2454": 3109, - "2455": 805, - "2456": 805, - "2457": 805, - "2459": 805, - "2460": 631, - "2461": 631, - "2463": 174, - "2464": 79, - "2487": 710 - }, - "Branches": [ - { - "Line": 2452, - "Offset": 14, - "EndOffset": 16, - "Path": 0, - "Ordinal": 0, - "Hits": 702 - }, - { - "Line": 2452, - "Offset": 14, - "EndOffset": 19, - "Path": 1, - "Ordinal": 1, - "Hits": 8 - }, - { - "Line": 2454, - "Offset": 126, - "EndOffset": 42, - "Path": 1, - "Ordinal": 9, - "Hits": 805 - }, - { - "Line": 2456, - "Offset": 57, - "EndOffset": 59, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 2456, - "Offset": 57, - "EndOffset": 63, - "Path": 1, - "Ordinal": 3, - "Hits": 805 - }, - { - "Line": 2456, - "Offset": 68, - "EndOffset": 70, - "Path": 0, - "Ordinal": 4, - "Hits": 805 - }, - { - "Line": 2456, - "Offset": 68, - "EndOffset": 77, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 2459, - "Offset": 108, - "EndOffset": 110, - "Path": 0, - "Ordinal": 6, - "Hits": 631 - }, - { - "Line": 2459, - "Offset": 108, - "EndOffset": 119, - "Path": 1, - "Ordinal": 7, - "Hits": 174 - }, - { - "Line": 2454, - "Offset": 126, - "EndOffset": 128, - "Path": 0, - "Ordinal": 8, - "Hits": 79 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.ExpressionParser::TokenIdentifierIs(System.String)": { - "Lines": { - "2490": 4021, - "2491": 4021, - "2492": 4021 - }, - "Branches": [ - { - "Line": 2491, - "Offset": 18, - "EndOffset": 20, - "Path": 0, - "Ordinal": 0, - "Hits": 1323 - }, - { - "Line": 2491, - "Offset": 18, - "EndOffset": 45, - "Path": 1, - "Ordinal": 1, - "Hits": 2698 - } - ] - }, - "System.String System.Linq.Dynamic.Core.Parser.ExpressionParser::GetIdentifier()": { - "Lines": { - "2495": 970, - "2496": 970, - "2498": 970, - "2499": 970 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.Parser.ExpressionParser::GetIdentifierAs()": { - "Lines": { - "2502": 73, - "2503": 73, - "2505": 73, - "2506": 72, - "2507": 72, - "2508": 72, - "2509": 72, - "2512": 1, - "2513": 4, - "2514": 3, - "2515": 3, - "2516": 3, - "2517": 3, - "2519": 1, - "2520": 73 - }, - "Branches": [ - { - "Line": 2505, - "Offset": 35, - "EndOffset": 37, - "Path": 0, - "Ordinal": 0, - "Hits": 72 - }, - { - "Line": 2505, - "Offset": 35, - "EndOffset": 76, - "Path": 1, - "Ordinal": 1, - "Hits": 1 - }, - { - "Line": 2513, - "Offset": 168, - "EndOffset": 84, - "Path": 1, - "Ordinal": 7, - "Hits": 3 - }, - { - "Line": 2513, - "Offset": 142, - "EndOffset": 146, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - }, - { - "Line": 2513, - "Offset": 142, - "EndOffset": 154, - "Path": 1, - "Ordinal": 3, - "Hits": 3 - }, - { - "Line": 2513, - "Offset": 150, - "EndOffset": 154, - "Path": 1, - "Ordinal": 5, - "Hits": 3 - }, - { - "Line": 2513, - "Offset": 150, - "EndOffset": 159, - "Path": 0, - "Ordinal": 4, - "Hits": 1 - }, - { - "Line": 2513, - "Offset": 168, - "EndOffset": 170, - "Path": 0, - "Ordinal": 6, - "Hits": 1 - } - ] - }, - "System.String System.Linq.Dynamic.Core.Parser.ExpressionParser::SanitizeId(System.String)": { - "Lines": { - "2523": 1043, - "2524": 1043, - "2525": 1, - "2526": 1, - "2527": 1, - "2529": 1043, - "2530": 1043 - }, - "Branches": [ - { - "Line": 2524, - "Offset": 8, - "EndOffset": 10, - "Path": 0, - "Ordinal": 0, - "Hits": 996 - }, - { - "Line": 2524, - "Offset": 8, - "EndOffset": 23, - "Path": 1, - "Ordinal": 1, - "Hits": 47 - }, - { - "Line": 2524, - "Offset": 26, - "EndOffset": 28, - "Path": 0, - "Ordinal": 2, - "Hits": 1 - }, - { - "Line": 2524, - "Offset": 26, - "EndOffset": 39, - "Path": 1, - "Ordinal": 3, - "Hits": 1043 - } - ] - }, - "System.Exception System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseError(System.String,System.Object[])": { - "Lines": { - "2533": 3, - "2534": 3, - "2535": 3 - }, - "Branches": [] - }, - "System.Exception System.Linq.Dynamic.Core.Parser.ExpressionParser::ParseError(System.Int32,System.String,System.Object[])": { - "Lines": { - "2538": 33, - "2539": 33, - "2540": 33 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.Parser.ExpressionParser::.ctor(System.Linq.Expressions.ParameterExpression[],System.String,System.Object[],System.Linq.Dynamic.Core.ParsingConfig)": { - "Lines": { - "40": 588, - "70": 588, - "71": 588, - "72": 588, - "74": 588, - "75": 588, - "77": 588, - "78": 588, - "79": 588, - "80": 588, - "81": 588, - "82": 588, - "83": 588, - "84": 588, - "86": 588, - "87": 588, - "88": 588, - "89": 587, - "91": 587, - "92": 579, - "93": 579, - "94": 579, - "95": 587 - }, - "Branches": [ - { - "Line": 74, - "Offset": 56, - "EndOffset": 58, - "Path": 0, - "Ordinal": 0, - "Hits": 476 - }, - { - "Line": 74, - "Offset": 56, - "EndOffset": 67, - "Path": 1, - "Ordinal": 1, - "Hits": 588 - }, - { - "Line": 74, - "Offset": 65, - "EndOffset": 67, - "Path": 0, - "Ordinal": 2, - "Hits": 588 - }, - { - "Line": 74, - "Offset": 65, - "EndOffset": 74, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 75, - "Offset": 93, - "EndOffset": 95, - "Path": 0, - "Ordinal": 4, - "Hits": 112 - }, - { - "Line": 75, - "Offset": 93, - "EndOffset": 101, - "Path": 1, - "Ordinal": 5, - "Hits": 588 - }, - { - "Line": 86, - "Offset": 257, - "EndOffset": 259, - "Path": 0, - "Ordinal": 6, - "Hits": 588 - }, - { - "Line": 86, - "Offset": 257, - "EndOffset": 269, - "Path": 1, - "Ordinal": 7, - "Hits": 587 - }, - { - "Line": 91, - "Offset": 275, - "EndOffset": 277, - "Path": 0, - "Ordinal": 8, - "Hits": 579 - }, - { - "Line": 91, - "Offset": 275, - "EndOffset": 287, - "Path": 1, - "Ordinal": 9, - "Hits": 587 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.ExpressionParser::.cctor()": { - "Lines": { - "23": 1 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\ExpressionPromoter.cs": { - "System.Linq.Dynamic.Core.Parser.ExpressionPromoter": { - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.ExpressionPromoter::Promote(System.Linq.Expressions.Expression,System.Type,System.Boolean,System.Boolean)": { - "Lines": { - "26": 2578, - "28": 2578, - "29": 2, - "30": 2, - "31": 2, - "33": 2576, - "34": 2576, - "35": 2576, - "37": 2578, - "38": 521, - "39": 521, - "42": 2057, - "43": 404, - "44": 404, - "45": 135, - "46": 135, - "47": 88, - "48": 88, - "50": 47, - "52": 269, - "53": 269, - "54": 224, - "55": 224, - "56": 224, - "59": 224, - "65": 171, - "68": 171, - "69": 3, - "70": 3, - "71": 3, - "72": 171, - "75": 27, - "76": 9, - "77": 9, - "78": 9, - "79": 27, - "82": 26, - "83": 26, - "110": 224, - "111": 155, - "112": 155, - "114": 69, - "115": 114, - "116": 161, - "118": 1814, - "119": 589, - "120": 589, - "121": 0, - "122": 0, - "125": 589, - "126": 584, - "127": 584, - "130": 5, - "133": 1225, - "134": 2578 - }, - "Branches": [ - { - "Line": 28, - "Offset": 14, - "EndOffset": 16, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 28, - "Offset": 14, - "EndOffset": 27, - "Path": 1, - "Ordinal": 1, - "Hits": 2576 - }, - { - "Line": 37, - "Offset": 43, - "EndOffset": 45, - "Path": 0, - "Ordinal": 2, - "Hits": 2059 - }, - { - "Line": 37, - "Offset": 43, - "EndOffset": 53, - "Path": 1, - "Ordinal": 3, - "Hits": 519 - }, - { - "Line": 37, - "Offset": 58, - "EndOffset": 60, - "Path": 0, - "Ordinal": 4, - "Hits": 521 - }, - { - "Line": 37, - "Offset": 58, - "EndOffset": 69, - "Path": 1, - "Ordinal": 5, - "Hits": 2057 - }, - { - "Line": 42, - "Offset": 84, - "EndOffset": 89, - "Path": 0, - "Ordinal": 6, - "Hits": 404 - }, - { - "Line": 44, - "Offset": 100, - "EndOffset": 102, - "Path": 0, - "Ordinal": 8, - "Hits": 135 - }, - { - "Line": 46, - "Offset": 114, - "EndOffset": 116, - "Path": 0, - "Ordinal": 10, - "Hits": 129 - }, - { - "Line": 46, - "Offset": 114, - "EndOffset": 124, - "Path": 1, - "Ordinal": 11, - "Hits": 6 - }, - { - "Line": 46, - "Offset": 129, - "EndOffset": 131, - "Path": 0, - "Ordinal": 12, - "Hits": 88 - }, - { - "Line": 46, - "Offset": 129, - "EndOffset": 146, - "Path": 1, - "Ordinal": 13, - "Hits": 47 - }, - { - "Line": 44, - "Offset": 100, - "EndOffset": 152, - "Path": 1, - "Ordinal": 9, - "Hits": 269 - }, - { - "Line": 53, - "Offset": 171, - "EndOffset": 176, - "Path": 0, - "Ordinal": 14, - "Hits": 224 - }, - { - "Line": 59, - "Offset": 210, - "EndOffset": 257, - "Path": 1, - "Ordinal": 17, - "Hits": 171 - }, - { - "Line": 59, - "Offset": 210, - "EndOffset": 257, - "Path": 2, - "Ordinal": 18, - "Hits": 171 - }, - { - "Line": 59, - "Offset": 210, - "EndOffset": 257, - "Path": 3, - "Ordinal": 19, - "Hits": 171 - }, - { - "Line": 59, - "Offset": 210, - "EndOffset": 257, - "Path": 4, - "Ordinal": 20, - "Hits": 171 - }, - { - "Line": 68, - "Offset": 285, - "EndOffset": 287, - "Path": 0, - "Ordinal": 27, - "Hits": 3 - }, - { - "Line": 59, - "Offset": 210, - "EndOffset": 302, - "Path": 6, - "Ordinal": 22, - "Hits": 27 - }, - { - "Line": 75, - "Offset": 319, - "EndOffset": 321, - "Path": 0, - "Ordinal": 29, - "Hits": 21 - }, - { - "Line": 75, - "Offset": 319, - "EndOffset": 340, - "Path": 1, - "Ordinal": 30, - "Hits": 6 - }, - { - "Line": 75, - "Offset": 345, - "EndOffset": 347, - "Path": 0, - "Ordinal": 31, - "Hits": 9 - }, - { - "Line": 59, - "Offset": 210, - "EndOffset": 368, - "Path": 10, - "Ordinal": 26, - "Hits": 26 - }, - { - "Line": 59, - "Offset": 210, - "EndOffset": 382, - "Path": 0, - "Ordinal": 16, - "Hits": 224 - }, - { - "Line": 59, - "Offset": 210, - "EndOffset": 382, - "Path": 5, - "Ordinal": 21, - "Hits": 224 - }, - { - "Line": 59, - "Offset": 210, - "EndOffset": 382, - "Path": 7, - "Ordinal": 23, - "Hits": 224 - }, - { - "Line": 59, - "Offset": 210, - "EndOffset": 382, - "Path": 8, - "Ordinal": 24, - "Hits": 224 - }, - { - "Line": 59, - "Offset": 210, - "EndOffset": 382, - "Path": 9, - "Ordinal": 25, - "Hits": 224 - }, - { - "Line": 68, - "Offset": 285, - "EndOffset": 382, - "Path": 1, - "Ordinal": 28, - "Hits": 224 - }, - { - "Line": 75, - "Offset": 345, - "EndOffset": 382, - "Path": 1, - "Ordinal": 32, - "Hits": 224 - }, - { - "Line": 110, - "Offset": 391, - "EndOffset": 393, - "Path": 0, - "Ordinal": 33, - "Hits": 155 - }, - { - "Line": 110, - "Offset": 391, - "EndOffset": 409, - "Path": 1, - "Ordinal": 34, - "Hits": 69 - }, - { - "Line": 53, - "Offset": 171, - "EndOffset": 410, - "Path": 1, - "Ordinal": 15, - "Hits": 114 - }, - { - "Line": 42, - "Offset": 84, - "EndOffset": 412, - "Path": 1, - "Ordinal": 7, - "Hits": 1814 - }, - { - "Line": 118, - "Offset": 423, - "EndOffset": 425, - "Path": 0, - "Ordinal": 35, - "Hits": 589 - }, - { - "Line": 120, - "Offset": 442, - "EndOffset": 444, - "Path": 0, - "Ordinal": 37, - "Hits": 40 - }, - { - "Line": 120, - "Offset": 442, - "EndOffset": 457, - "Path": 1, - "Ordinal": 38, - "Hits": 549 - }, - { - "Line": 120, - "Offset": 462, - "EndOffset": 464, - "Path": 0, - "Ordinal": 39, - "Hits": 0 - }, - { - "Line": 120, - "Offset": 462, - "EndOffset": 492, - "Path": 1, - "Ordinal": 40, - "Hits": 589 - }, - { - "Line": 125, - "Offset": 505, - "EndOffset": 507, - "Path": 0, - "Ordinal": 41, - "Hits": 5 - }, - { - "Line": 125, - "Offset": 505, - "EndOffset": 528, - "Path": 1, - "Ordinal": 42, - "Hits": 584 - }, - { - "Line": 125, - "Offset": 533, - "EndOffset": 535, - "Path": 0, - "Ordinal": 43, - "Hits": 584 - }, - { - "Line": 125, - "Offset": 533, - "EndOffset": 547, - "Path": 1, - "Ordinal": 44, - "Hits": 5 - }, - { - "Line": 118, - "Offset": 423, - "EndOffset": 552, - "Path": 1, - "Ordinal": 36, - "Hits": 1225 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.ExpressionPromoter::.ctor(System.Linq.Dynamic.Core.ParsingConfig)": { - "Lines": { - "18": 79, - "19": 79, - "20": 79, - "21": 79, - "22": 79 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\KeywordsHelper.cs": { - "System.Linq.Dynamic.Core.Parser.KeywordsHelper": { - "System.Boolean System.Linq.Dynamic.Core.Parser.KeywordsHelper::TryGetValue(System.String,System.Object&)": { - "Lines": { - "86": 1107, - "88": 1107, - "89": 224, - "90": 224, - "91": 224, - "95": 883, - "96": 13, - "97": 13, - "98": 13, - "102": 870, - "103": 11, - "104": 11, - "105": 11, - "109": 859, - "110": 5, - "111": 5, - "112": 5, - "116": 854, - "117": 24, - "118": 24, - "119": 24, - "123": 830, - "124": 830, - "125": 1107 - }, - "Branches": [ - { - "Line": 88, - "Offset": 19, - "EndOffset": 21, - "Path": 0, - "Ordinal": 0, - "Hits": 224 - }, - { - "Line": 88, - "Offset": 19, - "EndOffset": 33, - "Path": 1, - "Ordinal": 1, - "Hits": 883 - }, - { - "Line": 95, - "Offset": 50, - "EndOffset": 52, - "Path": 0, - "Ordinal": 2, - "Hits": 13 - }, - { - "Line": 95, - "Offset": 50, - "EndOffset": 61, - "Path": 1, - "Ordinal": 3, - "Hits": 870 - }, - { - "Line": 102, - "Offset": 78, - "EndOffset": 80, - "Path": 0, - "Ordinal": 4, - "Hits": 11 - }, - { - "Line": 102, - "Offset": 78, - "EndOffset": 89, - "Path": 1, - "Ordinal": 5, - "Hits": 859 - }, - { - "Line": 109, - "Offset": 100, - "EndOffset": 102, - "Path": 0, - "Ordinal": 6, - "Hits": 851 - }, - { - "Line": 109, - "Offset": 100, - "EndOffset": 117, - "Path": 1, - "Ordinal": 7, - "Hits": 8 - }, - { - "Line": 109, - "Offset": 122, - "EndOffset": 124, - "Path": 0, - "Ordinal": 8, - "Hits": 5 - }, - { - "Line": 109, - "Offset": 122, - "EndOffset": 133, - "Path": 1, - "Ordinal": 9, - "Hits": 854 - }, - { - "Line": 116, - "Offset": 151, - "EndOffset": 153, - "Path": 0, - "Ordinal": 10, - "Hits": 24 - }, - { - "Line": 116, - "Offset": 151, - "EndOffset": 163, - "Path": 1, - "Ordinal": 11, - "Hits": 830 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.KeywordsHelper::.cctor()": { - "Lines": { - "49": 1, - "55": 1, - "56": 103, - "57": 25, - "58": 25, - "59": 25, - "60": 25, - "61": 1 - }, - "Branches": [ - { - "Line": 56, - "Offset": 118, - "EndOffset": 67, - "Path": 1, - "Ordinal": 1, - "Hits": 25 - }, - { - "Line": 56, - "Offset": 118, - "EndOffset": 120, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.KeywordsHelper::.ctor(System.Linq.Dynamic.Core.ParsingConfig)": { - "Lines": { - "29": 590, - "30": 590, - "31": 590, - "32": 590, - "33": 590, - "34": 590, - "35": 590, - "36": 590, - "37": 590, - "38": 590, - "39": 590, - "40": 590, - "41": 590, - "42": 590, - "43": 590, - "44": 590, - "45": 590, - "46": 590, - "52": 590, - "63": 590, - "64": 590, - "65": 590, - "67": 590, - "68": 590, - "69": 590, - "70": 590, - "71": 590, - "72": 590, - "75": 590, - "76": 590, - "77": 11174, - "78": 4702, - "79": 4702, - "80": 4702, - "81": 4702, - "82": 590, - "83": 590 - }, - "Branches": [ - { - "Line": 67, - "Offset": 294, - "EndOffset": 296, - "Path": 0, - "Ordinal": 0, - "Hits": 590 - }, - { - "Line": 67, - "Offset": 294, - "EndOffset": 364, - "Path": 1, - "Ordinal": 1, - "Hits": 590 - }, - { - "Line": 75, - "Offset": 375, - "EndOffset": 377, - "Path": 0, - "Ordinal": 2, - "Hits": 590 - }, - { - "Line": 77, - "Offset": 453, - "EndOffset": 398, - "Path": 1, - "Ordinal": 5, - "Hits": 4702 - }, - { - "Line": 77, - "Offset": 453, - "EndOffset": 455, - "Path": 0, - "Ordinal": 4, - "Hits": 590 - }, - { - "Line": 75, - "Offset": 375, - "EndOffset": 473, - "Path": 1, - "Ordinal": 3, - "Hits": 590 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\NumberParser.cs": { - "System.Linq.Dynamic.Core.Parser.NumberParser": { - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.NumberParser::ParseIntegerLiteral(System.Int32,System.String)": { - "Lines": { - "39": 130, - "40": 130, - "42": 130, - "43": 130, - "44": 130, - "45": 130, - "46": 130, - "48": 130, - "49": 130, - "50": 14, - "51": 28, - "52": 28, - "53": 14, - "54": 14, - "55": 14, - "56": 14, - "57": 14, - "58": 14, - "59": 14, - "61": 130, - "62": 126, - "63": 126, - "64": 0, - "65": 0, - "66": 0, - "68": 126, - "69": 0, - "70": 0, - "73": 126, - "74": 0, - "75": 0, - "78": 126, - "79": 10, - "80": 10, - "81": 0, - "82": 0, - "85": 10, - "86": 0, - "87": 0, - "90": 10, - "91": 10, - "92": 10, - "95": 0, - "98": 116, - "99": 114, - "100": 114, - "103": 2, - "104": 0, - "105": 0, - "108": 2, - "109": 0, - "110": 0, - "113": 2, - "116": 4, - "117": 0, - "118": 0, - "119": 0, - "121": 4, - "122": 0, - "123": 0, - "126": 4, - "127": 0, - "128": 0, - "131": 4, - "132": 0, - "133": 0, - "134": 0, - "136": 4, - "137": 4, - "138": 4, - "139": 0, - "140": 0, - "143": 4, - "144": 4, - "145": 4, - "148": 0, - "151": 0, - "152": 0, - "153": 0, - "156": 0, - "157": 130 - }, - "Branches": [ - { - "Line": 44, - "Offset": 42, - "EndOffset": 44, - "Path": 0, - "Ordinal": 0, - "Hits": 126 - }, - { - "Line": 44, - "Offset": 42, - "EndOffset": 51, - "Path": 1, - "Ordinal": 1, - "Hits": 4 - }, - { - "Line": 45, - "Offset": 65, - "EndOffset": 67, - "Path": 0, - "Ordinal": 2, - "Hits": 126 - }, - { - "Line": 45, - "Offset": 65, - "EndOffset": 74, - "Path": 1, - "Ordinal": 3, - "Hits": 4 - }, - { - "Line": 46, - "Offset": 87, - "EndOffset": 89, - "Path": 0, - "Ordinal": 4, - "Hits": 130 - }, - { - "Line": 46, - "Offset": 87, - "EndOffset": 96, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 49, - "Offset": 118, - "EndOffset": 120, - "Path": 0, - "Ordinal": 6, - "Hits": 14 - }, - { - "Line": 52, - "Offset": 169, - "EndOffset": 136, - "Path": 1, - "Ordinal": 9, - "Hits": 14 - }, - { - "Line": 52, - "Offset": 169, - "EndOffset": 171, - "Path": 0, - "Ordinal": 8, - "Hits": 14 - }, - { - "Line": 49, - "Offset": 118, - "EndOffset": 209, - "Path": 1, - "Ordinal": 7, - "Hits": 130 - }, - { - "Line": 61, - "Offset": 217, - "EndOffset": 222, - "Path": 0, - "Ordinal": 10, - "Hits": 126 - }, - { - "Line": 63, - "Offset": 230, - "EndOffset": 232, - "Path": 0, - "Ordinal": 12, - "Hits": 0 - }, - { - "Line": 63, - "Offset": 230, - "EndOffset": 243, - "Path": 1, - "Ordinal": 13, - "Hits": 126 - }, - { - "Line": 68, - "Offset": 248, - "EndOffset": 250, - "Path": 0, - "Ordinal": 14, - "Hits": 0 - }, - { - "Line": 68, - "Offset": 248, - "EndOffset": 267, - "Path": 1, - "Ordinal": 15, - "Hits": 126 - }, - { - "Line": 73, - "Offset": 269, - "EndOffset": 271, - "Path": 0, - "Ordinal": 16, - "Hits": 126 - }, - { - "Line": 73, - "Offset": 269, - "EndOffset": 274, - "Path": 1, - "Ordinal": 17, - "Hits": 0 - }, - { - "Line": 73, - "Offset": 299, - "EndOffset": 301, - "Path": 0, - "Ordinal": 18, - "Hits": 0 - }, - { - "Line": 73, - "Offset": 299, - "EndOffset": 327, - "Path": 1, - "Ordinal": 19, - "Hits": 126 - }, - { - "Line": 78, - "Offset": 334, - "EndOffset": 336, - "Path": 0, - "Ordinal": 20, - "Hits": 10 - }, - { - "Line": 78, - "Offset": 334, - "EndOffset": 348, - "Path": 1, - "Ordinal": 21, - "Hits": 116 - }, - { - "Line": 78, - "Offset": 353, - "EndOffset": 358, - "Path": 0, - "Ordinal": 22, - "Hits": 10 - }, - { - "Line": 80, - "Offset": 371, - "EndOffset": 373, - "Path": 0, - "Ordinal": 24, - "Hits": 10 - }, - { - "Line": 80, - "Offset": 371, - "EndOffset": 387, - "Path": 1, - "Ordinal": 25, - "Hits": 0 - }, - { - "Line": 80, - "Offset": 392, - "EndOffset": 394, - "Path": 0, - "Ordinal": 26, - "Hits": 0 - }, - { - "Line": 80, - "Offset": 392, - "EndOffset": 422, - "Path": 1, - "Ordinal": 27, - "Hits": 10 - }, - { - "Line": 85, - "Offset": 434, - "EndOffset": 436, - "Path": 0, - "Ordinal": 28, - "Hits": 10 - }, - { - "Line": 85, - "Offset": 434, - "EndOffset": 450, - "Path": 1, - "Ordinal": 29, - "Hits": 0 - }, - { - "Line": 85, - "Offset": 455, - "EndOffset": 457, - "Path": 0, - "Ordinal": 30, - "Hits": 0 - }, - { - "Line": 85, - "Offset": 455, - "EndOffset": 484, - "Path": 1, - "Ordinal": 31, - "Hits": 10 - }, - { - "Line": 90, - "Offset": 500, - "EndOffset": 502, - "Path": 0, - "Ordinal": 32, - "Hits": 10 - }, - { - "Line": 90, - "Offset": 500, - "EndOffset": 526, - "Path": 1, - "Ordinal": 33, - "Hits": 0 - }, - { - "Line": 78, - "Offset": 353, - "EndOffset": 552, - "Path": 1, - "Ordinal": 23, - "Hits": 116 - }, - { - "Line": 98, - "Offset": 569, - "EndOffset": 571, - "Path": 0, - "Ordinal": 34, - "Hits": 114 - }, - { - "Line": 98, - "Offset": 569, - "EndOffset": 599, - "Path": 1, - "Ordinal": 35, - "Hits": 2 - }, - { - "Line": 103, - "Offset": 612, - "EndOffset": 614, - "Path": 0, - "Ordinal": 36, - "Hits": 0 - }, - { - "Line": 103, - "Offset": 612, - "EndOffset": 642, - "Path": 1, - "Ordinal": 37, - "Hits": 2 - }, - { - "Line": 108, - "Offset": 662, - "EndOffset": 664, - "Path": 0, - "Ordinal": 38, - "Hits": 0 - }, - { - "Line": 108, - "Offset": 662, - "EndOffset": 691, - "Path": 1, - "Ordinal": 39, - "Hits": 2 - }, - { - "Line": 61, - "Offset": 217, - "EndOffset": 717, - "Path": 1, - "Ordinal": 11, - "Hits": 4 - }, - { - "Line": 116, - "Offset": 724, - "EndOffset": 726, - "Path": 0, - "Ordinal": 40, - "Hits": 0 - }, - { - "Line": 116, - "Offset": 724, - "EndOffset": 737, - "Path": 1, - "Ordinal": 41, - "Hits": 4 - }, - { - "Line": 121, - "Offset": 742, - "EndOffset": 744, - "Path": 0, - "Ordinal": 42, - "Hits": 0 - }, - { - "Line": 121, - "Offset": 742, - "EndOffset": 761, - "Path": 1, - "Ordinal": 43, - "Hits": 4 - }, - { - "Line": 126, - "Offset": 763, - "EndOffset": 765, - "Path": 0, - "Ordinal": 44, - "Hits": 4 - }, - { - "Line": 126, - "Offset": 763, - "EndOffset": 768, - "Path": 1, - "Ordinal": 45, - "Hits": 0 - }, - { - "Line": 126, - "Offset": 793, - "EndOffset": 795, - "Path": 0, - "Ordinal": 46, - "Hits": 0 - }, - { - "Line": 126, - "Offset": 793, - "EndOffset": 821, - "Path": 1, - "Ordinal": 47, - "Hits": 4 - }, - { - "Line": 131, - "Offset": 826, - "EndOffset": 828, - "Path": 0, - "Ordinal": 48, - "Hits": 0 - }, - { - "Line": 131, - "Offset": 826, - "EndOffset": 835, - "Path": 1, - "Ordinal": 49, - "Hits": 4 - }, - { - "Line": 136, - "Offset": 842, - "EndOffset": 844, - "Path": 0, - "Ordinal": 50, - "Hits": 4 - }, - { - "Line": 136, - "Offset": 842, - "EndOffset": 856, - "Path": 1, - "Ordinal": 51, - "Hits": 0 - }, - { - "Line": 136, - "Offset": 861, - "EndOffset": 863, - "Path": 0, - "Ordinal": 52, - "Hits": 4 - }, - { - "Line": 138, - "Offset": 876, - "EndOffset": 878, - "Path": 0, - "Ordinal": 54, - "Hits": 4 - }, - { - "Line": 138, - "Offset": 876, - "EndOffset": 892, - "Path": 1, - "Ordinal": 55, - "Hits": 0 - }, - { - "Line": 138, - "Offset": 897, - "EndOffset": 899, - "Path": 0, - "Ordinal": 56, - "Hits": 0 - }, - { - "Line": 138, - "Offset": 897, - "EndOffset": 923, - "Path": 1, - "Ordinal": 57, - "Hits": 4 - }, - { - "Line": 143, - "Offset": 939, - "EndOffset": 941, - "Path": 0, - "Ordinal": 58, - "Hits": 4 - }, - { - "Line": 143, - "Offset": 939, - "EndOffset": 962, - "Path": 1, - "Ordinal": 59, - "Hits": 0 - }, - { - "Line": 136, - "Offset": 861, - "EndOffset": 975, - "Path": 1, - "Ordinal": 53, - "Hits": 0 - }, - { - "Line": 151, - "Offset": 992, - "EndOffset": 994, - "Path": 0, - "Ordinal": 60, - "Hits": 0 - }, - { - "Line": 151, - "Offset": 992, - "EndOffset": 1019, - "Path": 1, - "Ordinal": 61, - "Hits": 0 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.NumberParser::ParseRealLiteral(System.String,System.Char,System.Boolean)": { - "Lines": { - "163": 30, - "164": 30, - "168": 8, - "172": 6, - "176": 10, - "179": 6, - "181": 30 - }, - "Branches": [ - { - "Line": 164, - "Offset": 8, - "EndOffset": 10, - "Path": 0, - "Ordinal": 0, - "Hits": 10 - }, - { - "Line": 164, - "Offset": 13, - "EndOffset": 20, - "Path": 0, - "Ordinal": 2, - "Hits": 8 - }, - { - "Line": 164, - "Offset": 23, - "EndOffset": 27, - "Path": 0, - "Ordinal": 4, - "Hits": 6 - }, - { - "Line": 164, - "Offset": 8, - "EndOffset": 37, - "Path": 1, - "Ordinal": 1, - "Hits": 20 - }, - { - "Line": 164, - "Offset": 40, - "EndOffset": 44, - "Path": 0, - "Ordinal": 8, - "Hits": 12 - }, - { - "Line": 164, - "Offset": 47, - "EndOffset": 51, - "Path": 0, - "Ordinal": 10, - "Hits": 6 - }, - { - "Line": 164, - "Offset": 23, - "EndOffset": 61, - "Path": 1, - "Ordinal": 5, - "Hits": 8 - }, - { - "Line": 164, - "Offset": 47, - "EndOffset": 61, - "Path": 1, - "Ordinal": 11, - "Hits": 8 - }, - { - "Line": 168, - "Offset": 69, - "EndOffset": 71, - "Path": 0, - "Ordinal": 14, - "Hits": 6 - }, - { - "Line": 168, - "Offset": 69, - "EndOffset": 74, - "Path": 1, - "Ordinal": 15, - "Hits": 2 - }, - { - "Line": 164, - "Offset": 30, - "EndOffset": 116, - "Path": 1, - "Ordinal": 7, - "Hits": 6 - }, - { - "Line": 164, - "Offset": 54, - "EndOffset": 116, - "Path": 1, - "Ordinal": 13, - "Hits": 6 - }, - { - "Line": 172, - "Offset": 124, - "EndOffset": 126, - "Path": 0, - "Ordinal": 16, - "Hits": 2 - }, - { - "Line": 172, - "Offset": 124, - "EndOffset": 129, - "Path": 1, - "Ordinal": 17, - "Hits": 4 - }, - { - "Line": 164, - "Offset": 13, - "EndOffset": 168, - "Path": 1, - "Ordinal": 3, - "Hits": 10 - }, - { - "Line": 164, - "Offset": 40, - "EndOffset": 168, - "Path": 1, - "Ordinal": 9, - "Hits": 10 - }, - { - "Line": 176, - "Offset": 176, - "EndOffset": 178, - "Path": 0, - "Ordinal": 18, - "Hits": 6 - }, - { - "Line": 176, - "Offset": 176, - "EndOffset": 181, - "Path": 1, - "Ordinal": 19, - "Hits": 4 - }, - { - "Line": 164, - "Offset": 30, - "EndOffset": 220, - "Path": 0, - "Ordinal": 6, - "Hits": 6 - }, - { - "Line": 164, - "Offset": 54, - "EndOffset": 220, - "Path": 0, - "Ordinal": 12, - "Hits": 6 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.NumberParser::TryParseNumber(System.String,System.Type,System.Object&)": { - "Lines": { - "190": 0, - "191": 0, - "192": 0, - "193": 0 - }, - "Branches": [] - }, - "System.Object System.Linq.Dynamic.Core.Parser.NumberParser::ParseNumber(System.String,System.Type)": { - "Lines": { - "201": 210, - "203": 210, - "205": 210, - "208": 0, - "210": 0, - "212": 0, - "214": 0, - "216": 17, - "218": 6, - "220": 29, - "222": 6, - "224": 37, - "226": 49, - "228": 41, - "277": 25, - "278": 0, - "279": 0, - "280": 0, - "283": 25, - "284": 210 - }, - "Branches": [ - { - "Line": 205, - "Offset": 19, - "EndOffset": 73, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 205, - "Offset": 19, - "EndOffset": 96, - "Path": 2, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 205, - "Offset": 19, - "EndOffset": 119, - "Path": 3, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 205, - "Offset": 19, - "EndOffset": 142, - "Path": 4, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 205, - "Offset": 19, - "EndOffset": 165, - "Path": 5, - "Ordinal": 5, - "Hits": 17 - }, - { - "Line": 205, - "Offset": 19, - "EndOffset": 188, - "Path": 6, - "Ordinal": 6, - "Hits": 6 - }, - { - "Line": 205, - "Offset": 19, - "EndOffset": 208, - "Path": 7, - "Ordinal": 7, - "Hits": 29 - }, - { - "Line": 205, - "Offset": 19, - "EndOffset": 228, - "Path": 8, - "Ordinal": 8, - "Hits": 6 - }, - { - "Line": 205, - "Offset": 19, - "EndOffset": 248, - "Path": 9, - "Ordinal": 9, - "Hits": 37 - }, - { - "Line": 205, - "Offset": 19, - "EndOffset": 268, - "Path": 10, - "Ordinal": 10, - "Hits": 49 - }, - { - "Line": 205, - "Offset": 19, - "EndOffset": 288, - "Path": 11, - "Ordinal": 11, - "Hits": 41 - }, - { - "Line": 205, - "Offset": 19, - "EndOffset": 308, - "Path": 0, - "Ordinal": 0, - "Hits": 25 - } - ] - }, - "System.Linq.Expressions.Expression System.Linq.Dynamic.Core.Parser.NumberParser::ParseAsBinary(System.Int32,System.String,System.Boolean)": { - "Lines": { - "287": 0, - "288": 0, - "289": 0, - "290": 0, - "293": 0, - "294": 0, - "295": 0, - "298": 0, - "299": 0 - }, - "Branches": [ - { - "Line": 288, - "Offset": 14, - "EndOffset": 16, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 290, - "Offset": 24, - "EndOffset": 26, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 290, - "Offset": 24, - "EndOffset": 29, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 288, - "Offset": 14, - "EndOffset": 52, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 293, - "Offset": 65, - "EndOffset": 67, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 295, - "Offset": 75, - "EndOffset": 77, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 295, - "Offset": 75, - "EndOffset": 80, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 293, - "Offset": 65, - "EndOffset": 104, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.NumberParser::.ctor(System.Linq.Dynamic.Core.ParsingConfig)": { - "Lines": { - "27": 667, - "28": 667, - "29": 667, - "30": 667, - "31": 667 - }, - "Branches": [ - { - "Line": 29, - "Offset": 10, - "EndOffset": 12, - "Path": 0, - "Ordinal": 0, - "Hits": 112 - }, - { - "Line": 29, - "Offset": 10, - "EndOffset": 15, - "Path": 1, - "Ordinal": 1, - "Hits": 555 - }, - { - "Line": 29, - "Offset": 22, - "EndOffset": 24, - "Path": 0, - "Ordinal": 2, - "Hits": 112 - }, - { - "Line": 29, - "Offset": 22, - "EndOffset": 30, - "Path": 1, - "Ordinal": 3, - "Hits": 667 - }, - { - "Line": 30, - "Offset": 38, - "EndOffset": 40, - "Path": 0, - "Ordinal": 4, - "Hits": 112 - }, - { - "Line": 30, - "Offset": 38, - "EndOffset": 46, - "Path": 1, - "Ordinal": 5, - "Hits": 667 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.NumberParser::.cctor()": { - "Lines": { - "14": 1, - "15": 1, - "16": 1, - "17": 1, - "18": 1 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\PredefinedTypesHelper.cs": { - "System.Linq.Dynamic.Core.Parser.PredefinedTypesHelper": { - "System.Void System.Linq.Dynamic.Core.Parser.PredefinedTypesHelper::TryAdd(System.String,System.Int32)": { - "Lines": { - "89": 0, - "91": 0, - "92": 0, - "93": 0, - "94": 0, - "95": 0, - "96": 0, - "97": 0, - "98": 0, - "99": 0, - "101": 0, - "102": 0 - }, - "Branches": [ - { - "Line": 93, - "Offset": 18, - "EndOffset": 20, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 93, - "Offset": 18, - "EndOffset": 35, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.PredefinedTypesHelper::IsPredefinedType(System.Linq.Dynamic.Core.ParsingConfig,System.Type)": { - "Lines": { - "105": 81, - "106": 81, - "107": 81, - "109": 81, - "110": 81, - "111": 51, - "112": 51, - "115": 30, - "116": 30, - "117": 81 - }, - "Branches": [ - { - "Line": 110, - "Offset": 45, - "EndOffset": 47, - "Path": 0, - "Ordinal": 0, - "Hits": 51 - }, - { - "Line": 110, - "Offset": 45, - "EndOffset": 52, - "Path": 1, - "Ordinal": 1, - "Hits": 30 - }, - { - "Line": 115, - "Offset": 58, - "EndOffset": 60, - "Path": 0, - "Ordinal": 2, - "Hits": 30 - }, - { - "Line": 115, - "Offset": 77, - "EndOffset": 79, - "Path": 0, - "Ordinal": 4, - "Hits": 1 - }, - { - "Line": 115, - "Offset": 77, - "EndOffset": 98, - "Path": 1, - "Ordinal": 5, - "Hits": 29 - }, - { - "Line": 115, - "Offset": 58, - "EndOffset": 101, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.PredefinedTypesHelper::.cctor()": { - "Lines": { - "10": 1, - "11": 1, - "12": 1, - "13": 1, - "14": 1, - "15": 1, - "16": 1, - "17": 1, - "18": 1, - "19": 1, - "20": 1, - "21": 1, - "22": 1, - "23": 1, - "24": 1, - "25": 1, - "26": 1, - "27": 1, - "29": 1, - "30": 1, - "31": 1, - "32": 1, - "33": 1, - "34": 1, - "35": 1, - "36": 1, - "37": 1, - "38": 1, - "39": 1, - "40": 1, - "41": 1, - "42": 1, - "43": 1, - "44": 1, - "45": 1, - "46": 1, - "47": 1, - "48": 1, - "49": 1, - "50": 1, - "51": 1, - "52": 1, - "53": 1, - "54": 1, - "55": 1, - "56": 1, - "57": 1, - "58": 1, - "61": 1, - "80": 1, - "81": 1, - "82": 0, - "83": 0, - "84": 0, - "86": 1 - }, - "Branches": [ - { - "Line": 81, - "Offset": 870, - "EndOffset": 872, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 81, - "Offset": 870, - "EndOffset": 897, - "Path": 1, - "Ordinal": 1, - "Hits": 1 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\StringParser.cs": { - "System.Linq.Dynamic.Core.Parser.StringParser": { - "System.String System.Linq.Dynamic.Core.Parser.StringParser::ParseString(System.String,System.Int32)": { - "Lines": { - "17": 317, - "18": 317, - "19": 0, - "20": 0, - "23": 317, - "24": 0, - "25": 0, - "28": 317, - "29": 317, - "30": 0, - "31": 0, - "35": 317, - "36": 317, - "38": 0, - "39": 0, - "40": 0, - "42": 317 - }, - "Branches": [ - { - "Line": 18, - "Offset": 2, - "EndOffset": 4, - "Path": 0, - "Ordinal": 0, - "Hits": 317 - }, - { - "Line": 18, - "Offset": 2, - "EndOffset": 15, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 18, - "Offset": 18, - "EndOffset": 20, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 18, - "Offset": 18, - "EndOffset": 51, - "Path": 1, - "Ordinal": 3, - "Hits": 317 - }, - { - "Line": 23, - "Offset": 60, - "EndOffset": 62, - "Path": 0, - "Ordinal": 4, - "Hits": 1 - }, - { - "Line": 23, - "Offset": 60, - "EndOffset": 78, - "Path": 1, - "Ordinal": 5, - "Hits": 316 - }, - { - "Line": 23, - "Offset": 81, - "EndOffset": 83, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 23, - "Offset": 81, - "EndOffset": 112, - "Path": 1, - "Ordinal": 7, - "Hits": 317 - }, - { - "Line": 29, - "Offset": 134, - "EndOffset": 136, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 29, - "Offset": 134, - "EndOffset": 172, - "Path": 1, - "Ordinal": 9, - "Hits": 317 - } - ] - }, - "System.String System.Linq.Dynamic.Core.Parser.StringParser::ParseStringAndReplaceDoubleQuotes(System.String,System.Int32)": { - "Lines": { - "45": 158, - "46": 158, - "47": 158 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.Parser.StringParser::ReplaceDoubleQuotes(System.String,System.Int32)": { - "Lines": { - "50": 158, - "52": 158, - "53": 158, - "55": 0, - "56": 0, - "57": 0, - "59": 158 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\TypeFinder.cs": { - "System.Linq.Dynamic.Core.Parser.TypeFinder": { - "System.Type System.Linq.Dynamic.Core.Parser.TypeFinder::FindTypeByName(System.String,System.Linq.Expressions.ParameterExpression[],System.Boolean)": { - "Lines": { - "21": 37, - "22": 37, - "24": 37, - "26": 37, - "27": 5, - "28": 5, - "31": 32, - "32": 3, - "33": 3, - "36": 29, - "37": 37 - }, - "Branches": [ - { - "Line": 26, - "Offset": 41, - "EndOffset": 43, - "Path": 0, - "Ordinal": 0, - "Hits": 5 - }, - { - "Line": 26, - "Offset": 41, - "EndOffset": 49, - "Path": 1, - "Ordinal": 1, - "Hits": 32 - }, - { - "Line": 31, - "Offset": 50, - "EndOffset": 52, - "Path": 0, - "Ordinal": 2, - "Hits": 29 - }, - { - "Line": 31, - "Offset": 50, - "EndOffset": 64, - "Path": 1, - "Ordinal": 3, - "Hits": 3 - }, - { - "Line": 31, - "Offset": 69, - "EndOffset": 71, - "Path": 0, - "Ordinal": 4, - "Hits": 3 - }, - { - "Line": 31, - "Offset": 69, - "EndOffset": 77, - "Path": 1, - "Ordinal": 5, - "Hits": 29 - } - ] - }, - "System.Type System.Linq.Dynamic.Core.Parser.TypeFinder::ResolveTypeByUsingCustomTypeProvider(System.String,System.Boolean)": { - "Lines": { - "40": 29, - "41": 29, - "42": 27, - "43": 27, - "44": 27, - "45": 25, - "46": 25, - "50": 2, - "51": 0, - "52": 0, - "54": 2, - "56": 4, - "57": 29 - }, - "Branches": [ - { - "Line": 41, - "Offset": 2, - "EndOffset": 4, - "Path": 0, - "Ordinal": 0, - "Hits": 6 - }, - { - "Line": 41, - "Offset": 2, - "EndOffset": 17, - "Path": 1, - "Ordinal": 1, - "Hits": 27 - }, - { - "Line": 41, - "Offset": 15, - "EndOffset": 17, - "Path": 0, - "Ordinal": 2, - "Hits": 27 - }, - { - "Line": 41, - "Offset": 15, - "EndOffset": 33, - "Path": 1, - "Ordinal": 3, - "Hits": 2 - }, - { - "Line": 41, - "Offset": 36, - "EndOffset": 38, - "Path": 0, - "Ordinal": 4, - "Hits": 27 - }, - { - "Line": 44, - "Offset": 66, - "EndOffset": 68, - "Path": 0, - "Ordinal": 6, - "Hits": 25 - }, - { - "Line": 44, - "Offset": 66, - "EndOffset": 73, - "Path": 1, - "Ordinal": 7, - "Hits": 2 - }, - { - "Line": 50, - "Offset": 88, - "EndOffset": 90, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 50, - "Offset": 88, - "EndOffset": 111, - "Path": 1, - "Ordinal": 9, - "Hits": 2 - }, - { - "Line": 41, - "Offset": 36, - "EndOffset": 112, - "Path": 1, - "Ordinal": 5, - "Hits": 4 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeFinder::TryResolveTypeUsingExpressions(System.String,System.Linq.Expressions.ParameterExpression[],System.Type&)": { - "Lines": { - "60": 29, - "61": 275, - "62": 55, - "63": 55, - "64": 2, - "65": 2, - "66": 2, - "69": 53, - "70": 0, - "71": 0, - "72": 0, - "75": 53, - "76": 1, - "77": 1, - "78": 1, - "79": 1, - "80": 1, - "81": 1, - "82": 1, - "84": 0, - "85": 52, - "87": 26, - "88": 26, - "89": 29 - }, - "Branches": [ - { - "Line": 61, - "Offset": 267, - "EndOffset": 50, - "Path": 1, - "Ordinal": 11, - "Hits": 55 - }, - { - "Line": 63, - "Offset": 77, - "EndOffset": 79, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 63, - "Offset": 77, - "EndOffset": 95, - "Path": 1, - "Ordinal": 1, - "Hits": 53 - }, - { - "Line": 69, - "Offset": 137, - "EndOffset": 139, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 69, - "Offset": 137, - "EndOffset": 155, - "Path": 1, - "Ordinal": 3, - "Hits": 53 - }, - { - "Line": 75, - "Offset": 166, - "EndOffset": 168, - "Path": 0, - "Ordinal": 4, - "Hits": 1 - }, - { - "Line": 75, - "Offset": 166, - "EndOffset": 184, - "Path": 1, - "Ordinal": 5, - "Hits": 52 - }, - { - "Line": 75, - "Offset": 189, - "EndOffset": 191, - "Path": 0, - "Ordinal": 6, - "Hits": 1 - }, - { - "Line": 79, - "Offset": 248, - "EndOffset": 250, - "Path": 0, - "Ordinal": 8, - "Hits": 1 - }, - { - "Line": 79, - "Offset": 248, - "EndOffset": 259, - "Path": 1, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 75, - "Offset": 189, - "EndOffset": 260, - "Path": 1, - "Ordinal": 7, - "Hits": 52 - }, - { - "Line": 61, - "Offset": 267, - "EndOffset": 272, - "Path": 0, - "Ordinal": 10, - "Hits": 26 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.TypeFinder::.ctor(System.Linq.Dynamic.Core.ParsingConfig,System.Linq.Dynamic.Core.Parser.IKeywordsHelper)": { - "Lines": { - "11": 590, - "12": 590, - "13": 590, - "14": 590, - "16": 590, - "17": 590, - "18": 590 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\TypeHelper.cs": { - "System.Linq.Dynamic.Core.Parser.TypeHelper": { - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper::TryGetFirstGenericArgument(System.Type,System.Type&)": { - "Lines": { - "11": 0, - "12": 0, - "13": 0, - "14": 0, - "15": 0, - "16": 0, - "19": 0, - "20": 0, - "21": 0 - }, - "Branches": [ - { - "Line": 13, - "Offset": 20, - "EndOffset": 22, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 13, - "Offset": 20, - "EndOffset": 30, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper::TryFindGenericType(System.Type,System.Type,System.Type&)": { - "Lines": { - "24": 8740, - "25": 16908, - "26": 8780, - "27": 8780, - "28": 260, - "29": 260, - "30": 260, - "33": 8520, - "34": 8520, - "35": 41134, - "36": 7963, - "37": 7963, - "38": 352, - "39": 352, - "41": 7611, - "42": 8168, - "44": 8168, - "45": 8168, - "47": 8128, - "48": 8128, - "49": 8740 - }, - "Branches": [ - { - "Line": 25, - "Offset": 167, - "EndOffset": 6, - "Path": 1, - "Ordinal": 13, - "Hits": 8780 - }, - { - "Line": 27, - "Offset": 18, - "EndOffset": 20, - "Path": 0, - "Ordinal": 0, - "Hits": 3627 - }, - { - "Line": 27, - "Offset": 18, - "EndOffset": 34, - "Path": 1, - "Ordinal": 1, - "Hits": 5153 - }, - { - "Line": 27, - "Offset": 37, - "EndOffset": 39, - "Path": 0, - "Ordinal": 2, - "Hits": 260 - }, - { - "Line": 27, - "Offset": 37, - "EndOffset": 50, - "Path": 1, - "Ordinal": 3, - "Hits": 8520 - }, - { - "Line": 33, - "Offset": 63, - "EndOffset": 65, - "Path": 0, - "Ordinal": 4, - "Hits": 8520 - }, - { - "Line": 35, - "Offset": 118, - "EndOffset": 79, - "Path": 1, - "Ordinal": 9, - "Hits": 7963 - }, - { - "Line": 37, - "Offset": 99, - "EndOffset": 101, - "Path": 0, - "Ordinal": 6, - "Hits": 352 - }, - { - "Line": 37, - "Offset": 99, - "EndOffset": 106, - "Path": 1, - "Ordinal": 7, - "Hits": 7611 - }, - { - "Line": 35, - "Offset": 118, - "EndOffset": 120, - "Path": 0, - "Ordinal": 8, - "Hits": 8168 - }, - { - "Line": 33, - "Offset": 63, - "EndOffset": 121, - "Path": 1, - "Ordinal": 5, - "Hits": 8168 - }, - { - "Line": 25, - "Offset": 142, - "EndOffset": 144, - "Path": 0, - "Ordinal": 10, - "Hits": 8991 - }, - { - "Line": 25, - "Offset": 142, - "EndOffset": 162, - "Path": 1, - "Ordinal": 11, - "Hits": 7917 - }, - { - "Line": 25, - "Offset": 167, - "EndOffset": 172, - "Path": 0, - "Ordinal": 12, - "Hits": 8128 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper::IsCompatibleWith(System.Type,System.Type)": { - "Lines": { - "52": 3348, - "54": 3348, - "55": 0, - "56": 0, - "59": 3348, - "60": 57, - "61": 57, - "64": 3291, - "65": 3291, - "67": 3291, - "68": 675, - "69": 675, - "72": 2616, - "73": 2616, - "74": 2616, - "77": 0, - "86": 0, - "88": 0, - "91": 68, - "103": 68, - "105": 0, - "108": 0, - "116": 0, - "118": 0, - "121": 0, - "131": 0, - "133": 0, - "136": 928, - "143": 562, - "145": 366, - "148": 0, - "156": 0, - "158": 0, - "161": 285, - "167": 165, - "169": 120, - "172": 0, - "178": 0, - "180": 0, - "183": 261, - "187": 90, - "189": 171, - "192": 1074, - "193": 137, - "194": 137, - "196": 937, - "198": 1594, - "274": 3348 - }, - "Branches": [ - { - "Line": 54, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 54, - "Offset": 12, - "EndOffset": 23, - "Path": 1, - "Ordinal": 1, - "Hits": 3348 - }, - { - "Line": 59, - "Offset": 36, - "EndOffset": 38, - "Path": 0, - "Ordinal": 2, - "Hits": 57 - }, - { - "Line": 59, - "Offset": 36, - "EndOffset": 53, - "Path": 1, - "Ordinal": 3, - "Hits": 3291 - }, - { - "Line": 67, - "Offset": 74, - "EndOffset": 76, - "Path": 0, - "Ordinal": 4, - "Hits": 1494 - }, - { - "Line": 67, - "Offset": 74, - "EndOffset": 85, - "Path": 1, - "Ordinal": 5, - "Hits": 1797 - }, - { - "Line": 67, - "Offset": 90, - "EndOffset": 92, - "Path": 0, - "Ordinal": 6, - "Hits": 675 - }, - { - "Line": 67, - "Offset": 90, - "EndOffset": 101, - "Path": 1, - "Ordinal": 7, - "Hits": 2616 - }, - { - "Line": 72, - "Offset": 112, - "EndOffset": 114, - "Path": 0, - "Ordinal": 8, - "Hits": 2614 - }, - { - "Line": 72, - "Offset": 112, - "EndOffset": 122, - "Path": 1, - "Ordinal": 9, - "Hits": 2 - }, - { - "Line": 73, - "Offset": 136, - "EndOffset": 138, - "Path": 0, - "Ordinal": 10, - "Hits": 2610 - }, - { - "Line": 73, - "Offset": 136, - "EndOffset": 146, - "Path": 1, - "Ordinal": 11, - "Hits": 6 - }, - { - "Line": 74, - "Offset": 160, - "EndOffset": 206, - "Path": 1, - "Ordinal": 13, - "Hits": 0 - }, - { - "Line": 77, - "Offset": 217, - "EndOffset": 268, - "Path": 1, - "Ordinal": 23, - "Hits": 0 - }, - { - "Line": 77, - "Offset": 217, - "EndOffset": 268, - "Path": 3, - "Ordinal": 25, - "Hits": 0 - }, - { - "Line": 77, - "Offset": 217, - "EndOffset": 268, - "Path": 5, - "Ordinal": 27, - "Hits": 0 - }, - { - "Line": 77, - "Offset": 217, - "EndOffset": 268, - "Path": 7, - "Ordinal": 29, - "Hits": 0 - }, - { - "Line": 77, - "Offset": 217, - "EndOffset": 268, - "Path": 9, - "Ordinal": 31, - "Hits": 0 - }, - { - "Line": 77, - "Offset": 217, - "EndOffset": 268, - "Path": 10, - "Ordinal": 32, - "Hits": 0 - }, - { - "Line": 77, - "Offset": 217, - "EndOffset": 268, - "Path": 11, - "Ordinal": 33, - "Hits": 0 - }, - { - "Line": 74, - "Offset": 160, - "EndOffset": 281, - "Path": 2, - "Ordinal": 14, - "Hits": 68 - }, - { - "Line": 91, - "Offset": 294, - "EndOffset": 298, - "Path": 1, - "Ordinal": 35, - "Hits": 68 - }, - { - "Line": 74, - "Offset": 160, - "EndOffset": 311, - "Path": 3, - "Ordinal": 15, - "Hits": 0 - }, - { - "Line": 108, - "Offset": 322, - "EndOffset": 365, - "Path": 1, - "Ordinal": 37, - "Hits": 0 - }, - { - "Line": 108, - "Offset": 322, - "EndOffset": 365, - "Path": 3, - "Ordinal": 39, - "Hits": 0 - }, - { - "Line": 108, - "Offset": 322, - "EndOffset": 365, - "Path": 5, - "Ordinal": 41, - "Hits": 0 - }, - { - "Line": 108, - "Offset": 322, - "EndOffset": 365, - "Path": 7, - "Ordinal": 43, - "Hits": 0 - }, - { - "Line": 108, - "Offset": 322, - "EndOffset": 365, - "Path": 8, - "Ordinal": 44, - "Hits": 0 - }, - { - "Line": 108, - "Offset": 322, - "EndOffset": 365, - "Path": 9, - "Ordinal": 45, - "Hits": 0 - }, - { - "Line": 74, - "Offset": 160, - "EndOffset": 378, - "Path": 4, - "Ordinal": 16, - "Hits": 0 - }, - { - "Line": 121, - "Offset": 390, - "EndOffset": 394, - "Path": 1, - "Ordinal": 47, - "Hits": 0 - }, - { - "Line": 74, - "Offset": 160, - "EndOffset": 407, - "Path": 5, - "Ordinal": 17, - "Hits": 928 - }, - { - "Line": 136, - "Offset": 419, - "EndOffset": 454, - "Path": 1, - "Ordinal": 49, - "Hits": 562 - }, - { - "Line": 136, - "Offset": 419, - "EndOffset": 454, - "Path": 3, - "Ordinal": 51, - "Hits": 562 - }, - { - "Line": 136, - "Offset": 419, - "EndOffset": 454, - "Path": 5, - "Ordinal": 53, - "Hits": 562 - }, - { - "Line": 136, - "Offset": 419, - "EndOffset": 454, - "Path": 6, - "Ordinal": 54, - "Hits": 562 - }, - { - "Line": 136, - "Offset": 419, - "EndOffset": 454, - "Path": 7, - "Ordinal": 55, - "Hits": 562 - }, - { - "Line": 74, - "Offset": 160, - "EndOffset": 464, - "Path": 6, - "Ordinal": 18, - "Hits": 0 - }, - { - "Line": 148, - "Offset": 477, - "EndOffset": 481, - "Path": 1, - "Ordinal": 57, - "Hits": 0 - }, - { - "Line": 74, - "Offset": 160, - "EndOffset": 488, - "Path": 7, - "Ordinal": 19, - "Hits": 285 - }, - { - "Line": 161, - "Offset": 499, - "EndOffset": 503, - "Path": 0, - "Ordinal": 58, - "Hits": 279 - }, - { - "Line": 161, - "Offset": 499, - "EndOffset": 513, - "Path": 1, - "Ordinal": 59, - "Hits": 165 - }, - { - "Line": 161, - "Offset": 509, - "EndOffset": 513, - "Path": 1, - "Ordinal": 61, - "Hits": 165 - }, - { - "Line": 74, - "Offset": 160, - "EndOffset": 520, - "Path": 8, - "Ordinal": 20, - "Hits": 0 - }, - { - "Line": 172, - "Offset": 533, - "EndOffset": 537, - "Path": 1, - "Ordinal": 63, - "Hits": 0 - }, - { - "Line": 74, - "Offset": 160, - "EndOffset": 544, - "Path": 9, - "Ordinal": 21, - "Hits": 261 - }, - { - "Line": 183, - "Offset": 557, - "EndOffset": 561, - "Path": 1, - "Ordinal": 65, - "Hits": 90 - }, - { - "Line": 74, - "Offset": 160, - "EndOffset": 568, - "Path": 0, - "Ordinal": 12, - "Hits": 1074 - }, - { - "Line": 192, - "Offset": 579, - "EndOffset": 581, - "Path": 0, - "Ordinal": 66, - "Hits": 137 - }, - { - "Line": 77, - "Offset": 217, - "EndOffset": 589, - "Path": 0, - "Ordinal": 22, - "Hits": 1594 - }, - { - "Line": 77, - "Offset": 217, - "EndOffset": 589, - "Path": 2, - "Ordinal": 24, - "Hits": 1594 - }, - { - "Line": 77, - "Offset": 217, - "EndOffset": 589, - "Path": 4, - "Ordinal": 26, - "Hits": 1594 - }, - { - "Line": 77, - "Offset": 217, - "EndOffset": 589, - "Path": 6, - "Ordinal": 28, - "Hits": 1594 - }, - { - "Line": 77, - "Offset": 217, - "EndOffset": 589, - "Path": 8, - "Ordinal": 30, - "Hits": 1594 - }, - { - "Line": 91, - "Offset": 294, - "EndOffset": 589, - "Path": 0, - "Ordinal": 34, - "Hits": 1594 - }, - { - "Line": 108, - "Offset": 322, - "EndOffset": 589, - "Path": 0, - "Ordinal": 36, - "Hits": 1594 - }, - { - "Line": 108, - "Offset": 322, - "EndOffset": 589, - "Path": 2, - "Ordinal": 38, - "Hits": 1594 - }, - { - "Line": 108, - "Offset": 322, - "EndOffset": 589, - "Path": 4, - "Ordinal": 40, - "Hits": 1594 - }, - { - "Line": 108, - "Offset": 322, - "EndOffset": 589, - "Path": 6, - "Ordinal": 42, - "Hits": 1594 - }, - { - "Line": 121, - "Offset": 390, - "EndOffset": 589, - "Path": 0, - "Ordinal": 46, - "Hits": 1594 - }, - { - "Line": 136, - "Offset": 419, - "EndOffset": 589, - "Path": 0, - "Ordinal": 48, - "Hits": 1594 - }, - { - "Line": 136, - "Offset": 419, - "EndOffset": 589, - "Path": 2, - "Ordinal": 50, - "Hits": 1594 - }, - { - "Line": 136, - "Offset": 419, - "EndOffset": 589, - "Path": 4, - "Ordinal": 52, - "Hits": 1594 - }, - { - "Line": 148, - "Offset": 477, - "EndOffset": 589, - "Path": 0, - "Ordinal": 56, - "Hits": 1594 - }, - { - "Line": 161, - "Offset": 509, - "EndOffset": 589, - "Path": 0, - "Ordinal": 60, - "Hits": 1594 - }, - { - "Line": 172, - "Offset": 533, - "EndOffset": 589, - "Path": 0, - "Ordinal": 62, - "Hits": 1594 - }, - { - "Line": 183, - "Offset": 557, - "EndOffset": 589, - "Path": 0, - "Ordinal": 64, - "Hits": 1594 - }, - { - "Line": 192, - "Offset": 579, - "EndOffset": 589, - "Path": 1, - "Ordinal": 67, - "Hits": 1594 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper::IsClass(System.Type)": { - "Lines": { - "277": 86, - "278": 86, - "279": 86, - "280": 22, - "282": 22, - "283": 22, - "284": 22, - "285": 22, - "286": 22, - "287": 86, - "288": 86 - }, - "Branches": [ - { - "Line": 279, - "Offset": 16, - "EndOffset": 18, - "Path": 0, - "Ordinal": 0, - "Hits": 22 - }, - { - "Line": 282, - "Offset": 37, - "EndOffset": 39, - "Path": 0, - "Ordinal": 2, - "Hits": 22 - }, - { - "Line": 282, - "Offset": 37, - "EndOffset": 43, - "Path": 1, - "Ordinal": 3, - "Hits": 22 - }, - { - "Line": 279, - "Offset": 16, - "EndOffset": 44, - "Path": 1, - "Ordinal": 1, - "Hits": 86 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper::IsStruct(System.Type)": { - "Lines": { - "291": 64, - "292": 64, - "293": 64, - "294": 64, - "295": 64, - "296": 18, - "297": 18, - "298": 18, - "299": 18, - "300": 18, - "301": 18, - "302": 18, - "303": 18, - "304": 2, - "305": 2, - "306": 2, - "307": 2, - "309": 0, - "310": 16, - "311": 62, - "313": 62, - "314": 64 - }, - "Branches": [ - { - "Line": 293, - "Offset": 21, - "EndOffset": 26, - "Path": 0, - "Ordinal": 0, - "Hits": 64 - }, - { - "Line": 295, - "Offset": 43, - "EndOffset": 45, - "Path": 0, - "Ordinal": 2, - "Hits": 18 - }, - { - "Line": 297, - "Offset": 62, - "EndOffset": 64, - "Path": 0, - "Ordinal": 4, - "Hits": 18 - }, - { - "Line": 297, - "Offset": 80, - "EndOffset": 82, - "Path": 0, - "Ordinal": 6, - "Hits": 18 - }, - { - "Line": 297, - "Offset": 98, - "EndOffset": 100, - "Path": 0, - "Ordinal": 8, - "Hits": 18 - }, - { - "Line": 297, - "Offset": 116, - "EndOffset": 118, - "Path": 0, - "Ordinal": 10, - "Hits": 12 - }, - { - "Line": 297, - "Offset": 62, - "EndOffset": 136, - "Path": 1, - "Ordinal": 5, - "Hits": 6 - }, - { - "Line": 297, - "Offset": 80, - "EndOffset": 136, - "Path": 1, - "Ordinal": 7, - "Hits": 6 - }, - { - "Line": 297, - "Offset": 98, - "EndOffset": 136, - "Path": 1, - "Ordinal": 9, - "Hits": 6 - }, - { - "Line": 297, - "Offset": 116, - "EndOffset": 136, - "Path": 1, - "Ordinal": 11, - "Hits": 6 - }, - { - "Line": 297, - "Offset": 139, - "EndOffset": 141, - "Path": 0, - "Ordinal": 12, - "Hits": 2 - }, - { - "Line": 305, - "Offset": 160, - "EndOffset": 162, - "Path": 0, - "Ordinal": 14, - "Hits": 2 - }, - { - "Line": 305, - "Offset": 160, - "EndOffset": 168, - "Path": 1, - "Ordinal": 15, - "Hits": 0 - }, - { - "Line": 297, - "Offset": 139, - "EndOffset": 169, - "Path": 1, - "Ordinal": 13, - "Hits": 16 - }, - { - "Line": 295, - "Offset": 43, - "EndOffset": 170, - "Path": 1, - "Ordinal": 3, - "Hits": 62 - }, - { - "Line": 293, - "Offset": 21, - "EndOffset": 171, - "Path": 1, - "Ordinal": 1, - "Hits": 62 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper::IsEnumType(System.Type)": { - "Lines": { - "317": 314, - "318": 314, - "319": 314 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper::IsNumericType(System.Type)": { - "Lines": { - "322": 4, - "323": 4, - "324": 4 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper::IsNullableType(System.Type)": { - "Lines": { - "327": 8498, - "328": 8498, - "330": 8498, - "331": 8498 - }, - "Branches": [ - { - "Line": 330, - "Offset": 24, - "EndOffset": 26, - "Path": 0, - "Ordinal": 0, - "Hits": 3869 - }, - { - "Line": 330, - "Offset": 24, - "EndOffset": 49, - "Path": 1, - "Ordinal": 1, - "Hits": 4629 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper::TypeCanBeNull(System.Type)": { - "Lines": { - "334": 39, - "335": 39, - "337": 39, - "338": 39 - }, - "Branches": [ - { - "Line": 337, - "Offset": 24, - "EndOffset": 26, - "Path": 0, - "Ordinal": 0, - "Hits": 12 - }, - { - "Line": 337, - "Offset": 24, - "EndOffset": 34, - "Path": 1, - "Ordinal": 1, - "Hits": 27 - } - ] - }, - "System.Type System.Linq.Dynamic.Core.Parser.TypeHelper::ToNullableType(System.Type)": { - "Lines": { - "341": 7, - "342": 7, - "344": 7, - "345": 0, - "347": 0, - "350": 7, - "351": 1, - "353": 1, - "357": 6, - "358": 7 - }, - "Branches": [ - { - "Line": 344, - "Offset": 21, - "EndOffset": 23, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 344, - "Offset": 21, - "EndOffset": 28, - "Path": 1, - "Ordinal": 1, - "Hits": 7 - }, - { - "Line": 350, - "Offset": 44, - "EndOffset": 46, - "Path": 0, - "Ordinal": 2, - "Hits": 1 - }, - { - "Line": 350, - "Offset": 44, - "EndOffset": 51, - "Path": 1, - "Ordinal": 3, - "Hits": 6 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper::IsSignedIntegralType(System.Type)": { - "Lines": { - "361": 648, - "362": 648, - "363": 648 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper::IsUnsignedIntegralType(System.Type)": { - "Lines": { - "366": 120, - "367": 120, - "368": 120 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.Parser.TypeHelper::GetNumericTypeKind(System.Type)": { - "Lines": { - "371": 772, - "372": 772, - "375": 772, - "376": 0, - "377": 0, - "380": 772, - "386": 626, - "391": 146, - "396": 0, - "398": 0, - "415": 772 - }, - "Branches": [ - { - "Line": 375, - "Offset": 22, - "EndOffset": 24, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 375, - "Offset": 22, - "EndOffset": 29, - "Path": 1, - "Ordinal": 1, - "Hits": 772 - }, - { - "Line": 380, - "Offset": 41, - "EndOffset": 96, - "Path": 1, - "Ordinal": 3, - "Hits": 626 - }, - { - "Line": 380, - "Offset": 41, - "EndOffset": 96, - "Path": 10, - "Ordinal": 12, - "Hits": 626 - }, - { - "Line": 380, - "Offset": 41, - "EndOffset": 96, - "Path": 11, - "Ordinal": 13, - "Hits": 626 - }, - { - "Line": 380, - "Offset": 41, - "EndOffset": 96, - "Path": 12, - "Ordinal": 14, - "Hits": 626 - }, - { - "Line": 380, - "Offset": 41, - "EndOffset": 100, - "Path": 2, - "Ordinal": 4, - "Hits": 146 - }, - { - "Line": 380, - "Offset": 41, - "EndOffset": 100, - "Path": 4, - "Ordinal": 6, - "Hits": 146 - }, - { - "Line": 380, - "Offset": 41, - "EndOffset": 100, - "Path": 6, - "Ordinal": 8, - "Hits": 146 - }, - { - "Line": 380, - "Offset": 41, - "EndOffset": 100, - "Path": 8, - "Ordinal": 10, - "Hits": 146 - }, - { - "Line": 380, - "Offset": 41, - "EndOffset": 104, - "Path": 3, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 380, - "Offset": 41, - "EndOffset": 104, - "Path": 5, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 380, - "Offset": 41, - "EndOffset": 104, - "Path": 7, - "Ordinal": 9, - "Hits": 0 - }, - { - "Line": 380, - "Offset": 41, - "EndOffset": 104, - "Path": 9, - "Ordinal": 11, - "Hits": 0 - }, - { - "Line": 380, - "Offset": 41, - "EndOffset": 108, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - } - ] - }, - "System.String System.Linq.Dynamic.Core.Parser.TypeHelper::GetTypeName(System.Type)": { - "Lines": { - "418": 28, - "419": 28, - "420": 0, - "421": 0, - "424": 28, - "426": 28, - "427": 28, - "428": 0, - "429": 0, - "430": 0, - "432": 28, - "433": 28 - }, - "Branches": [ - { - "Line": 419, - "Offset": 10, - "EndOffset": 12, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 419, - "Offset": 10, - "EndOffset": 21, - "Path": 1, - "Ordinal": 1, - "Hits": 28 - }, - { - "Line": 427, - "Offset": 46, - "EndOffset": 48, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 427, - "Offset": 46, - "EndOffset": 62, - "Path": 1, - "Ordinal": 3, - "Hits": 28 - } - ] - }, - "System.Type System.Linq.Dynamic.Core.Parser.TypeHelper::GetNullableType(System.Type)": { - "Lines": { - "436": 14, - "437": 14, - "438": 14, - "439": 14 - }, - "Branches": [ - { - "Line": 437, - "Offset": 8, - "EndOffset": 10, - "Path": 0, - "Ordinal": 0, - "Hits": 14 - }, - { - "Line": 437, - "Offset": 8, - "EndOffset": 12, - "Path": 1, - "Ordinal": 1, - "Hits": 14 - }, - { - "Line": 438, - "Offset": 25, - "EndOffset": 27, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 438, - "Offset": 25, - "EndOffset": 30, - "Path": 1, - "Ordinal": 3, - "Hits": 14 - } - ] - }, - "System.Type System.Linq.Dynamic.Core.Parser.TypeHelper::GetNonNullableType(System.Type)": { - "Lines": { - "442": 8283, - "443": 8283, - "445": 8283, - "446": 8283 - }, - "Branches": [ - { - "Line": 445, - "Offset": 19, - "EndOffset": 21, - "Path": 0, - "Ordinal": 0, - "Hits": 4524 - }, - { - "Line": 445, - "Offset": 19, - "EndOffset": 24, - "Path": 1, - "Ordinal": 1, - "Hits": 3759 - } - ] - }, - "System.Type System.Linq.Dynamic.Core.Parser.TypeHelper::GetUnderlyingType(System.Type)": { - "Lines": { - "449": 252, - "450": 252, - "452": 252, - "453": 252, - "454": 174, - "455": 174, - "456": 174, - "459": 78, - "460": 252 - }, - "Branches": [ - { - "Line": 453, - "Offset": 28, - "EndOffset": 30, - "Path": 0, - "Ordinal": 0, - "Hits": 174 - }, - { - "Line": 456, - "Offset": 55, - "EndOffset": 57, - "Path": 0, - "Ordinal": 2, - "Hits": 144 - }, - { - "Line": 456, - "Offset": 55, - "EndOffset": 60, - "Path": 1, - "Ordinal": 3, - "Hits": 30 - }, - { - "Line": 453, - "Offset": 28, - "EndOffset": 64, - "Path": 1, - "Ordinal": 1, - "Hits": 78 - } - ] - }, - "System.Collections.Generic.IList`1 System.Linq.Dynamic.Core.Parser.TypeHelper::GetSelfAndBaseTypes(System.Type,System.Boolean)": { - "Lines": { - "463": 732, - "464": 732, - "466": 732, - "467": 11, - "468": 11, - "469": 11, - "470": 11, - "473": 2256, - "474": 732 - }, - "Branches": [ - { - "Line": 466, - "Offset": 39, - "EndOffset": 41, - "Path": 0, - "Ordinal": 0, - "Hits": 11 - }, - { - "Line": 466, - "Offset": 39, - "EndOffset": 60, - "Path": 1, - "Ordinal": 1, - "Hits": 721 - }, - { - "Line": 473, - "Offset": 6, - "EndOffset": 8, - "Path": 0, - "Ordinal": 0, - "Hits": 58 - }, - { - "Line": 473, - "Offset": 6, - "EndOffset": 26, - "Path": 1, - "Ordinal": 1, - "Hits": 1477 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.TypeHelper::AddInterface(System.Collections.Generic.ICollection`1,System.Type)": { - "Lines": { - "486": 44, - "487": 44, - "488": 33, - "489": 33, - "491": 165, - "492": 33, - "493": 33, - "494": 33, - "495": 33, - "496": 44 - }, - "Branches": [ - { - "Line": 487, - "Offset": 13, - "EndOffset": 15, - "Path": 0, - "Ordinal": 0, - "Hits": 33 - }, - { - "Line": 491, - "Offset": 58, - "EndOffset": 36, - "Path": 1, - "Ordinal": 3, - "Hits": 33 - }, - { - "Line": 491, - "Offset": 58, - "EndOffset": 60, - "Path": 0, - "Ordinal": 2, - "Hits": 33 - }, - { - "Line": 487, - "Offset": 13, - "EndOffset": 61, - "Path": 1, - "Ordinal": 1, - "Hits": 44 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper::TryParseEnum(System.String,System.Type,System.Object&)": { - "Lines": { - "499": 695, - "500": 695, - "501": 5, - "502": 5, - "503": 5, - "506": 690, - "507": 690, - "508": 695 - }, - "Branches": [ - { - "Line": 500, - "Offset": 2, - "EndOffset": 4, - "Path": 0, - "Ordinal": 0, - "Hits": 695 - }, - { - "Line": 500, - "Offset": 15, - "EndOffset": 17, - "Path": 0, - "Ordinal": 2, - "Hits": 5 - }, - { - "Line": 500, - "Offset": 2, - "EndOffset": 26, - "Path": 1, - "Ordinal": 1, - "Hits": 690 - }, - { - "Line": 500, - "Offset": 15, - "EndOffset": 26, - "Path": 1, - "Ordinal": 3, - "Hits": 690 - }, - { - "Line": 500, - "Offset": 29, - "EndOffset": 31, - "Path": 0, - "Ordinal": 4, - "Hits": 5 - }, - { - "Line": 500, - "Offset": 29, - "EndOffset": 46, - "Path": 1, - "Ordinal": 5, - "Hits": 690 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper::IsDictionary(System.Type)": { - "Lines": { - "511": 183, - "512": 183, - "513": 183, - "514": 183, - "515": 183, - "516": 183, - "517": 183, - "518": 183, - "520": 183 - }, - "Branches": [ - { - "Line": 512, - "Offset": 19, - "EndOffset": 21, - "Path": 0, - "Ordinal": 0, - "Hits": 178 - }, - { - "Line": 512, - "Offset": 19, - "EndOffset": 41, - "Path": 1, - "Ordinal": 1, - "Hits": 5 - } - ] - } - }, - "System.Linq.Dynamic.Core.Parser.TypeHelper/d__18": { - "System.Boolean System.Linq.Dynamic.Core.Parser.TypeHelper/d__18::MoveNext()": { - "Lines": { - "477": 721, - "478": 2256, - "479": 1535, - "480": 1535, - "481": 1535, - "482": 1535, - "483": 721 - }, - "Branches": [ - { - "Line": 478, - "Offset": 100, - "EndOffset": 34, - "Path": 1, - "Ordinal": 1, - "Hits": 1535 - }, - { - "Line": 478, - "Offset": 100, - "EndOffset": 102, - "Path": 0, - "Ordinal": 0, - "Hits": 721 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\WrappedValue.cs": { - "System.Linq.Dynamic.Core.Parser.WrappedValue`1": { - "TValue System.Linq.Dynamic.Core.Parser.WrappedValue`1::get_Value()": { - "Lines": { - "7": 20 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.WrappedValue`1::op_Equality(System.Linq.Dynamic.Core.Parser.WrappedValue`1,System.Linq.Dynamic.Core.Parser.WrappedValue`1)": { - "Lines": { - "15": 0, - "16": 0, - "17": 0, - "18": 0, - "21": 0, - "22": 0, - "23": 0, - "26": 0, - "27": 0 - }, - "Branches": [ - { - "Line": 16, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 16, - "Offset": 7, - "EndOffset": 14, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 21, - "Offset": 15, - "EndOffset": 17, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 21, - "Offset": 15, - "EndOffset": 23, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 21, - "Offset": 26, - "EndOffset": 28, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 21, - "Offset": 26, - "EndOffset": 33, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.WrappedValue`1::op_Inequality(System.Linq.Dynamic.Core.Parser.WrappedValue`1,System.Linq.Dynamic.Core.Parser.WrappedValue`1)": { - "Lines": { - "30": 0, - "31": 0, - "32": 0 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.WrappedValue`1::op_Equality(System.Linq.Dynamic.Core.Parser.WrappedValue`1,TValue)": { - "Lines": { - "35": 0, - "36": 0, - "37": 0, - "38": 0, - "41": 0, - "42": 0 - }, - "Branches": [ - { - "Line": 36, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 36, - "Offset": 7, - "EndOffset": 14, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.WrappedValue`1::op_Inequality(System.Linq.Dynamic.Core.Parser.WrappedValue`1,TValue)": { - "Lines": { - "45": 0, - "46": 0, - "47": 0 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.WrappedValue`1::op_Equality(TValue,System.Linq.Dynamic.Core.Parser.WrappedValue`1)": { - "Lines": { - "50": 0, - "51": 0, - "52": 0, - "53": 0, - "56": 0, - "57": 0 - }, - "Branches": [ - { - "Line": 51, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 51, - "Offset": 7, - "EndOffset": 14, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.WrappedValue`1::op_Inequality(TValue,System.Linq.Dynamic.Core.Parser.WrappedValue`1)": { - "Lines": { - "60": 0, - "61": 0, - "62": 0 - }, - "Branches": [] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.WrappedValue`1::Equals(System.Object)": { - "Lines": { - "65": 0, - "66": 0, - "67": 0, - "68": 0, - "71": 0, - "72": 0, - "73": 0, - "76": 0, - "77": 0 - }, - "Branches": [ - { - "Line": 66, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 66, - "Offset": 7, - "EndOffset": 14, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 71, - "Offset": 30, - "EndOffset": 32, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 71, - "Offset": 30, - "EndOffset": 37, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - } - ] - }, - "System.Int32 System.Linq.Dynamic.Core.Parser.WrappedValue`1::GetHashCode()": { - "Lines": { - "80": 0, - "81": 0, - "82": 0 - }, - "Branches": [ - { - "Line": 81, - "Offset": 21, - "EndOffset": 23, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 81, - "Offset": 21, - "EndOffset": 27, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.WrappedValue`1::.ctor(TValue)": { - "Lines": { - "9": 17, - "10": 17, - "11": 17, - "12": 17 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\SupportedMethods\\MethodData.cs": { - "System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData": { - "System.Reflection.MethodBase System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData::get_MethodBase()": { - "Lines": { - "8": 2333 - }, - "Branches": [] - }, - "System.Reflection.ParameterInfo[] System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData::get_Parameters()": { - "Lines": { - "9": 18341 - }, - "Branches": [] - }, - "System.Linq.Expressions.Expression[] System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData::get_Args()": { - "Lines": { - "10": 1519 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Parser\\SupportedMethods\\MethodFinder.cs": { - "System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder": { - "System.Boolean System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::TryFindAverageMethod(System.Type,System.Type,System.Reflection.MethodInfo&)": { - "Lines": { - "49": 1, - "50": 1, - "51": 1, - "52": 15, - "53": 12, - "54": 6, - "55": 1, - "56": 1, - "58": 1, - "59": 1 - }, - "Branches": [ - { - "Line": 52, - "Offset": 1, - "EndOffset": 3, - "Path": 0, - "Ordinal": 0, - "Hits": 15 - }, - { - "Line": 52, - "Offset": 19, - "EndOffset": 21, - "Path": 0, - "Ordinal": 2, - "Hits": 6 - }, - { - "Line": 52, - "Offset": 1, - "EndOffset": 32, - "Path": 1, - "Ordinal": 1, - "Hits": 9 - }, - { - "Line": 52, - "Offset": 19, - "EndOffset": 32, - "Path": 1, - "Ordinal": 3, - "Hits": 9 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::CheckAggregateMethodAndTryUpdateArgsToMatchMethodArgs(System.String,System.Linq.Expressions.Expression[]&)": { - "Lines": { - "62": 178, - "63": 178, - "64": 22, - "65": 22, - "66": 22, - "67": 178 - }, - "Branches": [ - { - "Line": 63, - "Offset": 12, - "EndOffset": 14, - "Path": 0, - "Ordinal": 0, - "Hits": 168 - }, - { - "Line": 63, - "Offset": 12, - "EndOffset": 29, - "Path": 1, - "Ordinal": 1, - "Hits": 22 - }, - { - "Line": 63, - "Offset": 25, - "EndOffset": 29, - "Path": 1, - "Ordinal": 3, - "Hits": 22 - }, - { - "Line": 63, - "Offset": 25, - "EndOffset": 33, - "Path": 0, - "Ordinal": 2, - "Hits": 156 - }, - { - "Line": 63, - "Offset": 38, - "EndOffset": 40, - "Path": 0, - "Ordinal": 4, - "Hits": 22 - }, - { - "Line": 63, - "Offset": 38, - "EndOffset": 63, - "Path": 1, - "Ordinal": 5, - "Hits": 178 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::ContainsMethod(System.Type,System.String,System.Boolean)": { - "Lines": { - "70": 42, - "71": 42, - "74": 42, - "75": 42, - "79": 42 - }, - "Branches": [ - { - "Line": 74, - "Offset": 16, - "EndOffset": 18, - "Path": 0, - "Ordinal": 0, - "Hits": 5 - }, - { - "Line": 74, - "Offset": 16, - "EndOffset": 21, - "Path": 1, - "Ordinal": 1, - "Hits": 37 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::ContainsMethod(System.Type,System.String,System.Boolean,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression[]&)": { - "Lines": { - "82": 218, - "83": 218, - "88": 218, - "89": 218 - }, - "Branches": [] - }, - "System.Int32 System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::FindMethod(System.Type,System.String,System.Boolean,System.Linq.Expressions.Expression&,System.Linq.Expressions.Expression[]&,System.Reflection.MethodBase&)": { - "Lines": { - "92": 310, - "94": 310, - "95": 1690, - "96": 490, - "97": 490, - "98": 490, - "99": 490, - "100": 220, - "101": 220, - "103": 270, - "116": 90, - "117": 7, - "119": 7, - "120": 49, - "121": 14, - "122": 14, - "123": 2, - "124": 4, - "125": 2, - "126": 14, - "128": 7, - "129": 2, - "130": 2, - "131": 2, - "133": 2, - "136": 2, - "137": 2, - "138": 2, - "139": 2, - "140": 2, - "141": 2, - "143": 0, - "144": 5, - "146": 88, - "147": 88, - "148": 310 - }, - "Branches": [ - { - "Line": 94, - "Offset": 17, - "EndOffset": 19, - "Path": 0, - "Ordinal": 0, - "Hits": 204 - }, - { - "Line": 94, - "Offset": 17, - "EndOffset": 22, - "Path": 1, - "Ordinal": 1, - "Hits": 106 - }, - { - "Line": 95, - "Offset": 116, - "EndOffset": 40, - "Path": 1, - "Ordinal": 5, - "Hits": 490 - }, - { - "Line": 99, - "Offset": 97, - "EndOffset": 99, - "Path": 0, - "Ordinal": 2, - "Hits": 220 - }, - { - "Line": 99, - "Offset": 97, - "EndOffset": 109, - "Path": 1, - "Ordinal": 3, - "Hits": 270 - }, - { - "Line": 95, - "Offset": 116, - "EndOffset": 118, - "Path": 0, - "Ordinal": 4, - "Hits": 90 - }, - { - "Line": 116, - "Offset": 134, - "EndOffset": 136, - "Path": 0, - "Ordinal": 6, - "Hits": 7 - }, - { - "Line": 116, - "Offset": 134, - "EndOffset": 152, - "Path": 1, - "Ordinal": 7, - "Hits": 83 - }, - { - "Line": 116, - "Offset": 157, - "EndOffset": 162, - "Path": 0, - "Ordinal": 8, - "Hits": 7 - }, - { - "Line": 120, - "Offset": 285, - "EndOffset": 186, - "Path": 1, - "Ordinal": 15, - "Hits": 14 - }, - { - "Line": 122, - "Offset": 225, - "EndOffset": 227, - "Path": 0, - "Ordinal": 10, - "Hits": 2 - }, - { - "Line": 124, - "Offset": 239, - "EndOffset": 241, - "Path": 0, - "Ordinal": 12, - "Hits": 2 - }, - { - "Line": 124, - "Offset": 239, - "EndOffset": 265, - "Path": 1, - "Ordinal": 13, - "Hits": 2 - }, - { - "Line": 122, - "Offset": 225, - "EndOffset": 277, - "Path": 1, - "Ordinal": 11, - "Hits": 14 - }, - { - "Line": 120, - "Offset": 285, - "EndOffset": 287, - "Path": 0, - "Ordinal": 14, - "Hits": 7 - }, - { - "Line": 128, - "Offset": 313, - "EndOffset": 315, - "Path": 0, - "Ordinal": 16, - "Hits": 2 - }, - { - "Line": 137, - "Offset": 375, - "EndOffset": 377, - "Path": 0, - "Ordinal": 18, - "Hits": 2 - }, - { - "Line": 137, - "Offset": 375, - "EndOffset": 393, - "Path": 1, - "Ordinal": 19, - "Hits": 0 - }, - { - "Line": 128, - "Offset": 313, - "EndOffset": 394, - "Path": 1, - "Ordinal": 17, - "Hits": 5 - }, - { - "Line": 116, - "Offset": 157, - "EndOffset": 395, - "Path": 1, - "Ordinal": 9, - "Hits": 88 - } - ] - }, - "System.Int32 System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::FindBestMethodBasedOnArguments(System.Collections.Generic.IEnumerable`1,System.Linq.Expressions.Expression[]&,System.Reflection.MethodBase&)": { - "Lines": { - "151": 497, - "153": 497, - "155": 497, - "156": 2107, - "157": 2107, - "158": 497, - "160": 497, - "161": 96, - "162": 2171, - "163": 96, - "165": 497, - "166": 0, - "167": 0, - "168": 0, - "170": 497, - "171": 224, - "172": 224, - "173": 224, - "174": 222, - "175": 222, - "176": 222, - "178": 2, - "179": 2, - "180": 2, - "182": 224, - "183": 17, - "184": 17, - "185": 17, - "187": 207, - "188": 1082, - "189": 334, - "190": 334, - "191": 334, - "192": 334, - "193": 1, - "194": 1, - "195": 1, - "197": 333, - "198": 333, - "199": 333, - "200": 334, - "201": 207, - "202": 224, - "204": 273, - "205": 273, - "206": 273, - "208": 497, - "209": 497 - }, - "Branches": [ - { - "Line": 160, - "Offset": 100, - "EndOffset": 102, - "Path": 0, - "Ordinal": 0, - "Hits": 96 - }, - { - "Line": 160, - "Offset": 100, - "EndOffset": 138, - "Path": 1, - "Ordinal": 1, - "Hits": 497 - }, - { - "Line": 165, - "Offset": 143, - "EndOffset": 145, - "Path": 0, - "Ordinal": 2, - "Hits": 360 - }, - { - "Line": 165, - "Offset": 154, - "EndOffset": 156, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 165, - "Offset": 180, - "EndOffset": 182, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 165, - "Offset": 180, - "EndOffset": 208, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 165, - "Offset": 143, - "EndOffset": 211, - "Path": 1, - "Ordinal": 3, - "Hits": 497 - }, - { - "Line": 165, - "Offset": 154, - "EndOffset": 211, - "Path": 1, - "Ordinal": 5, - "Hits": 497 - }, - { - "Line": 165, - "Offset": 214, - "EndOffset": 216, - "Path": 0, - "Ordinal": 8, - "Hits": 0 - }, - { - "Line": 165, - "Offset": 214, - "EndOffset": 241, - "Path": 1, - "Ordinal": 9, - "Hits": 497 - }, - { - "Line": 170, - "Offset": 254, - "EndOffset": 259, - "Path": 0, - "Ordinal": 10, - "Hits": 224 - }, - { - "Line": 173, - "Offset": 293, - "EndOffset": 295, - "Path": 0, - "Ordinal": 12, - "Hits": 222 - }, - { - "Line": 173, - "Offset": 293, - "EndOffset": 308, - "Path": 1, - "Ordinal": 13, - "Hits": 2 - }, - { - "Line": 182, - "Offset": 322, - "EndOffset": 324, - "Path": 0, - "Ordinal": 14, - "Hits": 207 - }, - { - "Line": 182, - "Offset": 322, - "EndOffset": 344, - "Path": 1, - "Ordinal": 15, - "Hits": 17 - }, - { - "Line": 182, - "Offset": 349, - "EndOffset": 351, - "Path": 0, - "Ordinal": 16, - "Hits": 17 - }, - { - "Line": 182, - "Offset": 349, - "EndOffset": 367, - "Path": 1, - "Ordinal": 17, - "Hits": 207 - }, - { - "Line": 188, - "Offset": 575, - "EndOffset": 376, - "Path": 1, - "Ordinal": 29, - "Hits": 334 - }, - { - "Line": 190, - "Offset": 407, - "EndOffset": 409, - "Path": 0, - "Ordinal": 18, - "Hits": 63 - }, - { - "Line": 190, - "Offset": 424, - "EndOffset": 426, - "Path": 0, - "Ordinal": 20, - "Hits": 1 - }, - { - "Line": 190, - "Offset": 446, - "EndOffset": 448, - "Path": 0, - "Ordinal": 22, - "Hits": 1 - }, - { - "Line": 190, - "Offset": 473, - "EndOffset": 475, - "Path": 0, - "Ordinal": 24, - "Hits": 1 - }, - { - "Line": 190, - "Offset": 407, - "EndOffset": 507, - "Path": 1, - "Ordinal": 19, - "Hits": 333 - }, - { - "Line": 190, - "Offset": 424, - "EndOffset": 507, - "Path": 1, - "Ordinal": 21, - "Hits": 333 - }, - { - "Line": 190, - "Offset": 446, - "EndOffset": 507, - "Path": 1, - "Ordinal": 23, - "Hits": 333 - }, - { - "Line": 190, - "Offset": 473, - "EndOffset": 507, - "Path": 1, - "Ordinal": 25, - "Hits": 333 - }, - { - "Line": 190, - "Offset": 512, - "EndOffset": 514, - "Path": 0, - "Ordinal": 26, - "Hits": 1 - }, - { - "Line": 190, - "Offset": 512, - "EndOffset": 539, - "Path": 1, - "Ordinal": 27, - "Hits": 333 - }, - { - "Line": 188, - "Offset": 575, - "EndOffset": 580, - "Path": 0, - "Ordinal": 28, - "Hits": 207 - }, - { - "Line": 170, - "Offset": 254, - "EndOffset": 584, - "Path": 1, - "Ordinal": 11, - "Hits": 273 - }, - { - "Line": 162, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 1368 - }, - { - "Line": 162, - "Offset": 7, - "EndOffset": 34, - "Path": 1, - "Ordinal": 1, - "Hits": 209 - } - ] - }, - "System.Int32 System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::FindIndexer(System.Type,System.Linq.Expressions.Expression[],System.Reflection.MethodBase&)": { - "Lines": { - "212": 0, - "213": 0, - "214": 0, - "215": 0, - "216": 0, - "217": 0, - "218": 0, - "219": 0, - "220": 0, - "221": 0, - "225": 0, - "226": 0, - "227": 0, - "228": 0, - "230": 0, - "231": 0, - "233": 0, - "234": 0, - "235": 0 - }, - "Branches": [ - { - "Line": 213, - "Offset": 163, - "EndOffset": 19, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 216, - "Offset": 41, - "EndOffset": 43, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 226, - "Offset": 146, - "EndOffset": 148, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 226, - "Offset": 146, - "EndOffset": 155, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 216, - "Offset": 41, - "EndOffset": 156, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 213, - "Offset": 163, - "EndOffset": 168, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::IsApplicable(System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData,System.Linq.Expressions.Expression[])": { - "Lines": { - "238": 2107, - "239": 2107, - "243": 2107, - "244": 2107, - "245": 260, - "246": 260, - "249": 1847, - "250": 5886, - "251": 2317, - "252": 2317, - "253": 10, - "254": 10, - "255": 10, - "256": 2, - "257": 2, - "258": 2, - "259": 8, - "260": 2, - "261": 2, - "262": 2, - "264": 6, - "265": 6, - "266": 6, - "268": 6, - "270": 20, - "271": 6, - "272": 6, - "273": 6, - "274": 2, - "275": 2, - "278": 4, - "279": 4, - "281": 4, - "283": 4, - "284": 4, - "285": 8, - "287": 2307, - "288": 2307, - "289": 2307, - "290": 0, - "294": 0, - "295": 0, - "296": 0, - "299": 0, - "301": 0, - "303": 2307, - "304": 2307, - "305": 2307, - "306": 1219, - "307": 1219, - "310": 1088, - "311": 1088, - "312": 1088, - "313": 1096, - "315": 626, - "316": 626, - "317": 2107 - }, - "Branches": [ - { - "Line": 239, - "Offset": 8, - "EndOffset": 10, - "Path": 0, - "Ordinal": 0, - "Hits": 2087 - }, - { - "Line": 239, - "Offset": 8, - "EndOffset": 39, - "Path": 1, - "Ordinal": 1, - "Hits": 20 - }, - { - "Line": 243, - "Offset": 42, - "EndOffset": 44, - "Path": 0, - "Ordinal": 2, - "Hits": 2091 - }, - { - "Line": 243, - "Offset": 42, - "EndOffset": 57, - "Path": 1, - "Ordinal": 3, - "Hits": 1847 - }, - { - "Line": 243, - "Offset": 55, - "EndOffset": 57, - "Path": 0, - "Ordinal": 4, - "Hits": 1847 - }, - { - "Line": 243, - "Offset": 58, - "EndOffset": 60, - "Path": 0, - "Ordinal": 6, - "Hits": 16 - }, - { - "Line": 243, - "Offset": 58, - "EndOffset": 77, - "Path": 1, - "Ordinal": 7, - "Hits": 1831 - }, - { - "Line": 243, - "Offset": 55, - "EndOffset": 80, - "Path": 1, - "Ordinal": 5, - "Hits": 260 - }, - { - "Line": 243, - "Offset": 83, - "EndOffset": 85, - "Path": 0, - "Ordinal": 8, - "Hits": 260 - }, - { - "Line": 243, - "Offset": 83, - "EndOffset": 93, - "Path": 1, - "Ordinal": 9, - "Hits": 1847 - }, - { - "Line": 250, - "Offset": 646, - "EndOffset": 115, - "Path": 1, - "Ordinal": 39, - "Hits": 2317 - }, - { - "Line": 252, - "Offset": 117, - "EndOffset": 119, - "Path": 0, - "Ordinal": 10, - "Hits": 22 - }, - { - "Line": 252, - "Offset": 117, - "EndOffset": 135, - "Path": 1, - "Ordinal": 11, - "Hits": 2295 - }, - { - "Line": 252, - "Offset": 140, - "EndOffset": 145, - "Path": 0, - "Ordinal": 12, - "Hits": 10 - }, - { - "Line": 254, - "Offset": 159, - "EndOffset": 161, - "Path": 0, - "Ordinal": 14, - "Hits": 8 - }, - { - "Line": 254, - "Offset": 172, - "EndOffset": 174, - "Path": 0, - "Ordinal": 16, - "Hits": 8 - }, - { - "Line": 254, - "Offset": 187, - "EndOffset": 189, - "Path": 0, - "Ordinal": 18, - "Hits": 2 - }, - { - "Line": 254, - "Offset": 172, - "EndOffset": 201, - "Path": 1, - "Ordinal": 17, - "Hits": 6 - }, - { - "Line": 254, - "Offset": 187, - "EndOffset": 201, - "Path": 1, - "Ordinal": 19, - "Hits": 6 - }, - { - "Line": 254, - "Offset": 159, - "EndOffset": 204, - "Path": 1, - "Ordinal": 15, - "Hits": 2 - }, - { - "Line": 254, - "Offset": 209, - "EndOffset": 211, - "Path": 0, - "Ordinal": 20, - "Hits": 2 - }, - { - "Line": 254, - "Offset": 209, - "EndOffset": 247, - "Path": 1, - "Ordinal": 21, - "Hits": 8 - }, - { - "Line": 259, - "Offset": 258, - "EndOffset": 260, - "Path": 0, - "Ordinal": 22, - "Hits": 8 - }, - { - "Line": 259, - "Offset": 258, - "EndOffset": 294, - "Path": 1, - "Ordinal": 23, - "Hits": 0 - }, - { - "Line": 259, - "Offset": 299, - "EndOffset": 301, - "Path": 0, - "Ordinal": 24, - "Hits": 2 - }, - { - "Line": 259, - "Offset": 299, - "EndOffset": 321, - "Path": 1, - "Ordinal": 25, - "Hits": 6 - }, - { - "Line": 270, - "Offset": 444, - "EndOffset": 370, - "Path": 1, - "Ordinal": 29, - "Hits": 6 - }, - { - "Line": 273, - "Offset": 406, - "EndOffset": 408, - "Path": 0, - "Ordinal": 26, - "Hits": 2 - }, - { - "Line": 273, - "Offset": 406, - "EndOffset": 416, - "Path": 1, - "Ordinal": 27, - "Hits": 4 - }, - { - "Line": 270, - "Offset": 444, - "EndOffset": 446, - "Path": 0, - "Ordinal": 28, - "Hits": 4 - }, - { - "Line": 252, - "Offset": 140, - "EndOffset": 473, - "Path": 1, - "Ordinal": 13, - "Hits": 2307 - }, - { - "Line": 289, - "Offset": 492, - "EndOffset": 494, - "Path": 0, - "Ordinal": 30, - "Hits": 0 - }, - { - "Line": 289, - "Offset": 492, - "EndOffset": 512, - "Path": 1, - "Ordinal": 31, - "Hits": 2307 - }, - { - "Line": 289, - "Offset": 517, - "EndOffset": 519, - "Path": 0, - "Ordinal": 32, - "Hits": 0 - }, - { - "Line": 294, - "Offset": 534, - "EndOffset": 536, - "Path": 0, - "Ordinal": 34, - "Hits": 0 - }, - { - "Line": 294, - "Offset": 534, - "EndOffset": 541, - "Path": 1, - "Ordinal": 35, - "Hits": 0 - }, - { - "Line": 289, - "Offset": 517, - "EndOffset": 567, - "Path": 1, - "Ordinal": 33, - "Hits": 2307 - }, - { - "Line": 305, - "Offset": 608, - "EndOffset": 610, - "Path": 0, - "Ordinal": 36, - "Hits": 1219 - }, - { - "Line": 305, - "Offset": 608, - "EndOffset": 615, - "Path": 1, - "Ordinal": 37, - "Hits": 1088 - }, - { - "Line": 250, - "Offset": 646, - "EndOffset": 651, - "Path": 0, - "Ordinal": 38, - "Hits": 626 - } - ] - }, - "System.Boolean System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::FirstIsBetterThanSecond(System.Linq.Expressions.Expression[],System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData,System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData)": { - "Lines": { - "320": 1368, - "322": 1368, - "323": 4, - "324": 4, - "327": 1364, - "328": 3384, - "329": 1380, - "330": 1380, - "333": 1380, - "334": 400, - "335": 400, - "339": 980, - "340": 652, - "341": 652, - "345": 328, - "346": 328, - "347": 328, - "348": 328, - "349": 328, - "351": 312, - "352": 1368 - }, - "Branches": [ - { - "Line": 322, - "Offset": 8, - "EndOffset": 10, - "Path": 0, - "Ordinal": 0, - "Hits": 4 - }, - { - "Line": 324, - "Offset": 18, - "EndOffset": 20, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - }, - { - "Line": 324, - "Offset": 18, - "EndOffset": 32, - "Path": 1, - "Ordinal": 3, - "Hits": 2 - }, - { - "Line": 322, - "Offset": 8, - "EndOffset": 36, - "Path": 1, - "Ordinal": 1, - "Hits": 1364 - }, - { - "Line": 328, - "Offset": 146, - "EndOffset": 42, - "Path": 1, - "Ordinal": 11, - "Hits": 1380 - }, - { - "Line": 333, - "Offset": 93, - "EndOffset": 95, - "Path": 0, - "Ordinal": 4, - "Hits": 400 - }, - { - "Line": 333, - "Offset": 93, - "EndOffset": 100, - "Path": 1, - "Ordinal": 5, - "Hits": 980 - }, - { - "Line": 339, - "Offset": 109, - "EndOffset": 111, - "Path": 0, - "Ordinal": 6, - "Hits": 652 - }, - { - "Line": 339, - "Offset": 109, - "EndOffset": 116, - "Path": 1, - "Ordinal": 7, - "Hits": 328 - }, - { - "Line": 345, - "Offset": 125, - "EndOffset": 127, - "Path": 0, - "Ordinal": 8, - "Hits": 328 - }, - { - "Line": 345, - "Offset": 125, - "EndOffset": 131, - "Path": 1, - "Ordinal": 9, - "Hits": 328 - }, - { - "Line": 328, - "Offset": 146, - "EndOffset": 148, - "Path": 0, - "Ordinal": 10, - "Hits": 312 - } - ] - }, - "System.Linq.Dynamic.Core.Parser.SupportedMethods.CompareConversionType System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::CompareConversions(System.Type,System.Type,System.Type)": { - "Lines": { - "358": 1380, - "359": 1380, - "360": 4, - "361": 4, - "363": 1376, - "364": 327, - "365": 327, - "367": 1049, - "368": 282, - "369": 282, - "372": 767, - "373": 767, - "375": 767, - "376": 325, - "377": 325, - "379": 442, - "380": 118, - "381": 118, - "384": 324, - "385": 0, - "386": 0, - "388": 324, - "389": 0, - "390": 0, - "393": 324, - "394": 1380 - }, - "Branches": [ - { - "Line": 359, - "Offset": 10, - "EndOffset": 12, - "Path": 0, - "Ordinal": 0, - "Hits": 4 - }, - { - "Line": 359, - "Offset": 10, - "EndOffset": 20, - "Path": 1, - "Ordinal": 1, - "Hits": 1376 - }, - { - "Line": 363, - "Offset": 31, - "EndOffset": 33, - "Path": 0, - "Ordinal": 2, - "Hits": 327 - }, - { - "Line": 363, - "Offset": 31, - "EndOffset": 41, - "Path": 1, - "Ordinal": 3, - "Hits": 1049 - }, - { - "Line": 367, - "Offset": 52, - "EndOffset": 54, - "Path": 0, - "Ordinal": 4, - "Hits": 282 - }, - { - "Line": 367, - "Offset": 52, - "EndOffset": 59, - "Path": 1, - "Ordinal": 5, - "Hits": 767 - }, - { - "Line": 375, - "Offset": 76, - "EndOffset": 78, - "Path": 0, - "Ordinal": 6, - "Hits": 325 - }, - { - "Line": 375, - "Offset": 76, - "EndOffset": 84, - "Path": 1, - "Ordinal": 7, - "Hits": 442 - }, - { - "Line": 375, - "Offset": 89, - "EndOffset": 91, - "Path": 0, - "Ordinal": 8, - "Hits": 325 - }, - { - "Line": 375, - "Offset": 89, - "EndOffset": 96, - "Path": 1, - "Ordinal": 9, - "Hits": 442 - }, - { - "Line": 379, - "Offset": 97, - "EndOffset": 99, - "Path": 0, - "Ordinal": 10, - "Hits": 118 - }, - { - "Line": 379, - "Offset": 97, - "EndOffset": 105, - "Path": 1, - "Ordinal": 11, - "Hits": 324 - }, - { - "Line": 379, - "Offset": 110, - "EndOffset": 112, - "Path": 0, - "Ordinal": 12, - "Hits": 118 - }, - { - "Line": 379, - "Offset": 110, - "EndOffset": 117, - "Path": 1, - "Ordinal": 13, - "Hits": 324 - }, - { - "Line": 384, - "Offset": 123, - "EndOffset": 125, - "Path": 0, - "Ordinal": 14, - "Hits": 84 - }, - { - "Line": 384, - "Offset": 123, - "EndOffset": 133, - "Path": 1, - "Ordinal": 15, - "Hits": 240 - }, - { - "Line": 384, - "Offset": 138, - "EndOffset": 140, - "Path": 0, - "Ordinal": 16, - "Hits": 0 - }, - { - "Line": 384, - "Offset": 138, - "EndOffset": 145, - "Path": 1, - "Ordinal": 17, - "Hits": 324 - }, - { - "Line": 388, - "Offset": 151, - "EndOffset": 153, - "Path": 0, - "Ordinal": 18, - "Hits": 36 - }, - { - "Line": 388, - "Offset": 151, - "EndOffset": 161, - "Path": 1, - "Ordinal": 19, - "Hits": 288 - }, - { - "Line": 388, - "Offset": 166, - "EndOffset": 168, - "Path": 0, - "Ordinal": 20, - "Hits": 0 - }, - { - "Line": 388, - "Offset": 166, - "EndOffset": 173, - "Path": 1, - "Ordinal": 21, - "Hits": 324 - } - ] - }, - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::SelfAndBaseTypes(System.Type)": { - "Lines": { - "397": 317, - "398": 317, - "399": 112, - "400": 112, - "401": 112, - "402": 112, - "405": 205, - "406": 317 - }, - "Branches": [ - { - "Line": 398, - "Offset": 2, - "EndOffset": 4, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 398, - "Offset": 2, - "EndOffset": 7, - "Path": 1, - "Ordinal": 1, - "Hits": 317 - }, - { - "Line": 398, - "Offset": 20, - "EndOffset": 22, - "Path": 0, - "Ordinal": 2, - "Hits": 112 - }, - { - "Line": 398, - "Offset": 20, - "EndOffset": 41, - "Path": 1, - "Ordinal": 3, - "Hits": 205 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::AddInterfaces(System.Collections.Generic.ICollection`1,System.Type)": { - "Lines": { - "418": 227, - "419": 227, - "420": 192, - "421": 192, - "422": 806, - "423": 115, - "424": 115, - "425": 115, - "426": 192, - "427": 227 - }, - "Branches": [ - { - "Line": 419, - "Offset": 13, - "EndOffset": 15, - "Path": 0, - "Ordinal": 0, - "Hits": 192 - }, - { - "Line": 422, - "Offset": 58, - "EndOffset": 36, - "Path": 1, - "Ordinal": 3, - "Hits": 115 - }, - { - "Line": 422, - "Offset": 58, - "EndOffset": 60, - "Path": 0, - "Ordinal": 2, - "Hits": 192 - }, - { - "Line": 419, - "Offset": 13, - "EndOffset": 61, - "Path": 1, - "Ordinal": 1, - "Hits": 227 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::.ctor(System.Linq.Dynamic.Core.ParsingConfig,System.Linq.Dynamic.Core.Parser.IExpressionHelper)": { - "Lines": { - "42": 588, - "43": 588, - "44": 588, - "45": 588, - "46": 588 - }, - "Branches": [] - } - }, - "System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder/d__15": { - "System.Boolean System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder/d__15::MoveNext()": { - "Lines": { - "409": 205, - "410": 407, - "411": 323, - "412": 323, - "413": 202, - "414": 202, - "415": 84 - }, - "Branches": [ - { - "Line": 410, - "Offset": 100, - "EndOffset": 34, - "Path": 1, - "Ordinal": 1, - "Hits": 323 - }, - { - "Line": 410, - "Offset": 100, - "EndOffset": 102, - "Path": 0, - "Ordinal": 0, - "Hits": 84 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Extensions\\LinqExtensions.cs": { - "System.Linq.Dynamic.Core.Extensions.LinqExtensions": { - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.Extensions.LinqExtensions::WhereNotNull(System.Collections.Generic.IEnumerable`1)": { - "Lines": { - "11": 80, - "12": 80, - "14": 45120, - "15": 80 - }, - "Branches": [ - { - "Line": 14, - "Offset": 20, - "EndOffset": 22, - "Path": 0, - "Ordinal": 0, - "Hits": 1 - }, - { - "Line": 14, - "Offset": 20, - "EndOffset": 45, - "Path": 1, - "Ordinal": 1, - "Hits": 80 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\Exceptions\\ParseException.cs": { - "System.Linq.Dynamic.Core.Exceptions.ParseException": { - "System.Int32 System.Linq.Dynamic.Core.Exceptions.ParseException::get_Position()": { - "Lines": { - "20": 0 - }, - "Branches": [] - }, - "System.String System.Linq.Dynamic.Core.Exceptions.ParseException::ToString()": { - "Lines": { - "38": 0, - "39": 0, - "41": 0, - "42": 0, - "43": 0, - "44": 0, - "46": 0, - "47": 0, - "48": 0, - "49": 0, - "51": 0, - "52": 0 - }, - "Branches": [ - { - "Line": 41, - "Offset": 45, - "EndOffset": 47, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 41, - "Offset": 45, - "EndOffset": 129, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 46, - "Offset": 140, - "EndOffset": 142, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 46, - "Offset": 140, - "EndOffset": 162, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.Exceptions.ParseException::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)": { - "Lines": { - "70": 0, - "71": 0, - "73": 0, - "74": 0 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.Exceptions.ParseException::.ctor(System.String,System.Int32,System.Exception)": { - "Lines": { - "28": 38, - "29": 38, - "30": 38, - "31": 38 - }, - "Branches": [] - }, - "System.Void System.Linq.Dynamic.Core.Exceptions.ParseException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)": { - "Lines": { - "55": 0, - "56": 0, - "57": 0, - "58": 0 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\CustomTypeProviders\\AbstractDynamicLinqCustomTypeProvider.cs": { - "System.Linq.Dynamic.Core.CustomTypeProviders.AbstractDynamicLinqCustomTypeProvider": { - "System.Collections.Generic.IEnumerable`1 System.Linq.Dynamic.Core.CustomTypeProviders.AbstractDynamicLinqCustomTypeProvider::FindTypesMarkedWithDynamicLinqTypeAttribute(System.Collections.Generic.IEnumerable`1)": { - "Lines": { - "21": 92, - "22": 92, - "24": 18981, - "26": 92, - "27": 92 - }, - "Branches": [] - }, - "System.Type System.Linq.Dynamic.Core.CustomTypeProviders.AbstractDynamicLinqCustomTypeProvider::ResolveType(System.Collections.Generic.IEnumerable`1,System.String)": { - "Lines": { - "36": 30, - "37": 30, - "38": 30, - "40": 4583, - "41": 2260, - "42": 2260, - "43": 2260, - "44": 27, - "45": 27, - "47": 2233, - "49": 3, - "50": 30 - }, - "Branches": [ - { - "Line": 40, - "Offset": 77, - "EndOffset": 35, - "Path": 1, - "Ordinal": 3, - "Hits": 2260 - }, - { - "Line": 43, - "Offset": 62, - "EndOffset": 64, - "Path": 0, - "Ordinal": 0, - "Hits": 27 - }, - { - "Line": 43, - "Offset": 62, - "EndOffset": 70, - "Path": 1, - "Ordinal": 1, - "Hits": 2233 - }, - { - "Line": 40, - "Offset": 77, - "EndOffset": 79, - "Path": 0, - "Ordinal": 2, - "Hits": 3 - } - ] - }, - "System.Type System.Linq.Dynamic.Core.CustomTypeProviders.AbstractDynamicLinqCustomTypeProvider::ResolveTypeBySimpleName(System.Collections.Generic.IEnumerable`1,System.String)": { - "Lines": { - "59": 0, - "60": 0, - "61": 0, - "63": 0, - "64": 0, - "65": 0, - "66": 0, - "68": 0, - "69": 0, - "70": 0, - "71": 0, - "72": 0, - "73": 0, - "75": 0, - "76": 0, - "78": 0, - "79": 0 - }, - "Branches": [ - { - "Line": 63, - "Offset": 206, - "EndOffset": 56, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - }, - { - "Line": 66, - "Offset": 120, - "EndOffset": 122, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 66, - "Offset": 120, - "EndOffset": 146, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 68, - "Offset": 162, - "EndOffset": 164, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 71, - "Offset": 189, - "EndOffset": 191, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 71, - "Offset": 189, - "EndOffset": 198, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 68, - "Offset": 162, - "EndOffset": 199, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 63, - "Offset": 206, - "EndOffset": 211, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - } - ] - }, - "System.Type[] System.Linq.Dynamic.Core.CustomTypeProviders.AbstractDynamicLinqCustomTypeProvider::GetAssemblyTypesWithDynamicLinqTypeAttribute(System.Collections.Generic.IEnumerable`1)": { - "Lines": { - "132": 92, - "133": 92, - "135": 92, - "140": 37580, - "141": 18652, - "145": 18652, - "146": 18652, - "147": 18572, - "148": 80, - "149": 80, - "150": 80, - "151": 80, - "152": 0, - "153": 0, - "155": 0, - "156": 0, - "158": 4639700, - "159": 2291872, - "161": 2291872, - "162": 2291872, - "163": 724, - "164": 724, - "165": 724, - "166": 2291872, - "167": 0, - "168": 0, - "170": 0, - "171": 2291872, - "172": 18652, - "174": 92, - "175": 92 - }, - "Branches": [ - { - "Line": 140, - "Offset": 169, - "EndOffset": 32, - "Path": 1, - "Ordinal": 5, - "Hits": 18652 - }, - { - "Line": 158, - "Offset": 160, - "EndOffset": 95, - "Path": 1, - "Ordinal": 3, - "Hits": 2291872 - }, - { - "Line": 162, - "Offset": 126, - "EndOffset": 128, - "Path": 0, - "Ordinal": 0, - "Hits": 724 - }, - { - "Line": 162, - "Offset": 126, - "EndOffset": 139, - "Path": 1, - "Ordinal": 1, - "Hits": 2291872 - }, - { - "Line": 158, - "Offset": 160, - "EndOffset": 162, - "Path": 0, - "Ordinal": 2, - "Hits": 18652 - }, - { - "Line": 140, - "Offset": 169, - "EndOffset": 174, - "Path": 0, - "Ordinal": 4, - "Hits": 92 - } - ] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\CustomTypeProviders\\DefaultDynamicLinqCustomTypeProvider.cs": { - "System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider": { - "System.Collections.Generic.HashSet`1 System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider::GetCustomTypes()": { - "Lines": { - "38": 580, - "39": 580, - "40": 580, - "41": 580, - "42": 80, - "43": 80, - "44": 80, - "46": 580, - "49": 0, - "50": 580 - }, - "Branches": [ - { - "Line": 39, - "Offset": 9, - "EndOffset": 11, - "Path": 0, - "Ordinal": 0, - "Hits": 580 - }, - { - "Line": 41, - "Offset": 23, - "EndOffset": 25, - "Path": 0, - "Ordinal": 2, - "Hits": 80 - }, - { - "Line": 41, - "Offset": 23, - "EndOffset": 39, - "Path": 1, - "Ordinal": 3, - "Hits": 580 - }, - { - "Line": 39, - "Offset": 9, - "EndOffset": 48, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Collections.Generic.Dictionary`2> System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider::GetExtensionMethods()": { - "Lines": { - "54": 14, - "55": 14, - "56": 14, - "57": 14, - "58": 2, - "59": 2, - "60": 2, - "62": 14, - "65": 0, - "66": 14 - }, - "Branches": [ - { - "Line": 55, - "Offset": 9, - "EndOffset": 11, - "Path": 0, - "Ordinal": 0, - "Hits": 14 - }, - { - "Line": 57, - "Offset": 23, - "EndOffset": 25, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - }, - { - "Line": 57, - "Offset": 23, - "EndOffset": 39, - "Path": 1, - "Ordinal": 3, - "Hits": 14 - }, - { - "Line": 55, - "Offset": 9, - "EndOffset": 48, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Type System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider::ResolveType(System.String)": { - "Lines": { - "70": 30, - "71": 30, - "73": 30, - "74": 30, - "75": 30 - }, - "Branches": [] - }, - "System.Type System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider::ResolveTypeBySimpleName(System.String)": { - "Lines": { - "79": 0, - "80": 0, - "82": 0, - "83": 0, - "84": 0 - }, - "Branches": [] - }, - "System.Collections.Generic.HashSet`1 System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider::GetCustomTypesInternal()": { - "Lines": { - "87": 80, - "88": 80, - "89": 80, - "90": 80 - }, - "Branches": [] - }, - "System.Collections.Generic.Dictionary`2> System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider::GetExtensionMethodsInternal()": { - "Lines": { - "93": 2, - "94": 2, - "96": 2, - "98": 42, - "99": 18, - "100": 18, - "101": 18, - "102": 5, - "103": 18, - "105": 19, - "106": 18, - "108": 6, - "109": 2 - }, - "Branches": [ - { - "Line": 98, - "Offset": 144, - "EndOffset": 35, - "Path": 1, - "Ordinal": 3, - "Hits": 18 - }, - { - "Line": 105, - "Offset": 104, - "EndOffset": 106, - "Path": 0, - "Ordinal": 0, - "Hits": 2 - }, - { - "Line": 105, - "Offset": 104, - "EndOffset": 130, - "Path": 1, - "Ordinal": 1, - "Hits": 18 - }, - { - "Line": 98, - "Offset": 144, - "EndOffset": 146, - "Path": 0, - "Ordinal": 2, - "Hits": 2 - } - ] - }, - "System.Void System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider::.ctor(System.Linq.Dynamic.Core.ParsingConfig,System.Boolean)": { - "Lines": { - "30": 82, - "31": 82, - "32": 82, - "33": 82, - "34": 82 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\AnyOfTypes\\AnyOf_2.g.cs": { - "AnyOfTypes.AnyOf`2": { - "System.String AnyOfTypes.AnyOf`2::get__thisType()": { - "Lines": { - "19": 0 - }, - "Branches": [] - }, - "AnyOfTypes.AnyOfType[] AnyOfTypes.AnyOf`2::get_AnyOfTypes()": { - "Lines": { - "28": 0 - }, - "Branches": [] - }, - "System.Type[] AnyOfTypes.AnyOf`2::get_Types()": { - "Lines": { - "29": 0 - }, - "Branches": [] - }, - "System.Boolean AnyOfTypes.AnyOf`2::get_IsUndefined()": { - "Lines": { - "30": 0 - }, - "Branches": [] - }, - "System.Boolean AnyOfTypes.AnyOf`2::get_IsFirst()": { - "Lines": { - "31": 159 - }, - "Branches": [] - }, - "System.Boolean AnyOfTypes.AnyOf`2::get_IsSecond()": { - "Lines": { - "32": 0 - }, - "Branches": [] - }, - "AnyOfTypes.AnyOf`2 AnyOfTypes.AnyOf`2::op_Implicit(TFirst)": { - "Lines": { - "34": 159 - }, - "Branches": [] - }, - "TFirst AnyOfTypes.AnyOf`2::op_Implicit(AnyOfTypes.AnyOf`2)": { - "Lines": { - "36": 0 - }, - "Branches": [] - }, - "TFirst AnyOfTypes.AnyOf`2::get_First()": { - "Lines": { - "51": 159, - "52": 159, - "53": 159, - "54": 159 - }, - "Branches": [] - }, - "AnyOfTypes.AnyOf`2 AnyOfTypes.AnyOf`2::op_Implicit(TSecond)": { - "Lines": { - "57": 0 - }, - "Branches": [] - }, - "TSecond AnyOfTypes.AnyOf`2::op_Implicit(AnyOfTypes.AnyOf`2)": { - "Lines": { - "59": 0 - }, - "Branches": [] - }, - "TSecond AnyOfTypes.AnyOf`2::get_Second()": { - "Lines": { - "74": 0, - "75": 0, - "76": 0, - "77": 0 - }, - "Branches": [] - }, - "System.Void AnyOfTypes.AnyOf`2::Validate(AnyOfTypes.AnyOfType)": { - "Lines": { - "81": 159, - "82": 159, - "83": 0, - "84": 0, - "86": 159 - }, - "Branches": [ - { - "Line": 82, - "Offset": 15, - "EndOffset": 17, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 82, - "Offset": 15, - "EndOffset": 103, - "Path": 1, - "Ordinal": 1, - "Hits": 159 - } - ] - }, - "AnyOfTypes.AnyOfType AnyOfTypes.AnyOf`2::get_CurrentType()": { - "Lines": { - "91": 0, - "92": 0, - "93": 0 - }, - "Branches": [] - }, - "System.Object AnyOfTypes.AnyOf`2::get_CurrentValue()": { - "Lines": { - "99": 0, - "100": 0, - "101": 0 - }, - "Branches": [] - }, - "System.Type AnyOfTypes.AnyOf`2::get_CurrentValueType()": { - "Lines": { - "107": 0, - "108": 0, - "109": 0 - }, - "Branches": [] - }, - "System.Int32 AnyOfTypes.AnyOf`2::GetHashCode()": { - "Lines": { - "113": 0, - "114": 0, - "115": 0, - "116": 0, - "117": 0, - "118": 0, - "119": 0, - "120": 0, - "121": 0, - "122": 0, - "123": 0, - "124": 0, - "125": 0 - }, - "Branches": [] - }, - "System.Boolean AnyOfTypes.AnyOf`2::Equals(AnyOfTypes.AnyOf`2)": { - "Lines": { - "128": 0, - "129": 0, - "130": 0, - "131": 0, - "132": 0, - "133": 0, - "134": 0 - }, - "Branches": [ - { - "Line": 129, - "Offset": 13, - "EndOffset": 15, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 129, - "Offset": 27, - "EndOffset": 29, - "Path": 0, - "Ordinal": 2, - "Hits": 0 - }, - { - "Line": 129, - "Offset": 51, - "EndOffset": 53, - "Path": 0, - "Ordinal": 4, - "Hits": 0 - }, - { - "Line": 129, - "Offset": 75, - "EndOffset": 77, - "Path": 0, - "Ordinal": 6, - "Hits": 0 - }, - { - "Line": 129, - "Offset": 13, - "EndOffset": 101, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - }, - { - "Line": 129, - "Offset": 27, - "EndOffset": 101, - "Path": 1, - "Ordinal": 3, - "Hits": 0 - }, - { - "Line": 129, - "Offset": 51, - "EndOffset": 101, - "Path": 1, - "Ordinal": 5, - "Hits": 0 - }, - { - "Line": 129, - "Offset": 75, - "EndOffset": 101, - "Path": 1, - "Ordinal": 7, - "Hits": 0 - } - ] - }, - "System.Boolean AnyOfTypes.AnyOf`2::op_Equality(AnyOfTypes.AnyOf`2,AnyOfTypes.AnyOf`2)": { - "Lines": { - "137": 0, - "138": 0, - "139": 0 - }, - "Branches": [] - }, - "System.Boolean AnyOfTypes.AnyOf`2::op_Inequality(AnyOfTypes.AnyOf`2,AnyOfTypes.AnyOf`2)": { - "Lines": { - "142": 0, - "143": 0, - "144": 0 - }, - "Branches": [] - }, - "System.Boolean AnyOfTypes.AnyOf`2::Equals(System.Object)": { - "Lines": { - "147": 0, - "148": 0, - "149": 0 - }, - "Branches": [ - { - "Line": 148, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 148, - "Offset": 7, - "EndOffset": 25, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.String AnyOfTypes.AnyOf`2::ToString()": { - "Lines": { - "152": 0, - "153": 0, - "154": 0 - }, - "Branches": [ - { - "Line": 153, - "Offset": 7, - "EndOffset": 9, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 153, - "Offset": 7, - "EndOffset": 41, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - }, - "System.Void AnyOfTypes.AnyOf`2::.ctor(TFirst)": { - "Lines": { - "39": 159, - "40": 159, - "41": 159, - "42": 159, - "43": 159, - "44": 159, - "45": 159, - "46": 159 - }, - "Branches": [] - }, - "System.Void AnyOfTypes.AnyOf`2::.ctor(TSecond)": { - "Lines": { - "62": 0, - "63": 0, - "64": 0, - "65": 0, - "66": 0, - "67": 0, - "68": 0, - "69": 0 - }, - "Branches": [] - } - } - }, - "C:\\Dev\\GitHub\\System.Linq.Dynamic.Core\\src\\System.Linq.Dynamic.Core\\AnyOfTypes\\HashCodeCalculator.g.cs": { - "AnyOfTypes.HashCodeCalculator": { - "System.Int32 AnyOfTypes.HashCodeCalculator::GetHashCode(System.Collections.Generic.IEnumerable`1)": { - "Lines": { - "19": 0, - "27": 0, - "28": 0 - }, - "Branches": [] - }, - "System.Int32 AnyOfTypes.HashCodeCalculator::g__HashCodeAggregator|0_0(System.Int32,System.Object)": { - "Lines": { - "23": 0, - "24": 0, - "25": 0 - }, - "Branches": [ - { - "Line": 23, - "Offset": 1, - "EndOffset": 3, - "Path": 0, - "Ordinal": 0, - "Hits": 0 - }, - { - "Line": 23, - "Offset": 1, - "EndOffset": 19, - "Path": 1, - "Ordinal": 1, - "Hits": 0 - } - ] - } - } - } - } -} \ No newline at end of file diff --git a/test/System.Linq.Dynamic.Core.NewtonsoftJson.Tests/Extensions/JObjectExtensionsTests.cs b/test/System.Linq.Dynamic.Core.NewtonsoftJson.Tests/Extensions/JObjectExtensionsTests.cs new file mode 100644 index 000000000..e65e66e5d --- /dev/null +++ b/test/System.Linq.Dynamic.Core.NewtonsoftJson.Tests/Extensions/JObjectExtensionsTests.cs @@ -0,0 +1,54 @@ +using System.Linq.Dynamic.Core.NewtonsoftJson.Extensions; +using FluentAssertions; +using Newtonsoft.Json.Linq; +using Xunit; + +namespace System.Linq.Dynamic.Core.NewtonsoftJson.Tests.Extensions; + +public class JObjectExtensionsTests +{ + [Fact] + public void ToDynamicClass() + { + // Arrange + var guid = Guid.NewGuid(); + var jObject = new JObject + { + { "Name", "John" }, + { "Age", 30 }, + { "FloatValue", 123.5f }, + { "IsMale", true }, + { "IsTest", false }, + { "DateOfBirth", new DateTime(1990, 1, 1) }, + { "Guid", guid }, + { "Bytes", new byte[] { 1, 2, 3 } }, + { "TimeSpan", new TimeSpan(1, 2, 3) }, + { "Uri", new Uri("http://www.test.com") }, + { "Null", null }, + { "Undefined", JValue.CreateUndefined() }, + { "None", JValue.CreateNull() }, + { "Object", new JObject { { "Name", "Jane" } } }, + { "Array", new JArray { 1, 2, 3 } } + }; + + // Act + var result = jObject.ToDynamicClass(); + + // Assert + result.Should().BeEquivalentTo(new + { + Name = "John", + Age = 30, + FloatValue = 123.5f, + IsMale = true, + IsTest = false, + DateOfBirth = new DateTime(1990, 1, 1), + Guid = guid, + Bytes = new byte[] { 1, 2, 3 }, + TimeSpan = new TimeSpan(1, 2, 3), + Uri = new Uri("http://www.test.com"), + Object = new { Name = "Jane" }, + Array = new[] { 1, 2, 3 } + }); + } +} \ No newline at end of file diff --git a/test/System.Linq.Dynamic.Core.NewtonsoftJson.Tests/NewtonsoftJsonTests.cs b/test/System.Linq.Dynamic.Core.NewtonsoftJson.Tests/NewtonsoftJsonTests.cs new file mode 100644 index 000000000..debfb4b7f --- /dev/null +++ b/test/System.Linq.Dynamic.Core.NewtonsoftJson.Tests/NewtonsoftJsonTests.cs @@ -0,0 +1,396 @@ +using FluentAssertions; +using Newtonsoft.Json.Linq; +using Xunit; + +namespace System.Linq.Dynamic.Core.NewtonsoftJson.Tests; + +public class NewtonsoftJsonTests +{ + private const string ExampleJsonObjectArray = + """ + [ + { + "Name": "John", + "Age": 30 + }, + { + "Name": "Doe", + "Age": 40 + } + ] + """; + private readonly JArray _source = JArray.Parse(ExampleJsonObjectArray); + + private const string ExampleJsonIntArray = + """ + [ + 30, + 40 + ] + """; + private readonly JArray _sourceIntArray = JArray.Parse(ExampleJsonIntArray); + + [Fact] + public void Aggregate() + { + // Act + var result = _source.Aggregate("Sum", "Age"); + + // Assert + result.Should().Be(70); + } + + [Fact] + public void All() + { + // Act + var result = _source.All("Age > 20"); + + // Assert + result.Should().BeTrue(); + } + + [Fact] + public void Any() + { + // Act + var result = _source.Any(); + + // Assert + result.Should().BeTrue(); + } + + [Fact] + public void Any_Predicate() + { + // Act + var result = _source.Any("Age > 20"); + + // Assert + result.Should().BeTrue(); + } + + [Fact] + public void Average() + { + // Act + var result = _sourceIntArray.Average(); + + // Assert + result.Should().BeApproximately(35, 0.00001); + } + + [Fact] + public void Average_Predicate() + { + // Act + var result = _source.Average("Age"); + + // Assert + result.Should().BeApproximately(35, 0.00001); + } + + [Fact] + public void Cast() + { + // Arrange + var expected = new[] { "John", "Doe" }; + + // Act 1 + var resultType = _source.Select("Name").Cast(typeof(string)).ToDynamicArray(); + + // Assert 1 + resultType.Should().Contain(expected); + + // Act 2 + var resultTypeName = _source.Select("Name").Cast("string").ToDynamicArray(); + + // Assert 2 + resultTypeName.Should().Contain(expected); + } + + [Fact] + public void Count() + { + // Act 1 + var result1 = _source.Count; + + // Assert 1 + result1.Should().Be(2); + + // Act 2 + var result2 = _source.Count("Age > 30"); + + // Assert 2 + result2.Should().Be(1); + } + + [Fact] + public void Distinct() + { + var json = + """ + [ + { + "Name": "John" + }, + { + "Name": "Doe" + }, + { + "Name": "John" + } + ] + """; + var source = JArray.Parse(json); + + // Act + var result = source.Select("Name").Distinct(); + + // Assert + result.Should().HaveCount(2); + } + + [Fact] + public void First() + { + // Act + Assert + ((string?)_source.First("Age > 30")["Name"]).Should().Be("Doe"); + } + + [Fact] + public void FirstOrDefault() + { + // Act + Assert 1 + ((string?)_source.FirstOrDefault("Age > 30")!["Name"]).Should().Be("Doe"); + + // Act + Assert 2 + _source.FirstOrDefault("Age > 999").Should().BeNull(); + } + + [Fact] + public void Last() + { + // Act + Assert + ((string?)_source.Last("Age > 30")["Name"]).Should().Be("Doe"); + } + + [Fact] + public void LastOrDefault() + { + // Act + Assert 1 + ((string?)_source.LastOrDefault("Age > 0")!["Name"]).Should().Be("Doe"); + + // Act + Assert 2 + _source.LastOrDefault("Age > 999").Should().BeNull(); + } + + [Fact] + public void Max() + { + // Act + Assert + ((int?)_source.Max("Age")).Should().Be(40); + } + + [Fact] + public void Min() + { + // Act + Assert + ((int?)_source.Min("Age")).Should().Be(30); + } + + [Fact] + public void OrderBy() + { + // Act + var result = _source.OrderBy("Age").Select("Name"); + + // Assert + var array = result.Select(x => x.Value()); + array.Should().BeEquivalentTo("John", "Doe"); + } + + [Fact] + public void OrderBy_Asc() + { + // Act + var resultAsc = _source.OrderBy("Age asc").Select("Name"); + + // Assert + var arrayAsc = resultAsc.Select(x => x.Value()); + arrayAsc.Should().BeEquivalentTo("Doe", "John"); + } + + [Fact] + public void OrderBy_Desc() + { + // Act + var resultAsc = _source.OrderBy("Age desc").Select("Name"); + + // Assert + var arrayAsc = resultAsc.Select(x => x.Value()); + arrayAsc.Should().BeEquivalentTo("John", "Doe"); + } + + [Fact] + public void OrderBy_Multiple() + { + // Arrange + var json = + """ + [ + { + "Name": "John", + "Age": 30 + }, + { + "Name": "Doe", + "Age": 30 + }, + { + "Name": "Stef", + "Age": 18 + } + ] + """; + var source = JArray.Parse(json); + + // Act + var result = source.OrderBy("Age, Name").Select("Name"); + + // Assert + var array = result.Select(x => x.Value()); + array.Should().BeEquivalentTo("Stef", "John", "Doe"); + } + + [Fact] + public void Page() + { + var json = "[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]"; + var source = JArray.Parse(json); + + // Act + var result = source.Page(2, 3); + + // Assert + var array = result.Select(x => x.Value()); + array.Should().ContainInOrder(4, 5, 6); + } + + [Fact] + public void PageResult() + { + var json = "[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]"; + var source = JArray.Parse(json); + + // Act + var pagedResult = source.PageResult(2, 3); + + // Assert + pagedResult.Should().BeEquivalentTo(new PagedResult + { + CurrentPage = 2, + PageCount = 4, + PageSize = 3, + RowCount = 10, + Queryable = new[] { 4, 5, 6 }.AsQueryable() + }); + } + + [Fact] + public void Select() + { + // Act + var result = _source.Select("Name"); + + // Assert + var array = result.Select(x => x.Value()); + array.Should().BeEquivalentTo("John", "Doe"); + } + + [Fact] + public void Select_ResultType() + { + // Arrange + var json = "[1, 2, 3]"; + var source = JArray.Parse(json); + + // Act + var result = source.Select(typeof(int), "it * it"); + + // Assert + var array = result.Select(x => x.Value()); + array.Should().ContainInOrder(1, 4, 9); + } + + [Fact] + public void Single() + { + // Act + Assert + ((string?)_source.First("Age > 30")["Name"]).Should().Be("Doe"); + } + + [Fact] + public void SingleOrDefault() + { + // Act + Assert 1 + ((string?)_source.LastOrDefault("Age > 30")!["Name"]).Should().Be("Doe"); + + // Act + Assert 2 + _source.LastOrDefault("Age > 999").Should().BeNull(); + } + + [Fact] + public void SkipWhile() + { + var json = "[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]"; + var source = JArray.Parse(json); + + // Act + var result = source.SkipWhile("it > 5"); + + // Assert + var array = result.Select(x => x.Value()); + array.Should().ContainInOrder(6, 7, 8, 9, 0); + } + + [Fact] + public void Take() + { + var json = "[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]"; + var source = JArray.Parse(json); + + // Act + var result = source.Take(3); + + // Assert + var array = result.Select(x => x.Value()); + array.Should().ContainInOrder(1, 2, 3); + } + + [Fact] + public void TakeWhile() + { + var json = "[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]"; + var source = JArray.Parse(json); + + // Act + var result = source.TakeWhile("it < 5"); + + // Assert + var array = result.Select(x => x.Value()); + array.Should().ContainInOrder(1, 2, 3, 4); + } + + [Fact] + public void Where_With_Select() + { + // Act + var result = _source.Where("Age > 30").Select("Name"); + + // Assert + result.Should().HaveCount(1); + var first = result.First(); + first.Value().Should().Be("Doe"); + } +} \ No newline at end of file diff --git a/test/System.Linq.Dynamic.Core.NewtonsoftJson.Tests/System.Linq.Dynamic.Core.NewtonsoftJson.Tests.csproj b/test/System.Linq.Dynamic.Core.NewtonsoftJson.Tests/System.Linq.Dynamic.Core.NewtonsoftJson.Tests.csproj new file mode 100644 index 000000000..4882ff18c --- /dev/null +++ b/test/System.Linq.Dynamic.Core.NewtonsoftJson.Tests/System.Linq.Dynamic.Core.NewtonsoftJson.Tests.csproj @@ -0,0 +1,30 @@ + + + Stef Heyenrath + net452;netcoreapp3.1;net8.0 + full + True + latest + enable + ../../src/System.Linq.Dynamic.Core/System.Linq.Dynamic.Core.snk + {912FBF24-3CAE-4A50-B5EA-E525B9FAEC90} + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers + + + all + runtime; build; native; contentfiles; analyzers + + + + \ No newline at end of file diff --git a/test/System.Linq.Dynamic.Core.SystemTextJson.Tests/DynamicExpressionParserTests.cs b/test/System.Linq.Dynamic.Core.SystemTextJson.Tests/DynamicExpressionParserTests.cs new file mode 100644 index 000000000..6e174735c --- /dev/null +++ b/test/System.Linq.Dynamic.Core.SystemTextJson.Tests/DynamicExpressionParserTests.cs @@ -0,0 +1,42 @@ +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using System.Linq.Expressions; +using System.Text.Json; +using FluentAssertions; + +namespace System.Linq.Dynamic.Core.SystemTextJson.Tests; + +[ExcludeFromCodeCoverage] +public class DynamicExpressionParserTests +{ + private const string ExampleJson = + """ + [ + { + "Name": "John", + "Age": 30 + }, + { + "Name": "Doe", + "Age": 40 + } + ] + """; + private readonly JsonDocument _source = JsonDocument.Parse(ExampleJson); + + //[Fact] + // This is not supported yet... + public void X() + { + // Act + var qry = _source.RootElement.EnumerateArray(); + var parameters = new[] { Expression.Parameter(_source.GetType(), "y") }; + + // Assert + var lambdaExpression = DynamicExpressionParser.ParseLambda(parameters, null, "y => y.Name"); + var @delegate = lambdaExpression.Compile(); + var result = @delegate.DynamicInvoke(qry) as IEnumerable; + + result.Should().BeEquivalentTo(new[] { "John", "Doe" }); + } +} \ No newline at end of file diff --git a/test/System.Linq.Dynamic.Core.SystemTextJson.Tests/Extensions/JsonDocumentExtensionsTests.cs b/test/System.Linq.Dynamic.Core.SystemTextJson.Tests/Extensions/JsonDocumentExtensionsTests.cs new file mode 100644 index 000000000..048f7f3a2 --- /dev/null +++ b/test/System.Linq.Dynamic.Core.SystemTextJson.Tests/Extensions/JsonDocumentExtensionsTests.cs @@ -0,0 +1,49 @@ +using System.Linq.Dynamic.Core.SystemTextJson.Extensions; +using System.Text; +using System.Text.Json; +using FluentAssertions; +using Xunit; + +namespace System.Linq.Dynamic.Core.SystemTextJson.Tests.Extensions; + +public class JsonDocumentExtensionsTests +{ + [Fact] + public void ToDynamicClass() + { + // Arrange + var guid = Guid.NewGuid(); + var utf8JsonReader = new Utf8JsonReader(Encoding.UTF8.GetBytes(@"{ + ""Name"": ""John"", + ""Age"": 30, + ""IsMale"": true, + ""IsTest"": false, + ""DateOfBirth"": ""1990-01-01"", + ""Guid"": """ + guid + @""", + ""TimeSpan"": ""01:02:03"", + ""Uri"": ""http://www.test.com"", + ""Null"": null, + ""Object"": { ""Name"": ""Jane"" }, + ""Array"": [1, 2, 3] + }")); + JsonElement? jsonElement = JsonElement.ParseValue(ref utf8JsonReader); + + // Act + var result = jsonElement.ToDynamicClass(); + + // Assert + result.Should().BeEquivalentTo(new + { + Name = "John", + Age = 30, + IsMale = true, + IsTest = false, + DateOfBirth = new DateTime(1990, 1, 1), + Guid = guid, + TimeSpan = "01:02:03", + Uri = "http://www.test.com", + Object = new { Name = "Jane" }, + Array = new[] { 1, 2, 3 } + }); + } +} \ No newline at end of file diff --git a/test/System.Linq.Dynamic.Core.SystemTextJson.Tests/System.Linq.Dynamic.Core.SystemTextJson.Tests.csproj b/test/System.Linq.Dynamic.Core.SystemTextJson.Tests/System.Linq.Dynamic.Core.SystemTextJson.Tests.csproj new file mode 100644 index 000000000..dd619154f --- /dev/null +++ b/test/System.Linq.Dynamic.Core.SystemTextJson.Tests/System.Linq.Dynamic.Core.SystemTextJson.Tests.csproj @@ -0,0 +1,30 @@ + + + Stef Heyenrath + net6.0;net8.0 + full + True + latest + enable + ../../src/System.Linq.Dynamic.Core/System.Linq.Dynamic.Core.snk + {D5844AE4-53FA-4C8A-9D52-AD213FD0CA1E} + + + + + + + all + runtime; build; native; contentfiles; analyzers + + + all + runtime; build; native; contentfiles; analyzers + + + + + + + + \ No newline at end of file diff --git a/test/System.Linq.Dynamic.Core.SystemTextJson.Tests/SystemTextJsonTests.cs b/test/System.Linq.Dynamic.Core.SystemTextJson.Tests/SystemTextJsonTests.cs new file mode 100644 index 000000000..ca337755f --- /dev/null +++ b/test/System.Linq.Dynamic.Core.SystemTextJson.Tests/SystemTextJsonTests.cs @@ -0,0 +1,419 @@ +using System.Text.Json; +using FluentAssertions; +using Xunit; + +namespace System.Linq.Dynamic.Core.SystemTextJson.Tests; + +public class SystemTextJsonTests +{ + private const string ExampleJsonObjectArray = + """ + [ + { + "Name": "John", + "Age": 30 + }, + { + "Name": "Doe", + "Age": 40 + } + ] + """; + private readonly JsonDocument _source = JsonDocument.Parse(ExampleJsonObjectArray); + + private const string ExampleJsonIntArray = + """ + [ + 30, + 40 + ] + """; + private readonly JsonDocument _sourceIntArray = JsonDocument.Parse(ExampleJsonIntArray); + + [Fact] + public void Aggregate() + { + // Act + var result = _source.Aggregate("Sum", "Age"); + + // Assert + result.Should().Be(70); + } + + [Fact] + public void All() + { + // Act + var result = _source.All("Age > 20"); + + // Assert + result.Should().BeTrue(); + } + + [Fact] + public void Any() + { + // Act + var result = _source.Any(); + + // Assert + result.Should().BeTrue(); + } + + [Fact] + public void Any_Predicate() + { + // Act + var result = _source.Any("Age > 20"); + + // Assert + result.Should().BeTrue(); + } + + [Fact] + public void Average() + { + // Act + var result = _sourceIntArray.Average(); + + // Assert + result.Should().BeApproximately(35, 0.00001); + } + + [Fact] + public void Average_Predicate() + { + // Act + var result = _source.Average("Age"); + + // Assert + result.Should().BeApproximately(35, 0.00001); + } + + [Fact] + public void Cast() + { + // Arrange + var expected = new[] { "John", "Doe" }; + + // Act 1 + var resultType = _source.Select("Name").Cast(typeof(string)).ToDynamicArray(); + + // Assert 1 + resultType.Should().Contain(expected); + + // Act 2 + var resultTypeName = _source.Select("Name").Cast("string").ToDynamicArray(); + + // Assert 2 + resultTypeName.Should().Contain(expected); + } + + [Fact] + public void Count() + { + // Act 1 + var result1 = _source.Count(); + + // Assert 1 + result1.Should().Be(2); + + // Act 2 + var result2 = _source.Count("Age > 30"); + + // Assert 2 + result2.Should().Be(1); + } + + [Fact] + public void Distinct() + { + var json = + """ + [ + { + "Name": "John" + }, + { + "Name": "Doe" + }, + { + "Name": "John" + } + ] + """; + var source = JsonDocument.Parse(json); + + // Act + var result = source.Select("Name").Distinct(); + + // Assert + result.RootElement.EnumerateArray().Should().HaveCount(2); + } + + [Fact] + public void First() + { + // Act + Assert 1 + _source.First().GetRawText().Should().BeEquivalentTo(JsonDocument.Parse(@"{""Name"":""John"",""Age"":30}").RootElement.GetRawText()); + + // Act + Assert 2 + _source.First("Age > 30").GetRawText().Should().BeEquivalentTo(JsonDocument.Parse(@"{""Name"":""Doe"",""Age"":40}").RootElement.GetRawText()); + } + + [Fact] + public void FirstOrDefault() + { + // Act + Assert 1 + _source.FirstOrDefault()!.Value.GetRawText().Should().BeEquivalentTo(JsonDocument.Parse(@"{""Name"":""John"",""Age"":30}").RootElement.GetRawText()); + + // Act + Assert 2 + _source.FirstOrDefault("Age > 30")!.Value.GetRawText().Should().BeEquivalentTo(JsonDocument.Parse(@"{""Name"":""Doe"",""Age"":40}").RootElement.GetRawText()); + + // Act + Assert 3 + _source.FirstOrDefault("Age > 999").Should().BeNull(); + } + + [Fact] + public void Last() + { + // Act + Assert 1 + _source.Last().GetRawText().Should().BeEquivalentTo(JsonDocument.Parse(@"{""Name"":""Doe"",""Age"":40}").RootElement.GetRawText()); + + // Act + Assert 2 + _source.Last("Age > 0").GetRawText().Should().BeEquivalentTo(JsonDocument.Parse(@"{""Name"":""Doe"",""Age"":40}").RootElement.GetRawText()); + } + + [Fact] + public void LastOrDefault() + { + // Act + Assert 1 + _source.LastOrDefault()!.Value.GetRawText().Should().BeEquivalentTo(JsonDocument.Parse(@"{""Name"":""Doe"",""Age"":40}").RootElement.GetRawText()); + + // Act + Assert 2 + _source.LastOrDefault("Age > 0")!.Value.GetRawText().Should().BeEquivalentTo(JsonDocument.Parse(@"{""Name"":""Doe"",""Age"":40}").RootElement.GetRawText()); + + // Act + Assert 3 + _source.LastOrDefault("Age > 999").Should().BeNull(); + } + + [Fact] + public void Max() + { + // Act + Assert + _source.Max("Age").Should().BeEquivalentTo(40); + } + + [Fact] + public void Min() + { + // Act + Assert + _source.Min("Age").Should().BeEquivalentTo(30); + } + + [Fact] + public void OrderBy() + { + // Act + var result = _source.OrderBy("Age").Select("Name"); + + // Assert + var array = result.RootElement.EnumerateArray().Select(x => x.GetString()); + array.Should().BeEquivalentTo("John", "Doe"); + } + + [Fact] + public void OrderBy_Asc() + { + // Act + var resultAsc = _source.OrderBy("Age asc").Select("Name"); + + // Assert + var arrayAsc = resultAsc.RootElement.EnumerateArray().Select(x => x.GetString()); + arrayAsc.Should().BeEquivalentTo("Doe", "John"); + } + + [Fact] + public void OrderBy_Desc() + { + // Act 1 + var resultAsc = _source.OrderBy("Age desc").Select("Name"); + + // Assert 1 + var arrayAsc = resultAsc.RootElement.EnumerateArray().Select(x => x.GetString()); + arrayAsc.Should().BeEquivalentTo("Doe", "John"); + } + + [Fact] + public void OrderBy_Multiple() + { + // Arrange + var json = + """ + [ + { + "Name": "John", + "Age": 30 + }, + { + "Name": "Doe", + "Age": 30 + }, + { + "Name": "Stef", + "Age": 18 + } + ] + """; + var source = JsonDocument.Parse(json); + + // Act + var result = source.OrderBy("Age, Name").Select("Name"); + + // Assert + var array = result.RootElement.EnumerateArray().Select(x => x.GetString()); + array.Should().BeEquivalentTo("Stef", "John", "Doe"); + } + + [Fact] + public void Page() + { + var json = "[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]"; + var source = JsonDocument.Parse(json); + + // Act + var result = source.Page(2, 3); + + // Assert + var array = result.RootElement.EnumerateArray().Select(x => x.GetInt32()); + array.Should().ContainInOrder(4, 5, 6); + } + + [Fact] + public void PageResult() + { + var json = "[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]"; + var source = JsonDocument.Parse(json); + + // Act + var pagedResult = source.PageResult(2, 3); + + // Assert + pagedResult.Should().BeEquivalentTo(new PagedResult + { + CurrentPage = 2, + PageCount = 4, + PageSize = 3, + RowCount = 10, + Queryable = new[] { 4, 5, 6 }.AsQueryable() + }); + } + + [Fact] + public void Select() + { + // Act + var result = _source.Select("Name"); + + // Assert + var array = result.RootElement.EnumerateArray().Select(x => x.GetString()); + array.Should().BeEquivalentTo("John", "Doe"); + } + + [Fact] + public void Single() + { + // Act + Assert + _source.Single("Age > 30").GetRawText().Should().BeEquivalentTo(JsonDocument.Parse(@"{""Name"":""Doe"",""Age"":40}").RootElement.GetRawText()); + } + + [Fact] + public void SingleOrDefault() + { + // Act + Assert + _source.SingleOrDefault("Age > 999").Should().BeNull(); + } + + [Fact] + public void Select_ResultType() + { + // Arrange + var json = "[1, 2, 3]"; + var source = JsonDocument.Parse(json); + + // Act + var result = source.Select(typeof(int), "it * it"); + + // Assert + var array = result.RootElement.EnumerateArray().Select(x => x.GetInt32()); + array.Should().ContainInOrder(1, 4, 9); + } + + [Fact] + public void Skip() + { + var json = "[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]"; + var source = JsonDocument.Parse(json); + + // Act + var result = source.Skip(3); + + // Assert + var array = result.RootElement.EnumerateArray().Select(x => x.GetInt32()); + array.Should().ContainInOrder(4, 5, 6, 7, 8, 9, 0); + } + + [Fact] + public void SkipWhile() + { + var json = "[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]"; + var source = JsonDocument.Parse(json); + + // Act + var result = source.SkipWhile("it > 5"); + + // Assert + var array = result.RootElement.EnumerateArray().Select(x => x.GetInt32()); + array.Should().ContainInOrder(6, 7, 8, 9, 0); + } + + [Fact] + public void Take() + { + var json = "[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]"; + var source = JsonDocument.Parse(json); + + // Act + var result = source.Take(3); + + // Assert + var array = result.RootElement.EnumerateArray().Select(x => x.GetInt32()); + array.Should().ContainInOrder(1, 2, 3); + } + + [Fact] + public void TakeWhile() + { + var json = "[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]"; + var source = JsonDocument.Parse(json); + + // Act + var result = source.TakeWhile("it < 5"); + + // Assert + var array = result.RootElement.EnumerateArray().Select(x => x.GetInt32()); + array.Should().ContainInOrder(1, 2, 3, 4); + } + + [Fact] + public void Where_With_Select() + { + // Act + var result = _source.Where("Age > 30").Select("Name"); + + // Assert + var array = result.RootElement.EnumerateArray(); + array.Should().HaveCount(1); + array.First().GetString().Should().Be("Doe"); + } +} \ No newline at end of file diff --git a/test/System.Linq.Dynamic.Core.Tests.Net5/System.Linq.Dynamic.Core.Tests.Net5.csproj b/test/System.Linq.Dynamic.Core.Tests.Net5/System.Linq.Dynamic.Core.Tests.Net5.csproj index 30982ea63..7e8ccc72d 100644 --- a/test/System.Linq.Dynamic.Core.Tests.Net5/System.Linq.Dynamic.Core.Tests.Net5.csproj +++ b/test/System.Linq.Dynamic.Core.Tests.Net5/System.Linq.Dynamic.Core.Tests.Net5.csproj @@ -2,7 +2,6 @@ net5.0 - 10 System.Linq.Dynamic.Core.Tests full True @@ -13,23 +12,17 @@ - runtime; build; native; contentfiles; analyzers; buildtransitive all - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - diff --git a/test/System.Linq.Dynamic.Core.Tests.Net6/System.Linq.Dynamic.Core.Tests.Net6.csproj b/test/System.Linq.Dynamic.Core.Tests.Net6/System.Linq.Dynamic.Core.Tests.Net6.csproj index c1ea382e2..c20f741cf 100644 --- a/test/System.Linq.Dynamic.Core.Tests.Net6/System.Linq.Dynamic.Core.Tests.Net6.csproj +++ b/test/System.Linq.Dynamic.Core.Tests.Net6/System.Linq.Dynamic.Core.Tests.Net6.csproj @@ -11,27 +11,17 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - runtime; build; native; contentfiles; analyzers; buildtransitive all - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - diff --git a/test/System.Linq.Dynamic.Core.Tests.Net7/System.Linq.Dynamic.Core.Tests.Net7.csproj b/test/System.Linq.Dynamic.Core.Tests.Net7/System.Linq.Dynamic.Core.Tests.Net7.csproj index a3eb03a8f..6d415bb06 100644 --- a/test/System.Linq.Dynamic.Core.Tests.Net7/System.Linq.Dynamic.Core.Tests.Net7.csproj +++ b/test/System.Linq.Dynamic.Core.Tests.Net7/System.Linq.Dynamic.Core.Tests.Net7.csproj @@ -11,27 +11,17 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - runtime; build; native; contentfiles; analyzers; buildtransitive all - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - diff --git a/test/System.Linq.Dynamic.Core.Tests.NetCoreApp31/System.Linq.Dynamic.Core.Tests.NetCoreApp31.csproj b/test/System.Linq.Dynamic.Core.Tests.NetCoreApp31/System.Linq.Dynamic.Core.Tests.NetCoreApp31.csproj index 433f56388..5b9082937 100644 --- a/test/System.Linq.Dynamic.Core.Tests.NetCoreApp31/System.Linq.Dynamic.Core.Tests.NetCoreApp31.csproj +++ b/test/System.Linq.Dynamic.Core.Tests.NetCoreApp31/System.Linq.Dynamic.Core.Tests.NetCoreApp31.csproj @@ -11,15 +11,8 @@ - - all - runtime; build; native; contentfiles; analyzers - - - - all @@ -41,6 +34,7 @@ + diff --git a/test/System.Linq.Dynamic.Core.Tests/System.Linq.Dynamic.Core.Tests.csproj b/test/System.Linq.Dynamic.Core.Tests/System.Linq.Dynamic.Core.Tests.csproj index 38afc4a00..749ea06c2 100644 --- a/test/System.Linq.Dynamic.Core.Tests/System.Linq.Dynamic.Core.Tests.csproj +++ b/test/System.Linq.Dynamic.Core.Tests/System.Linq.Dynamic.Core.Tests.csproj @@ -10,15 +10,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - runtime; build; native; contentfiles; analyzers; buildtransitive