From 79328d96353bd1c667fba7019164bb82e56832fa Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Thu, 21 Dec 2023 12:48:56 +0500 Subject: [PATCH 1/3] Remove string interning when forming custom field name --- Mutators/InternalExpressionExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mutators/InternalExpressionExtensions.cs b/Mutators/InternalExpressionExtensions.cs index 62dfcb9..9cd429d 100644 --- a/Mutators/InternalExpressionExtensions.cs +++ b/Mutators/InternalExpressionExtensions.cs @@ -102,7 +102,7 @@ public static string CustomFieldName(this Expression node) { var result = new StringBuilder(); BuildCustomFieldName(node, result); - return string.Intern(result.ToString()); + return result.ToString(); } public static Expression ExtendSelectMany(this Expression expression) @@ -308,7 +308,7 @@ private static void BuildCustomFieldName(Expression node, StringBuilder result) BuildCustomFieldName(memberExpression.Expression, result); if (result.Length > 0) result.Append("ё"); - result.Append(string.Intern(memberExpression.Member.Name)); + result.Append(memberExpression.Member.Name); break; case ExpressionType.Call: var methodCallExpression = (MethodCallExpression)node; From ef66923a35ff30db8e01733cde6122b2b0fdcf23 Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Thu, 21 Dec 2023 13:43:25 +0500 Subject: [PATCH 2/3] Add additional dotnet versions --- .github/workflows/actions.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index c473d7e..35f8c6f 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -17,6 +17,10 @@ jobs: uses: actions/setup-dotnet@v3 with: global-json-file: global.json + dotnet-version: | + 3.1.x + 4.8.x + 6.0.x - name: Install dependencies run: dotnet restore ${{ env.SOLUTION_FILE }} --verbosity minimal && dotnet tool restore From a2d1bf796d73ea1c472883f6842e2bf9441e1378 Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Thu, 21 Dec 2023 13:47:22 +0500 Subject: [PATCH 3/3] Fix dotnet versions --- .github/workflows/actions.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 35f8c6f..4d704c3 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -19,7 +19,6 @@ jobs: global-json-file: global.json dotnet-version: | 3.1.x - 4.8.x 6.0.x - name: Install dependencies