9 writes to _symbolCount
PresentationFramework (9)
System\Windows\Documents\TextTreeTextNode.cs (9)
91
_symbolCount
= _symbolCount
238
newNode.
_symbolCount
= _symbolCount - localOffset;
240
_symbolCount
= localOffset;
250
newNode.
_symbolCount
= localOffset;
253
_symbolCount
-= localOffset;
403
_symbolCount
= value;
511
previousNode.
_symbolCount
+= _symbolCount;
537
nextNode.
_symbolCount
+= previousNode._symbolCount;
549
previousNode.
_symbolCount
+= nextNode._symbolCount;
15 references to _symbolCount
PresentationFramework (15)
System\Windows\Documents\TextTreeTextNode.cs (15)
63
return ("TextNode Id=" + this.DebugId + " SymbolCount=" +
_symbolCount
);
87
if (
_symbolCount
> 0)
91
_symbolCount =
_symbolCount
124
node = Split(edge == ElementEdge.BeforeStart ? 0 :
_symbolCount
, edge);
196
Invariant.Assert(
_symbolCount
> 0, "Splitting a zero-width TextNode!");
197
Invariant.Assert(localOffset >= 0 && localOffset <=
_symbolCount
, "Bad localOffset!");
212
else if (localOffset ==
_symbolCount
)
238
newNode._symbolCount =
_symbolCount
- localOffset;
260
Invariant.Assert(
_symbolCount
>= 0);
261
Invariant.Assert(newNode.
_symbolCount
>= 0);
398
return
_symbolCount
;
511
previousNode._symbolCount +=
_symbolCount
;
535
nextNode._symbolOffsetCache -= previousNode.
_symbolCount
;
537
nextNode._symbolCount += previousNode.
_symbolCount
;
549
previousNode._symbolCount += nextNode.
_symbolCount
;