diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index af2225a761..8de904b6b9 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -17,6 +17,9 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: 8.x + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: 9.x - name: Pack integration test package run: dotnet pack ${{ github.workspace }}/src/Stryker.CLI/Stryker.CLI/Stryker.CLI.csproj -p:PackageVersion=$VERSION --output ${{ github.workspace }}/publish - name: Publish integration test package diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1216dccbc3..a235753c87 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -52,6 +52,10 @@ stages: displayName: 'Use dotnet' inputs: version: 8.x + - task: UseDotNet@2 + displayName: 'Use dotnet' + inputs: + version: 9.x - template: pipeline-templates/populate-cache-steps.yml - task: SonarCloudPrepare@3 inputs: @@ -81,6 +85,10 @@ stages: displayName: 'Use dotnet' inputs: version: 8.x + - task: UseDotNet@2 + displayName: 'Use dotnet' + inputs: + version: 9.x - task: DotNetCoreCLI@2 displayName: 'Install dotnet-stryker' inputs: @@ -101,6 +109,10 @@ stages: displayName: 'Use dotnet' inputs: version: 8.x + - task: UseDotNet@2 + displayName: 'Use dotnet' + inputs: + version: 9.x - task: DotNetCoreCLI@2 displayName: 'Install dotnet-stryker' inputs: @@ -133,6 +145,10 @@ stages: displayName: 'Use dotnet' inputs: version: 8.x + - task: UseDotNet@2 + displayName: 'Use dotnet' + inputs: + version: 9.x - task: DotNetCoreCLI@2 displayName: 'Pack integrationtest packages' inputs: @@ -269,6 +285,10 @@ stages: displayName: 'Use dotnet' inputs: version: 8.x + - task: UseDotNet@2 + displayName: 'Use dotnet' + inputs: + version: 9.x - task: DotNetCoreCLI@2 displayName: 'Pack Stryker.CLI' inputs: diff --git a/integrationtest/TargetProjects/NetCore/EmptyTestProject/EmptyTestProject.csproj b/integrationtest/TargetProjects/NetCore/EmptyTestProject/EmptyTestProject.csproj index d91b0fa8b9..02b42549f9 100644 --- a/integrationtest/TargetProjects/NetCore/EmptyTestProject/EmptyTestProject.csproj +++ b/integrationtest/TargetProjects/NetCore/EmptyTestProject/EmptyTestProject.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 enable enable diff --git a/integrationtest/TargetProjects/NetCore/EmptyTestProject/packages.lock.json b/integrationtest/TargetProjects/NetCore/EmptyTestProject/packages.lock.json index f55d8c0f51..d4e5b19895 100644 --- a/integrationtest/TargetProjects/NetCore/EmptyTestProject/packages.lock.json +++ b/integrationtest/TargetProjects/NetCore/EmptyTestProject/packages.lock.json @@ -1,7 +1,7 @@ { "version": 1, "dependencies": { - "net8.0": { + "net9.0": { "coverlet.collector": { "type": "Direct", "requested": "[6.0.2, )", @@ -42,8 +42,8 @@ }, "Microsoft.CodeAnalysis.Common": { "type": "Transitive", - "resolved": "4.11.0", - "contentHash": "djf8ujmqYImFgB04UGtcsEhHrzVqzHowS+EEl/Yunc5LdrYrZhGBWUTXoCF0NzYXJxtfuD+UVQarWpvrNc94Qg==", + "resolved": "4.12.0", + "contentHash": "c1kNYihL2gdcuU1dqm8R8YeA4YkB43TpU3pa2r66Uooh6AAhRtENzj9A4Kj0a+H8JDDyuTjNZql9XlVUzV+UjA==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", "System.Collections.Immutable": "8.0.0", @@ -142,7 +142,7 @@ "type": "Project", "dependencies": { "Library": "[4.4.1, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Serilog": "[4.2.0, )" } } diff --git a/integrationtest/TargetProjects/NetCore/Generator/SourceGenerator.csproj b/integrationtest/TargetProjects/NetCore/Generator/SourceGenerator.csproj index 969f7e0ba3..5b35ffd231 100644 --- a/integrationtest/TargetProjects/NetCore/Generator/SourceGenerator.csproj +++ b/integrationtest/TargetProjects/NetCore/Generator/SourceGenerator.csproj @@ -7,7 +7,7 @@ \ No newline at end of file diff --git a/integrationtest/TargetProjects/NetCore/Generator/packages.lock.json b/integrationtest/TargetProjects/NetCore/Generator/packages.lock.json index 6a35c9fd9c..f19492c114 100644 --- a/integrationtest/TargetProjects/NetCore/Generator/packages.lock.json +++ b/integrationtest/TargetProjects/NetCore/Generator/packages.lock.json @@ -4,16 +4,16 @@ ".NETStandard,Version=v2.0": { "Microsoft.CodeAnalysis.CSharp.Workspaces": { "type": "Direct", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "/oRJPIMvzOfiunIegSF6FEa4VvBAUSXlbLDKxyzXuOZN9nLHg3fHuX6Mr9JZLNIupbe2xqQZEmfsPxgB01vCmg==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "ZZ08UBgL3f3VeVvRA1k+PGZYbCIy2EBX4nBld/1ndsaoUZcwqkUaXbljjpoJ5reozpRrBPMUJ0E34REaVgYKjw==", "dependencies": { "Humanizer.Core": "2.14.1", "Microsoft.Bcl.AsyncInterfaces": "8.0.0", "Microsoft.CodeAnalysis.Analyzers": "3.3.4", - "Microsoft.CodeAnalysis.CSharp": "[4.11.0]", - "Microsoft.CodeAnalysis.Common": "[4.11.0]", - "Microsoft.CodeAnalysis.Workspaces.Common": "[4.11.0]", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0]", + "Microsoft.CodeAnalysis.Common": "[4.12.0]", + "Microsoft.CodeAnalysis.Workspaces.Common": "[4.12.0]", "System.Buffers": "4.5.1", "System.Collections.Immutable": "8.0.0", "System.Composition": "8.0.0", @@ -56,8 +56,8 @@ }, "Microsoft.CodeAnalysis.Common": { "type": "Transitive", - "resolved": "4.11.0", - "contentHash": "djf8ujmqYImFgB04UGtcsEhHrzVqzHowS+EEl/Yunc5LdrYrZhGBWUTXoCF0NzYXJxtfuD+UVQarWpvrNc94Qg==", + "resolved": "4.12.0", + "contentHash": "c1kNYihL2gdcuU1dqm8R8YeA4YkB43TpU3pa2r66Uooh6AAhRtENzj9A4Kj0a+H8JDDyuTjNZql9XlVUzV+UjA==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", "System.Buffers": "4.5.1", @@ -72,11 +72,11 @@ }, "Microsoft.CodeAnalysis.CSharp": { "type": "Transitive", - "resolved": "4.11.0", - "contentHash": "6XYi2EusI8JT4y2l/F3VVVS+ISoIX9nqHsZRaG6W5aFeJ5BEuBosHfT/ABb73FN0RZ1Z3cj2j7cL28SToJPXOw==", + "resolved": "4.12.0", + "contentHash": "30vVQ1MizeC22iEdEvI2w0eTIYG43/L20yBzuQH01xKzJgHAoWehzI2F8u07o4mXh4DGMOjQF7aEm0zzvsG3Mg==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", - "Microsoft.CodeAnalysis.Common": "[4.11.0]", + "Microsoft.CodeAnalysis.Common": "[4.12.0]", "System.Buffers": "4.5.1", "System.Collections.Immutable": "8.0.0", "System.Memory": "4.5.5", @@ -89,13 +89,13 @@ }, "Microsoft.CodeAnalysis.Workspaces.Common": { "type": "Transitive", - "resolved": "4.11.0", - "contentHash": "UtwEt42V7/LnvAcschSlmUXRLEj0poX1H7QeFbY5bezcS+tJBCssAq8C7GfisgIA0qZPo2xzOrwKGBbg51CetA==", + "resolved": "4.12.0", + "contentHash": "9WFrMPm/k72qo7pxn6hPIS/UIAFVS/2yKBWJAW+kkmcY8PCsuBgp5ms+pmRI3mjAf7J1SmpdgHpRj2x1Gqc+9A==", "dependencies": { "Humanizer.Core": "2.14.1", "Microsoft.Bcl.AsyncInterfaces": "8.0.0", "Microsoft.CodeAnalysis.Analyzers": "3.3.4", - "Microsoft.CodeAnalysis.Common": "[4.11.0]", + "Microsoft.CodeAnalysis.Common": "[4.12.0]", "System.Buffers": "4.5.1", "System.Collections.Immutable": "8.0.0", "System.Composition": "8.0.0", diff --git a/integrationtest/TargetProjects/NetCore/Library.FSharp.XUnit/packages.lock.json b/integrationtest/TargetProjects/NetCore/Library.FSharp.XUnit/packages.lock.json index dd59d436df..361b13299a 100644 --- a/integrationtest/TargetProjects/NetCore/Library.FSharp.XUnit/packages.lock.json +++ b/integrationtest/TargetProjects/NetCore/Library.FSharp.XUnit/packages.lock.json @@ -4,9 +4,9 @@ "net6.0": { "FSharp.Core": { "type": "Direct", - "requested": "[8.0.403, )", - "resolved": "8.0.403", - "contentHash": "t1Pvv2++3zMQKKNuiQc1Lz4TCdaBajgG4mLhOE8AoFzborHQ/JbjIaJr6Mrq8m2z15KLu4r6Qz7E3oeACpljTg==" + "requested": "[9.0.100, )", + "resolved": "9.0.100", + "contentHash": "ye8yagHGsH08H2Twno5GRWkSbrMtxK/SWiHuPcF+3nODpW65/VJ8RO0aWxp8n9+KQbmahg90wAEL3TEXjF0r6A==" }, "Microsoft.NET.Test.Sdk": { "type": "Direct", @@ -110,7 +110,7 @@ "library.fsharp": { "type": "Project", "dependencies": { - "FSharp.Core": "[8.0.403, )" + "FSharp.Core": "[9.0.100, )" } } } diff --git a/integrationtest/TargetProjects/NetCore/Library.FSharp/packages.lock.json b/integrationtest/TargetProjects/NetCore/Library.FSharp/packages.lock.json index 57c72e844b..a581dfb092 100644 --- a/integrationtest/TargetProjects/NetCore/Library.FSharp/packages.lock.json +++ b/integrationtest/TargetProjects/NetCore/Library.FSharp/packages.lock.json @@ -4,9 +4,9 @@ "net6.0": { "FSharp.Core": { "type": "Direct", - "requested": "[8.0.403, )", - "resolved": "8.0.403", - "contentHash": "t1Pvv2++3zMQKKNuiQc1Lz4TCdaBajgG4mLhOE8AoFzborHQ/JbjIaJr6Mrq8m2z15KLu4r6Qz7E3oeACpljTg==" + "requested": "[9.0.100, )", + "resolved": "9.0.100", + "contentHash": "ye8yagHGsH08H2Twno5GRWkSbrMtxK/SWiHuPcF+3nODpW65/VJ8RO0aWxp8n9+KQbmahg90wAEL3TEXjF0r6A==" } } } diff --git a/integrationtest/TargetProjects/NetCore/NetCoreTestProject.MSTest/NetCoreTestProject.MSTest.csproj b/integrationtest/TargetProjects/NetCore/NetCoreTestProject.MSTest/NetCoreTestProject.MSTest.csproj index 7388326b80..be9de5e7f8 100644 --- a/integrationtest/TargetProjects/NetCore/NetCoreTestProject.MSTest/NetCoreTestProject.MSTest.csproj +++ b/integrationtest/TargetProjects/NetCore/NetCoreTestProject.MSTest/NetCoreTestProject.MSTest.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 enable enable diff --git a/integrationtest/TargetProjects/NetCore/NetCoreTestProject.MSTest/packages.lock.json b/integrationtest/TargetProjects/NetCore/NetCoreTestProject.MSTest/packages.lock.json index d74334c0b0..842d9b7218 100644 --- a/integrationtest/TargetProjects/NetCore/NetCoreTestProject.MSTest/packages.lock.json +++ b/integrationtest/TargetProjects/NetCore/NetCoreTestProject.MSTest/packages.lock.json @@ -1,7 +1,7 @@ { "version": 1, "dependencies": { - "net8.0": { + "net9.0": { "coverlet.collector": { "type": "Direct", "requested": "[6.0.2, )", @@ -52,8 +52,8 @@ }, "Microsoft.CodeAnalysis.Common": { "type": "Transitive", - "resolved": "4.11.0", - "contentHash": "djf8ujmqYImFgB04UGtcsEhHrzVqzHowS+EEl/Yunc5LdrYrZhGBWUTXoCF0NzYXJxtfuD+UVQarWpvrNc94Qg==", + "resolved": "4.12.0", + "contentHash": "c1kNYihL2gdcuU1dqm8R8YeA4YkB43TpU3pa2r66Uooh6AAhRtENzj9A4Kj0a+H8JDDyuTjNZql9XlVUzV+UjA==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", "System.Collections.Immutable": "8.0.0", @@ -164,7 +164,7 @@ "type": "Project", "dependencies": { "Library": "[4.4.1, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Serilog": "[4.2.0, )" } } diff --git a/integrationtest/TargetProjects/NetCore/NetCoreTestProject.NUnit/NetCoreTestProject.NUnit.csproj b/integrationtest/TargetProjects/NetCore/NetCoreTestProject.NUnit/NetCoreTestProject.NUnit.csproj index 69b3f6084a..54ce7dc099 100644 --- a/integrationtest/TargetProjects/NetCore/NetCoreTestProject.NUnit/NetCoreTestProject.NUnit.csproj +++ b/integrationtest/TargetProjects/NetCore/NetCoreTestProject.NUnit/NetCoreTestProject.NUnit.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 false diff --git a/integrationtest/TargetProjects/NetCore/NetCoreTestProject.NUnit/packages.lock.json b/integrationtest/TargetProjects/NetCore/NetCoreTestProject.NUnit/packages.lock.json index 5fbe2236f3..ef5335b7be 100644 --- a/integrationtest/TargetProjects/NetCore/NetCoreTestProject.NUnit/packages.lock.json +++ b/integrationtest/TargetProjects/NetCore/NetCoreTestProject.NUnit/packages.lock.json @@ -1,7 +1,7 @@ { "version": 1, "dependencies": { - "net8.0": { + "net9.0": { "Microsoft.NET.Test.Sdk": { "type": "Direct", "requested": "[17.12.0, )", @@ -31,8 +31,8 @@ }, "Microsoft.CodeAnalysis.Common": { "type": "Transitive", - "resolved": "4.11.0", - "contentHash": "djf8ujmqYImFgB04UGtcsEhHrzVqzHowS+EEl/Yunc5LdrYrZhGBWUTXoCF0NzYXJxtfuD+UVQarWpvrNc94Qg==", + "resolved": "4.12.0", + "contentHash": "c1kNYihL2gdcuU1dqm8R8YeA4YkB43TpU3pa2r66Uooh6AAhRtENzj9A4Kj0a+H8JDDyuTjNZql9XlVUzV+UjA==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", "System.Collections.Immutable": "8.0.0", @@ -91,7 +91,7 @@ "type": "Project", "dependencies": { "Library": "[4.4.1, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Serilog": "[4.2.0, )" } } diff --git a/integrationtest/TargetProjects/NetCore/NetCoreTestProject.XUnit/NetCoreTestProject.XUnit.csproj b/integrationtest/TargetProjects/NetCore/NetCoreTestProject.XUnit/NetCoreTestProject.XUnit.csproj index 9b8bf608b0..29dfb9ec96 100644 --- a/integrationtest/TargetProjects/NetCore/NetCoreTestProject.XUnit/NetCoreTestProject.XUnit.csproj +++ b/integrationtest/TargetProjects/NetCore/NetCoreTestProject.XUnit/NetCoreTestProject.XUnit.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 diff --git a/integrationtest/TargetProjects/NetCore/NetCoreTestProject.XUnit/packages.lock.json b/integrationtest/TargetProjects/NetCore/NetCoreTestProject.XUnit/packages.lock.json index ca5e0a126b..a2eb877a44 100644 --- a/integrationtest/TargetProjects/NetCore/NetCoreTestProject.XUnit/packages.lock.json +++ b/integrationtest/TargetProjects/NetCore/NetCoreTestProject.XUnit/packages.lock.json @@ -1,7 +1,7 @@ { "version": 1, "dependencies": { - "net8.0": { + "net9.0": { "Microsoft.NET.Test.Sdk": { "type": "Direct", "requested": "[17.12.0, )", @@ -36,8 +36,8 @@ }, "Microsoft.CodeAnalysis.Common": { "type": "Transitive", - "resolved": "4.11.0", - "contentHash": "djf8ujmqYImFgB04UGtcsEhHrzVqzHowS+EEl/Yunc5LdrYrZhGBWUTXoCF0NzYXJxtfuD+UVQarWpvrNc94Qg==", + "resolved": "4.12.0", + "contentHash": "c1kNYihL2gdcuU1dqm8R8YeA4YkB43TpU3pa2r66Uooh6AAhRtENzj9A4Kj0a+H8JDDyuTjNZql9XlVUzV+UjA==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", "System.Collections.Immutable": "8.0.0", @@ -136,7 +136,7 @@ "type": "Project", "dependencies": { "Library": "[4.4.1, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Serilog": "[4.2.0, )" } } diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp1.cs b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp1.cs similarity index 98% rename from integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp1.cs rename to integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp1.cs index 74badabf55..ab8fce8eb0 100644 --- a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp1.cs +++ b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp1.cs @@ -4,7 +4,7 @@ namespace TargetProject.Constructs; -public class Csharp1 +public class CSharp1 { // string interpolation public static void StringInterpolation() diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp10.cs b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp10.cs similarity index 99% rename from integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp10.cs rename to integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp10.cs index d9194d4120..4e999eaf95 100644 --- a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp10.cs +++ b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp10.cs @@ -7,7 +7,7 @@ namespace TargetProject.Constructs; -public class Csharp10 +public class CSharp10 { // record structs public record Person(string FirstName, string LastName); diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp11.cs b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp11.cs similarity index 99% rename from integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp11.cs rename to integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp11.cs index 2e0962335d..710aff6ea2 100644 --- a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp11.cs +++ b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp11.cs @@ -3,7 +3,7 @@ namespace TargetProject.Constructs; -public class Csharp11 +public class CSharp11 { // genergic attributes public class GenericAttribute : Attribute { } diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp12.cs b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp12.cs similarity index 97% rename from integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp12.cs rename to integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp12.cs index 1f7c1bba9e..67c8f6c3ff 100644 --- a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp12.cs +++ b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp12.cs @@ -2,7 +2,7 @@ namespace TargetProject.Constructs; -public class Csharp12 +public class CSharp12 { // collection expressions public static void CollectionExpressions() @@ -72,7 +72,6 @@ public static void TuplesInLambda() // The set (2, 3, 4) doubled: (4, 6, 8) } - #if NET8_0_OR_GREATER // inline array [System.Runtime.CompilerServices.InlineArray(10)] public struct Buffer @@ -93,5 +92,4 @@ public static void InlineArray() Console.WriteLine(i); } } - #endif } diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp13.cs b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp13.cs new file mode 100644 index 0000000000..8ec983f2f3 --- /dev/null +++ b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp13.cs @@ -0,0 +1,115 @@ +using System.Collections.Generic; +using System.Text.RegularExpressions; +using System.Threading; +using System.Threading.Tasks; + +namespace TargetProject.Constructs; + +// https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-13 +public class CSharp13 +{ + public void Concat(params ReadOnlySpan items) + { + for (int i = 0; i < items.Length; i++) + { + Console.Write(items[i]); + Console.Write(" "); + } + Console.WriteLine(); + } + + public void SystemThreadingLock() + { + var lockObject = new Lock(); + lock (lockObject) + { + Console.WriteLine("Locked"); + } + } + + public void EscapeCharacterLiteral() + { + var escapeLiteralRegex = new Regex("This is a text containing the literal ESCAPE character \e, not to be confused with AN escape character"); + } + + public void ImplicitIndexOperatorInObjectInitializer() + { + var countdown = new TimerRemaining() + { + buffer = + { + [^1] = 0, + [^2] = 1, + [^3] = 2, + [^4] = 3, + [^5] = 4, + [^6] = 5, + [^7] = 6, + [^8] = 7, + [^9] = 8, + [^10] = 9 + } + }; + } + + private int highscoreValue = 5; + + public IEnumerable RefAndUnsafeIterator() + { + int x; + unsafe + { + x = 10; + } + ref int highscore = ref highscoreValue; + + yield return highscore; + yield return x; + } + + public async Task RefAndUnsafeAsync() + { + int x; + unsafe + { + x = 10; + } + + ref int highscore = ref highscoreValue; + + return x + highscore; + } +} + +public class TimerRemaining +{ + public int[] buffer { get; set; } = new int[10]; +} + +public interface I { }; + +public class C : I where T : allows ref struct +{ + // Use T as a ref struct: + public void M(scoped T p) + { + // The parameter p must follow ref safety rules + } +} + +public partial class C +{ + // Declaring declaration + public partial string Name { get; set; } +} + +public partial class C +{ + // implementation declaration: + private string _name; + public partial string Name + { + get => _name; + set => _name = value; + } +} diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp2.cs b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp2.cs similarity index 99% rename from integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp2.cs rename to integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp2.cs index 6ce4050a34..5b961b5afc 100644 --- a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp2.cs +++ b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp2.cs @@ -3,7 +3,7 @@ namespace TargetProject.Constructs; -public class Csharp2 +public class CSharp2 { // delegate operator public static void DelegateOperator() diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp3.cs b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp3.cs similarity index 99% rename from integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp3.cs rename to integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp3.cs index cf16f416ad..d8bcd36535 100644 --- a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp3.cs +++ b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp3.cs @@ -6,7 +6,7 @@ namespace TargetProject.Constructs; -public class Csharp3 +public class CSharp3 { // anonymous types public class Product diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp4.cs b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp4.cs similarity index 92% rename from integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp4.cs rename to integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp4.cs index 180e14b7d2..a1f98b7e57 100644 --- a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp4.cs +++ b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp4.cs @@ -1,6 +1,6 @@ namespace TargetProject.Constructs; -public class Csharp4 +public class CSharp4 { // named parameters public static void NamedParameters() diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp5.cs b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp5.cs similarity index 99% rename from integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp5.cs rename to integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp5.cs index 95128c018b..59f72a0856 100644 --- a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp5.cs +++ b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp5.cs @@ -4,7 +4,7 @@ namespace TargetProject.Constructs; -public class Csharp5 +public class CSharp5 { // caller information public static void ValidateArgument(string parameterName, bool condition, [CallerArgumentExpression("condition")] string? message = null) diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp6.cs b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp6.cs similarity index 98% rename from integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp6.cs rename to integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp6.cs index 1e3ec8fecd..9243854ce2 100644 --- a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp6.cs +++ b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp6.cs @@ -7,7 +7,7 @@ namespace TargetProject.Constructs; -public class Csharp6 +public class CSharp6 { // nameof expressions public static void NameofExpressions() diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp7.cs b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp7.cs similarity index 100% rename from integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp7.cs rename to integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp7.cs diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp8.cs b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp8.cs similarity index 98% rename from integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp8.cs rename to integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp8.cs index c1fa2a72b6..7ee6c1ca01 100644 --- a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp8.cs +++ b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp8.cs @@ -4,7 +4,7 @@ namespace TargetProject.Constructs { - public class Csharp8 + public class CSharp8 { // switch expressions public static string RockPaperScissors(string first, string second) => (first, second) switch diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp9.cs b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp9.cs similarity index 98% rename from integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp9.cs rename to integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp9.cs index ec6b78bd91..0969b6ef17 100644 --- a/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/Csharp9.cs +++ b/integrationtest/TargetProjects/NetCore/TargetProject/Constructs/CSharp9.cs @@ -3,7 +3,7 @@ namespace TargetProject.Constructs; -public class Csharp9 +public class CSharp9 { // patern matching public bool IsLetter(char c) => c is >= 'a' and <= 'z' or >= 'A' and <= 'Z'; diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/TargetProject.csproj b/integrationtest/TargetProjects/NetCore/TargetProject/TargetProject.csproj index 12ed7313e5..72c27520d1 100644 --- a/integrationtest/TargetProjects/NetCore/TargetProject/TargetProject.csproj +++ b/integrationtest/TargetProjects/NetCore/TargetProject/TargetProject.csproj @@ -1,7 +1,7 @@ - net7.0 + net9.0 true enable latest @@ -31,7 +31,7 @@ - + TheLog diff --git a/integrationtest/TargetProjects/NetCore/TargetProject/packages.lock.json b/integrationtest/TargetProjects/NetCore/TargetProject/packages.lock.json index 7cf26ba227..304ea3b2f8 100644 --- a/integrationtest/TargetProjects/NetCore/TargetProject/packages.lock.json +++ b/integrationtest/TargetProjects/NetCore/TargetProject/packages.lock.json @@ -1,12 +1,12 @@ { "version": 1, "dependencies": { - "net7.0": { + "net9.0": { "Microsoft.CodeAnalysis.Common": { "type": "Direct", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "djf8ujmqYImFgB04UGtcsEhHrzVqzHowS+EEl/Yunc5LdrYrZhGBWUTXoCF0NzYXJxtfuD+UVQarWpvrNc94Qg==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "c1kNYihL2gdcuU1dqm8R8YeA4YkB43TpU3pa2r66Uooh6AAhRtENzj9A4Kj0a+H8JDDyuTjNZql9XlVUzV+UjA==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", "System.Collections.Immutable": "8.0.0", diff --git a/integrationtest/Validation/ValidationProject/ValidateStrykerResults.cs b/integrationtest/Validation/ValidationProject/ValidateStrykerResults.cs index 641a2bb809..4f0c0791d6 100644 --- a/integrationtest/Validation/ValidationProject/ValidateStrykerResults.cs +++ b/integrationtest/Validation/ValidationProject/ValidateStrykerResults.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.ObjectModel; using System.IO; using System.Linq; @@ -16,34 +17,32 @@ namespace Validation; public class ValidateStrykerResults { private readonly ReadOnlyCollection _blacklistedSyntaxKindsForMutating = - new(new[] - { - // Usings - SyntaxKind.UsingDirective, - SyntaxKind.UsingKeyword, - SyntaxKind.UsingStatement, - // Comments - SyntaxKind.DocumentationCommentExteriorTrivia, - SyntaxKind.EndOfDocumentationCommentToken, - SyntaxKind.MultiLineCommentTrivia, - SyntaxKind.MultiLineDocumentationCommentTrivia, - SyntaxKind.SingleLineCommentTrivia, - SyntaxKind.SingleLineDocumentationCommentTrivia, - SyntaxKind.XmlComment, - SyntaxKind.XmlCommentEndToken, - SyntaxKind.XmlCommentStartToken, - } + new([ + // Usings + SyntaxKind.UsingDirective, + SyntaxKind.UsingKeyword, + SyntaxKind.UsingStatement, + // Comments + SyntaxKind.DocumentationCommentExteriorTrivia, + SyntaxKind.EndOfDocumentationCommentToken, + SyntaxKind.MultiLineCommentTrivia, + SyntaxKind.MultiLineDocumentationCommentTrivia, + SyntaxKind.SingleLineCommentTrivia, + SyntaxKind.SingleLineDocumentationCommentTrivia, + SyntaxKind.XmlComment, + SyntaxKind.XmlCommentEndToken, + SyntaxKind.XmlCommentStartToken, + ] ); private readonly ReadOnlyCollection _parentSyntaxKindsForMutating = - new(new[] - { - SyntaxKind.MethodDeclaration, - SyntaxKind.PropertyDeclaration, - SyntaxKind.ConstructorDeclaration, - SyntaxKind.FieldDeclaration, - SyntaxKind.OperatorDeclaration, - SyntaxKind.IndexerDeclaration, - } + new([ + SyntaxKind.MethodDeclaration, + SyntaxKind.PropertyDeclaration, + SyntaxKind.ConstructorDeclaration, + SyntaxKind.FieldDeclaration, + SyntaxKind.OperatorDeclaration, + SyntaxKind.IndexerDeclaration, + ] ); private const string MutationReportJson = "mutation-report.json"; @@ -83,7 +82,7 @@ public async Task CSharp_NetCore_SingleTestProject() var report = await strykerRunOutput.DeserializeJsonReportAsync(); - CheckReportMutants(report, total: 606, ignored: 252, survived: 4, killed: 9, timeout: 2, nocoverage: 308); + CheckReportMutants(report, total: 638, ignored: 262, survived: 4, killed: 9, timeout: 2, nocoverage: 324); CheckReportTestCounts(report, total: 11); } @@ -102,7 +101,7 @@ public async Task CSharp_NetCore_WithTwoTestProjects() var report = await strykerRunOutput.DeserializeJsonReportAsync(); - CheckReportMutants(report, total: 606, ignored: 105, survived: 5, killed: 11, timeout: 2, nocoverage: 452); + CheckReportMutants(report, total: 636, ignored: 112, survived: 5, killed: 11, timeout: 2, nocoverage: 469); CheckReportTestCounts(report, total: 21); } @@ -121,7 +120,7 @@ public async Task CSharp_NetCore_SolutionRun() var report = await strykerRunOutput.DeserializeJsonReportAsync(); - CheckReportMutants(report, total: 606, ignored: 252, survived: 4, killed: 9, timeout: 2, nocoverage: 308); + CheckReportMutants(report, total: 638, ignored: 262, survived: 4, killed: 9, timeout: 2, nocoverage: 324); CheckReportTestCounts(report, total: 23); } @@ -140,7 +139,12 @@ private void CheckMutationKindsValidity(IJsonReport report) var nodeKind = node.Kind(); _blacklistedSyntaxKindsForMutating.ShouldNotContain(nodeKind); - node.AncestorsAndSelf().ShouldContain(pn => _parentSyntaxKindsForMutating.Contains(pn.Kind())); + node + .AncestorsAndSelf() + .ShouldContain(pn => + _parentSyntaxKindsForMutating.Contains(pn.Kind()), + $"Mutation {mutation.MutatorName} on line {mutation.Location.Start.Line} in file {file.Key} does not have one of the known parent syntax kinds as it's parent.{Environment.NewLine}" + + $"Instead it has: {Environment.NewLine} {string.Join($",{Environment.NewLine}", node.AncestorsAndSelf().Select(n => n.Kind()))}"); } } } diff --git a/pipeline-templates/prepare-integration-test-steps.yml b/pipeline-templates/prepare-integration-test-steps.yml index a0c9b20458..6acd8088ba 100644 --- a/pipeline-templates/prepare-integration-test-steps.yml +++ b/pipeline-templates/prepare-integration-test-steps.yml @@ -3,6 +3,10 @@ steps: displayName: 'Use dotnet' inputs: version: 8.x +- task: UseDotNet@2 + displayName: 'Use dotnet' + inputs: + version: 9.x - task: DotNetCoreCLI@2 displayName: 'Run unit tests' diff --git a/pipeline-templates/update-package-lock-files-stage.yml b/pipeline-templates/update-package-lock-files-stage.yml index 9bee621746..ee7b5bef99 100644 --- a/pipeline-templates/update-package-lock-files-stage.yml +++ b/pipeline-templates/update-package-lock-files-stage.yml @@ -16,6 +16,10 @@ stages: displayName: 'Use dotnet' inputs: version: 8.x + - task: UseDotNet@2 + displayName: 'Use dotnet' + inputs: + version: 9.x - task: DotNetCoreCLI@2 displayName: 'Update stryker cli and stryker core lock files' inputs: diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index fb62aa7649..08b8a16f38 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -1,18 +1,18 @@ - + - - - + + + - + diff --git a/src/Stryker.Abstractions/packages.lock.json b/src/Stryker.Abstractions/packages.lock.json index 8887ceaa8a..84831df345 100644 --- a/src/Stryker.Abstractions/packages.lock.json +++ b/src/Stryker.Abstractions/packages.lock.json @@ -33,9 +33,9 @@ }, "Microsoft.CodeAnalysis.Common": { "type": "Direct", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "djf8ujmqYImFgB04UGtcsEhHrzVqzHowS+EEl/Yunc5LdrYrZhGBWUTXoCF0NzYXJxtfuD+UVQarWpvrNc94Qg==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "c1kNYihL2gdcuU1dqm8R8YeA4YkB43TpU3pa2r66Uooh6AAhRtENzj9A4Kj0a+H8JDDyuTjNZql9XlVUzV+UjA==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", "System.Collections.Immutable": "8.0.0", @@ -44,12 +44,12 @@ }, "Microsoft.CodeAnalysis.CSharp": { "type": "Direct", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "6XYi2EusI8JT4y2l/F3VVVS+ISoIX9nqHsZRaG6W5aFeJ5BEuBosHfT/ABb73FN0RZ1Z3cj2j7cL28SToJPXOw==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "30vVQ1MizeC22iEdEvI2w0eTIYG43/L20yBzuQH01xKzJgHAoWehzI2F8u07o4mXh4DGMOjQF7aEm0zzvsG3Mg==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", - "Microsoft.CodeAnalysis.Common": "[4.11.0]", + "Microsoft.CodeAnalysis.Common": "[4.12.0]", "System.Collections.Immutable": "8.0.0", "System.Reflection.Metadata": "8.0.0" } @@ -283,7 +283,7 @@ "stryker.utilities": { "type": "Project", "dependencies": { - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", "Microsoft.Extensions.Logging.Abstractions": "[9.0.0, )" } }, @@ -295,7 +295,7 @@ }, "Microsoft.CodeAnalysis.VisualBasic": { "type": "CentralTransitive", - "requested": "[4.11.0, )", + "requested": "[4.12.0, )", "resolved": "4.0.0", "contentHash": "FK+OGUMUh9O6/GCwyIy4c/sOrarF36/yEY07BbXVYMql1qCqHGWfyWXyCQKQ6m/KqReCqW6aO4cK7kK/AYBpyA==", "dependencies": { diff --git a/src/Stryker.CLI/Stryker.CLI.UnitTest/packages.lock.json b/src/Stryker.CLI/Stryker.CLI.UnitTest/packages.lock.json index 6642e8e170..84b79d7448 100644 --- a/src/Stryker.CLI/Stryker.CLI.UnitTest/packages.lock.json +++ b/src/Stryker.CLI/Stryker.CLI.UnitTest/packages.lock.json @@ -83,25 +83,25 @@ }, "Azure.Core": { "type": "Transitive", - "resolved": "1.41.0", - "contentHash": "7OO8rPCVSvXj2IQET3NkRf8hU2ZDCCvCIUhlrE089qkLNpNfWufJnBwHRKLAOWF3bhKBGJS/9hPBgjJ8kupUIg==", + "resolved": "1.44.1", + "contentHash": "YyznXLQZCregzHvioip07/BkzjuWNXogJEVz9T5W6TwjNr17ax41YGzYMptlo2G10oLCuVPoyva62y0SIRDixg==", "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "1.1.1", - "System.ClientModel": "1.0.0", + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "System.ClientModel": "1.1.0", "System.Diagnostics.DiagnosticSource": "6.0.1", - "System.Memory.Data": "1.0.2", + "System.Memory.Data": "6.0.0", "System.Numerics.Vectors": "4.5.0", - "System.Text.Encodings.Web": "4.7.2", - "System.Text.Json": "4.7.2", + "System.Text.Encodings.Web": "6.0.0", + "System.Text.Json": "6.0.10", "System.Threading.Tasks.Extensions": "4.5.4" } }, "Azure.Storage.Common": { "type": "Transitive", - "resolved": "12.20.1", - "contentHash": "KKBFnc4WZ6m9HgsKgwfO1cIxd154b8cAnP3uWhuelvFkzxqBXQQgIsHF0n3DYBG2AoTJCZDXwJpKuVC7CsKJWg==", + "resolved": "12.22.0", + "contentHash": "0Vm30bRpQ0fcswB0xQMhKAOSXnRygnF2f/029uPaIDLaj1/yfX4jmU0fFjJe9ojGEj/vlAmsApCEOyL9if6zHg==", "dependencies": { - "Azure.Core": "1.41.0", + "Azure.Core": "1.44.1", "System.IO.Hashing": "6.0.0" } }, @@ -147,8 +147,8 @@ }, "Microsoft.Bcl.AsyncInterfaces": { "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "yuvf07qFWFqtK3P/MRkEKLhn5r2UbSpVueRziSqj0yJQIKFwG1pq9mOayK3zE5qZCTs0CbrwL9M6R8VwqyGy2w==" + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==" }, "Microsoft.Build": { "type": "Transitive", @@ -450,11 +450,11 @@ }, "System.ClientModel": { "type": "Transitive", - "resolved": "1.0.0", - "contentHash": "I3CVkvxeqFYjIVEP59DnjbeoGNfo/+SZrCLpRz2v/g0gpCHaEMPtWSY0s9k/7jR1rAsLNg2z2u1JRB76tPjnIw==", + "resolved": "1.1.0", + "contentHash": "UocOlCkxLZrG2CKMAAImPcldJTxeesHnHGHwhJ0pNlZEvEXcWKuQvVOER2/NiOkJGRJk978SNdw3j6/7O9H1lg==", "dependencies": { "System.Memory.Data": "1.0.2", - "System.Text.Json": "4.7.2" + "System.Text.Json": "6.0.9" } }, "System.CodeDom": { @@ -566,11 +566,10 @@ }, "System.Memory.Data": { "type": "Transitive", - "resolved": "1.0.2", - "contentHash": "JGkzeqgBsiZwKJZ1IxPNsDFZDhUvuEdX8L8BDC8N3KOj+6zMcNU28CNN59TpZE/VJYy9cP+5M+sbxtWJx3/xtw==", + "resolved": "6.0.0", + "contentHash": "ntFHArH3I4Lpjf5m4DCXQHJuGwWPNVJPaAvM95Jy/u+2Yzt2ryiyIN04LAogkjP9DeRcEOiviAjQotfmPq/FrQ==", "dependencies": { - "System.Text.Encodings.Web": "4.7.2", - "System.Text.Json": "4.6.0" + "System.Text.Json": "6.0.0" } }, "System.Numerics.Vectors": { @@ -654,6 +653,11 @@ "Microsoft.NETCore.Targets": "1.1.0" } }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, "System.Runtime.Extensions": { "type": "Transitive", "resolved": "4.1.0", @@ -779,13 +783,20 @@ }, "System.Text.Encodings.Web": { "type": "Transitive", - "resolved": "4.7.2", - "contentHash": "iTUgB/WtrZ1sWZs84F2hwyQhiRH6QNjQv2DkwrH+WP6RoFga2Q1m3f9/Q7FG8cck8AdHitQkmkXSY8qylcDmuA==" + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } }, "System.Text.Json": { "type": "Transitive", - "resolved": "4.7.2", - "contentHash": "TcMd95wcrubm9nHvJEQs70rC0H/8omiSGGpU4FQ/ZA1URIqD4pjmFJh2Mfv1yH1eHgJDWTi2hMDXwTET+zOOyg==" + "resolved": "6.0.10", + "contentHash": "NSB0kDipxn2ychp88NXWfFRFlmi1bst/xynOutbnpEfRCT9JZkZ7KOmF/I/hNKo2dILiMGnqblm+j1sggdLB9g==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0" + } }, "System.Threading": { "type": "Transitive", @@ -836,20 +847,20 @@ "dependencies": { "McMaster.Extensions.CommandLineUtils": "[4.1.1, )", "NuGet.Protocol": "[6.12.1, )", - "YamlDotNet": "[16.2.1, )", + "YamlDotNet": "[16.3.0, )", "stryker": "[4.4.1, )" } }, "stryker": { "type": "Project", "dependencies": { - "Azure.Storage.Files.Shares": "[12.19.1, )", + "Azure.Storage.Files.Shares": "[12.21.0, )", "Buildalyzer": "[7.1.0, )", "DotNet.Glob": "[3.1.3, )", "Grynwald.MarkdownGenerator": "[3.0.106, )", "LibGit2Sharp": "[0.31.0, )", - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Microsoft.Extensions.Logging": "[9.0.0, )", "Microsoft.TestPlatform": "[17.12.0, )", "Microsoft.TestPlatform.ObjectModel": "[17.12.0, )", @@ -878,8 +889,8 @@ "dependencies": { "Buildalyzer": "[7.1.0, )", "DotNet.Glob": "[3.1.3, )", - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Microsoft.TestPlatform.ObjectModel": "[17.12.0, )", "Serilog": "[4.2.0, )", "Stryker.Utilities": "[4.4.1, )", @@ -890,8 +901,8 @@ "type": "Project", "dependencies": { "DotNet.Glob": "[3.1.3, )", - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Serilog": "[4.2.0, )", "Stryker.Abstractions": "[4.4.1, )", "Stryker.Utilities": "[4.4.1, )" @@ -913,18 +924,18 @@ "stryker.utilities": { "type": "Project", "dependencies": { - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", "Microsoft.Extensions.Logging.Abstractions": "[9.0.0, )" } }, "Azure.Storage.Files.Shares": { "type": "CentralTransitive", - "requested": "[12.19.1, )", - "resolved": "12.19.1", - "contentHash": "ezJZYp+B+ggcVq2SSdKV+X1mwNOdcpRhj/1+wucu81MPspCryVc3Lo/SmvmiYcttgbu0rYgdmh2uxCU/8N2sPw==", + "requested": "[12.21.0, )", + "resolved": "12.21.0", + "contentHash": "eaQDdDcAtje+IuDhl9Wjz8oRjIbWFJ9Ld7qs6ApKluQfTe7HP8edEo7DkkqwLHSNrZv+TDJW6N2bswxP3Ty1zg==", "dependencies": { - "Azure.Storage.Common": "12.20.1", - "System.Text.Json": "4.7.2" + "Azure.Storage.Common": "12.22.0", + "System.Text.Json": "6.0.10" } }, "Buildalyzer": { @@ -976,9 +987,9 @@ }, "Microsoft.CodeAnalysis.Common": { "type": "CentralTransitive", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "djf8ujmqYImFgB04UGtcsEhHrzVqzHowS+EEl/Yunc5LdrYrZhGBWUTXoCF0NzYXJxtfuD+UVQarWpvrNc94Qg==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "c1kNYihL2gdcuU1dqm8R8YeA4YkB43TpU3pa2r66Uooh6AAhRtENzj9A4Kj0a+H8JDDyuTjNZql9XlVUzV+UjA==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", "System.Collections.Immutable": "8.0.0", @@ -987,19 +998,19 @@ }, "Microsoft.CodeAnalysis.CSharp": { "type": "CentralTransitive", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "6XYi2EusI8JT4y2l/F3VVVS+ISoIX9nqHsZRaG6W5aFeJ5BEuBosHfT/ABb73FN0RZ1Z3cj2j7cL28SToJPXOw==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "30vVQ1MizeC22iEdEvI2w0eTIYG43/L20yBzuQH01xKzJgHAoWehzI2F8u07o4mXh4DGMOjQF7aEm0zzvsG3Mg==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", - "Microsoft.CodeAnalysis.Common": "[4.11.0]", + "Microsoft.CodeAnalysis.Common": "[4.12.0]", "System.Collections.Immutable": "8.0.0", "System.Reflection.Metadata": "8.0.0" } }, "Microsoft.CodeAnalysis.VisualBasic": { "type": "CentralTransitive", - "requested": "[4.11.0, )", + "requested": "[4.12.0, )", "resolved": "4.0.0", "contentHash": "FK+OGUMUh9O6/GCwyIy4c/sOrarF36/yEY07BbXVYMql1qCqHGWfyWXyCQKQ6m/KqReCqW6aO4cK7kK/AYBpyA==", "dependencies": { @@ -1175,9 +1186,9 @@ }, "YamlDotNet": { "type": "CentralTransitive", - "requested": "[16.2.1, )", - "resolved": "16.2.1", - "contentHash": "im6zTVgesjcfTRfuMpnx51Rg2svWenp/3q5XBfcIzgj8PNIkkSD2xEl9HWcVi2SaJPP9XcXUdzed9gSDEuf1TA==" + "requested": "[16.3.0, )", + "resolved": "16.3.0", + "contentHash": "SgMOdxbz8X65z8hraIs6hOEdnkH6hESTAIUa7viEngHOYaH+6q5XJmwr1+yb9vJpNQ19hCQY69xbFsLtXpobQA==" } } } diff --git a/src/Stryker.CLI/Stryker.CLI/packages.lock.json b/src/Stryker.CLI/Stryker.CLI/packages.lock.json index 180a4295e1..1083eb480f 100644 --- a/src/Stryker.CLI/Stryker.CLI/packages.lock.json +++ b/src/Stryker.CLI/Stryker.CLI/packages.lock.json @@ -28,31 +28,31 @@ }, "YamlDotNet": { "type": "Direct", - "requested": "[16.2.1, )", - "resolved": "16.2.1", - "contentHash": "im6zTVgesjcfTRfuMpnx51Rg2svWenp/3q5XBfcIzgj8PNIkkSD2xEl9HWcVi2SaJPP9XcXUdzed9gSDEuf1TA==" + "requested": "[16.3.0, )", + "resolved": "16.3.0", + "contentHash": "SgMOdxbz8X65z8hraIs6hOEdnkH6hESTAIUa7viEngHOYaH+6q5XJmwr1+yb9vJpNQ19hCQY69xbFsLtXpobQA==" }, "Azure.Core": { "type": "Transitive", - "resolved": "1.41.0", - "contentHash": "7OO8rPCVSvXj2IQET3NkRf8hU2ZDCCvCIUhlrE089qkLNpNfWufJnBwHRKLAOWF3bhKBGJS/9hPBgjJ8kupUIg==", + "resolved": "1.44.1", + "contentHash": "YyznXLQZCregzHvioip07/BkzjuWNXogJEVz9T5W6TwjNr17ax41YGzYMptlo2G10oLCuVPoyva62y0SIRDixg==", "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "1.1.1", - "System.ClientModel": "1.0.0", + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "System.ClientModel": "1.1.0", "System.Diagnostics.DiagnosticSource": "6.0.1", - "System.Memory.Data": "1.0.2", + "System.Memory.Data": "6.0.0", "System.Numerics.Vectors": "4.5.0", - "System.Text.Encodings.Web": "4.7.2", - "System.Text.Json": "4.7.2", + "System.Text.Encodings.Web": "6.0.0", + "System.Text.Json": "6.0.10", "System.Threading.Tasks.Extensions": "4.5.4" } }, "Azure.Storage.Common": { "type": "Transitive", - "resolved": "12.20.1", - "contentHash": "KKBFnc4WZ6m9HgsKgwfO1cIxd154b8cAnP3uWhuelvFkzxqBXQQgIsHF0n3DYBG2AoTJCZDXwJpKuVC7CsKJWg==", + "resolved": "12.22.0", + "contentHash": "0Vm30bRpQ0fcswB0xQMhKAOSXnRygnF2f/029uPaIDLaj1/yfX4jmU0fFjJe9ojGEj/vlAmsApCEOyL9if6zHg==", "dependencies": { - "Azure.Core": "1.41.0", + "Azure.Core": "1.44.1", "System.IO.Hashing": "6.0.0" } }, @@ -68,8 +68,8 @@ }, "Microsoft.Bcl.AsyncInterfaces": { "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "yuvf07qFWFqtK3P/MRkEKLhn5r2UbSpVueRziSqj0yJQIKFwG1pq9mOayK3zE5qZCTs0CbrwL9M6R8VwqyGy2w==" + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==" }, "Microsoft.Build": { "type": "Transitive", @@ -293,11 +293,11 @@ }, "System.ClientModel": { "type": "Transitive", - "resolved": "1.0.0", - "contentHash": "I3CVkvxeqFYjIVEP59DnjbeoGNfo/+SZrCLpRz2v/g0gpCHaEMPtWSY0s9k/7jR1rAsLNg2z2u1JRB76tPjnIw==", + "resolved": "1.1.0", + "contentHash": "UocOlCkxLZrG2CKMAAImPcldJTxeesHnHGHwhJ0pNlZEvEXcWKuQvVOER2/NiOkJGRJk978SNdw3j6/7O9H1lg==", "dependencies": { "System.Memory.Data": "1.0.2", - "System.Text.Json": "4.7.2" + "System.Text.Json": "6.0.9" } }, "System.CodeDom": { @@ -401,11 +401,10 @@ }, "System.Memory.Data": { "type": "Transitive", - "resolved": "1.0.2", - "contentHash": "JGkzeqgBsiZwKJZ1IxPNsDFZDhUvuEdX8L8BDC8N3KOj+6zMcNU28CNN59TpZE/VJYy9cP+5M+sbxtWJx3/xtw==", + "resolved": "6.0.0", + "contentHash": "ntFHArH3I4Lpjf5m4DCXQHJuGwWPNVJPaAvM95Jy/u+2Yzt2ryiyIN04LAogkjP9DeRcEOiviAjQotfmPq/FrQ==", "dependencies": { - "System.Text.Encodings.Web": "4.7.2", - "System.Text.Json": "4.6.0" + "System.Text.Json": "6.0.0" } }, "System.Numerics.Vectors": { @@ -489,6 +488,11 @@ "Microsoft.NETCore.Targets": "1.1.0" } }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, "System.Runtime.Extensions": { "type": "Transitive", "resolved": "4.1.0", @@ -614,13 +618,20 @@ }, "System.Text.Encodings.Web": { "type": "Transitive", - "resolved": "4.7.2", - "contentHash": "iTUgB/WtrZ1sWZs84F2hwyQhiRH6QNjQv2DkwrH+WP6RoFga2Q1m3f9/Q7FG8cck8AdHitQkmkXSY8qylcDmuA==" + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } }, "System.Text.Json": { "type": "Transitive", - "resolved": "4.7.2", - "contentHash": "TcMd95wcrubm9nHvJEQs70rC0H/8omiSGGpU4FQ/ZA1URIqD4pjmFJh2Mfv1yH1eHgJDWTi2hMDXwTET+zOOyg==" + "resolved": "6.0.10", + "contentHash": "NSB0kDipxn2ychp88NXWfFRFlmi1bst/xynOutbnpEfRCT9JZkZ7KOmF/I/hNKo2dILiMGnqblm+j1sggdLB9g==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0" + } }, "System.Threading": { "type": "Transitive", @@ -669,13 +680,13 @@ "stryker": { "type": "Project", "dependencies": { - "Azure.Storage.Files.Shares": "[12.19.1, )", + "Azure.Storage.Files.Shares": "[12.21.0, )", "Buildalyzer": "[7.1.0, )", "DotNet.Glob": "[3.1.3, )", "Grynwald.MarkdownGenerator": "[3.0.106, )", "LibGit2Sharp": "[0.31.0, )", - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Microsoft.Extensions.Logging": "[9.0.0, )", "Microsoft.TestPlatform": "[17.12.0, )", "Microsoft.TestPlatform.ObjectModel": "[17.12.0, )", @@ -704,8 +715,8 @@ "dependencies": { "Buildalyzer": "[7.1.0, )", "DotNet.Glob": "[3.1.3, )", - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Microsoft.TestPlatform.ObjectModel": "[17.12.0, )", "Serilog": "[4.2.0, )", "Stryker.Utilities": "[4.4.1, )", @@ -716,8 +727,8 @@ "type": "Project", "dependencies": { "DotNet.Glob": "[3.1.3, )", - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Serilog": "[4.2.0, )", "Stryker.Abstractions": "[4.4.1, )", "Stryker.Utilities": "[4.4.1, )" @@ -739,18 +750,18 @@ "stryker.utilities": { "type": "Project", "dependencies": { - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", "Microsoft.Extensions.Logging.Abstractions": "[9.0.0, )" } }, "Azure.Storage.Files.Shares": { "type": "CentralTransitive", - "requested": "[12.19.1, )", - "resolved": "12.19.1", - "contentHash": "ezJZYp+B+ggcVq2SSdKV+X1mwNOdcpRhj/1+wucu81MPspCryVc3Lo/SmvmiYcttgbu0rYgdmh2uxCU/8N2sPw==", + "requested": "[12.21.0, )", + "resolved": "12.21.0", + "contentHash": "eaQDdDcAtje+IuDhl9Wjz8oRjIbWFJ9Ld7qs6ApKluQfTe7HP8edEo7DkkqwLHSNrZv+TDJW6N2bswxP3Ty1zg==", "dependencies": { - "Azure.Storage.Common": "12.20.1", - "System.Text.Json": "4.7.2" + "Azure.Storage.Common": "12.22.0", + "System.Text.Json": "6.0.10" } }, "Buildalyzer": { @@ -793,9 +804,9 @@ }, "Microsoft.CodeAnalysis.Common": { "type": "CentralTransitive", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "djf8ujmqYImFgB04UGtcsEhHrzVqzHowS+EEl/Yunc5LdrYrZhGBWUTXoCF0NzYXJxtfuD+UVQarWpvrNc94Qg==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "c1kNYihL2gdcuU1dqm8R8YeA4YkB43TpU3pa2r66Uooh6AAhRtENzj9A4Kj0a+H8JDDyuTjNZql9XlVUzV+UjA==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", "System.Collections.Immutable": "8.0.0", @@ -804,19 +815,19 @@ }, "Microsoft.CodeAnalysis.CSharp": { "type": "CentralTransitive", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "6XYi2EusI8JT4y2l/F3VVVS+ISoIX9nqHsZRaG6W5aFeJ5BEuBosHfT/ABb73FN0RZ1Z3cj2j7cL28SToJPXOw==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "30vVQ1MizeC22iEdEvI2w0eTIYG43/L20yBzuQH01xKzJgHAoWehzI2F8u07o4mXh4DGMOjQF7aEm0zzvsG3Mg==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", - "Microsoft.CodeAnalysis.Common": "[4.11.0]", + "Microsoft.CodeAnalysis.Common": "[4.12.0]", "System.Collections.Immutable": "8.0.0", "System.Reflection.Metadata": "8.0.0" } }, "Microsoft.CodeAnalysis.VisualBasic": { "type": "CentralTransitive", - "requested": "[4.11.0, )", + "requested": "[4.12.0, )", "resolved": "4.0.0", "contentHash": "FK+OGUMUh9O6/GCwyIy4c/sOrarF36/yEY07BbXVYMql1qCqHGWfyWXyCQKQ6m/KqReCqW6aO4cK7kK/AYBpyA==", "dependencies": { diff --git a/src/Stryker.Core/Stryker.Core.UnitTest/Baseline/Providers/AzureFileShareBaselineProviderTests.cs b/src/Stryker.Core/Stryker.Core.UnitTest/Baseline/Providers/AzureFileShareBaselineProviderTests.cs index 16401edee3..66370ed098 100644 --- a/src/Stryker.Core/Stryker.Core.UnitTest/Baseline/Providers/AzureFileShareBaselineProviderTests.cs +++ b/src/Stryker.Core/Stryker.Core.UnitTest/Baseline/Providers/AzureFileShareBaselineProviderTests.cs @@ -178,7 +178,7 @@ public async Task Save_Report(int folders, int files) var shareClient = Mock.Of(); var logger = Mock.Of>(); - Mock.Get(shareClient).Setup(d => d.Exists(default)).Returns(Response.FromValue(true, default)); + Mock.Get(shareClient).Setup(d => d.Exists(default)).Returns(Response.FromValue(true, Mock.Of(r => r.Status == 200))); Mock.Get(shareClient).SetupGet(s => s.Uri).Returns(new Uri(_uri)); // root directory @@ -186,29 +186,29 @@ public async Task Save_Report(int folders, int files) Mock.Get(shareClient) .Setup(s => s.GetDirectoryClient("StrykerOutput")) .Returns(directoryClient); - Mock.Get(directoryClient).Setup(d => d.CreateIfNotExists(default, default, default, default)) - .Callback(() => Mock.Get(directoryClient).Setup(d => d.Exists(default)).Returns(Response.FromValue(true, default))); + Mock.Get(directoryClient).Setup(d => d.CreateIfNotExists(default, default)) + .Callback(() => Mock.Get(directoryClient).Setup(d => d.Exists(default)).Returns(Response.FromValue(true, Mock.Of(r => r.Status == 200)))); // version directory var subdirectoryClient = Mock.Of(); Mock.Get(directoryClient).Setup(d => d.GetSubdirectoryClient("v1")).Returns(subdirectoryClient); Mock.Get(subdirectoryClient) - .Setup(d => d.CreateIfNotExists(default, default, default, default)) - .Callback(() => Mock.Get(subdirectoryClient).Setup(d => d.Exists(default)).Returns(Response.FromValue(true, default))); + .Setup(d => d.CreateIfNotExists(default, default)) + .Callback(() => Mock.Get(subdirectoryClient).Setup(d => d.Exists(default)).Returns(Response.FromValue(true, Mock.Of(r => r.Status == 200)))); // report file var report = JsonReport.Build(new StrykerOptions(), ReportTestHelper.CreateProjectWith(folders: folders, files: files), It.IsAny()); var fileLength = Encoding.UTF8.GetBytes(report.ToJson()).Length; var fullChunks = (int)Math.Floor((double)fileLength / chunkSize); - var lastChunkSize = fileLength - fullChunks * chunkSize; + var lastChunkSize = fileLength - (fullChunks * chunkSize); var fileClient = Mock.Of(); Mock.Get(subdirectoryClient).Setup(d => d.GetFileClient("stryker-report.json")).Returns(fileClient); Mock.Get(fileClient) - .Setup(f => f.CreateAsync(fileLength, default, default, default, default, default, default)) - .Returns(Task.FromResult(Response.FromValue(Mock.Of(), Mock.Of()))); + .Setup(f => f.CreateAsync(fileLength, default, default, default)) + .Returns(Task.FromResult(Response.FromValue(Mock.Of(), Mock.Of(r => r.Status == 200)))); if (fullChunks > 0) { @@ -220,7 +220,7 @@ public async Task Save_Report(int folders, int files) .Setup(f => f.UploadRangeAsync( It.Is(r => r.Offset == offset && r.Length == chunkSize), It.IsAny(), null, default)) - .Returns(Task.FromResult(Response.FromValue(Mock.Of(), Mock.Of()))); + .Returns(Task.FromResult(Response.FromValue(Mock.Of(), Mock.Of(r => r.Status == 200)))); } // setup last chunk upload @@ -228,7 +228,7 @@ public async Task Save_Report(int folders, int files) .Setup(f => f.UploadRangeAsync( It.Is(r => r.Offset == fullChunks * chunkSize && r.Length == lastChunkSize), It.IsAny(), null, default)) - .Returns(Task.FromResult(Response.FromValue(Mock.Of(), Mock.Of()))); + .Returns(Task.FromResult(Response.FromValue(Mock.Of(), Mock.Of(r => r.Status == 200)))); } else // There's only 1 chunk { @@ -236,7 +236,7 @@ public async Task Save_Report(int folders, int files) .Setup(f => f.UploadRangeAsync( It.Is(r => r.Offset == 0 && r.Length == fileLength), It.IsAny(), null, default)) - .Returns(Task.FromResult(Response.FromValue(Mock.Of(), Mock.Of()))); + .Returns(Task.FromResult(Response.FromValue(Mock.Of(), Mock.Of(r => r.Status == 200)))); } // Act diff --git a/src/Stryker.Core/Stryker.Core.UnitTest/Options/Inputs/LanguageVersionInputTests.cs b/src/Stryker.Core/Stryker.Core.UnitTest/Options/Inputs/LanguageVersionInputTests.cs index cd98464bd1..79f9387e55 100644 --- a/src/Stryker.Core/Stryker.Core.UnitTest/Options/Inputs/LanguageVersionInputTests.cs +++ b/src/Stryker.Core/Stryker.Core.UnitTest/Options/Inputs/LanguageVersionInputTests.cs @@ -2,11 +2,10 @@ using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis.CSharp; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Shouldly; using Stryker.Abstractions.Exceptions; using Stryker.Abstractions.Options.Inputs; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Stryker.Core.UnitTest; namespace Stryker.Core.UnitTest.Options.Inputs; @@ -17,7 +16,7 @@ public class LanguageVersionInputTests : TestBase public void ShouldHaveHelpText() { var target = new LanguageVersionInput(); - target.HelpText.ShouldBe(@"The c# version used in compilation. | default: 'latest' | allowed: Default, CSharp2, CSharp3, CSharp4, CSharp5, CSharp6, CSharp7, CSharp7_1, CSharp7_2, CSharp7_3, CSharp8, CSharp9, CSharp10, CSharp11, CSharp12, LatestMajor, Preview, Latest"); + target.HelpText.ShouldBe(@"The c# version used in compilation. | default: 'latest' | allowed: Default, CSharp2, CSharp3, CSharp4, CSharp5, CSharp6, CSharp7, CSharp7_1, CSharp7_2, CSharp7_3, CSharp8, CSharp9, CSharp10, CSharp11, CSharp12, CSharp13, LatestMajor, Preview, Latest"); } [TestMethod] diff --git a/src/Stryker.Core/Stryker.Core.UnitTest/packages.lock.json b/src/Stryker.Core/Stryker.Core.UnitTest/packages.lock.json index a32f5e0be5..d63184e543 100644 --- a/src/Stryker.Core/Stryker.Core.UnitTest/packages.lock.json +++ b/src/Stryker.Core/Stryker.Core.UnitTest/packages.lock.json @@ -31,12 +31,12 @@ }, "Microsoft.CodeAnalysis.VisualBasic": { "type": "Direct", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "1ypssIzZvsDtzyN8tFqZdKS8cl7MAQQ6eBjHGCJ9paLNlmnBd2kCo1GRr8kO0yWaFN/Io2JXaTeeHRDZLiKKyw==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "RBxRpzTe2nqG96F/vJA5QK2YAuyFyg4+8VzSUW9DvZxNHGqz1taAC0KgOGd8VywGWIdZ7LhAdSI0Z6dlOkxN7w==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", - "Microsoft.CodeAnalysis.Common": "[4.11.0]", + "Microsoft.CodeAnalysis.Common": "[4.12.0]", "System.Collections.Immutable": "8.0.0", "System.Reflection.Metadata": "8.0.0" } @@ -110,25 +110,25 @@ }, "Azure.Core": { "type": "Transitive", - "resolved": "1.41.0", - "contentHash": "7OO8rPCVSvXj2IQET3NkRf8hU2ZDCCvCIUhlrE089qkLNpNfWufJnBwHRKLAOWF3bhKBGJS/9hPBgjJ8kupUIg==", + "resolved": "1.44.1", + "contentHash": "YyznXLQZCregzHvioip07/BkzjuWNXogJEVz9T5W6TwjNr17ax41YGzYMptlo2G10oLCuVPoyva62y0SIRDixg==", "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "1.1.1", - "System.ClientModel": "1.0.0", + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "System.ClientModel": "1.1.0", "System.Diagnostics.DiagnosticSource": "6.0.1", - "System.Memory.Data": "1.0.2", + "System.Memory.Data": "6.0.0", "System.Numerics.Vectors": "4.5.0", - "System.Text.Encodings.Web": "4.7.2", - "System.Text.Json": "4.7.2", + "System.Text.Encodings.Web": "6.0.0", + "System.Text.Json": "6.0.10", "System.Threading.Tasks.Extensions": "4.5.4" } }, "Azure.Storage.Common": { "type": "Transitive", - "resolved": "12.20.1", - "contentHash": "KKBFnc4WZ6m9HgsKgwfO1cIxd154b8cAnP3uWhuelvFkzxqBXQQgIsHF0n3DYBG2AoTJCZDXwJpKuVC7CsKJWg==", + "resolved": "12.22.0", + "contentHash": "0Vm30bRpQ0fcswB0xQMhKAOSXnRygnF2f/029uPaIDLaj1/yfX4jmU0fFjJe9ojGEj/vlAmsApCEOyL9if6zHg==", "dependencies": { - "Azure.Core": "1.41.0", + "Azure.Core": "1.44.1", "System.IO.Hashing": "6.0.0" } }, @@ -182,8 +182,8 @@ }, "Microsoft.Bcl.AsyncInterfaces": { "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "yuvf07qFWFqtK3P/MRkEKLhn5r2UbSpVueRziSqj0yJQIKFwG1pq9mOayK3zE5qZCTs0CbrwL9M6R8VwqyGy2w==" + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==" }, "Microsoft.Build": { "type": "Transitive", @@ -451,11 +451,11 @@ }, "System.ClientModel": { "type": "Transitive", - "resolved": "1.0.0", - "contentHash": "I3CVkvxeqFYjIVEP59DnjbeoGNfo/+SZrCLpRz2v/g0gpCHaEMPtWSY0s9k/7jR1rAsLNg2z2u1JRB76tPjnIw==", + "resolved": "1.1.0", + "contentHash": "UocOlCkxLZrG2CKMAAImPcldJTxeesHnHGHwhJ0pNlZEvEXcWKuQvVOER2/NiOkJGRJk978SNdw3j6/7O9H1lg==", "dependencies": { "System.Memory.Data": "1.0.2", - "System.Text.Json": "4.7.2" + "System.Text.Json": "6.0.9" } }, "System.CodeDom": { @@ -562,11 +562,10 @@ }, "System.Memory.Data": { "type": "Transitive", - "resolved": "1.0.2", - "contentHash": "JGkzeqgBsiZwKJZ1IxPNsDFZDhUvuEdX8L8BDC8N3KOj+6zMcNU28CNN59TpZE/VJYy9cP+5M+sbxtWJx3/xtw==", + "resolved": "6.0.0", + "contentHash": "ntFHArH3I4Lpjf5m4DCXQHJuGwWPNVJPaAvM95Jy/u+2Yzt2ryiyIN04LAogkjP9DeRcEOiviAjQotfmPq/FrQ==", "dependencies": { - "System.Text.Encodings.Web": "4.7.2", - "System.Text.Json": "4.6.0" + "System.Text.Json": "6.0.0" } }, "System.Numerics.Vectors": { @@ -650,6 +649,11 @@ "Microsoft.NETCore.Targets": "1.1.0" } }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, "System.Runtime.Extensions": { "type": "Transitive", "resolved": "4.1.0", @@ -775,13 +779,20 @@ }, "System.Text.Encodings.Web": { "type": "Transitive", - "resolved": "4.7.2", - "contentHash": "iTUgB/WtrZ1sWZs84F2hwyQhiRH6QNjQv2DkwrH+WP6RoFga2Q1m3f9/Q7FG8cck8AdHitQkmkXSY8qylcDmuA==" + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } }, "System.Text.Json": { "type": "Transitive", - "resolved": "4.7.2", - "contentHash": "TcMd95wcrubm9nHvJEQs70rC0H/8omiSGGpU4FQ/ZA1URIqD4pjmFJh2Mfv1yH1eHgJDWTi2hMDXwTET+zOOyg==" + "resolved": "6.0.10", + "contentHash": "NSB0kDipxn2ychp88NXWfFRFlmi1bst/xynOutbnpEfRCT9JZkZ7KOmF/I/hNKo2dILiMGnqblm+j1sggdLB9g==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0" + } }, "System.Threading": { "type": "Transitive", @@ -830,13 +841,13 @@ "stryker": { "type": "Project", "dependencies": { - "Azure.Storage.Files.Shares": "[12.19.1, )", + "Azure.Storage.Files.Shares": "[12.21.0, )", "Buildalyzer": "[7.1.0, )", "DotNet.Glob": "[3.1.3, )", "Grynwald.MarkdownGenerator": "[3.0.106, )", "LibGit2Sharp": "[0.31.0, )", - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Microsoft.Extensions.Logging": "[9.0.0, )", "Microsoft.TestPlatform": "[17.12.0, )", "Microsoft.TestPlatform.ObjectModel": "[17.12.0, )", @@ -865,8 +876,8 @@ "dependencies": { "Buildalyzer": "[7.1.0, )", "DotNet.Glob": "[3.1.3, )", - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Microsoft.TestPlatform.ObjectModel": "[17.12.0, )", "Serilog": "[4.2.0, )", "Stryker.Utilities": "[4.4.1, )", @@ -877,8 +888,8 @@ "type": "Project", "dependencies": { "DotNet.Glob": "[3.1.3, )", - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Serilog": "[4.2.0, )", "Stryker.Abstractions": "[4.4.1, )", "Stryker.Utilities": "[4.4.1, )" @@ -900,18 +911,18 @@ "stryker.utilities": { "type": "Project", "dependencies": { - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", "Microsoft.Extensions.Logging.Abstractions": "[9.0.0, )" } }, "Azure.Storage.Files.Shares": { "type": "CentralTransitive", - "requested": "[12.19.1, )", - "resolved": "12.19.1", - "contentHash": "ezJZYp+B+ggcVq2SSdKV+X1mwNOdcpRhj/1+wucu81MPspCryVc3Lo/SmvmiYcttgbu0rYgdmh2uxCU/8N2sPw==", + "requested": "[12.21.0, )", + "resolved": "12.21.0", + "contentHash": "eaQDdDcAtje+IuDhl9Wjz8oRjIbWFJ9Ld7qs6ApKluQfTe7HP8edEo7DkkqwLHSNrZv+TDJW6N2bswxP3Ty1zg==", "dependencies": { - "Azure.Storage.Common": "12.20.1", - "System.Text.Json": "4.7.2" + "Azure.Storage.Common": "12.22.0", + "System.Text.Json": "6.0.10" } }, "Buildalyzer": { @@ -960,9 +971,9 @@ }, "Microsoft.CodeAnalysis.Common": { "type": "CentralTransitive", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "djf8ujmqYImFgB04UGtcsEhHrzVqzHowS+EEl/Yunc5LdrYrZhGBWUTXoCF0NzYXJxtfuD+UVQarWpvrNc94Qg==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "c1kNYihL2gdcuU1dqm8R8YeA4YkB43TpU3pa2r66Uooh6AAhRtENzj9A4Kj0a+H8JDDyuTjNZql9XlVUzV+UjA==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", "System.Collections.Immutable": "8.0.0", @@ -971,12 +982,12 @@ }, "Microsoft.CodeAnalysis.CSharp": { "type": "CentralTransitive", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "6XYi2EusI8JT4y2l/F3VVVS+ISoIX9nqHsZRaG6W5aFeJ5BEuBosHfT/ABb73FN0RZ1Z3cj2j7cL28SToJPXOw==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "30vVQ1MizeC22iEdEvI2w0eTIYG43/L20yBzuQH01xKzJgHAoWehzI2F8u07o4mXh4DGMOjQF7aEm0zzvsG3Mg==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", - "Microsoft.CodeAnalysis.Common": "[4.11.0]", + "Microsoft.CodeAnalysis.Common": "[4.12.0]", "System.Collections.Immutable": "8.0.0", "System.Reflection.Metadata": "8.0.0" } diff --git a/src/Stryker.Core/Stryker.Core/packages.lock.json b/src/Stryker.Core/Stryker.Core/packages.lock.json index 1787aab86b..51146805a9 100644 --- a/src/Stryker.Core/Stryker.Core/packages.lock.json +++ b/src/Stryker.Core/Stryker.Core/packages.lock.json @@ -4,12 +4,12 @@ "net8.0": { "Azure.Storage.Files.Shares": { "type": "Direct", - "requested": "[12.19.1, )", - "resolved": "12.19.1", - "contentHash": "ezJZYp+B+ggcVq2SSdKV+X1mwNOdcpRhj/1+wucu81MPspCryVc3Lo/SmvmiYcttgbu0rYgdmh2uxCU/8N2sPw==", + "requested": "[12.21.0, )", + "resolved": "12.21.0", + "contentHash": "eaQDdDcAtje+IuDhl9Wjz8oRjIbWFJ9Ld7qs6ApKluQfTe7HP8edEo7DkkqwLHSNrZv+TDJW6N2bswxP3Ty1zg==", "dependencies": { - "Azure.Storage.Common": "12.20.1", - "System.Text.Json": "4.7.2" + "Azure.Storage.Common": "12.22.0", + "System.Text.Json": "6.0.10" } }, "Buildalyzer": { @@ -64,9 +64,9 @@ }, "Microsoft.CodeAnalysis.Common": { "type": "Direct", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "djf8ujmqYImFgB04UGtcsEhHrzVqzHowS+EEl/Yunc5LdrYrZhGBWUTXoCF0NzYXJxtfuD+UVQarWpvrNc94Qg==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "c1kNYihL2gdcuU1dqm8R8YeA4YkB43TpU3pa2r66Uooh6AAhRtENzj9A4Kj0a+H8JDDyuTjNZql9XlVUzV+UjA==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", "System.Collections.Immutable": "8.0.0", @@ -75,12 +75,12 @@ }, "Microsoft.CodeAnalysis.CSharp": { "type": "Direct", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "6XYi2EusI8JT4y2l/F3VVVS+ISoIX9nqHsZRaG6W5aFeJ5BEuBosHfT/ABb73FN0RZ1Z3cj2j7cL28SToJPXOw==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "30vVQ1MizeC22iEdEvI2w0eTIYG43/L20yBzuQH01xKzJgHAoWehzI2F8u07o4mXh4DGMOjQF7aEm0zzvsG3Mg==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", - "Microsoft.CodeAnalysis.Common": "[4.11.0]", + "Microsoft.CodeAnalysis.Common": "[4.12.0]", "System.Collections.Immutable": "8.0.0", "System.Reflection.Metadata": "8.0.0" } @@ -232,25 +232,25 @@ }, "Azure.Core": { "type": "Transitive", - "resolved": "1.41.0", - "contentHash": "7OO8rPCVSvXj2IQET3NkRf8hU2ZDCCvCIUhlrE089qkLNpNfWufJnBwHRKLAOWF3bhKBGJS/9hPBgjJ8kupUIg==", + "resolved": "1.44.1", + "contentHash": "YyznXLQZCregzHvioip07/BkzjuWNXogJEVz9T5W6TwjNr17ax41YGzYMptlo2G10oLCuVPoyva62y0SIRDixg==", "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "1.1.1", - "System.ClientModel": "1.0.0", + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "System.ClientModel": "1.1.0", "System.Diagnostics.DiagnosticSource": "6.0.1", - "System.Memory.Data": "1.0.2", + "System.Memory.Data": "6.0.0", "System.Numerics.Vectors": "4.5.0", - "System.Text.Encodings.Web": "4.7.2", - "System.Text.Json": "4.7.2", + "System.Text.Encodings.Web": "6.0.0", + "System.Text.Json": "6.0.10", "System.Threading.Tasks.Extensions": "4.5.4" } }, "Azure.Storage.Common": { "type": "Transitive", - "resolved": "12.20.1", - "contentHash": "KKBFnc4WZ6m9HgsKgwfO1cIxd154b8cAnP3uWhuelvFkzxqBXQQgIsHF0n3DYBG2AoTJCZDXwJpKuVC7CsKJWg==", + "resolved": "12.22.0", + "contentHash": "0Vm30bRpQ0fcswB0xQMhKAOSXnRygnF2f/029uPaIDLaj1/yfX4jmU0fFjJe9ojGEj/vlAmsApCEOyL9if6zHg==", "dependencies": { - "Azure.Core": "1.41.0", + "Azure.Core": "1.44.1", "System.IO.Hashing": "6.0.0" } }, @@ -266,8 +266,8 @@ }, "Microsoft.Bcl.AsyncInterfaces": { "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "yuvf07qFWFqtK3P/MRkEKLhn5r2UbSpVueRziSqj0yJQIKFwG1pq9mOayK3zE5qZCTs0CbrwL9M6R8VwqyGy2w==" + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==" }, "Microsoft.Build": { "type": "Transitive", @@ -452,11 +452,11 @@ }, "System.ClientModel": { "type": "Transitive", - "resolved": "1.0.0", - "contentHash": "I3CVkvxeqFYjIVEP59DnjbeoGNfo/+SZrCLpRz2v/g0gpCHaEMPtWSY0s9k/7jR1rAsLNg2z2u1JRB76tPjnIw==", + "resolved": "1.1.0", + "contentHash": "UocOlCkxLZrG2CKMAAImPcldJTxeesHnHGHwhJ0pNlZEvEXcWKuQvVOER2/NiOkJGRJk978SNdw3j6/7O9H1lg==", "dependencies": { "System.Memory.Data": "1.0.2", - "System.Text.Json": "4.7.2" + "System.Text.Json": "6.0.9" } }, "System.CodeDom": { @@ -555,11 +555,10 @@ }, "System.Memory.Data": { "type": "Transitive", - "resolved": "1.0.2", - "contentHash": "JGkzeqgBsiZwKJZ1IxPNsDFZDhUvuEdX8L8BDC8N3KOj+6zMcNU28CNN59TpZE/VJYy9cP+5M+sbxtWJx3/xtw==", + "resolved": "6.0.0", + "contentHash": "ntFHArH3I4Lpjf5m4DCXQHJuGwWPNVJPaAvM95Jy/u+2Yzt2ryiyIN04LAogkjP9DeRcEOiviAjQotfmPq/FrQ==", "dependencies": { - "System.Text.Encodings.Web": "4.7.2", - "System.Text.Json": "4.6.0" + "System.Text.Json": "6.0.0" } }, "System.Numerics.Vectors": { @@ -643,6 +642,11 @@ "Microsoft.NETCore.Targets": "1.1.0" } }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, "System.Runtime.Extensions": { "type": "Transitive", "resolved": "4.1.0", @@ -768,13 +772,20 @@ }, "System.Text.Encodings.Web": { "type": "Transitive", - "resolved": "4.7.2", - "contentHash": "iTUgB/WtrZ1sWZs84F2hwyQhiRH6QNjQv2DkwrH+WP6RoFga2Q1m3f9/Q7FG8cck8AdHitQkmkXSY8qylcDmuA==" + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } }, "System.Text.Json": { "type": "Transitive", - "resolved": "4.7.2", - "contentHash": "TcMd95wcrubm9nHvJEQs70rC0H/8omiSGGpU4FQ/ZA1URIqD4pjmFJh2Mfv1yH1eHgJDWTi2hMDXwTET+zOOyg==" + "resolved": "6.0.10", + "contentHash": "NSB0kDipxn2ychp88NXWfFRFlmi1bst/xynOutbnpEfRCT9JZkZ7KOmF/I/hNKo2dILiMGnqblm+j1sggdLB9g==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0" + } }, "System.Threading": { "type": "Transitive", @@ -825,8 +836,8 @@ "dependencies": { "Buildalyzer": "[7.1.0, )", "DotNet.Glob": "[3.1.3, )", - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Microsoft.TestPlatform.ObjectModel": "[17.12.0, )", "Serilog": "[4.2.0, )", "Stryker.Utilities": "[4.4.1, )", @@ -837,8 +848,8 @@ "type": "Project", "dependencies": { "DotNet.Glob": "[3.1.3, )", - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Serilog": "[4.2.0, )", "Stryker.Abstractions": "[4.4.1, )", "Stryker.Utilities": "[4.4.1, )" @@ -860,13 +871,13 @@ "stryker.utilities": { "type": "Project", "dependencies": { - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", "Microsoft.Extensions.Logging.Abstractions": "[9.0.0, )" } }, "Microsoft.CodeAnalysis.VisualBasic": { "type": "CentralTransitive", - "requested": "[4.11.0, )", + "requested": "[4.12.0, )", "resolved": "4.0.0", "contentHash": "FK+OGUMUh9O6/GCwyIy4c/sOrarF36/yEY07BbXVYMql1qCqHGWfyWXyCQKQ6m/KqReCqW6aO4cK7kK/AYBpyA==", "dependencies": { diff --git a/src/Stryker.Options/packages.lock.json b/src/Stryker.Options/packages.lock.json index 4ff97e3ec2..0ab931748d 100644 --- a/src/Stryker.Options/packages.lock.json +++ b/src/Stryker.Options/packages.lock.json @@ -16,9 +16,9 @@ }, "Microsoft.CodeAnalysis.Common": { "type": "Direct", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "djf8ujmqYImFgB04UGtcsEhHrzVqzHowS+EEl/Yunc5LdrYrZhGBWUTXoCF0NzYXJxtfuD+UVQarWpvrNc94Qg==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "c1kNYihL2gdcuU1dqm8R8YeA4YkB43TpU3pa2r66Uooh6AAhRtENzj9A4Kj0a+H8JDDyuTjNZql9XlVUzV+UjA==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", "System.Collections.Immutable": "8.0.0", @@ -27,12 +27,12 @@ }, "Microsoft.CodeAnalysis.CSharp": { "type": "Direct", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "6XYi2EusI8JT4y2l/F3VVVS+ISoIX9nqHsZRaG6W5aFeJ5BEuBosHfT/ABb73FN0RZ1Z3cj2j7cL28SToJPXOw==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "30vVQ1MizeC22iEdEvI2w0eTIYG43/L20yBzuQH01xKzJgHAoWehzI2F8u07o4mXh4DGMOjQF7aEm0zzvsG3Mg==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", - "Microsoft.CodeAnalysis.Common": "[4.11.0]", + "Microsoft.CodeAnalysis.Common": "[4.12.0]", "System.Collections.Immutable": "8.0.0", "System.Reflection.Metadata": "8.0.0" } @@ -250,8 +250,8 @@ "dependencies": { "Buildalyzer": "[7.1.0, )", "DotNet.Glob": "[3.1.3, )", - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", - "Microsoft.CodeAnalysis.Common": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", + "Microsoft.CodeAnalysis.Common": "[4.12.0, )", "Microsoft.TestPlatform.ObjectModel": "[17.12.0, )", "Serilog": "[4.2.0, )", "Stryker.Utilities": "[4.4.1, )", @@ -261,7 +261,7 @@ "stryker.utilities": { "type": "Project", "dependencies": { - "Microsoft.CodeAnalysis.CSharp": "[4.11.0, )", + "Microsoft.CodeAnalysis.CSharp": "[4.12.0, )", "Microsoft.Extensions.Logging.Abstractions": "[9.0.0, )" } }, @@ -290,7 +290,7 @@ }, "Microsoft.CodeAnalysis.VisualBasic": { "type": "CentralTransitive", - "requested": "[4.11.0, )", + "requested": "[4.12.0, )", "resolved": "4.0.0", "contentHash": "FK+OGUMUh9O6/GCwyIy4c/sOrarF36/yEY07BbXVYMql1qCqHGWfyWXyCQKQ6m/KqReCqW6aO4cK7kK/AYBpyA==", "dependencies": { diff --git a/src/Stryker.Utilities/packages.lock.json b/src/Stryker.Utilities/packages.lock.json index bb65d4ad4b..6c28373616 100644 --- a/src/Stryker.Utilities/packages.lock.json +++ b/src/Stryker.Utilities/packages.lock.json @@ -10,12 +10,12 @@ }, "Microsoft.CodeAnalysis.CSharp": { "type": "Direct", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "6XYi2EusI8JT4y2l/F3VVVS+ISoIX9nqHsZRaG6W5aFeJ5BEuBosHfT/ABb73FN0RZ1Z3cj2j7cL28SToJPXOw==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "30vVQ1MizeC22iEdEvI2w0eTIYG43/L20yBzuQH01xKzJgHAoWehzI2F8u07o4mXh4DGMOjQF7aEm0zzvsG3Mg==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", - "Microsoft.CodeAnalysis.Common": "[4.11.0]", + "Microsoft.CodeAnalysis.Common": "[4.12.0]", "System.Collections.Immutable": "8.0.0", "System.Reflection.Metadata": "8.0.0" } @@ -61,9 +61,9 @@ }, "Microsoft.CodeAnalysis.Common": { "type": "CentralTransitive", - "requested": "[4.11.0, )", - "resolved": "4.11.0", - "contentHash": "djf8ujmqYImFgB04UGtcsEhHrzVqzHowS+EEl/Yunc5LdrYrZhGBWUTXoCF0NzYXJxtfuD+UVQarWpvrNc94Qg==", + "requested": "[4.12.0, )", + "resolved": "4.12.0", + "contentHash": "c1kNYihL2gdcuU1dqm8R8YeA4YkB43TpU3pa2r66Uooh6AAhRtENzj9A4Kj0a+H8JDDyuTjNZql9XlVUzV+UjA==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.4", "System.Collections.Immutable": "8.0.0", diff --git a/src/Stryker.sln b/src/Stryker.sln index 38033a41a4..e4fb926a9c 100644 --- a/src/Stryker.sln +++ b/src/Stryker.sln @@ -42,6 +42,16 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Stryker.Configuration", "St EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stryker.Utilities", "Stryker.Utilities\Stryker.Utilities.csproj", "{BDD19501-B2E3-4EFE-ACCD-8D11C99CCCED}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{EB4DEFF1-7BA1-43E4-86ED-B8E6808CCD44}" + ProjectSection(SolutionItems) = preProject + ..\.github\renovate.json = ..\.github\renovate.json + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{E67C4536-0300-47F5-828D-3D4F4451F1BD}" + ProjectSection(SolutionItems) = preProject + ..\.github\workflows\integration-test.yaml = ..\.github\workflows\integration-test.yaml + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -94,6 +104,8 @@ Global EndGlobalSection GlobalSection(NestedProjects) = preSolution {A9BCC324-3DF8-493A-9792-A15C9797AD11} = {68DC3E8E-7CC2-4953-BAFC-08EFBF9F3307} + {EB4DEFF1-7BA1-43E4-86ED-B8E6808CCD44} = {68DC3E8E-7CC2-4953-BAFC-08EFBF9F3307} + {E67C4536-0300-47F5-828D-3D4F4451F1BD} = {EB4DEFF1-7BA1-43E4-86ED-B8E6808CCD44} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {41C3DC7A-5A90-418D-AC69-6B5A34E6A7AC}