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