Esempio n. 1
0
        static SqlIdentifierTokenProducer()
        {
            Delimiters = new[]
            {
                "[]",
                "\"\"",
                "``",
            }
            .ToDictionary(x => x[0], x => x[1]);

            OpeningDelimiters = new HashSet <char>(Delimiters.Keys);
            ClosingDelimiters = new HashSet <char>(Delimiters.Values);

            ReverseDelimiters = Delimiters
                                .ToDictionary(x => x.Value, x => x.Key);
        }