diff --git a/test/Mono.Linker.Tests.Cases/Extensibility/CustomStepsCanShareState.cs b/test/Mono.Linker.Tests.Cases/Extensibility/CustomStepsCanShareState.cs index 5cfb9bced0c0..94771aaecf33 100644 --- a/test/Mono.Linker.Tests.Cases/Extensibility/CustomStepsCanShareState.cs +++ b/test/Mono.Linker.Tests.Cases/Extensibility/CustomStepsCanShareState.cs @@ -3,10 +3,7 @@ namespace Mono.Linker.Tests.Cases.Extensibility { - [SetupCompileBefore ("SharedCustomSteps.dll", new[] { - "Dependencies/CustomStepsWithSharedState.cs", - "Dependencies/PreserveMembersSubStep.cs" - }, new[] { "illink.dll", "Mono.Cecil.dll", "netstandard.dll" })] + [SetupCompileBefore ("SharedCustomSteps.dll", new[] { "Dependencies/CustomStepsWithSharedState.cs" }, new[] { "illink.dll", "Mono.Cecil.dll", "netstandard.dll" })] [SetupLinkerArgument ("--custom-step", "SharedStateHandler2,SharedCustomSteps.dll")] [SetupLinkerArgument ("--custom-step", "SharedStateHandler1,SharedCustomSteps.dll")] public class CustomStepsCanShareState diff --git a/test/Mono.Linker.Tests.Cases/Extensibility/Dependencies/CustomStepsWithSharedState.cs b/test/Mono.Linker.Tests.Cases/Extensibility/Dependencies/CustomStepsWithSharedState.cs index bcc5348b5b2e..8b6ba1d769bc 100644 --- a/test/Mono.Linker.Tests.Cases/Extensibility/Dependencies/CustomStepsWithSharedState.cs +++ b/test/Mono.Linker.Tests.Cases/Extensibility/Dependencies/CustomStepsWithSharedState.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Mono.Cecil; using Mono.Linker; using Mono.Linker.Steps;