11 references to InternalSymbolCount
PresentationFramework (11)
System\Windows\Documents\TextContainer.cs (4)
1296
Invariant.Assert(offset >= 1 && offset <= this.
InternalSymbolCount
- 1, "Bogus symbol offset!");
1566
return this.
InternalSymbolCount
;
1821
return this.
InternalSymbolCount
- 2;
3293
Invariant.Assert(count == this.
InternalSymbolCount
, "TextContainer.SymbolCount does not match TextTreeText size!");
System\Windows\Documents\TextPointer.cs (7)
293
if (offset < 1 || offset > textContainer.
InternalSymbolCount
- 1)
589
count = _tree.
InternalSymbolCount
- this.GetSymbolOffset() - 1;
1916
symbolOffset = _tree.
InternalSymbolCount
- 1;
1926
else if (symbolOffset > _tree.
InternalSymbolCount
- 1)
1931
offset -= (symbolOffset - (_tree.
InternalSymbolCount
- 1));
1932
symbolOffset = _tree.
InternalSymbolCount
- 1;
3909
if (offset < 1 || offset > position.TextContainer.
InternalSymbolCount
- 1)