public ModuleBuilder ObtainDynamicModuleWithStrongName()
{
if (disableSignedModule)
{
throw new InvalidOperationException(
"Usage of signed module has been disabled. Use unsigned module or enable signed module.");
}
lock (moduleLocker)
{
if (moduleBuilderWithStrongName == null)
{
moduleBuilderWithStrongName = CreateModule(true);
}
return moduleBuilderWithStrongName;
}
}