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