diff --git a/ILSpy/AppEnv/SingleInstance.cs b/ILSpy/AppEnv/SingleInstance.cs index eb8e39966..22d5ce6e0 100644 --- a/ILSpy/AppEnv/SingleInstance.cs +++ b/ILSpy/AppEnv/SingleInstance.cs @@ -231,24 +231,11 @@ public static class SingleInstance [Serializable] private sealed record SingleInstanceArguments { // just a storage -#if NET7_0_OR_GREATER [JsonInclude] public required string CommandLine; [JsonInclude] public required string[] CommandLineArgs; -#else - public SingleInstanceArguments() { - CommandLine = string.Empty; - CommandLineArgs = Array.Empty(); - } - - [JsonInclude] - public string CommandLine; - - [JsonInclude] - public string[] CommandLineArgs; -#endif } }