2 writes to _xamlNodes
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (2)
5857
_xamlNodes
= new ArrayList(10);
5948
_xamlNodes
= new ArrayList(10);
26 references to _xamlNodes
PresentationBuildTasks (26)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (26)
5826
_xamlNodes
.Add(xamlNode);
5840
Debug.Assert((_nodeIndex == 0 &&
_xamlNodes
.Count == 0 ) || (_nodeIndex <
_xamlNodes
.Count),
5842
if (
_xamlNodes
.Count > 0)
5844
xamlNode = (XamlNode)
_xamlNodes
[_nodeIndex];
5847
if (_nodeIndex ==
_xamlNodes
.Count)
5860
Debug.Assert((_nodeIndex == 0 &&
_xamlNodes
.Count == 0 ) || (_nodeIndex <
_xamlNodes
.Count),
5871
get { return
_xamlNodes
.Count; }
5888
_insertionIndex = value ?
_xamlNodes
.Count : -1;
5900
_xamlNodes
.Insert(_insertionIndex, xamlNode);
5913
_xamlNodes
.Insert(_currentInsertionIndex, xamlNode);
5929
if (
_xamlNodes
.Count > 0)
5931
for (int i =
_xamlNodes
.Count - 1; i >= _nodeIndex; i--)
5933
if (((XamlNode)
_xamlNodes
[i]).TokenType == XamlNodeType.ElementStart ||
5934
((XamlNode)
_xamlNodes
[i]).TokenType == XamlNodeType.EndAttributes)
5936
_xamlNodes
.RemoveAt(i);
5942
if (_nodeIndex >=
_xamlNodes
.Count)
5946
Debug.Assert(_nodeIndex ==
_xamlNodes
.Count, "NodeIndex is larger than node count.");
6077
Debug.Assert(((XamlNode)
_xamlNodes
[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart,
6094
_typeConverterCandidateIndex =
_xamlNodes
.Count - 1;
6096
Debug.Assert(((XamlNode)
_xamlNodes
[_typeConverterCandidateIndex])==xamlNode,
6118
_typeConverterCandidateIndex =
_xamlNodes
.Count - 1;
6120
Debug.Assert(((XamlNode)
_xamlNodes
[_typeConverterCandidateIndex])==xamlNode,
6165
Debug.Assert(((XamlNode)
_xamlNodes
[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart,
6169
((XamlElementStartNode)
_xamlNodes
[_typeConverterCandidateIndex]).CreateUsingTypeConverter = true;