1 write to namespaceScopes
System.Xaml (1)
System\Xaml\XamlXmlWriter.cs (1)
105namespaceScopes = new Stack<Frame>();
78 references to namespaceScopes
System.Xaml (78)
System\Xaml\XamlXmlWriter.cs (78)
106namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.StartObject }); 150Frame frame = namespaceScopes.Peek(); 347Debug.Assert(writer.namespaceScopes.Peek().AllocatingNodeType == XamlNodeType.StartMember); 348Stack<Frame>.Enumerator enumerator = writer.namespaceScopes.GetEnumerator(); 370namespaceScopes.Peek().AssignNamespacePrefix(ns, prefix); 392foreach (Frame frame in namespaceScopes) 439foreach (Frame frame in namespaceScopes) 499Frame objectFrame = namespaceScopes.Peek(); 503Frame temp = namespaceScopes.Pop(); 504objectFrame = namespaceScopes.Peek(); 505namespaceScopes.Push(temp); 526Frame frame = namespaceScopes.Peek(); 529Frame temp = namespaceScopes.Pop(); 530frame = namespaceScopes.Peek(); 532namespaceScopes.Push(temp); 816Debug.Assert(writer.namespaceScopes.Count > 1); 818Frame frame = writer.namespaceScopes.Peek(); 834Debug.Assert(writer.namespaceScopes.Count > 1); 836Frame frame = writer.namespaceScopes.Peek(); 909Frame frame = writer.namespaceScopes.Peek(); 958Debug.Assert(writer.namespaceScopes.Count == 1); 964writer.namespaceScopes.Peek().Type = type; 965writer.namespaceScopes.Peek().IsObjectFromMember = isObjectFromMember; 1007Debug.Assert(writer.namespaceScopes.Count > 0); 1009if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartMember) 1011writer.namespaceScopes.Push(new Frame 1014Type = writer.namespaceScopes.Peek().Type 1025if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartMember) 1027writer.namespaceScopes.Push(new Frame 1030Type = writer.namespaceScopes.Peek().Type, 1034writer.namespaceScopes.Peek().Member = property; 1036XamlType parentType = writer.namespaceScopes.Peek().Type; 1043XamlType containingType = writer.namespaceScopes.Peek().Type; 1046if (!writer.namespaceScopes.Peek().IsEmpty()) 1053if (!writer.namespaceScopes.Peek().IsEmpty()) 1074writer.namespaceScopes.Pop(); 1094Debug.Assert(writer.namespaceScopes.Count > 0); 1095Frame frame = writer.namespaceScopes.Pop(); 1107if (writer.namespaceScopes.Count > 0) 1141XamlType parentType = writer.namespaceScopes.Peek().Type; 1167Debug.Assert(writer.namespaceScopes.Count > 0); 1168Debug.Assert(writer.namespaceScopes.Peek().AllocatingNodeType == XamlNodeType.StartObject || 1169writer.namespaceScopes.Peek().AllocatingNodeType == XamlNodeType.GetObject); 1171writer.namespaceScopes.Push(new Frame 1174Type = writer.namespaceScopes.Peek().Type, 1178XamlType containingType = writer.namespaceScopes.Peek().Type; 1184writer.namespaceScopes.Pop(); 1245Debug.Assert(writer.namespaceScopes.Count > 0); 1246if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartObject && 1247writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.GetObject) 1249writer.namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.StartObject }); 1257Frame frame = writer.namespaceScopes.Peek(); 1348var frameEnumerator = writer.namespaceScopes.GetEnumerator(); 1380Debug.Assert(writer.namespaceScopes.Count > 0); 1381if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartObject && 1382writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.GetObject) 1384writer.namespaceScopes.Push(new Frame { AllocatingNodeType = isObjectFromMember ? XamlNodeType.GetObject : XamlNodeType.StartObject }); 1387writer.namespaceScopes.Peek().Type = type; 1388writer.namespaceScopes.Peek().IsObjectFromMember = isObjectFromMember; 1394if (!writer.namespaceScopes.Peek().IsEmpty()) 1399Frame tempFrame = writer.namespaceScopes.Pop(); 1400Frame frame = writer.namespaceScopes.Peek(); 1401writer.namespaceScopes.Push(tempFrame); 1445Debug.Assert(writer.namespaceScopes.Count > 0); 1446Frame memberFrame = writer.namespaceScopes.Pop(); 1581Debug.Assert(writer.namespaceScopes.Count > 0); 1582Frame memberFrame = writer.namespaceScopes.Pop(); 1711writer.namespaceScopes.Peek().IsContent = true; 1718var property = writer.namespaceScopes.Peek().Member; 1721writer.namespaceScopes.Peek().IsContent = true; 1725writer.namespaceScopes.Peek().IsContent = false; 1735writer.namespaceScopes.Peek().IsContent = true; 1755writer.namespaceScopes.Peek().IsContent = true; 1766var property = writer.namespaceScopes.Peek().Member; 1769writer.namespaceScopes.Peek().IsContent = true; 1777writer.namespaceScopes.Peek().IsContent = false; 1785writer.namespaceScopes.Peek().IsContent = true; 1921Frame frame = writer.namespaceScopes.Peek();