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 }); 149Frame frame = namespaceScopes.Peek(); 341Debug.Assert(writer.namespaceScopes.Peek().AllocatingNodeType == XamlNodeType.StartMember); 342Stack<Frame>.Enumerator enumerator = writer.namespaceScopes.GetEnumerator(); 363namespaceScopes.Peek().AssignNamespacePrefix(ns, prefix); 385foreach (Frame frame in namespaceScopes) 432foreach (Frame frame in namespaceScopes) 491Frame objectFrame = namespaceScopes.Peek(); 495Frame temp = namespaceScopes.Pop(); 496objectFrame = namespaceScopes.Peek(); 497namespaceScopes.Push(temp); 517Frame frame = namespaceScopes.Peek(); 520Frame temp = namespaceScopes.Pop(); 521frame = namespaceScopes.Peek(); 523namespaceScopes.Push(temp); 801Debug.Assert(writer.namespaceScopes.Count > 1); 803Frame frame = writer.namespaceScopes.Peek(); 819Debug.Assert(writer.namespaceScopes.Count > 1); 821Frame frame = writer.namespaceScopes.Peek(); 893Frame frame = writer.namespaceScopes.Peek(); 940Debug.Assert(writer.namespaceScopes.Count == 1); 946writer.namespaceScopes.Peek().Type = type; 947writer.namespaceScopes.Peek().IsObjectFromMember = isObjectFromMember; 987Debug.Assert(writer.namespaceScopes.Count > 0); 989if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartMember) 991writer.namespaceScopes.Push(new Frame 994Type = writer.namespaceScopes.Peek().Type 1005if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartMember) 1007writer.namespaceScopes.Push(new Frame 1010Type = writer.namespaceScopes.Peek().Type, 1013writer.namespaceScopes.Peek().Member = property; 1015XamlType parentType = writer.namespaceScopes.Peek().Type; 1022XamlType containingType = writer.namespaceScopes.Peek().Type; 1025if (!writer.namespaceScopes.Peek().IsEmpty()) 1032if (!writer.namespaceScopes.Peek().IsEmpty()) 1053writer.namespaceScopes.Pop(); 1073Debug.Assert(writer.namespaceScopes.Count > 0); 1074Frame frame = writer.namespaceScopes.Pop(); 1086if (writer.namespaceScopes.Count > 0) 1119XamlType parentType = writer.namespaceScopes.Peek().Type; 1145Debug.Assert(writer.namespaceScopes.Count > 0); 1146Debug.Assert(writer.namespaceScopes.Peek().AllocatingNodeType == XamlNodeType.StartObject || 1147writer.namespaceScopes.Peek().AllocatingNodeType == XamlNodeType.GetObject); 1149writer.namespaceScopes.Push(new Frame 1152Type = writer.namespaceScopes.Peek().Type, 1156XamlType containingType = writer.namespaceScopes.Peek().Type; 1162writer.namespaceScopes.Pop(); 1223Debug.Assert(writer.namespaceScopes.Count > 0); 1224if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartObject && 1225writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.GetObject) 1227writer.namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.StartObject }); 1234Frame frame = writer.namespaceScopes.Peek(); 1323var frameEnumerator = writer.namespaceScopes.GetEnumerator(); 1351Debug.Assert(writer.namespaceScopes.Count > 0); 1352if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartObject && 1353writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.GetObject) 1355writer.namespaceScopes.Push(new Frame { AllocatingNodeType = isObjectFromMember ? XamlNodeType.GetObject : XamlNodeType.StartObject }); 1358writer.namespaceScopes.Peek().Type = type; 1359writer.namespaceScopes.Peek().IsObjectFromMember = isObjectFromMember; 1365if (!writer.namespaceScopes.Peek().IsEmpty()) 1370Frame tempFrame = writer.namespaceScopes.Pop(); 1371Frame frame = writer.namespaceScopes.Peek(); 1372writer.namespaceScopes.Push(tempFrame); 1416Debug.Assert(writer.namespaceScopes.Count > 0); 1417Frame memberFrame = writer.namespaceScopes.Pop(); 1549Debug.Assert(writer.namespaceScopes.Count > 0); 1550Frame memberFrame = writer.namespaceScopes.Pop(); 1675writer.namespaceScopes.Peek().IsContent = true; 1682var property = writer.namespaceScopes.Peek().Member; 1685writer.namespaceScopes.Peek().IsContent = true; 1689writer.namespaceScopes.Peek().IsContent = false; 1698writer.namespaceScopes.Peek().IsContent = true; 1717writer.namespaceScopes.Peek().IsContent = true; 1728var property = writer.namespaceScopes.Peek().Member; 1731writer.namespaceScopes.Peek().IsContent = true; 1739writer.namespaceScopes.Peek().IsContent = false; 1747writer.namespaceScopes.Peek().IsContent = true; 1882Frame frame = writer.namespaceScopes.Peek();