Browse Source

Remove obsolete code

pull/3212/head
Christoph Wille 1 year ago
parent
commit
8fa41a9cb0
  1. 13
      ILSpy/AppEnv/SingleInstance.cs

13
ILSpy/AppEnv/SingleInstance.cs

@ -231,24 +231,11 @@ public static class SingleInstance
[Serializable] [Serializable]
private sealed record SingleInstanceArguments private sealed record SingleInstanceArguments
{ // just a storage { // just a storage
#if NET7_0_OR_GREATER
[JsonInclude] [JsonInclude]
public required string CommandLine; public required string CommandLine;
[JsonInclude] [JsonInclude]
public required string[] CommandLineArgs; public required string[] CommandLineArgs;
#else
public SingleInstanceArguments() {
CommandLine = string.Empty;
CommandLineArgs = Array.Empty<string>();
}
[JsonInclude]
public string CommandLine;
[JsonInclude]
public string[] CommandLineArgs;
#endif
} }
} }

Loading…
Cancel
Save