internal ModuleGlobalWrapper(CodeContext context, ModuleGlobalCache global, SymbolId name) { _value = Uninitialized.Instance; _context = context; _global = global; _name = name; }
public static void InitializeModuleFieldBoxed(CodeContext context, object name, ref ModuleGlobalWrapper wrapper) { var s = (SymbolId)name; ModuleGlobalCache mgc = context.LanguageContext.GetModuleCache(s); wrapper = new ModuleGlobalWrapper(context, mgc, s); }
public static void InitializeModuleField(CodeContext context, SymbolId name, ref ModuleGlobalWrapper wrapper) { ModuleGlobalCache mgc = context.LanguageContext.GetModuleCache(name); wrapper = new ModuleGlobalWrapper(context, mgc, name); }