Switch order of interface parameters

This commit is contained in:
Matt Nadareski
2022-03-14 22:51:17 -07:00
parent a7e9164f4f
commit ceae505f4d
54 changed files with 60 additions and 60 deletions

View File

@@ -32,7 +32,7 @@ namespace BurnOutSharp.ProtectionType
}
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -14,7 +14,7 @@ namespace BurnOutSharp.ProtectionType
public class AlphaROM : IPEContentCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -7,7 +7,7 @@ namespace BurnOutSharp.ProtectionType
public class CDCheck : IPEContentCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -41,7 +41,7 @@ namespace BurnOutSharp.ProtectionType
}
/// <inheritdoc/>
public string CheckNEContents(string file, bool includeDebug, NewExecutable nex)
public string CheckNEContents(string file, NewExecutable nex, bool includeDebug)
{
// Get the DOS stub from the executable, if possible
var stub = nex?.DOSStubHeader;
@@ -67,7 +67,7 @@ namespace BurnOutSharp.ProtectionType
}
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -7,7 +7,7 @@ namespace BurnOutSharp.ProtectionType
public class CDKey : IPEContentCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
public class CDLock : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -7,7 +7,7 @@ namespace BurnOutSharp.ProtectionType
public class CDSHiELDSE : IPEContentCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -36,7 +36,7 @@ namespace BurnOutSharp.ProtectionType
}
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -5,7 +5,7 @@ namespace BurnOutSharp.ProtectionType
public class CengaProtectDVD : IPEContentCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -32,7 +32,7 @@ namespace BurnOutSharp.ProtectionType
}
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -15,7 +15,7 @@ namespace BurnOutSharp.ProtectionType
public class ElectronicArts : IPEContentCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType
public class GFWL : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -11,7 +11,7 @@ namespace BurnOutSharp.ProtectionType
public class ImpulseReactor : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -22,7 +22,7 @@ namespace BurnOutSharp.ProtectionType
*/
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -12,7 +12,7 @@ namespace BurnOutSharp.ProtectionType
public class JoWood : IPEContentCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.ProtectionType
public class Key2AudioXS : IPEContentCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -12,7 +12,7 @@ namespace BurnOutSharp.ProtectionType
public class LaserLok : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// TODO: Additional checks that may or may not be useful with the below
//

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.ProtectionType
public class MediaMaxCD3 : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -7,7 +7,7 @@ namespace BurnOutSharp.ProtectionType
public class OnlineRegistration : IPEContentCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType
public class Origin : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType
public class ProtectDISC : IPEContentCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -47,7 +47,7 @@ namespace BurnOutSharp.ProtectionType
};
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -15,7 +15,7 @@ namespace BurnOutSharp.ProtectionType
public class SecuROM : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType
public class SmartE : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -13,7 +13,7 @@ namespace BurnOutSharp.ProtectionType
public class SolidShield : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType
public class StarForce : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.ProtectionType
public class Steam : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.ProtectionType
public class Sysiphus : IPEContentCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -40,7 +40,7 @@ namespace BurnOutSharp.ProtectionType
}
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -5,7 +5,7 @@ namespace BurnOutSharp.ProtectionType
public class ThreePLock : IPEContentCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -6,7 +6,7 @@ namespace BurnOutSharp.ProtectionType
public class ThreeTwoOneStudios : IPEContentCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType
public class Uplay : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.ProtectionType
public class WTMCDProtect : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;

View File

@@ -13,7 +13,7 @@ namespace BurnOutSharp.ProtectionType
public class XCP : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;