From 7ac7728cd158cf34ff70f08efc5ab38904e6b0e6 Mon Sep 17 00:00:00 2001 From: Andrii Kurdiumov Date: Thu, 30 Apr 2026 17:43:08 +0200 Subject: [PATCH] Expose module context This is needed, since dnlib remove it from assembly resolver contract. --- Confuser.Core/ConfuserContext.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Confuser.Core/ConfuserContext.cs b/Confuser.Core/ConfuserContext.cs index 94092bec1..534896b2e 100644 --- a/Confuser.Core/ConfuserContext.cs +++ b/Confuser.Core/ConfuserContext.cs @@ -44,6 +44,12 @@ public ServiceRegistry Registry { get { return registry; } } + /// + /// Gets the default module context to use for loading modules. + /// + /// The default module context. + public ModuleContext DefaultModuleContext => InternalResolver.DefaultModuleContext; + /// /// Gets the assembly resolver. ///