public ModuleGlobalSlot(Slot builtinWrapper) { Debug.Assert(builtinWrapper.Type == typeof(ModuleGlobalWrapper)); if (builtinWrapper.Type != typeof(ModuleGlobalWrapper)) throw new ArgumentException("builtinWrapper " + builtinWrapper.GetType().FullName); _wrapper = builtinWrapper; }
public ModuleGlobalSlot(Slot builtinWrapper) { Debug.Assert(builtinWrapper.Type == typeof(ModuleGlobalWrapper)); if (builtinWrapper.Type != typeof(ModuleGlobalWrapper)) { throw new ArgumentException("builtinWrapper " + builtinWrapper.GetType().FullName); } _wrapper = builtinWrapper; }