2 writes to _xamlNodes
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (2)
5851
_xamlNodes
= new ArrayList(10);
5942
_xamlNodes
= new ArrayList(10);
26 references to _xamlNodes
PresentationBuildTasks (26)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (26)
5820
_xamlNodes
.Add(xamlNode);
5834
Debug.Assert((_nodeIndex == 0 &&
_xamlNodes
.Count == 0 ) || (_nodeIndex <
_xamlNodes
.Count),
5836
if (
_xamlNodes
.Count > 0)
5838
xamlNode = (XamlNode)
_xamlNodes
[_nodeIndex];
5841
if (_nodeIndex ==
_xamlNodes
.Count)
5854
Debug.Assert((_nodeIndex == 0 &&
_xamlNodes
.Count == 0 ) || (_nodeIndex <
_xamlNodes
.Count),
5865
get { return
_xamlNodes
.Count; }
5882
_insertionIndex = value ?
_xamlNodes
.Count : -1;
5894
_xamlNodes
.Insert(_insertionIndex, xamlNode);
5907
_xamlNodes
.Insert(_currentInsertionIndex, xamlNode);
5923
if (
_xamlNodes
.Count > 0)
5925
for (int i =
_xamlNodes
.Count - 1; i >= _nodeIndex; i--)
5927
if (((XamlNode)
_xamlNodes
[i]).TokenType == XamlNodeType.ElementStart ||
5928
((XamlNode)
_xamlNodes
[i]).TokenType == XamlNodeType.EndAttributes)
5930
_xamlNodes
.RemoveAt(i);
5936
if (_nodeIndex >=
_xamlNodes
.Count)
5940
Debug.Assert(_nodeIndex ==
_xamlNodes
.Count, "NodeIndex is larger than node count.");
6071
Debug.Assert(((XamlNode)
_xamlNodes
[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart,
6088
_typeConverterCandidateIndex =
_xamlNodes
.Count - 1;
6090
Debug.Assert(((XamlNode)
_xamlNodes
[_typeConverterCandidateIndex])==xamlNode,
6112
_typeConverterCandidateIndex =
_xamlNodes
.Count - 1;
6114
Debug.Assert(((XamlNode)
_xamlNodes
[_typeConverterCandidateIndex])==xamlNode,
6159
Debug.Assert(((XamlNode)
_xamlNodes
[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart,
6163
((XamlElementStartNode)
_xamlNodes
[_typeConverterCandidateIndex]).CreateUsingTypeConverter = true;