Esempio n. 1
0
        public CodeRange(CodePosition start, CodePosition end)
        {
            Debug.Assert(start.Line < end.Line || start.Line == end.Line && start.Column <= end.Column);

            this.Start = start;
            this.End = end;
        }
Esempio n. 2
0
 public CodeRange(CodePosition pos)
     : this(pos, pos)
 {
 }
Esempio n. 3
0
 public CodeRange()
 {
     Start = new CodePosition();
     End = new CodePosition();
 }