private void LoadParserModule(string name, int version, bool isTarget = false) { ModuleEntry entry; if (isTarget) { ModuleEntry?entryOrNull = _moduleRegistry.GetModuleOrDefault(name, true); //Check if this target is loadable target if (!entryOrNull.HasValue) { return; } entry = entryOrNull.Value; } else { entry = _moduleRegistry.GetModule(name, version); if (entry.Polyfill) { _polyfill = entry; } _ipRule.LoadModule(entry); } if (!entry.Polyfill) { _parsers.Add(entry); } }