refactor(Injector): switch to file-scoped namespaces

This commit is contained in:
goat 2021-11-17 19:46:33 +01:00
parent b5f34c3199
commit f30ebe5166
No known key found for this signature in database
GPG key ID: 7773BB5B43BA52E5
3 changed files with 1288 additions and 1291 deletions

View file

@ -16,8 +16,8 @@ using Serilog.Events;
using static Dalamud.Injector.NativeFunctions; using static Dalamud.Injector.NativeFunctions;
namespace Dalamud.Injector namespace Dalamud.Injector;
{
/// <summary> /// <summary>
/// Entrypoint to the program. /// Entrypoint to the program.
/// </summary> /// </summary>
@ -319,4 +319,3 @@ namespace Dalamud.Injector
Log.Information("Done"); Log.Information("Done");
} }
} }
}

View file

@ -16,8 +16,8 @@ using Serilog;
using static Dalamud.Injector.NativeFunctions; using static Dalamud.Injector.NativeFunctions;
using static Iced.Intel.AssemblerRegisters; using static Iced.Intel.AssemblerRegisters;
namespace Dalamud.Injector namespace Dalamud.Injector;
{
/// <summary> /// <summary>
/// This class implements injecting into a remote process. It is a highly stripped down version of the /// This class implements injecting into a remote process. It is a highly stripped down version of the
/// https://github.com/Reloaded-Project injector/assembler implementation due to issues with Lutris and /// https://github.com/Reloaded-Project injector/assembler implementation due to issues with Lutris and
@ -356,4 +356,3 @@ namespace Dalamud.Injector
public long LPProcName { get; set; } public long LPProcName { get; set; }
} }
} }
}

View file

@ -1,8 +1,8 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace Dalamud.Injector namespace Dalamud.Injector;
{
/// <summary> /// <summary>
/// Native user32 functions. /// Native user32 functions.
/// </summary> /// </summary>
@ -834,4 +834,3 @@ namespace Dalamud.Injector
int dwSize, int dwSize,
out IntPtr lpNumberOfBytesWritten); out IntPtr lpNumberOfBytesWritten);
} }
}