7 overrides of SymbolCount
PresentationFramework (7)
src\Framework\System\Windows\Documents\TextTreeFixupNode.cs (1)
243
internal override int
SymbolCount
src\Framework\System\Windows\Documents\TextTreeObjectNode.cs (1)
210
internal override int
SymbolCount
src\Framework\System\Windows\Documents\TextTreeRootNode.cs (1)
257
internal override int
SymbolCount
src\Framework\System\Windows\Documents\TextTreeRootTextBlock.cs (1)
181
internal override int
SymbolCount
src\Framework\System\Windows\Documents\TextTreeTextBlock.cs (1)
403
internal override int
SymbolCount
src\Framework\System\Windows\Documents\TextTreeTextElementNode.cs (1)
217
internal override int
SymbolCount
src\Framework\System\Windows\Documents\TextTreeTextNode.cs (1)
397
internal override int
SymbolCount
1 write to SymbolCount
PresentationFramework (1)
src\Framework\System\Windows\Documents\TextContainer.cs (1)
3216
containingNode.
SymbolCount
+= symbolCount;
32 references to SymbolCount
PresentationFramework (32)
src\Framework\System\Windows\Documents\SplayTreeNode.cs (4)
49
nodeSymbolCount = node.
SymbolCount
;
486
root.LeftSymbolCount = leftSubTree.LeftSymbolCount + leftSubTree.
SymbolCount
;
888
rightChildNode.LeftSymbolCount += this.LeftSymbolCount + this.
SymbolCount
;
953
this.LeftSymbolCount -= leftChildNode.LeftSymbolCount + leftChildNode.
SymbolCount
;
src\Framework\System\Windows\Documents\TextContainer.cs (20)
527
if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.
SymbolCount
)
577
if (textNode == null || nodeOffset == 0 || nodeOffset == node.
SymbolCount
)
592
if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.
SymbolCount
)
610
if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.
SymbolCount
)
641
if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.
SymbolCount
)
859
if (position.Node.
SymbolCount
== 0)
869
Invariant.Assert((position.Edge == ElementEdge.AfterEnd && position.Node.GetPreviousNode() is TextTreeTextNode && position.Node.GetPreviousNode().
SymbolCount
> 0) ||
870
(position.Edge == ElementEdge.BeforeStart && position.Node.GetNextNode() is TextTreeTextNode && position.Node.GetNextNode().
SymbolCount
> 0));
1209
UpdateContainerSymbolCount(objectNode.GetContainingNode(), objectNode.
SymbolCount
, objectNode.IMECharCount);
1348
if (offset == nodeOffset + node.
SymbolCount
- 1)
1354
if (offset == nodeOffset + node.
SymbolCount
)
2178
Invariant.Assert(node.
SymbolCount
> 0, "Only TextTreeTextNodes may have zero symbol counts!");
2194
if (nextNode.
SymbolCount
== 0)
2201
Invariant.Assert(textNode.GetPreviousNode() == null || textNode.GetPreviousNode().
SymbolCount
> 0, "Found three consecutive zero-width text nodes! (1)");
2202
Invariant.Assert(nextNode.GetNextNode() == null || nextNode.GetNextNode().
SymbolCount
> 0, "Found three consecutive zero-width text nodes! (2)");
2221
if (previousNode != null && previousNode.
SymbolCount
== 0 && !((TextTreeNode)previousNode).AfterEndReferenceCount)
2235
if (nextNode != null && nextNode.
SymbolCount
== 0 && !((TextTreeNode)nextNode).BeforeStartReferenceCount)
2747
symbolCount += childNode.LeftSymbolCount + childNode.
SymbolCount
;
3098
nextNode.LeftSymbolCount += maxChildNode.LeftSymbolCount + maxChildNode.
SymbolCount
;
3162
Invariant.Assert(clone != null || node is TextTreeTextNode && node.
SymbolCount
== 0);
src\Framework\System\Windows\Documents\TextPointer.cs (3)
613
count += textNode.
SymbolCount
;
2952
offset = node.GetSymbolOffset(tree.Generation) + node.
SymbolCount
- 1;
2956
offset = node.GetSymbolOffset(tree.Generation) + node.
SymbolCount
;
src\Framework\System\Windows\Documents\TextTreeNode.cs (5)
485
if (this.
SymbolCount
== 0)
496
else if (nodeOffset == this.
SymbolCount
)
506
Invariant.Assert(nodeOffset == this.
SymbolCount
- 1);
528
offset = this.
SymbolCount
- 1;
532
offset = this.
SymbolCount
;