use filescoped namespace

pull/5/head
Miepee 4 years ago
parent a9d374b3cd
commit 37b1956ecc

@ -2,8 +2,9 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RollForward>LatestMajor</RollForward>
<LangVersion>10</LangVersion>
</PropertyGroup>
<ItemGroup>

@ -7,10 +7,10 @@ using System.IO.Compression;
using System.Runtime.InteropServices;
using System.Threading;
namespace AM2RPortHelper
namespace AM2RPortHelper;
internal static class Program
{
internal static class Program
{
private const string version = "1.3";
private static readonly string tmp = Path.GetTempPath();
private static readonly string currentDir = Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory);
@ -373,5 +373,4 @@ namespace AM2RPortHelper
picture.Mutate(x => x.Resize(dimensions, dimensions, KnownResamplers.NearestNeighbor));
picture.SaveAsPng(filePath);
}
}
}
Loading…
Cancel
Save