diff --git a/src/NUnitConsole/nunit4-console/ColorConsoleWriter.cs b/src/NUnitConsole/nunit4-console/ColorConsoleWriter.cs
index 08853b4b9..e01ef7986 100644
--- a/src/NUnitConsole/nunit4-console/ColorConsoleWriter.cs
+++ b/src/NUnitConsole/nunit4-console/ColorConsoleWriter.cs
@@ -86,7 +86,8 @@ public override void WriteLabelLine(string label, object option)
/// The color to display the value with
public override void WriteLabel(string label, object option, ColorStyle valueStyle)
{
- Guard.ArgumentNotNull(option, nameof(option));
+ if (option == null)
+ throw new NullReferenceException(nameof(option));
Write(ColorStyle.Label, label);
Write(valueStyle, option.ToString());
diff --git a/src/NUnitConsole/nunit4-console/EnginePackageSettings.cs b/src/NUnitConsole/nunit4-console/EnginePackageSettings.cs
deleted file mode 100644
index 96db5c685..000000000
--- a/src/NUnitConsole/nunit4-console/EnginePackageSettings.cs
+++ /dev/null
@@ -1,142 +0,0 @@
-// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
-
-#if false
-using System;
-
-namespace NUnit
-{
- ///
- /// EngineSettings contains constant values that
- /// are used as keys in setting up a TestPackage.
- /// Values here are used in the engine, and set by the runner.
- /// Setting values may be a string, int or bool.
- ///
- public static class EnginePackageSettings
- {
- ///
- /// The name of the config to use in loading a project.
- /// If not specified, the first config found is used.
- ///
- public const string ActiveConfig = "ActiveConfig";
-
- ///
- /// Bool indicating whether the engine should determine the private
- /// bin path by examining the paths to all the tests. Defaults to
- /// true unless PrivateBinPath is specified.
- ///
- public const string AutoBinPath = "AutoBinPath";
-
- ///
- /// The ApplicationBase to use in loading the tests. If not
- /// specified, and each assembly has its own process, then the
- /// location of the assembly is used. For multiple assemblies
- /// in a single process, the closest common root directory is used.
- ///
- public const string BasePath = "BasePath";
-
- ///
- /// Path to the config file to use in running the tests.
- ///
- public const string ConfigurationFile = "ConfigurationFile";
-
- ///
- /// Flag (bool) indicating whether tests are being debugged.
- ///
- public const string DebugTests = "DebugTests";
-
- ///
- /// Bool flag indicating whether a debugger should be launched at agent
- /// startup. Used only for debugging NUnit itself.
- ///
- public const string DebugAgent = "DebugAgent";
-
- ///
- /// The private binpath used to locate assemblies. Directory paths
- /// is separated by a semicolon. It's an error to specify this and
- /// also set AutoBinPath to true.
- ///
- public const string PrivateBinPath = "PrivateBinPath";
-
- ///
- /// The maximum number of test agents permitted to run simultaneously.
- /// Ignored if the ProcessModel is not set or defaulted to Multiple.
- ///
- public const string MaxAgents = "MaxAgents";
-
- ///
- /// Indicates how to allocate assemblies to processes. Values are:
- /// "Default", "Single", "Separate", "Multiple". Default is "Multiple"
- /// for more than one assembly, "Separate" for a single assembly.
- ///
- public const string ProcessModel = "ProcessModel";
-
- ///
- /// Indicates the desired runtime to use for the tests. Values
- /// are strings like "net-4.5", "mono-4.0", etc. Default is to
- /// use the target framework for which an assembly was built.
- ///
- [Obsolete("Use 'RequestedRuntimeFramework' instead.")]
- public const string RuntimeFramework = "RequestedRuntimeFramework";
-
- ///
- /// Indicates the desired runtime to use for the tests. Values
- /// are strings like "net-4.5", "mono-4.0", etc. Default is to
- /// use the target framework for which an assembly was built.
- ///
- public const string RequestedRuntimeFramework = "RequestedRuntimeFramework";
-
- ///
- /// Indicates the Target runtime selected for use by the engine,
- /// based on the requested runtime and assembly metadata.
- ///
- public const string TargetRuntimeFramework = "TargetRuntimeFramework";
-
- ///
- /// Bool flag indicating that the test should be run in a 32-bit process
- /// on a 64-bit system. By default, NUNit runs in a 64-bit process on
- /// a 64-bit system. Ignored if set on a 32-bit system.
- ///
- public const string RunAsX86 = "RunAsX86";
-
- ///
- /// Indicates that test runners should be disposed after the tests are executed
- ///
- public const string DisposeRunners = "DisposeRunners";
-
- ///
- /// Bool flag indicating that the test assemblies should be shadow copied.
- /// Defaults to false.
- ///
- public const string ShadowCopyFiles = "ShadowCopyFiles";
-
- ///
- /// Bool flag indicating that user profile should be loaded on test runner processes
- ///
- public const string LoadUserProfile = "LoadUserProfile";
-
- ///
- /// Bool flag indicating that non-test assemblies should be skipped without error.
- ///
- public const string SkipNonTestAssemblies = "SkipNonTestAssemblies";
-
- ///
- /// Flag (bool) indicating whether to pause execution of tests to allow
- /// the user to attach a debugger.
- ///
- public const string PauseBeforeRun = "PauseBeforeRun";
-
- ///
- /// The InternalTraceLevel for this run. Values are: "Default",
- /// "Off", "Error", "Warning", "Info", "Debug", "Verbose".
- /// Default is "Off". "Debug" and "Verbose" are synonyms.
- ///
- public const string InternalTraceLevel = "InternalTraceLevel";
-
- ///
- /// The PrincipalPolicy to set on the test application domain. Values are:
- /// "UnauthenticatedPrincipal", "NoPrincipal" and "WindowsPrincipal".
- ///
- public const string PrincipalPolicy = "PrincipalPolicy";
- }
-}
-#endif
diff --git a/src/NUnitConsole/nunit4-console/nunit4-console.csproj b/src/NUnitConsole/nunit4-console/nunit4-console.csproj
index 50f42948f..063e79ba8 100644
--- a/src/NUnitConsole/nunit4-console/nunit4-console.csproj
+++ b/src/NUnitConsole/nunit4-console/nunit4-console.csproj
@@ -22,13 +22,13 @@
+
-
\ No newline at end of file