1 write to namespaceScopes
System.Xaml (1)
System\Xaml\XamlXmlWriter.cs (1)
107namespaceScopes = new Stack<Frame>();
78 references to namespaceScopes
System.Xaml (78)
System\Xaml\XamlXmlWriter.cs (78)
108namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.StartObject }); 151Frame frame = namespaceScopes.Peek(); 343Debug.Assert(writer.namespaceScopes.Peek().AllocatingNodeType == XamlNodeType.StartMember); 344Stack<Frame>.Enumerator enumerator = writer.namespaceScopes.GetEnumerator(); 365namespaceScopes.Peek().AssignNamespacePrefix(ns, prefix); 387foreach (Frame frame in namespaceScopes) 434foreach (Frame frame in namespaceScopes) 493Frame objectFrame = namespaceScopes.Peek(); 497Frame temp = namespaceScopes.Pop(); 498objectFrame = namespaceScopes.Peek(); 499namespaceScopes.Push(temp); 519Frame frame = namespaceScopes.Peek(); 522Frame temp = namespaceScopes.Pop(); 523frame = namespaceScopes.Peek(); 525namespaceScopes.Push(temp); 803Debug.Assert(writer.namespaceScopes.Count > 1); 805Frame frame = writer.namespaceScopes.Peek(); 821Debug.Assert(writer.namespaceScopes.Count > 1); 823Frame frame = writer.namespaceScopes.Peek(); 895Frame frame = writer.namespaceScopes.Peek(); 942Debug.Assert(writer.namespaceScopes.Count == 1); 948writer.namespaceScopes.Peek().Type = type; 949writer.namespaceScopes.Peek().IsObjectFromMember = isObjectFromMember; 989Debug.Assert(writer.namespaceScopes.Count > 0); 991if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartMember) 993writer.namespaceScopes.Push(new Frame 996Type = writer.namespaceScopes.Peek().Type 1007if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartMember) 1009writer.namespaceScopes.Push(new Frame 1012Type = writer.namespaceScopes.Peek().Type, 1015writer.namespaceScopes.Peek().Member = property; 1017XamlType parentType = writer.namespaceScopes.Peek().Type; 1024XamlType containingType = writer.namespaceScopes.Peek().Type; 1027if (!writer.namespaceScopes.Peek().IsEmpty()) 1034if (!writer.namespaceScopes.Peek().IsEmpty()) 1055writer.namespaceScopes.Pop(); 1075Debug.Assert(writer.namespaceScopes.Count > 0); 1076Frame frame = writer.namespaceScopes.Pop(); 1088if (writer.namespaceScopes.Count > 0) 1121XamlType parentType = writer.namespaceScopes.Peek().Type; 1147Debug.Assert(writer.namespaceScopes.Count > 0); 1148Debug.Assert(writer.namespaceScopes.Peek().AllocatingNodeType == XamlNodeType.StartObject || 1149writer.namespaceScopes.Peek().AllocatingNodeType == XamlNodeType.GetObject); 1151writer.namespaceScopes.Push(new Frame 1154Type = writer.namespaceScopes.Peek().Type, 1158XamlType containingType = writer.namespaceScopes.Peek().Type; 1164writer.namespaceScopes.Pop(); 1225Debug.Assert(writer.namespaceScopes.Count > 0); 1226if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartObject && 1227writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.GetObject) 1229writer.namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.StartObject }); 1236Frame frame = writer.namespaceScopes.Peek(); 1325var frameEnumerator = writer.namespaceScopes.GetEnumerator(); 1353Debug.Assert(writer.namespaceScopes.Count > 0); 1354if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartObject && 1355writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.GetObject) 1357writer.namespaceScopes.Push(new Frame { AllocatingNodeType = isObjectFromMember ? XamlNodeType.GetObject : XamlNodeType.StartObject }); 1360writer.namespaceScopes.Peek().Type = type; 1361writer.namespaceScopes.Peek().IsObjectFromMember = isObjectFromMember; 1367if (!writer.namespaceScopes.Peek().IsEmpty()) 1372Frame tempFrame = writer.namespaceScopes.Pop(); 1373Frame frame = writer.namespaceScopes.Peek(); 1374writer.namespaceScopes.Push(tempFrame); 1418Debug.Assert(writer.namespaceScopes.Count > 0); 1419Frame memberFrame = writer.namespaceScopes.Pop(); 1551Debug.Assert(writer.namespaceScopes.Count > 0); 1552Frame memberFrame = writer.namespaceScopes.Pop(); 1677writer.namespaceScopes.Peek().IsContent = true; 1684var property = writer.namespaceScopes.Peek().Member; 1687writer.namespaceScopes.Peek().IsContent = true; 1691writer.namespaceScopes.Peek().IsContent = false; 1700writer.namespaceScopes.Peek().IsContent = true; 1719writer.namespaceScopes.Peek().IsContent = true; 1730var property = writer.namespaceScopes.Peek().Member; 1733writer.namespaceScopes.Peek().IsContent = true; 1741writer.namespaceScopes.Peek().IsContent = false; 1749writer.namespaceScopes.Peek().IsContent = true; 1884Frame frame = writer.namespaceScopes.Peek();