public void CaseClosure() { int num5 = base.Edges().Count() - 1; for (int i = 0; i <= num5; i++) { NumberSet setB = new NumberSet(new int[0]); CharacterSet characters = base.Edges()[i].Characters; int num6 = characters.Count() - 1; for (int j = 0; j <= num6; j++) { int charCode = characters[j]; int num3 = UnicodeTable.ToLowerCase(charCode); if (charCode != num3) { setB.Add(new int[] { num3 }); } num3 = UnicodeTable.ToUpperCase(charCode); if (charCode != num3) { setB.Add(new int[] { num3 }); } } characters.UnionWith(setB); characters = null; } }
public void MappingClosure(BuilderApp.CharMappingMode Mapping) { int num5 = base.Edges().Count() - 1; for (int i = 0; i <= num5; i++) { NumberSet setB = new NumberSet(new int[0]); CharacterSet characters = base.Edges()[i].Characters; int num6 = characters.Count() - 1; for (int j = 0; j <= num6; j++) { int charCode = characters[j]; int num3 = UnicodeTable.ToWin1252(charCode); if (charCode != num3) { setB.Add(new int[] { num3 }); } } characters.UnionWith(setB); characters = null; } }