cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (11)
28SharedFx.Assert(source != null, "source != null");
35SharedFx.Assert(startPoint != null, "startPoint != null");
59SharedFx.Assert(location != null, "invalid location");
70SharedFx.Assert(index >= 0 && index < this.source.Length, "index out of range");
86SharedFx.Assert(line >= 0, "line < this.indexCache.Count");
88SharedFx.Assert(column < this.indexCache[line].Item2, "Should Not Happen");
105SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "line out of range:({0},{1})", line + 1, column + 1));
111SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "column out of range:({0},{1})", line + 1, column + 1));
120SharedFx.Assert(index >= 0 && index < this.source.Length, "invalid index");
153SharedFx.Assert("lastIndex < 0");
170SharedFx.Assert("index < 0 || index >= this.source.Length");