Use file scoped namespaces

pull/5/head
Miepee 4 years ago
parent 2a08ff2946
commit 9ad9935fff

@ -1,9 +1,6 @@
using System;
using System.CommandLine;
using System.CommandLine.Builder;
using System.CommandLine.Parsing;
using System.IO;
using System.Threading;
using AM2RPortHelperLib;
namespace AM2RPortHelper;

@ -1,8 +1,8 @@
using System;
using Eto.Forms;
namespace AM2RPortHelperGUI.Gtk
{
namespace AM2RPortHelperGUI.Gtk;
class Program
{
[STAThread]
@ -11,4 +11,3 @@ namespace AM2RPortHelperGUI.Gtk
new Application(Eto.Platforms.Gtk).Run(new MainForm());
}
}
}

@ -1,8 +1,8 @@
using System;
using Eto.Forms;
namespace AM2RPortHelperGUI.Mac
{
namespace AM2RPortHelperGUI.Mac;
class Program
{
[STAThread]
@ -11,4 +11,3 @@ namespace AM2RPortHelperGUI.Mac
new Application(Eto.Platforms.Mac64).Run(new MainForm());
}
}
}

@ -1,8 +1,8 @@
using System;
using Eto.Forms;
namespace AM2RPortHelperGUI.Wpf
{
namespace AM2RPortHelperGUI.Wpf;
class Program
{
[STAThread]
@ -11,4 +11,3 @@ namespace AM2RPortHelperGUI.Wpf
new Application(Eto.Platforms.Wpf).Run(new MainForm());
}
}
}

@ -2,6 +2,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>10</LangVersion>
</PropertyGroup>
<ItemGroup>

@ -7,8 +7,8 @@ using AM2RPortHelperLib;
using Eto.Forms;
using Eto.Drawing;
namespace AM2RPortHelperGUI
{
namespace AM2RPortHelperGUI;
public partial class MainForm : Form
{
public MainForm()
@ -168,4 +168,3 @@ namespace AM2RPortHelperGUI
Text = "Info: "
};
}
}
Loading…
Cancel
Save