public IcuRulesCollator(string rules) { try { this._collator = new Icu.Collation.RuleBasedCollator(LdmlCollationParser.ReplaceUnicodeEscapesForICU(rules)); } catch (DllNotFoundException e) { throw new DllNotFoundException("IcuRulesCollator requires the ICU dlls to be present", e); } }