Esempio n. 1
0
        public override int GetHashCode()
        {
            int hc = 0;

            if (_source != null)
            {
                hc = _source.GetHashCode();
            }
            return(hc ^ _startIndex ^ (_length << 4));
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            var h1 = StartLine + 37 * (StartColumn + 51 * (EndLine + 97 * EndColumn));

            return(File.GetHashCode() + 17 * h1);
        }