using System; using MonoMod; namespace SafeExamBrowser.Configuration.Integrity { public class patch_IntegrityModule : IntegrityModule { [MonoModIgnore] public patch_IntegrityModule(Configuration.Contracts.AppConfig appConfig, SafeExamBrowser.Logging.Contracts.ILogger logger) : base(appConfig, logger) { } [MonoModOriginal] public extern bool orig_TryVerifyCodeSignature(out bool isValid); #pragma warning disable CS0108 // Member hides inherited member; missing new keyword public bool TryVerifyCodeSignature(out bool isValid) #pragma warning restore CS0108 // Member hides inherited member; missing new keyword { bool result = orig_TryVerifyCodeSignature(out isValid); isValid = true; return true; } } }