7 overrides of SymbolCount
PresentationFramework (7)
System\Windows\Documents\TextTreeFixupNode.cs (1)
236
internal override int
SymbolCount
System\Windows\Documents\TextTreeObjectNode.cs (1)
203
internal override int
SymbolCount
System\Windows\Documents\TextTreeRootNode.cs (1)
249
internal override int
SymbolCount
System\Windows\Documents\TextTreeRootTextBlock.cs (1)
179
internal override int
SymbolCount
System\Windows\Documents\TextTreeTextBlock.cs (1)
397
internal override int
SymbolCount
System\Windows\Documents\TextTreeTextElementNode.cs (1)
210
internal override int
SymbolCount
System\Windows\Documents\TextTreeTextNode.cs (1)
390
internal override int
SymbolCount
1 write to SymbolCount
PresentationFramework (1)
System\Windows\Documents\TextContainer.cs (1)
3195
containingNode.
SymbolCount
+= symbolCount;
34 references to SymbolCount
PresentationFramework (34)
System\Windows\Documents\SplayTreeNode.cs (4)
48
nodeSymbolCount = node.
SymbolCount
;
485
root.LeftSymbolCount = leftSubTree.LeftSymbolCount + leftSubTree.
SymbolCount
;
887
rightChildNode.LeftSymbolCount += this.LeftSymbolCount + this.
SymbolCount
;
952
this.LeftSymbolCount -= leftChildNode.LeftSymbolCount + leftChildNode.
SymbolCount
;
System\Windows\Documents\TextContainer.cs (20)
507
if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.
SymbolCount
)
557
if (textNode == null || nodeOffset == 0 || nodeOffset == node.
SymbolCount
)
572
if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.
SymbolCount
)
590
if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.
SymbolCount
)
621
if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.
SymbolCount
)
839
if (position.Node.
SymbolCount
== 0)
849
Invariant.Assert((position.Edge == ElementEdge.AfterEnd && position.Node.GetPreviousNode() is TextTreeTextNode && position.Node.GetPreviousNode().
SymbolCount
> 0) ||
850
(position.Edge == ElementEdge.BeforeStart && position.Node.GetNextNode() is TextTreeTextNode && position.Node.GetNextNode().
SymbolCount
> 0));
1189
UpdateContainerSymbolCount(objectNode.GetContainingNode(), objectNode.
SymbolCount
, objectNode.IMECharCount);
1328
if (offset == nodeOffset + node.
SymbolCount
- 1)
1334
if (offset == nodeOffset + node.
SymbolCount
)
2158
Invariant.Assert(node.
SymbolCount
> 0, "Only TextTreeTextNodes may have zero symbol counts!");
2174
if (nextNode.
SymbolCount
== 0)
2181
Invariant.Assert(textNode.GetPreviousNode() == null || textNode.GetPreviousNode().
SymbolCount
> 0, "Found three consecutive zero-width text nodes! (1)");
2182
Invariant.Assert(nextNode.GetNextNode() == null || nextNode.GetNextNode().
SymbolCount
> 0, "Found three consecutive zero-width text nodes! (2)");
2201
if (previousNode != null && previousNode.
SymbolCount
== 0 && !((TextTreeNode)previousNode).AfterEndReferenceCount)
2215
if (nextNode != null && nextNode.
SymbolCount
== 0 && !((TextTreeNode)nextNode).BeforeStartReferenceCount)
2727
symbolCount += childNode.LeftSymbolCount + childNode.
SymbolCount
;
3077
nextNode.LeftSymbolCount += maxChildNode.LeftSymbolCount + maxChildNode.
SymbolCount
;
3141
Invariant.Assert(clone != null || node is TextTreeTextNode && node.
SymbolCount
== 0);
System\Windows\Documents\TextPointer.cs (3)
597
count += textNode.
SymbolCount
;
2921
offset = node.GetSymbolOffset(tree.Generation) + node.
SymbolCount
- 1;
2925
offset = node.GetSymbolOffset(tree.Generation) + node.
SymbolCount
;
System\Windows\Documents\TextTreeNode.cs (5)
478
if (this.
SymbolCount
== 0)
489
else if (nodeOffset == this.
SymbolCount
)
499
Invariant.Assert(nodeOffset == this.
SymbolCount
- 1);
521
offset = this.
SymbolCount
- 1;
525
offset = this.
SymbolCount
;
System\Windows\Documents\TextTreeTextNode.cs (2)
207
Invariant.Assert(previousNode == null || previousNode.
SymbolCount
> 0 || previousNode.AfterEndReferenceCount,
218
Invariant.Assert(nextNode == null || nextNode.
SymbolCount
> 0 || nextNode.BeforeStartReferenceCount,