2 using System.Globalization;
5 namespace Mono.Globalization.Unicode
7 internal struct SortKeyValue {
8 public readonly bool Alt;
9 public readonly ushort Primary;
10 public readonly byte Secondary;
11 public readonly byte Thirtiary;
12 public readonly int Quarternary;
14 public SortKeyValue (bool alt, ushort v1, byte v2, byte v3, int v4)
24 internal /*static*/ class CollationElementTableUtil
26 public static readonly CodePointIndexer Indexer;
28 static CollationElementTableUtil ()
30 int [] starts = new int [] {
31 0, 0x4dc0, 0xa000, 0xf900, 0xfb00,
32 0x1d000, 0x2f800, 0xe0000, 0x110000};
33 int [] ends = new int [] {
34 0x3410, 0x4e10, 0xa4d0, 0xfa70, 0x10840,
35 0x1d800, 0x2fa20, 0xe0200, 0x110000};
36 Indexer = new CodePointIndexer (starts, ends, 0, 0);