/// <summary> /// Punch appropriate holes for the selected code charts. /// </summary> /// <param name="safeList">The safe list to punch through.</param> /// <param name="codeCharts">The code charts to punch.</param> private static void PunchCodeCharts(ref char[][] safeList, UpperCodeCharts codeCharts) { PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.DevanagariExtended), Upper.DevanagariExtended()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.KayahLi), Upper.KayahLi()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.Rejang), Upper.Rejang()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.HangulJamoExtendedA), Upper.HangulJamoExtendedA()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.Javanese), Upper.Javanese()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.Cham), Upper.Cham()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.MyanmarExtendedA), Upper.MyanmarExtendedA()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.TaiViet), Upper.TaiViet()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.MeeteiMayek), Upper.MeeteiMayek()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.HangulSyllables), Upper.HangulSyllables()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.HangulJamoExtendedB), Upper.HangulJamoExtendedB()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.CjkCompatibilityIdeographs), Upper.CjkCompatibilityIdeographs()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.AlphabeticPresentationForms), Upper.AlphabeticPresentationForms()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.ArabicPresentationFormsA), Upper.ArabicPresentationFormsA()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.VariationSelectors), Upper.VariationSelectors()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.VerticalForms), Upper.VerticalForms()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.CombiningHalfMarks), Upper.CombiningHalfMarks()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.CjkCompatibilityForms), Upper.CjkCompatibilityForms()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.SmallFormVariants), Upper.SmallFormVariants()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.ArabicPresentationFormsB), Upper.ArabicPresentationFormsB()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.HalfWidthAndFullWidthForms), Upper.HalfWidthAndFullWidthForms()); PunchHolesIfNeeded(ref safeList, Upper.IsFlagSet(codeCharts, UpperCodeCharts.Specials), Upper.Specials()); }