diff --git a/.editorconfig b/.editorconfig index 4bccfae51..ade3c4b63 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,17 +3,93 @@ root = true [*] charset = utf-8 +end_of_line = lf indent_style = space indent_size = 4 +tab_width = 4 insert_final_newline = true trim_trailing_whitespace = true +max_line_length = 120 -[*.md] -max_line_length = 100 +# Microsoft .NET properties +csharp_new_line_before_members_in_object_initializers = false +csharp_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:suggestion +csharp_style_prefer_utf8_string_literals = true:suggestion +csharp_style_var_elsewhere = true:suggestion +csharp_style_var_for_built_in_types = true:suggestion +csharp_style_var_when_type_is_apparent = true:suggestion +dotnet_naming_rule.interfaces_rule.severity = warning +dotnet_naming_rule.interfaces_rule.style = i_upper_camel_case_style +dotnet_naming_rule.interfaces_rule.symbols = interfaces_symbols +dotnet_naming_rule.private_static_readonly_rule.severity = warning +dotnet_naming_rule.private_static_readonly_rule.style = lower_camel_case_style +dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols +dotnet_naming_rule.type_parameters_rule.severity = warning +dotnet_naming_rule.type_parameters_rule.style = upper_camel_case_style +dotnet_naming_rule.type_parameters_rule.symbols = type_parameters_symbols +dotnet_naming_style.i_upper_camel_case_style.capitalization = pascal_case +dotnet_naming_style.i_upper_camel_case_style.required_prefix = I +dotnet_naming_style.lower_camel_case_style.capitalization = camel_case +dotnet_naming_style.lower_camel_case_style.required_prefix = _ +dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case +dotnet_naming_symbols.interfaces_symbols.applicable_accessibilities = * +dotnet_naming_symbols.interfaces_symbols.applicable_kinds = interface +dotnet_naming_symbols.interfaces_symbols.resharper_applicable_kinds = interface +dotnet_naming_symbols.interfaces_symbols.resharper_required_modifiers = any +dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private +dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field +dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = readonly, static +dotnet_naming_symbols.private_static_readonly_symbols.resharper_applicable_kinds = readonly_field +dotnet_naming_symbols.private_static_readonly_symbols.resharper_required_modifiers = static +dotnet_naming_symbols.type_parameters_symbols.applicable_accessibilities = * +dotnet_naming_symbols.type_parameters_symbols.applicable_kinds = type_parameter +dotnet_naming_symbols.type_parameters_symbols.resharper_applicable_kinds = type_parameter +dotnet_naming_symbols.type_parameters_symbols.resharper_required_modifiers = any +dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none +dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none +dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none +dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion +dotnet_style_predefined_type_for_member_access = true:suggestion +dotnet_style_qualification_for_event = false:suggestion +dotnet_style_qualification_for_field = false:suggestion +dotnet_style_qualification_for_method = false:suggestion +dotnet_style_qualification_for_property = false:suggestion +dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion + +# ReSharper properties +resharper_autodetect_indent_settings = false +resharper_formatter_off_tag = @formatter:off +resharper_formatter_on_tag = @formatter:on +resharper_formatter_tags_enabled = true +resharper_use_indent_from_vs = false +csharp_align_linq_query = true +csharp_align_multiline_argument = true +csharp_align_multiline_calls_chain = true +csharp_align_multiline_extends_list = true +csharp_align_multiline_parameter = true +csharp_align_multiline_type_parameter_constraints = true +csharp_align_multiline_type_parameter_list = true +csharp_align_multiple_declaration = true +csharp_align_tuple_components = true +csharp_align_multiline_binary_expressions_chain = true +csharp_align_multiline_statement_conditions = true +csharp_align_multiline_comments = true +csharp_int_align_binary_expressions = true +csharp_outdent_binary_ops = true +csharp_int_align_comments = true +csharp_int_align_switch_sections = true +csharp_int_align_switch_expressions = true +csharp_int_align_variables = true + + +[*.{md,diff,patch}] trim_trailing_whitespace = false -[*.{razor,cshtml}] -charset = utf-8-bom +[{*.yaml,*.yml}] +indent_size = 2 + +[{*.bash,*.sh,*.zsh}] +indent_size = 2 -[*.yml] -indent_size = 2 \ No newline at end of file +[*.{cmd,bat,ps1}] +end_of_line = crlf diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..48c9de5d4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +* text=auto eol=lf + +# Windows scripts that might require CRLF line endings. +*.cmd text eol=crlf +*.bat text eol=crlf +*.ps1 text eol=crlf diff --git a/src/Apps/NetPad.Apps.App/BackgroundServices/ScriptsFileWatcherBackgroundService.cs b/src/Apps/NetPad.Apps.App/BackgroundServices/ScriptsFileWatcherBackgroundService.cs index 7bfcd6836..858564daa 100644 --- a/src/Apps/NetPad.Apps.App/BackgroundServices/ScriptsFileWatcherBackgroundService.cs +++ b/src/Apps/NetPad.Apps.App/BackgroundServices/ScriptsFileWatcherBackgroundService.cs @@ -52,7 +52,7 @@ private void InitFileWatcher() _scriptDirWatcher.Created += (_, ev) => _pushDirectoryChanged(); _scriptDirWatcher.Deleted += (_, ev) => _pushDirectoryChanged(); _scriptDirWatcher.Renamed += (_, ev) => _pushDirectoryChanged(); - _scriptDirWatcher.Error += delegate(object sender, ErrorEventArgs args) + _scriptDirWatcher.Error += (_, args) => { Logger.LogError(args.GetException(), "Error in FileSystemWatcher. Will re-initialize watcher"); _scriptDirWatcher.Dispose(); diff --git a/src/Apps/NetPad.Apps.App/Controllers/WindowController.cs b/src/Apps/NetPad.Apps.App/Controllers/WindowController.cs index ff4130c8f..0aede19c1 100644 --- a/src/Apps/NetPad.Apps.App/Controllers/WindowController.cs +++ b/src/Apps/NetPad.Apps.App/Controllers/WindowController.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; using NetPad.Apps.UiInterop; namespace NetPad.Controllers; diff --git a/src/Apps/NetPad.Apps.App/Host/ShellType.cs b/src/Apps/NetPad.Apps.App/Host/ShellType.cs index 3452c6348..da08a8097 100644 --- a/src/Apps/NetPad.Apps.App/Host/ShellType.cs +++ b/src/Apps/NetPad.Apps.App/Host/ShellType.cs @@ -1,4 +1,4 @@ -namespace NetPad.Host; +namespace NetPad.Host; public enum ShellType { diff --git a/src/Apps/NetPad.Apps.Common/BackgroundService.cs b/src/Apps/NetPad.Apps.Common/BackgroundService.cs index aa044b19f..54f8dd2cd 100644 --- a/src/Apps/NetPad.Apps.Common/BackgroundService.cs +++ b/src/Apps/NetPad.Apps.Common/BackgroundService.cs @@ -3,7 +3,7 @@ namespace NetPad.Apps; -public abstract class BackgroundService : IHostedService +public abstract class BackgroundService : IHostedService { protected readonly ILogger Logger; diff --git a/src/Apps/NetPad.Apps.Common/CQs/AlertUserAboutMissingAppDependencies.cs b/src/Apps/NetPad.Apps.Common/CQs/AlertUserAboutMissingAppDependencies.cs index a1bb3d0a3..062ce6023 100644 --- a/src/Apps/NetPad.Apps.Common/CQs/AlertUserAboutMissingAppDependencies.cs +++ b/src/Apps/NetPad.Apps.Common/CQs/AlertUserAboutMissingAppDependencies.cs @@ -1,4 +1,4 @@ -using NetPad.Application; +using NetPad.Application; namespace NetPad.Apps.CQs; diff --git a/src/Apps/NetPad.Apps.Common/CQs/AlertUserCommand.cs b/src/Apps/NetPad.Apps.Common/CQs/AlertUserCommand.cs index abc424be6..8ffb0caf4 100644 --- a/src/Apps/NetPad.Apps.Common/CQs/AlertUserCommand.cs +++ b/src/Apps/NetPad.Apps.Common/CQs/AlertUserCommand.cs @@ -1,4 +1,4 @@ -namespace NetPad.Apps.CQs; +namespace NetPad.Apps.CQs; public class AlertUserCommand(string message) : Command { diff --git a/src/Apps/NetPad.Apps.Common/CQs/CheckAppDependenciesQuery.cs b/src/Apps/NetPad.Apps.Common/CQs/CheckAppDependenciesQuery.cs index 5b174a44f..0175677bb 100644 --- a/src/Apps/NetPad.Apps.Common/CQs/CheckAppDependenciesQuery.cs +++ b/src/Apps/NetPad.Apps.Common/CQs/CheckAppDependenciesQuery.cs @@ -1,4 +1,4 @@ -using MediatR; +using MediatR; using Microsoft.Extensions.Logging; using NetPad.Application; using NetPad.DotNet; diff --git a/src/Apps/NetPad.Apps.Common/CQs/ConfirmWithUserCommand.cs b/src/Apps/NetPad.Apps.Common/CQs/ConfirmWithUserCommand.cs index 03a9db8a0..3516a9c5f 100644 --- a/src/Apps/NetPad.Apps.Common/CQs/ConfirmWithUserCommand.cs +++ b/src/Apps/NetPad.Apps.Common/CQs/ConfirmWithUserCommand.cs @@ -1,4 +1,4 @@ -using NetPad.Apps.UiInterop; +using NetPad.Apps.UiInterop; namespace NetPad.Apps.CQs; diff --git a/src/Apps/NetPad.Apps.Common/CQs/DeleteScriptCommand.cs b/src/Apps/NetPad.Apps.Common/CQs/DeleteScriptCommand.cs index 6b4e52a72..024333918 100644 --- a/src/Apps/NetPad.Apps.Common/CQs/DeleteScriptCommand.cs +++ b/src/Apps/NetPad.Apps.Common/CQs/DeleteScriptCommand.cs @@ -1,4 +1,4 @@ -using MediatR; +using MediatR; using NetPad.Events; using NetPad.Scripts; using NetPad.Scripts.Events; diff --git a/src/Apps/NetPad.Apps.Common/CQs/PromptUserCommand.cs b/src/Apps/NetPad.Apps.Common/CQs/PromptUserCommand.cs index 27605a484..60f709b78 100644 --- a/src/Apps/NetPad.Apps.Common/CQs/PromptUserCommand.cs +++ b/src/Apps/NetPad.Apps.Common/CQs/PromptUserCommand.cs @@ -1,4 +1,4 @@ -namespace NetPad.Apps.CQs; +namespace NetPad.Apps.CQs; public class PromptUserCommand(string message, string? prefillValue) : Command { diff --git a/src/Apps/NetPad.Apps.Common/CQs/StopAllScriptsCommand.cs b/src/Apps/NetPad.Apps.Common/CQs/StopAllScriptsCommand.cs index 3919fafab..23efd7278 100644 --- a/src/Apps/NetPad.Apps.Common/CQs/StopAllScriptsCommand.cs +++ b/src/Apps/NetPad.Apps.Common/CQs/StopAllScriptsCommand.cs @@ -1,4 +1,4 @@ -using MediatR; +using MediatR; using Microsoft.Extensions.Logging; using NetPad.Scripts; using NetPad.Sessions; diff --git a/src/Apps/NetPad.Apps.Common/CQs/UpdateScriptReferencesCommand.cs b/src/Apps/NetPad.Apps.Common/CQs/UpdateScriptReferencesCommand.cs index aaf43211c..e7f163c68 100644 --- a/src/Apps/NetPad.Apps.Common/CQs/UpdateScriptReferencesCommand.cs +++ b/src/Apps/NetPad.Apps.Common/CQs/UpdateScriptReferencesCommand.cs @@ -1,4 +1,4 @@ -using MediatR; +using MediatR; using NetPad.DotNet; using NetPad.Events; using NetPad.Scripts; diff --git a/src/Apps/NetPad.Apps.Common/CQs/UpdateSettingsCommand.cs b/src/Apps/NetPad.Apps.Common/CQs/UpdateSettingsCommand.cs index ff5c40bf4..a02b850b1 100644 --- a/src/Apps/NetPad.Apps.Common/CQs/UpdateSettingsCommand.cs +++ b/src/Apps/NetPad.Apps.Common/CQs/UpdateSettingsCommand.cs @@ -1,4 +1,4 @@ -using MediatR; +using MediatR; using NetPad.Configuration; using NetPad.Configuration.Events; using NetPad.Events; diff --git a/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/ConnectionStringBuilder.cs b/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/ConnectionStringBuilder.cs index 0b5d2ba7f..80af1eda0 100644 --- a/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/ConnectionStringBuilder.cs +++ b/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/ConnectionStringBuilder.cs @@ -38,5 +38,5 @@ public override string ToString() return string.Join(";", this.Select(x => $"{x.Key}={x.Value}")) + ";"; } - public static ConnectionStringBuilder Parse(string connectionString) => new (connectionString); + public static ConnectionStringBuilder Parse(string connectionString) => new(connectionString); } diff --git a/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/DataConnections/MariaDb/MariaDbDatabaseSchemaChangeDetectionStrategy.cs b/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/DataConnections/MariaDb/MariaDbDatabaseSchemaChangeDetectionStrategy.cs index a82d5863f..b5fb5955c 100644 --- a/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/DataConnections/MariaDb/MariaDbDatabaseSchemaChangeDetectionStrategy.cs +++ b/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/DataConnections/MariaDb/MariaDbDatabaseSchemaChangeDetectionStrategy.cs @@ -64,7 +64,7 @@ public bool CanSupport(DataConnection dataConnection) private async Task GetSchemaHashAsync(MariaDbDatabaseConnection connection) { - string[] interestingColumns = [ "table_schema", "table_name", "column_name", "is_nullable", "data_type" ]; + string[] interestingColumns = ["table_schema", "table_name", "column_name", "is_nullable", "data_type"]; var sql = $""" SELECT {string.Join(",", interestingColumns)} diff --git a/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/DataConnections/MySql/MySqlDatabaseSchemaChangeDetectionStrategy.cs b/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/DataConnections/MySql/MySqlDatabaseSchemaChangeDetectionStrategy.cs index 3c11dac1d..94679c9c1 100644 --- a/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/DataConnections/MySql/MySqlDatabaseSchemaChangeDetectionStrategy.cs +++ b/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/DataConnections/MySql/MySqlDatabaseSchemaChangeDetectionStrategy.cs @@ -64,7 +64,7 @@ public bool CanSupport(DataConnection dataConnection) private async Task GetSchemaHashAsync(MySqlDatabaseConnection connection) { - string[] interestingColumns = [ "table_schema", "table_name", "column_name", "is_nullable", "data_type" ]; + string[] interestingColumns = ["table_schema", "table_name", "column_name", "is_nullable", "data_type"]; var sql = $""" SELECT {string.Join(",", interestingColumns)} diff --git a/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/DependencyInjection.cs b/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/DependencyInjection.cs index d1db848ce..561938ce2 100644 --- a/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/DependencyInjection.cs +++ b/src/Apps/NetPad.Apps.Common/Data/EntityFrameworkCore/DependencyInjection.cs @@ -1,4 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.DependencyInjection; using NetPad.Apps.Data.EntityFrameworkCore.DataConnections; using NetPad.Apps.Data.EntityFrameworkCore.DataConnections.MariaDb; using NetPad.Apps.Data.EntityFrameworkCore.DataConnections.MsSqlServer; diff --git a/src/Apps/NetPad.Apps.Shells.Electron/UiInterop/WindowManager.cs b/src/Apps/NetPad.Apps.Shells.Electron/UiInterop/WindowManager.cs index 0bbf6e1e2..ab39b28b6 100644 --- a/src/Apps/NetPad.Apps.Shells.Electron/UiInterop/WindowManager.cs +++ b/src/Apps/NetPad.Apps.Shells.Electron/UiInterop/WindowManager.cs @@ -65,7 +65,7 @@ public async Task CreateWindowAsync( logger.LogDebug("Created window with name: {WindowName} and ID: {ID} and URL: {Url}", windowName, window.Id, url); - window.OnClosed += () =>_windows.TryRemove(windowId, out _); + window.OnClosed += () => _windows.TryRemove(windowId, out _); await window.WebContents.Session.ClearCacheAsync(); diff --git a/src/Apps/NetPad.Apps.Shells.Electron/UiInterop/WindowState.cs b/src/Apps/NetPad.Apps.Shells.Electron/UiInterop/WindowState.cs index 8065bdd99..2d9ff2c79 100644 --- a/src/Apps/NetPad.Apps.Shells.Electron/UiInterop/WindowState.cs +++ b/src/Apps/NetPad.Apps.Shells.Electron/UiInterop/WindowState.cs @@ -1,4 +1,4 @@ -using ElectronSharp.API.Entities; +using ElectronSharp.API.Entities; namespace NetPad.Apps.Shells.Electron.UiInterop; diff --git a/src/Core/NetPad.Runtime/Application/AppDependencyCheckResult.cs b/src/Core/NetPad.Runtime/Application/AppDependencyCheckResult.cs index b001b5c73..b4b828c05 100644 --- a/src/Core/NetPad.Runtime/Application/AppDependencyCheckResult.cs +++ b/src/Core/NetPad.Runtime/Application/AppDependencyCheckResult.cs @@ -1,4 +1,4 @@ -using NetPad.DotNet; +using NetPad.DotNet; namespace NetPad.Application; diff --git a/src/Core/NetPad.Runtime/Assemblies/UnloadableAssemblyLoader.cs b/src/Core/NetPad.Runtime/Assemblies/UnloadableAssemblyLoader.cs index 829f4c78a..1e727120d 100644 --- a/src/Core/NetPad.Runtime/Assemblies/UnloadableAssemblyLoader.cs +++ b/src/Core/NetPad.Runtime/Assemblies/UnloadableAssemblyLoader.cs @@ -34,7 +34,7 @@ ILogger logger // Try to find it by name if it can't be found by full name. Assemblies generated in memory typically have FullName // strings that are missing things like Version, Culture and PublicKeyToken else if (assemblyName.Name != null && _referenceAssemblyImages.TryGetValue(assemblyName.Name, out referenceAssemblyImage)) - assembly = LoadFrom(referenceAssemblyImage.Image); + assembly = LoadFrom(referenceAssemblyImage.Image); else if (_referenceAssemblyFiles.TryGetValue(assemblyName.FullName, out var referenceAssemblyFile)) assembly = LoadFrom(referenceAssemblyFile.Bytes); diff --git a/src/Core/NetPad.Runtime/CodeAnalysis/CodeAnalysisExtensions.cs b/src/Core/NetPad.Runtime/CodeAnalysis/CodeAnalysisExtensions.cs index aa045f2c0..a1293471e 100644 --- a/src/Core/NetPad.Runtime/CodeAnalysis/CodeAnalysisExtensions.cs +++ b/src/Core/NetPad.Runtime/CodeAnalysis/CodeAnalysisExtensions.cs @@ -1,4 +1,4 @@ -using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace NetPad.CodeAnalysis; diff --git a/src/Core/NetPad.Runtime/CodeAnalysis/CodeAnalysisService.cs b/src/Core/NetPad.Runtime/CodeAnalysis/CodeAnalysisService.cs index b537027f0..d188d6464 100644 --- a/src/Core/NetPad.Runtime/CodeAnalysis/CodeAnalysisService.cs +++ b/src/Core/NetPad.Runtime/CodeAnalysis/CodeAnalysisService.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using ICSharpCode.Decompiler; using ICSharpCode.Decompiler.Disassembler; using Microsoft.CodeAnalysis; diff --git a/src/Core/NetPad.Runtime/CodeAnalysis/ICodeAnalysisService.cs b/src/Core/NetPad.Runtime/CodeAnalysis/ICodeAnalysisService.cs index e7a6d1a5b..93d6a6e2c 100644 --- a/src/Core/NetPad.Runtime/CodeAnalysis/ICodeAnalysisService.cs +++ b/src/Core/NetPad.Runtime/CodeAnalysis/ICodeAnalysisService.cs @@ -1,4 +1,4 @@ -using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis; using NetPad.DotNet; namespace NetPad.CodeAnalysis; diff --git a/src/Core/NetPad.Runtime/Compilation/Scripts/Dependencies/Dependant.cs b/src/Core/NetPad.Runtime/Compilation/Scripts/Dependencies/Dependant.cs index 78f42f4ae..68efccda4 100644 --- a/src/Core/NetPad.Runtime/Compilation/Scripts/Dependencies/Dependant.cs +++ b/src/Core/NetPad.Runtime/Compilation/Scripts/Dependencies/Dependant.cs @@ -8,4 +8,4 @@ public enum Dependant Script, ScriptHost, Shared, -} \ No newline at end of file +} diff --git a/src/Core/NetPad.Runtime/Compilation/Scripts/Dependencies/DependencyLoadStrategy.cs b/src/Core/NetPad.Runtime/Compilation/Scripts/Dependencies/DependencyLoadStrategy.cs index f8f786be4..e8988a9cf 100644 --- a/src/Core/NetPad.Runtime/Compilation/Scripts/Dependencies/DependencyLoadStrategy.cs +++ b/src/Core/NetPad.Runtime/Compilation/Scripts/Dependencies/DependencyLoadStrategy.cs @@ -14,4 +14,4 @@ public enum DependencyLoadStrategy /// Dependency will not be copied, and will be loaded from its original location (in-place). /// LoadInPlace -} \ No newline at end of file +} diff --git a/src/Core/NetPad.Runtime/Compilation/Scripts/ScriptCompiler.cs b/src/Core/NetPad.Runtime/Compilation/Scripts/ScriptCompiler.cs index 37b539e74..de2ecd628 100644 --- a/src/Core/NetPad.Runtime/Compilation/Scripts/ScriptCompiler.cs +++ b/src/Core/NetPad.Runtime/Compilation/Scripts/ScriptCompiler.cs @@ -1,4 +1,4 @@ -using System.Reflection; +using System.Reflection; using NetPad.Compilation.Scripts.Dependencies; using NetPad.DotNet; using NetPad.DotNet.CodeAnalysis; diff --git a/src/Core/NetPad.Runtime/Configuration/EditorOptions.cs b/src/Core/NetPad.Runtime/Configuration/EditorOptions.cs index cea6fb7f7..b677de65f 100644 --- a/src/Core/NetPad.Runtime/Configuration/EditorOptions.cs +++ b/src/Core/NetPad.Runtime/Configuration/EditorOptions.cs @@ -43,7 +43,7 @@ public void DefaultMissingValues() }, themeCustomizations = new { - colors = new {}, + colors = new { }, rules = Array.Empty() } }; diff --git a/src/Core/NetPad.Runtime/Configuration/KeyboardShortcutOptions.cs b/src/Core/NetPad.Runtime/Configuration/KeyboardShortcutOptions.cs index 0b7e91ea8..cf62732ec 100644 --- a/src/Core/NetPad.Runtime/Configuration/KeyboardShortcutOptions.cs +++ b/src/Core/NetPad.Runtime/Configuration/KeyboardShortcutOptions.cs @@ -47,7 +47,8 @@ public class KeyboardShortcutConfiguration(string id) public KeyCode? Key { get; set; } } -public enum KeyCode { +public enum KeyCode +{ Unknown = 0, Backspace = 1, Tab, diff --git a/src/Core/NetPad.Runtime/Configuration/StyleOptions.cs b/src/Core/NetPad.Runtime/Configuration/StyleOptions.cs index 66ebe05e9..b4e00e0e9 100644 --- a/src/Core/NetPad.Runtime/Configuration/StyleOptions.cs +++ b/src/Core/NetPad.Runtime/Configuration/StyleOptions.cs @@ -1,4 +1,4 @@ -using System.Text.Json.Serialization; +using System.Text.Json.Serialization; namespace NetPad.Configuration; diff --git a/src/Core/NetPad.Runtime/DotNet/DotNetCliRunner.cs b/src/Core/NetPad.Runtime/DotNet/DotNetCliRunner.cs index 6bbaed003..5592c6d42 100644 --- a/src/Core/NetPad.Runtime/DotNet/DotNetCliRunner.cs +++ b/src/Core/NetPad.Runtime/DotNet/DotNetCliRunner.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; namespace NetPad.DotNet; diff --git a/src/Core/NetPad.Runtime/DotNet/DotNetEnvironment.cs b/src/Core/NetPad.Runtime/DotNet/DotNetEnvironment.cs index d00daf4e5..2e09c84b6 100644 --- a/src/Core/NetPad.Runtime/DotNet/DotNetEnvironment.cs +++ b/src/Core/NetPad.Runtime/DotNet/DotNetEnvironment.cs @@ -1,4 +1,4 @@ -namespace NetPad.DotNet; +namespace NetPad.DotNet; public class DotNetEnvironment { diff --git a/src/Core/NetPad.Runtime/DotNet/DotNetPathResolver.cs b/src/Core/NetPad.Runtime/DotNet/DotNetPathResolver.cs index dee6aa2d7..d56ca66e9 100644 --- a/src/Core/NetPad.Runtime/DotNet/DotNetPathResolver.cs +++ b/src/Core/NetPad.Runtime/DotNet/DotNetPathResolver.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.IO; using NetPad.Configuration; using NetPad.IO; diff --git a/src/Core/NetPad.Runtime/Events/EventBus.cs b/src/Core/NetPad.Runtime/Events/EventBus.cs index c047ec347..c5757c02e 100644 --- a/src/Core/NetPad.Runtime/Events/EventBus.cs +++ b/src/Core/NetPad.Runtime/Events/EventBus.cs @@ -352,8 +352,8 @@ private async Task PublishInternalAsync(TEvent Event) where TEvent : cla lock (_subscriptionsPadlock) { currentlySubscribed = (from sub in _subscriptions - where sub.Subscription.ShouldAttemptDelivery(Event) - select sub).ToList(); + where sub.Subscription.ShouldAttemptDelivery(Event) + select sub).ToList(); } foreach (var sub in currentlySubscribed) diff --git a/src/Core/NetPad.Runtime/Events/IEvent.cs b/src/Core/NetPad.Runtime/Events/IEvent.cs index eeaaf73c9..23f561139 100644 --- a/src/Core/NetPad.Runtime/Events/IEvent.cs +++ b/src/Core/NetPad.Runtime/Events/IEvent.cs @@ -1,4 +1,4 @@ -namespace NetPad.Events; +namespace NetPad.Events; /// /// An event. All events sent and received by the must implement this interface. diff --git a/src/Core/NetPad.Runtime/Events/IEventBus.cs b/src/Core/NetPad.Runtime/Events/IEventBus.cs index 032e9d904..c3478930c 100644 --- a/src/Core/NetPad.Runtime/Events/IEventBus.cs +++ b/src/Core/NetPad.Runtime/Events/IEventBus.cs @@ -1,4 +1,4 @@ -namespace NetPad.Events; +namespace NetPad.Events; /// /// Event bus responsible for taking subscriptions/publications and delivering of Events. diff --git a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Events/ScriptHostProcessLifetimeEvent.cs b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Events/ScriptHostProcessLifetimeEvent.cs index a29a5a90f..d4c3a3288 100644 --- a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Events/ScriptHostProcessLifetimeEvent.cs +++ b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Events/ScriptHostProcessLifetimeEvent.cs @@ -1,4 +1,4 @@ -using NetPad.Events; +using NetPad.Events; namespace NetPad.ExecutionModel.ClientServer.Events; diff --git a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/ClearMemCacheMessage.cs b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/ClearMemCacheMessage.cs index 79abd7210..73dd9bfe1 100644 --- a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/ClearMemCacheMessage.cs +++ b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/ClearMemCacheMessage.cs @@ -1,3 +1,3 @@ -namespace NetPad.ExecutionModel.ClientServer.Messages; +namespace NetPad.ExecutionModel.ClientServer.Messages; public record ClearMemCacheMessage; diff --git a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/DeleteMemCacheItemMessage.cs b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/DeleteMemCacheItemMessage.cs index 986a4dc8a..6d76bb0a1 100644 --- a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/DeleteMemCacheItemMessage.cs +++ b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/DeleteMemCacheItemMessage.cs @@ -1,3 +1,3 @@ -namespace NetPad.ExecutionModel.ClientServer.Messages; +namespace NetPad.ExecutionModel.ClientServer.Messages; public record DeleteMemCacheItemMessage(string Key); diff --git a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/DumpMemCacheItemMessage.cs b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/DumpMemCacheItemMessage.cs index d3a5bf6f0..a8613077a 100644 --- a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/DumpMemCacheItemMessage.cs +++ b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/DumpMemCacheItemMessage.cs @@ -1,3 +1,3 @@ -namespace NetPad.ExecutionModel.ClientServer.Messages; +namespace NetPad.ExecutionModel.ClientServer.Messages; public record DumpMemCacheItemMessage(string Key); diff --git a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/MemCacheItemInfoChangedMessage.cs b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/MemCacheItemInfoChangedMessage.cs index a54197ea7..95f9c183e 100644 --- a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/MemCacheItemInfoChangedMessage.cs +++ b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/MemCacheItemInfoChangedMessage.cs @@ -1,4 +1,4 @@ -using NetPad.ExecutionModel.ScriptServices; +using NetPad.ExecutionModel.ScriptServices; namespace NetPad.ExecutionModel.ClientServer.Messages; diff --git a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/ScriptOutputMessage.cs b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/ScriptOutputMessage.cs index 66feb63d5..62c162e4a 100644 --- a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/ScriptOutputMessage.cs +++ b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/Messages/ScriptOutputMessage.cs @@ -1,3 +1,3 @@ -namespace NetPad.ExecutionModel.ClientServer.Messages; +namespace NetPad.ExecutionModel.ClientServer.Messages; public record ScriptOutputMessage(string Output); diff --git a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/ScriptRun.cs b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/ScriptRun.cs index b94d37373..689b84570 100644 --- a/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/ScriptRun.cs +++ b/src/Core/NetPad.Runtime/ExecutionModel/ClientServer/ScriptRun.cs @@ -1,4 +1,4 @@ -using NetPad.DotNet; +using NetPad.DotNet; using NetPad.Scripts; namespace NetPad.ExecutionModel.ClientServer; diff --git a/src/Core/NetPad.Runtime/ExecutionModel/External/ExternalScriptRunner.cs b/src/Core/NetPad.Runtime/ExecutionModel/External/ExternalScriptRunner.cs index b370db3e6..dbcaac899 100644 --- a/src/Core/NetPad.Runtime/ExecutionModel/External/ExternalScriptRunner.cs +++ b/src/Core/NetPad.Runtime/ExecutionModel/External/ExternalScriptRunner.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.IO; using Microsoft.Extensions.Logging; using NetPad.Application; diff --git a/src/Core/NetPad.Runtime/ExecutionModel/External/ExternalScriptRunnerOptions.cs b/src/Core/NetPad.Runtime/ExecutionModel/External/ExternalScriptRunnerOptions.cs index 3b743a59e..96b2dccc4 100644 --- a/src/Core/NetPad.Runtime/ExecutionModel/External/ExternalScriptRunnerOptions.cs +++ b/src/Core/NetPad.Runtime/ExecutionModel/External/ExternalScriptRunnerOptions.cs @@ -1,4 +1,4 @@ -namespace NetPad.ExecutionModel.External; +namespace NetPad.ExecutionModel.External; public class ExternalScriptRunnerOptions { diff --git a/src/Core/NetPad.Runtime/ExecutionModel/External/FileAssetCopy.cs b/src/Core/NetPad.Runtime/ExecutionModel/External/FileAssetCopy.cs index 09b76a07f..182be66a2 100644 --- a/src/Core/NetPad.Runtime/ExecutionModel/External/FileAssetCopy.cs +++ b/src/Core/NetPad.Runtime/ExecutionModel/External/FileAssetCopy.cs @@ -1,4 +1,4 @@ -using NetPad.IO; +using NetPad.IO; namespace NetPad.ExecutionModel.External; diff --git a/src/Core/NetPad.Runtime/ExecutionModel/External/ParseAndCompile.cs b/src/Core/NetPad.Runtime/ExecutionModel/External/ParseAndCompile.cs index 948573493..163d846a5 100644 --- a/src/Core/NetPad.Runtime/ExecutionModel/External/ParseAndCompile.cs +++ b/src/Core/NetPad.Runtime/ExecutionModel/External/ParseAndCompile.cs @@ -1,4 +1,4 @@ -using NetPad.Compilation; +using NetPad.Compilation; using NetPad.DotNet; using NetPad.DotNet.CodeAnalysis; using NetPad.Scripts; diff --git a/src/Core/NetPad.Runtime/ExecutionModel/ScriptServices/Util.cs b/src/Core/NetPad.Runtime/ExecutionModel/ScriptServices/Util.cs index e59b0b4f0..a02de95cc 100644 --- a/src/Core/NetPad.Runtime/ExecutionModel/ScriptServices/Util.cs +++ b/src/Core/NetPad.Runtime/ExecutionModel/ScriptServices/Util.cs @@ -1,4 +1,4 @@ -using System.Diagnostics; +using System.Diagnostics; using System.IO; using System.Xml.Linq; using Microsoft.AspNetCore.DataProtection; diff --git a/src/Core/NetPad.Runtime/IO/ActionTextWriter.cs b/src/Core/NetPad.Runtime/IO/ActionTextWriter.cs index dfa35d312..da1da0a8a 100644 --- a/src/Core/NetPad.Runtime/IO/ActionTextWriter.cs +++ b/src/Core/NetPad.Runtime/IO/ActionTextWriter.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Text; namespace NetPad.IO; diff --git a/src/Core/NetPad.Runtime/IO/IPC/Stdio/StdioIpcGateway.cs b/src/Core/NetPad.Runtime/IO/IPC/Stdio/StdioIpcGateway.cs index 0b7066317..e17e43987 100644 --- a/src/Core/NetPad.Runtime/IO/IPC/Stdio/StdioIpcGateway.cs +++ b/src/Core/NetPad.Runtime/IO/IPC/Stdio/StdioIpcGateway.cs @@ -182,7 +182,7 @@ private void Dispatch(Type messageType, object message) return; } - handlers = [..messageHandlers]; + handlers = [.. messageHandlers]; } _logger?.LogDebug("Dispatching message to {HandlerCount} handlers for processing: {Type}", diff --git a/src/Core/NetPad.Runtime/Media/MediaFileExtensions.cs b/src/Core/NetPad.Runtime/Media/MediaFileExtensions.cs index f85f509e3..d39a51ffa 100644 --- a/src/Core/NetPad.Runtime/Media/MediaFileExtensions.cs +++ b/src/Core/NetPad.Runtime/Media/MediaFileExtensions.cs @@ -1,4 +1,4 @@ -namespace NetPad.Media; +namespace NetPad.Media; public static class MediaFileExtensions { diff --git a/src/Core/NetPad.Runtime/Packages/PackageDependencySet.cs b/src/Core/NetPad.Runtime/Packages/PackageDependencySet.cs index aa7ddbd1b..8494fcbbd 100644 --- a/src/Core/NetPad.Runtime/Packages/PackageDependencySet.cs +++ b/src/Core/NetPad.Runtime/Packages/PackageDependencySet.cs @@ -1,4 +1,4 @@ -namespace NetPad.Packages; +namespace NetPad.Packages; /// /// Represents the collection of package dependencies that are required when installing a parent package diff --git a/src/Core/NetPad.Runtime/Packages/PackageIdentity.cs b/src/Core/NetPad.Runtime/Packages/PackageIdentity.cs index f507f4b72..23de9b9b0 100644 --- a/src/Core/NetPad.Runtime/Packages/PackageIdentity.cs +++ b/src/Core/NetPad.Runtime/Packages/PackageIdentity.cs @@ -1,4 +1,4 @@ -namespace NetPad.Packages; +namespace NetPad.Packages; /// /// A unique package identity. diff --git a/src/Core/NetPad.Runtime/Presentation/IDumpSink.cs b/src/Core/NetPad.Runtime/Presentation/IDumpSink.cs index d5ae885dc..0dac9bc86 100644 --- a/src/Core/NetPad.Runtime/Presentation/IDumpSink.cs +++ b/src/Core/NetPad.Runtime/Presentation/IDumpSink.cs @@ -1,4 +1,4 @@ -namespace NetPad.Presentation; +namespace NetPad.Presentation; public interface IDumpSink { diff --git a/src/Core/NetPad.Runtime/Presentation/NullDumpSink.cs b/src/Core/NetPad.Runtime/Presentation/NullDumpSink.cs index 5766392f6..ee2ebcdd9 100644 --- a/src/Core/NetPad.Runtime/Presentation/NullDumpSink.cs +++ b/src/Core/NetPad.Runtime/Presentation/NullDumpSink.cs @@ -1,4 +1,4 @@ -namespace NetPad.Presentation; +namespace NetPad.Presentation; /// /// A dump sink that does nothing. diff --git a/src/Core/NetPad.Runtime/Presentation/PresentationSettings.cs b/src/Core/NetPad.Runtime/Presentation/PresentationSettings.cs index ee82cb7c6..4c1987bcc 100644 --- a/src/Core/NetPad.Runtime/Presentation/PresentationSettings.cs +++ b/src/Core/NetPad.Runtime/Presentation/PresentationSettings.cs @@ -15,7 +15,7 @@ public static class PresentationSettings /// public static (uint? maxDepth, uint? maxCollectionSerializeLength) GetConfigFileValues() { - var scriptConfigFilePath = Path.Combine( + var scriptConfigFilePath = Path.Combine( Path.GetDirectoryName(Assembly.GetEntryAssembly()?.Location ?? string.Empty) ?? string.Empty, "scriptconfig.json" ); diff --git a/src/Core/NetPad.Runtime/Scripts/Events/ScriptMemCacheItemInfoChangedEvent.cs b/src/Core/NetPad.Runtime/Scripts/Events/ScriptMemCacheItemInfoChangedEvent.cs index 36e23df2c..00d32d5ec 100644 --- a/src/Core/NetPad.Runtime/Scripts/Events/ScriptMemCacheItemInfoChangedEvent.cs +++ b/src/Core/NetPad.Runtime/Scripts/Events/ScriptMemCacheItemInfoChangedEvent.cs @@ -1,9 +1,9 @@ -using NetPad.Events; +using NetPad.Events; using NetPad.ExecutionModel.ScriptServices; namespace NetPad.Scripts.Events; -public class ScriptMemCacheItemInfoChangedEvent(Guid scriptId, MemCacheItemInfo[] items): IEvent +public class ScriptMemCacheItemInfoChangedEvent(Guid scriptId, MemCacheItemInfo[] items) : IEvent { public Guid ScriptId { get; } = scriptId; public MemCacheItemInfo[] Items { get; } = items; diff --git a/src/Core/NetPad.Runtime/Scripts/Events/ScriptReferencesUpdatedEvent.cs b/src/Core/NetPad.Runtime/Scripts/Events/ScriptReferencesUpdatedEvent.cs index 1c7be1b8d..06cc8f277 100644 --- a/src/Core/NetPad.Runtime/Scripts/Events/ScriptReferencesUpdatedEvent.cs +++ b/src/Core/NetPad.Runtime/Scripts/Events/ScriptReferencesUpdatedEvent.cs @@ -1,4 +1,4 @@ -using NetPad.DotNet; +using NetPad.DotNet; using NetPad.Events; namespace NetPad.Scripts.Events; diff --git a/src/Core/NetPad.Runtime/Scripts/ScriptInfo.cs b/src/Core/NetPad.Runtime/Scripts/ScriptInfo.cs index 4c8c8421d..5c01ec9ad 100644 --- a/src/Core/NetPad.Runtime/Scripts/ScriptInfo.cs +++ b/src/Core/NetPad.Runtime/Scripts/ScriptInfo.cs @@ -1,4 +1,4 @@ -using NetPad.DotNet; +using NetPad.DotNet; namespace NetPad.Scripts; diff --git a/src/Core/NetPad.Runtime/Utilities/WindowsNative.cs b/src/Core/NetPad.Runtime/Utilities/WindowsNative.cs index 6a52f4dac..97b81e525 100644 --- a/src/Core/NetPad.Runtime/Utilities/WindowsNative.cs +++ b/src/Core/NetPad.Runtime/Utilities/WindowsNative.cs @@ -1,4 +1,4 @@ -using System.Runtime.InteropServices; +using System.Runtime.InteropServices; namespace NetPad.Utilities; diff --git a/src/External/O2Html.Tests/Performance/PerformanceTests.cs b/src/External/O2Html.Tests/Performance/PerformanceTests.cs index edf607eea..75937c5aa 100644 --- a/src/External/O2Html.Tests/Performance/PerformanceTests.cs +++ b/src/External/O2Html.Tests/Performance/PerformanceTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; diff --git a/src/External/O2Html.Tests/TestData.cs b/src/External/O2Html.Tests/TestData.cs index 53b6ad2bb..a14683025 100644 --- a/src/External/O2Html.Tests/TestData.cs +++ b/src/External/O2Html.Tests/TestData.cs @@ -160,7 +160,7 @@ public class TestData public static IEnumerable JsonDocumentValues() { - return new [] + return new[] { new object[] { JsonDocument.Parse(@"[{""Name"": ""John Smith"", ""Age"": 33}]") }, }; diff --git a/src/External/O2Html/Common/HtmlConsts.cs b/src/External/O2Html/Common/HtmlConsts.cs index d9cd639d7..b4cb36b70 100644 --- a/src/External/O2Html/Common/HtmlConsts.cs +++ b/src/External/O2Html/Common/HtmlConsts.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace O2Html.Common; diff --git a/src/External/O2Html/Dom/HtmlDocument.cs b/src/External/O2Html/Dom/HtmlDocument.cs index e63c50977..7cd421f02 100644 --- a/src/External/O2Html/Dom/HtmlDocument.cs +++ b/src/External/O2Html/Dom/HtmlDocument.cs @@ -14,7 +14,7 @@ public class HtmlDocument : Element public HtmlDocument() : base("html") { Head = this.AddAndGetElement("head"); - Head.AddAndGetElement("meta").SetAttribute("charset","UTF-8"); + Head.AddAndGetElement("meta").SetAttribute("charset", "UTF-8"); Body = this.AddAndGetElement("body"); } diff --git a/src/External/O2Html/SerializationScope.cs b/src/External/O2Html/SerializationScope.cs index 8fc5e4857..0515b04fc 100644 --- a/src/External/O2Html/SerializationScope.cs +++ b/src/External/O2Html/SerializationScope.cs @@ -10,13 +10,13 @@ public class SerializationScope public SerializationScope(int depth) { Depth = depth; - _serializedObjects = new HashSet(Common.ReferenceEqualityComparer.Instance); + _serializedObjects = new HashSet(Common.ReferenceEqualityComparer.Instance); } public SerializationScope(int depth, SerializationScope parentScope) { Depth = depth; - _serializedObjects = new HashSet( + _serializedObjects = new HashSet( parentScope.SerializedObjects ?? throw new ArgumentNullException(nameof(parentScope)), Common.ReferenceEqualityComparer.Instance ); diff --git a/src/External/OmniSharp.NET/OmniSharpServer.cs b/src/External/OmniSharp.NET/OmniSharpServer.cs index 9b4a77006..6d686564f 100644 --- a/src/External/OmniSharp.NET/OmniSharpServer.cs +++ b/src/External/OmniSharp.NET/OmniSharpServer.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; diff --git a/src/Plugins/NetPad.Plugins.OmniSharp/BackgroundServices/DiagnosticsEventsBackgroundService.cs b/src/Plugins/NetPad.Plugins.OmniSharp/BackgroundServices/DiagnosticsEventsBackgroundService.cs index 826a5c3a3..b04cb7aa9 100644 --- a/src/Plugins/NetPad.Plugins.OmniSharp/BackgroundServices/DiagnosticsEventsBackgroundService.cs +++ b/src/Plugins/NetPad.Plugins.OmniSharp/BackgroundServices/DiagnosticsEventsBackgroundService.cs @@ -1,4 +1,4 @@ -using System.Text.Json; +using System.Text.Json; using NetPad.Apps.UiInterop; using NetPad.Events; using NetPad.Plugins.OmniSharp.Events; diff --git a/src/Plugins/NetPad.Plugins.OmniSharp/Events/OmniSharpServerRestartedEvent.cs b/src/Plugins/NetPad.Plugins.OmniSharp/Events/OmniSharpServerRestartedEvent.cs index 50b47d153..8f8c82a4a 100644 --- a/src/Plugins/NetPad.Plugins.OmniSharp/Events/OmniSharpServerRestartedEvent.cs +++ b/src/Plugins/NetPad.Plugins.OmniSharp/Events/OmniSharpServerRestartedEvent.cs @@ -1,4 +1,4 @@ -using NetPad.Events; +using NetPad.Events; namespace NetPad.Plugins.OmniSharp.Events; diff --git a/src/Plugins/NetPad.Plugins.OmniSharp/Events/OmniSharpServerStartedEvent.cs b/src/Plugins/NetPad.Plugins.OmniSharp/Events/OmniSharpServerStartedEvent.cs index 494499033..b87204bcf 100644 --- a/src/Plugins/NetPad.Plugins.OmniSharp/Events/OmniSharpServerStartedEvent.cs +++ b/src/Plugins/NetPad.Plugins.OmniSharp/Events/OmniSharpServerStartedEvent.cs @@ -1,4 +1,4 @@ -using NetPad.Events; +using NetPad.Events; namespace NetPad.Plugins.OmniSharp.Events; diff --git a/src/Plugins/NetPad.Plugins.OmniSharp/Events/OmniSharpServerStoppedEvent.cs b/src/Plugins/NetPad.Plugins.OmniSharp/Events/OmniSharpServerStoppedEvent.cs index 753ceeb80..b66679d7b 100644 --- a/src/Plugins/NetPad.Plugins.OmniSharp/Events/OmniSharpServerStoppedEvent.cs +++ b/src/Plugins/NetPad.Plugins.OmniSharp/Events/OmniSharpServerStoppedEvent.cs @@ -1,4 +1,4 @@ -using NetPad.Events; +using NetPad.Events; namespace NetPad.Plugins.OmniSharp.Events; diff --git a/src/Plugins/NetPad.Plugins.OmniSharp/Exceptions/OmniSharpInstanceNotFound.cs b/src/Plugins/NetPad.Plugins.OmniSharp/Exceptions/OmniSharpInstanceNotFound.cs index 2a561a50d..703b4d118 100644 --- a/src/Plugins/NetPad.Plugins.OmniSharp/Exceptions/OmniSharpInstanceNotFound.cs +++ b/src/Plugins/NetPad.Plugins.OmniSharp/Exceptions/OmniSharpInstanceNotFound.cs @@ -1,4 +1,4 @@ -namespace NetPad.Plugins.OmniSharp.Exceptions; +namespace NetPad.Plugins.OmniSharp.Exceptions; public class OmniSharpInstanceNotFound(Guid scriptId) : Exception( $"Could not find a {nameof(AppOmniSharpServer)} for script '{scriptId}'" diff --git a/src/Plugins/NetPad.Plugins.OmniSharp/OmniSharpProject.cs b/src/Plugins/NetPad.Plugins.OmniSharp/OmniSharpProject.cs index 8c2c1e052..8da7f9a12 100644 --- a/src/Plugins/NetPad.Plugins.OmniSharp/OmniSharpProject.cs +++ b/src/Plugins/NetPad.Plugins.OmniSharp/OmniSharpProject.cs @@ -1,4 +1,4 @@ -using NetPad.Configuration; +using NetPad.Configuration; using NetPad.Data; using NetPad.DotNet; using NetPad.Scripts; diff --git a/src/Plugins/NetPad.Plugins.OmniSharp/TypesController.cs b/src/Plugins/NetPad.Plugins.OmniSharp/TypesController.cs index 58ef9d191..63e9408fa 100644 --- a/src/Plugins/NetPad.Plugins.OmniSharp/TypesController.cs +++ b/src/Plugins/NetPad.Plugins.OmniSharp/TypesController.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; using NetPad.Plugins.OmniSharp.Events; namespace NetPad.Plugins.OmniSharp; diff --git a/src/Tests/NetPad.Apps.App.Tests/ProgramArgsTests.cs b/src/Tests/NetPad.Apps.App.Tests/ProgramArgsTests.cs index d5534d74c..762939326 100644 --- a/src/Tests/NetPad.Apps.App.Tests/ProgramArgsTests.cs +++ b/src/Tests/NetPad.Apps.App.Tests/ProgramArgsTests.cs @@ -1,4 +1,4 @@ -using NetPad.Apps.Shells.Electron; +using NetPad.Apps.Shells.Electron; using NetPad.Apps.Shells.Tauri; using NetPad.Apps.Shells.Web; using NetPad.Host; diff --git a/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/NoOpDataConnectionPasswordProtector.cs b/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/NoOpDataConnectionPasswordProtector.cs index 234cf1b16..88ade9cfb 100644 --- a/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/NoOpDataConnectionPasswordProtector.cs +++ b/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/NoOpDataConnectionPasswordProtector.cs @@ -1,4 +1,4 @@ -using NetPad.Data.Security; +using NetPad.Data.Security; namespace NetPad.Apps.Common.Data.IntegrationTests; diff --git a/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/PostgreSql/PostgreSqlDatabaseConnectionServerAttachedTests.cs b/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/PostgreSql/PostgreSqlDatabaseConnectionServerAttachedTests.cs index e42eec241..14331da3c 100644 --- a/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/PostgreSql/PostgreSqlDatabaseConnectionServerAttachedTests.cs +++ b/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/PostgreSql/PostgreSqlDatabaseConnectionServerAttachedTests.cs @@ -1,4 +1,4 @@ -using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; using NetPad.Apps.Data.EntityFrameworkCore; using NetPad.Apps.Data.EntityFrameworkCore.DataConnections.PostgreSql; using NetPad.Apps.Data.EntityFrameworkCore.Scaffolding; diff --git a/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/PostgreSql/PostgreSqlDatabaseConnectionTests.cs b/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/PostgreSql/PostgreSqlDatabaseConnectionTests.cs index 608452989..1d1a1eb5f 100644 --- a/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/PostgreSql/PostgreSqlDatabaseConnectionTests.cs +++ b/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/PostgreSql/PostgreSqlDatabaseConnectionTests.cs @@ -1,4 +1,4 @@ -using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; using NetPad.Apps.Data.EntityFrameworkCore; using NetPad.Apps.Data.EntityFrameworkCore.DataConnections.PostgreSql; using NetPad.Apps.Data.EntityFrameworkCore.Scaffolding; diff --git a/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/PostgreSql/PostgreSqlDatabaseServerConnectionTests.cs b/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/PostgreSql/PostgreSqlDatabaseServerConnectionTests.cs index f228d76df..6b5cb5795 100644 --- a/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/PostgreSql/PostgreSqlDatabaseServerConnectionTests.cs +++ b/src/Tests/NetPad.Apps.Common.Data.IntegrationTests/PostgreSql/PostgreSqlDatabaseServerConnectionTests.cs @@ -1,4 +1,4 @@ -using NetPad.Apps.Data.EntityFrameworkCore.DataConnections.PostgreSql; +using NetPad.Apps.Data.EntityFrameworkCore.DataConnections.PostgreSql; using Testcontainers.PostgreSql; namespace NetPad.Apps.Common.Data.IntegrationTests.PostgreSql; diff --git a/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/CommonTests.cs b/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/CommonTests.cs index 8542a2132..e101f4715 100644 --- a/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/CommonTests.cs +++ b/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/CommonTests.cs @@ -1,4 +1,4 @@ -using NetPad.Apps.Data.EntityFrameworkCore.DataConnections; +using NetPad.Apps.Data.EntityFrameworkCore.DataConnections; using NetPad.Data; namespace NetPad.Apps.Common.Tests.Data.EntityFrameworkCore.DataConnections; diff --git a/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/MsSqlServerDatabaseConnectionTests.cs b/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/MsSqlServerDatabaseConnectionTests.cs index f3594be6c..6033341f2 100644 --- a/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/MsSqlServerDatabaseConnectionTests.cs +++ b/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/MsSqlServerDatabaseConnectionTests.cs @@ -1,4 +1,4 @@ -using NetPad.Apps.Data.EntityFrameworkCore.DataConnections; +using NetPad.Apps.Data.EntityFrameworkCore.DataConnections; using NetPad.Apps.Data.EntityFrameworkCore.DataConnections.MsSqlServer; using NetPad.Data; diff --git a/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/PostgreSqlDatabaseServerConnectionTests.cs b/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/PostgreSqlDatabaseServerConnectionTests.cs index f79990879..809e2b73c 100644 --- a/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/PostgreSqlDatabaseServerConnectionTests.cs +++ b/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/PostgreSqlDatabaseServerConnectionTests.cs @@ -1,4 +1,4 @@ -using NetPad.Apps.Data.EntityFrameworkCore.DataConnections.PostgreSql; +using NetPad.Apps.Data.EntityFrameworkCore.DataConnections.PostgreSql; using NetPad.Apps.Data.EntityFrameworkCore.Scaffolding; namespace NetPad.Apps.Common.Tests.Data.EntityFrameworkCore.DataConnections; diff --git a/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/SqlLiteDatabaseConnectionTests.cs b/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/SqlLiteDatabaseConnectionTests.cs index 957395c91..33f2a46e2 100644 --- a/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/SqlLiteDatabaseConnectionTests.cs +++ b/src/Tests/NetPad.Apps.Common.Tests/Data/EntityFrameworkCore/DataConnections/SqlLiteDatabaseConnectionTests.cs @@ -1,4 +1,4 @@ -using NetPad.Apps.Data.EntityFrameworkCore.DataConnections; +using NetPad.Apps.Data.EntityFrameworkCore.DataConnections; using NetPad.Apps.Data.EntityFrameworkCore.DataConnections.SQLite; using NetPad.Data; diff --git a/src/Tests/NetPad.Apps.Common.Tests/Data/NoOpDataConnectionPasswordProtector.cs b/src/Tests/NetPad.Apps.Common.Tests/Data/NoOpDataConnectionPasswordProtector.cs index 83c267b16..54e3c9fff 100644 --- a/src/Tests/NetPad.Apps.Common.Tests/Data/NoOpDataConnectionPasswordProtector.cs +++ b/src/Tests/NetPad.Apps.Common.Tests/Data/NoOpDataConnectionPasswordProtector.cs @@ -1,4 +1,4 @@ -using NetPad.Data.Security; +using NetPad.Data.Security; namespace NetPad.Apps.Common.Tests.Data; diff --git a/src/Tests/NetPad.Apps.Common.Tests/UiInterop/TransactionQueueTests.cs b/src/Tests/NetPad.Apps.Common.Tests/UiInterop/TransactionQueueTests.cs index 6c7bf3a8e..ea15495b5 100644 --- a/src/Tests/NetPad.Apps.Common.Tests/UiInterop/TransactionQueueTests.cs +++ b/src/Tests/NetPad.Apps.Common.Tests/UiInterop/TransactionQueueTests.cs @@ -1,4 +1,4 @@ -using System.Text.Json; +using System.Text.Json; using NetPad.Apps.CQs; using NetPad.Apps.UiInterop; diff --git a/src/Tests/NetPad.Apps.Mcp.Tests/Tools/GetDatabasesToolTests.cs b/src/Tests/NetPad.Apps.Mcp.Tests/Tools/GetDatabasesToolTests.cs index 53c7d61ed..ce2e5ae46 100644 --- a/src/Tests/NetPad.Apps.Mcp.Tests/Tools/GetDatabasesToolTests.cs +++ b/src/Tests/NetPad.Apps.Mcp.Tests/Tools/GetDatabasesToolTests.cs @@ -1,4 +1,4 @@ -using System.Net; +using System.Net; using System.Text.Json; using NetPad.Apps.Mcp.Tests.Helpers; using NetPad.Apps.Mcp.Tools; diff --git a/src/Tests/NetPad.Runtime.Tests/Application/AppIdentifierTests.cs b/src/Tests/NetPad.Runtime.Tests/Application/AppIdentifierTests.cs index db1152aae..b722471c9 100644 --- a/src/Tests/NetPad.Runtime.Tests/Application/AppIdentifierTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/Application/AppIdentifierTests.cs @@ -1,4 +1,4 @@ -using System.Reflection; +using System.Reflection; using NetPad.Application; namespace NetPad.Runtime.Tests.Application; diff --git a/src/Tests/NetPad.Runtime.Tests/Assemblies/AssemblyInfoReaderTests.cs b/src/Tests/NetPad.Runtime.Tests/Assemblies/AssemblyInfoReaderTests.cs index 616b1e0f0..931813895 100644 --- a/src/Tests/NetPad.Runtime.Tests/Assemblies/AssemblyInfoReaderTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/Assemblies/AssemblyInfoReaderTests.cs @@ -1,4 +1,4 @@ -using NetPad.Assemblies; +using NetPad.Assemblies; namespace NetPad.Runtime.Tests.Assemblies; diff --git a/src/Tests/NetPad.Runtime.Tests/CodeAnalysis/CodeAnalysisServiceTests.cs b/src/Tests/NetPad.Runtime.Tests/CodeAnalysis/CodeAnalysisServiceTests.cs index 014c6e21d..c4a070bfd 100644 --- a/src/Tests/NetPad.Runtime.Tests/CodeAnalysis/CodeAnalysisServiceTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/CodeAnalysis/CodeAnalysisServiceTests.cs @@ -1,4 +1,4 @@ -using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using NetPad.CodeAnalysis; using NetPad.DotNet; diff --git a/src/Tests/NetPad.Runtime.Tests/Common/JsonConverterWithCtorArgsTests.cs b/src/Tests/NetPad.Runtime.Tests/Common/JsonConverterWithCtorArgsTests.cs index 10fae7212..3e2a40031 100644 --- a/src/Tests/NetPad.Runtime.Tests/Common/JsonConverterWithCtorArgsTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/Common/JsonConverterWithCtorArgsTests.cs @@ -1,4 +1,4 @@ -using NetPad.Common; +using NetPad.Common; using NetPad.DotNet; namespace NetPad.Runtime.Tests.Common; diff --git a/src/Tests/NetPad.Runtime.Tests/Compilation/PreprocessorSymbolsTests.cs b/src/Tests/NetPad.Runtime.Tests/Compilation/PreprocessorSymbolsTests.cs index 90394d814..42657449a 100644 --- a/src/Tests/NetPad.Runtime.Tests/Compilation/PreprocessorSymbolsTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/Compilation/PreprocessorSymbolsTests.cs @@ -1,4 +1,4 @@ -using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis; using NetPad.Compilation; using NetPad.DotNet; diff --git a/src/Tests/NetPad.Runtime.Tests/Data/DatabaseStructureTests.cs b/src/Tests/NetPad.Runtime.Tests/Data/DatabaseStructureTests.cs index 4b95fe5a0..616fabd37 100644 --- a/src/Tests/NetPad.Runtime.Tests/Data/DatabaseStructureTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/Data/DatabaseStructureTests.cs @@ -1,4 +1,4 @@ -using NetPad.Data.Metadata; +using NetPad.Data.Metadata; namespace NetPad.Runtime.Tests.Data; diff --git a/src/Tests/NetPad.Runtime.Tests/DotNet/AssemblyImageTests.cs b/src/Tests/NetPad.Runtime.Tests/DotNet/AssemblyImageTests.cs index 498ab5a2f..6a13bd3b0 100644 --- a/src/Tests/NetPad.Runtime.Tests/DotNet/AssemblyImageTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/DotNet/AssemblyImageTests.cs @@ -1,4 +1,4 @@ -using System.Reflection; +using System.Reflection; using NetPad.DotNet; namespace NetPad.Runtime.Tests.DotNet; diff --git a/src/Tests/NetPad.Runtime.Tests/DotNet/CodeAnalysis/NamespaceTests.cs b/src/Tests/NetPad.Runtime.Tests/DotNet/CodeAnalysis/NamespaceTests.cs index b45b9a09c..9930f61a1 100644 --- a/src/Tests/NetPad.Runtime.Tests/DotNet/CodeAnalysis/NamespaceTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/DotNet/CodeAnalysis/NamespaceTests.cs @@ -1,4 +1,4 @@ -using NetPad.DotNet.CodeAnalysis; +using NetPad.DotNet.CodeAnalysis; namespace NetPad.Runtime.Tests.DotNet.CodeAnalysis; diff --git a/src/Tests/NetPad.Runtime.Tests/DotNet/CodeAnalysis/UsingTests.cs b/src/Tests/NetPad.Runtime.Tests/DotNet/CodeAnalysis/UsingTests.cs index 31f51f874..79eab98ed 100644 --- a/src/Tests/NetPad.Runtime.Tests/DotNet/CodeAnalysis/UsingTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/DotNet/CodeAnalysis/UsingTests.cs @@ -1,4 +1,4 @@ -using NetPad.DotNet.CodeAnalysis; +using NetPad.DotNet.CodeAnalysis; namespace NetPad.Runtime.Tests.DotNet.CodeAnalysis; diff --git a/src/Tests/NetPad.Runtime.Tests/DotNet/DotNetCSharpProject.ReferencesTests.cs b/src/Tests/NetPad.Runtime.Tests/DotNet/DotNetCSharpProject.ReferencesTests.cs index 9c486312a..530a6bd85 100644 --- a/src/Tests/NetPad.Runtime.Tests/DotNet/DotNetCSharpProject.ReferencesTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/DotNet/DotNetCSharpProject.ReferencesTests.cs @@ -1,4 +1,4 @@ -using System.Reflection; +using System.Reflection; using System.Xml.Linq; using NetPad.DotNet; using NetPad.DotNet.References; diff --git a/src/Tests/NetPad.Runtime.Tests/DotNet/DotNetFrameworkVersionUtilTests.cs b/src/Tests/NetPad.Runtime.Tests/DotNet/DotNetFrameworkVersionUtilTests.cs index 47161f0a7..c34b37074 100644 --- a/src/Tests/NetPad.Runtime.Tests/DotNet/DotNetFrameworkVersionUtilTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/DotNet/DotNetFrameworkVersionUtilTests.cs @@ -1,4 +1,4 @@ -using Microsoft.CodeAnalysis.CSharp; +using Microsoft.CodeAnalysis.CSharp; using NetPad.DotNet; namespace NetPad.Runtime.Tests.DotNet; diff --git a/src/Tests/NetPad.Runtime.Tests/Exceptions/ExceptionsTests.cs b/src/Tests/NetPad.Runtime.Tests/Exceptions/ExceptionsTests.cs index c2a885446..19d2ef6ef 100644 --- a/src/Tests/NetPad.Runtime.Tests/Exceptions/ExceptionsTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/Exceptions/ExceptionsTests.cs @@ -1,4 +1,4 @@ -using NetPad.DotNet.References; +using NetPad.DotNet.References; using NetPad.Exceptions; namespace NetPad.Runtime.Tests.Exceptions; diff --git a/src/Tests/NetPad.Runtime.Tests/ExecutionModel/ClientServer/ScriptServices/MemCacheTests.cs b/src/Tests/NetPad.Runtime.Tests/ExecutionModel/ClientServer/ScriptServices/MemCacheTests.cs index dff658719..bff58f8c2 100644 --- a/src/Tests/NetPad.Runtime.Tests/ExecutionModel/ClientServer/ScriptServices/MemCacheTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/ExecutionModel/ClientServer/ScriptServices/MemCacheTests.cs @@ -1,4 +1,4 @@ -using NetPad.ExecutionModel.ScriptServices; +using NetPad.ExecutionModel.ScriptServices; namespace NetPad.Runtime.Tests.ExecutionModel.ClientServer.ScriptServices; diff --git a/src/Tests/NetPad.Runtime.Tests/IO/AsyncActionInputReaderTests.cs b/src/Tests/NetPad.Runtime.Tests/IO/AsyncActionInputReaderTests.cs index f4170413a..3564cfe18 100644 --- a/src/Tests/NetPad.Runtime.Tests/IO/AsyncActionInputReaderTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/IO/AsyncActionInputReaderTests.cs @@ -1,4 +1,4 @@ -using NetPad.IO; +using NetPad.IO; namespace NetPad.Runtime.Tests.IO; diff --git a/src/Tests/NetPad.Runtime.Tests/Packages/NuGet/NuGetPackageProviderTests.cs b/src/Tests/NetPad.Runtime.Tests/Packages/NuGet/NuGetPackageProviderTests.cs index 51157ca76..c4d1a4f29 100644 --- a/src/Tests/NetPad.Runtime.Tests/Packages/NuGet/NuGetPackageProviderTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/Packages/NuGet/NuGetPackageProviderTests.cs @@ -1,4 +1,4 @@ -using System.Runtime.InteropServices; +using System.Runtime.InteropServices; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using NetPad.Application; diff --git a/src/Tests/NetPad.Runtime.Tests/Scripts/DefaultScriptNameGeneratorTests.cs b/src/Tests/NetPad.Runtime.Tests/Scripts/DefaultScriptNameGeneratorTests.cs index 3839e4456..ddfce9de2 100644 --- a/src/Tests/NetPad.Runtime.Tests/Scripts/DefaultScriptNameGeneratorTests.cs +++ b/src/Tests/NetPad.Runtime.Tests/Scripts/DefaultScriptNameGeneratorTests.cs @@ -1,4 +1,4 @@ -using NetPad.Scripts; +using NetPad.Scripts; namespace NetPad.Runtime.Tests.Scripts; diff --git a/src/Tests/NetPad.Tests/Helpers/TempFileHelper.cs b/src/Tests/NetPad.Tests/Helpers/TempFileHelper.cs index 1af4b99f3..f0ee26dfb 100644 --- a/src/Tests/NetPad.Tests/Helpers/TempFileHelper.cs +++ b/src/Tests/NetPad.Tests/Helpers/TempFileHelper.cs @@ -1,4 +1,4 @@ -using Xunit; +using Xunit; namespace NetPad.Tests.Helpers;