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