From e64795aad8f17c1896f6cb77faef81fe7703f480 Mon Sep 17 00:00:00 2001 From: Christoph Wille Date: Sun, 26 May 2024 11:56:09 +0200 Subject: [PATCH] Prepare new AppEnv namespace that will house all application environment code (configuration and runtime) --- ILSpy/App.xaml.cs | 1 + ILSpy/{ => AppEnv}/CommandLineArguments.cs | 2 +- ILSpy/{ => AppEnv}/CommandLineTools.cs | 2 +- ILSpy/Commands/ScopeSearchToAssembly.cs | 1 + ILSpy/Commands/ScopeSearchToNamespace.cs | 1 + ILSpy/MainWindow.xaml.cs | 1 + ILSpy/Options/MiscSettingsViewModel.cs | 1 + ILSpy/Search/SearchPane.cs | 1 + 8 files changed, 8 insertions(+), 2 deletions(-) rename ILSpy/{ => AppEnv}/CommandLineArguments.cs (99%) rename ILSpy/{ => AppEnv}/CommandLineTools.cs (99%) diff --git a/ILSpy/App.xaml.cs b/ILSpy/App.xaml.cs index 5779727c4..26bad4cfe 100644 --- a/ILSpy/App.xaml.cs +++ b/ILSpy/App.xaml.cs @@ -30,6 +30,7 @@ using System.Windows.Documents; using System.Windows.Navigation; using System.Windows.Threading; +using ICSharpCode.ILSpy.AppEnv; using ICSharpCode.ILSpy.Options; using ICSharpCode.ILSpyX.Analyzers; using ICSharpCode.ILSpyX.Settings; diff --git a/ILSpy/CommandLineArguments.cs b/ILSpy/AppEnv/CommandLineArguments.cs similarity index 99% rename from ILSpy/CommandLineArguments.cs rename to ILSpy/AppEnv/CommandLineArguments.cs index df1114e38..116d8b188 100644 --- a/ILSpy/CommandLineArguments.cs +++ b/ILSpy/AppEnv/CommandLineArguments.cs @@ -21,7 +21,7 @@ using McMaster.Extensions.CommandLineUtils; using System.Collections.Generic; using System.Linq; -namespace ICSharpCode.ILSpy +namespace ICSharpCode.ILSpy.AppEnv { public sealed class CommandLineArguments { diff --git a/ILSpy/CommandLineTools.cs b/ILSpy/AppEnv/CommandLineTools.cs similarity index 99% rename from ILSpy/CommandLineTools.cs rename to ILSpy/AppEnv/CommandLineTools.cs index 898981996..4ff581ba6 100644 --- a/ILSpy/CommandLineTools.cs +++ b/ILSpy/AppEnv/CommandLineTools.cs @@ -20,7 +20,7 @@ using System; using System.Collections.Generic; using System.Text; -namespace ICSharpCode.ILSpy +namespace ICSharpCode.ILSpy.AppEnv { public class CommandLineTools { diff --git a/ILSpy/Commands/ScopeSearchToAssembly.cs b/ILSpy/Commands/ScopeSearchToAssembly.cs index 861e7c8f5..1ec6ef73b 100644 --- a/ILSpy/Commands/ScopeSearchToAssembly.cs +++ b/ILSpy/Commands/ScopeSearchToAssembly.cs @@ -20,6 +20,7 @@ using System; using ICSharpCode.Decompiler.TypeSystem; +using ICSharpCode.ILSpy.AppEnv; using ICSharpCode.ILSpy.Properties; using ICSharpCode.ILSpy.TreeNodes; diff --git a/ILSpy/Commands/ScopeSearchToNamespace.cs b/ILSpy/Commands/ScopeSearchToNamespace.cs index 2c5fead92..11a411ed6 100644 --- a/ILSpy/Commands/ScopeSearchToNamespace.cs +++ b/ILSpy/Commands/ScopeSearchToNamespace.cs @@ -18,6 +18,7 @@ using System; using ICSharpCode.Decompiler.TypeSystem; +using ICSharpCode.ILSpy.AppEnv; using ICSharpCode.ILSpy.Properties; using ICSharpCode.ILSpy.TreeNodes; diff --git a/ILSpy/MainWindow.xaml.cs b/ILSpy/MainWindow.xaml.cs index 999abdca3..474a86dd2 100644 --- a/ILSpy/MainWindow.xaml.cs +++ b/ILSpy/MainWindow.xaml.cs @@ -44,6 +44,7 @@ using ICSharpCode.Decompiler.Metadata; using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem.Implementation; using ICSharpCode.ILSpy.Analyzers; +using ICSharpCode.ILSpy.AppEnv; using ICSharpCode.ILSpy.Commands; using ICSharpCode.ILSpy.Docking; using ICSharpCode.ILSpy.Options; diff --git a/ILSpy/Options/MiscSettingsViewModel.cs b/ILSpy/Options/MiscSettingsViewModel.cs index 6e9562e1b..bb29b91e3 100644 --- a/ILSpy/Options/MiscSettingsViewModel.cs +++ b/ILSpy/Options/MiscSettingsViewModel.cs @@ -24,6 +24,7 @@ using System.Runtime.CompilerServices; using System.Windows; using System.Windows.Input; +using ICSharpCode.ILSpy.AppEnv; using ICSharpCode.ILSpy.Commands; using ICSharpCode.ILSpyX.Settings; diff --git a/ILSpy/Search/SearchPane.cs b/ILSpy/Search/SearchPane.cs index 87a65c6fa..55a29370c 100644 --- a/ILSpy/Search/SearchPane.cs +++ b/ILSpy/Search/SearchPane.cs @@ -32,6 +32,7 @@ using System.Windows.Input; using System.Windows.Media; using System.Windows.Threading; +using ICSharpCode.ILSpy.AppEnv; using ICSharpCode.ILSpy.Docking; using ICSharpCode.ILSpy.ViewModels; using ICSharpCode.ILSpyX;