/// <summary> /// When set to true, unconditionally add module overrides to all signatures. This is needed in composite /// build mode so that import cells and instance entry point table are caller module-agnostic. /// </summary> public bool EnforceOwningType(EcmaModule module) { return(IsCompositeBuildMode || module != CompilationModuleSet.Single()); }
/// <summary> /// When set to true, unconditionally add module overrides to all signatures. This is needed in composite /// build mode so that import cells and instance entry point table are caller module-agnostic. /// </summary> public bool EnforceOwningType(IEcmaModule module) { Debug.Assert(VersionsWithModule((ModuleDesc)module) || module is MutableModule); return(IsCompositeBuildMode || module != CompilationModuleSet.Single()); }