1 write to indexCache
System.Activities.Presentation (1)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (1)
30this.indexCache = new List<Tuple<int, int>>();
16 references to indexCache
System.Activities.Presentation (16)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (16)
77int line = this.indexCache.Count - 1; 80if (index >= this.indexCache[line].Item1) 87int column = index - this.indexCache[line].Item1; 88SharedFx.Assert(column < this.indexCache[line].Item2, "Should Not Happen"); 95while (this.indexCache.Count <= line) 103if (this.indexCache.Count <= line) 109if (column >= this.indexCache[line].Item2) 115return this.indexCache[line].Item1 + column; 122int last = this.indexCache.Count - 1; 123return last >= 0 && index < this.indexCache[last].Item1 + this.indexCache[last].Item2; 130if (this.indexCache.Count > 0) 132int tail = this.indexCache.Count - 1; 133startIndex = this.indexCache[tail].Item1 + this.indexCache[tail].Item2; 158this.indexCache.Add(Tuple.Create(startIndex, lineLength));