1 write to _point
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
CodeModel\MockTextManagerAdapter.TextPoint.cs (1)
20
_point
= point;
14 references to _point
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (14)
CodeModel\MockTextManagerAdapter.TextPoint.cs (14)
25
get { return
_point
.Position; }
30
get { return
_point
.Position ==
_point
.Text.Length; }
35
get { return
_point
.Position ==
_point
.GetContainingLine().End; }
40
get { return
_point
.Position == 0; }
45
get { return
_point
.Position ==
_point
.GetContainingLine().Start; }
83
return
_point
.GetContainingLine().LineNumber + 1;
91
var result =
_point
.Position -
_point
.GetContainingLine().Start + 1;
92
if (
_point
.IsInVirtualSpace)
94
result +=
_point
.VirtualSpaces;
105
var line =
_point
.GetContainingLine();