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