84 writes to Storage
System.Private.Xml (84)
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (84)
103
iterInfo.
Storage
= StorageDescriptor.Global(methGlobal, GetItemStorageType(iter), !iter.XmlType!.IsSingleton);
232
iterInfo.
Storage
= StorageDescriptor.Parameter(paramId, GetItemStorageType(iter), !iter.XmlType!.IsSingleton);
353
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(XPathItem), true);
418
_iterCurr.
Storage
= StorageDescriptor.Local(locNav, typeof(XPathNavigator), false);
451
_iterCurr.
Storage
= StorageDescriptor.None();
457
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(XPathItem), false);
474
_iterCurr.
Storage
= StorageDescriptor.None();
498
_iterCurr.
Storage
= StorageDescriptor.None();
504
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(bool), false);
527
_iterCurr.
Storage
= StorageDescriptor.None();
533
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(bool), false);
545
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(string), false);
555
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(int), false);
565
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(long), false);
575
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(double), false);
585
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(decimal), false);
595
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(XmlQualifiedName), false);
703
_iterCurr.
Storage
= StorageDescriptor.None();
709
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(bool), false);
793
_iterCurr.
Storage
= StorageDescriptor.None();
799
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(bool), false);
853
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(bool), false);
857
_iterCurr.
Storage
= StorageDescriptor.None();
901
_iterCurr.
Storage
= StorageDescriptor.None();
1056
_iterCurr.
Storage
= StorageDescriptor.None();
1111
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(int), false);
1152
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(XPathItem), false);
1185
_iterCurr.
Storage
= StorageDescriptor.Stack(itemStorageType, false);
1332
_iterCurr.
Storage
= StorageDescriptor.Current(locIter, methCurrent, typeof(XPathNavigator));
1422
_iterCurr.
Storage
= StorageDescriptor.Stack(GetItemStorageType(ndAgg), false);
1434
_iterCurr.
Storage
= StorageDescriptor.Stack(GetItemStorageType(ndNeg), false);
1485
_iterCurr.
Storage
= StorageDescriptor.Stack(GetItemStorageType(ndOp), false);
1496
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(int), false);
1573
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(string), false);
1649
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(XmlQualifiedName), false);
1833
_iterCurr.
Storage
= iterInfo.Storage;
2094
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(XPathNavigator), true);
2252
_iterCurr.
Storage
= StorageDescriptor.Local(locPos, typeof(int), false);
2316
_iterCurr.
Storage
= StorageDescriptor.Local(locCache, itemStorageType, true);
2536
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(XPathNavigator), true);
2575
_iterCurr.
Storage
= StorageDescriptor.Stack(GetItemStorageType(ndInvoke), !ndInvoke.XmlType!.IsSingleton);
2579
_iterCurr.
Storage
= StorageDescriptor.None();
2615
_iterCurr.
Storage
= StorageDescriptor.Local(locNav, typeof(XPathNavigator), false);
2635
_iterCurr.
Storage
= StorageDescriptor.Local(locNav, typeof(XPathNavigator), false);
2654
_iterCurr.
Storage
= StorageDescriptor.Local(locNav, typeof(XPathNavigator), false);
2669
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(XPathNavigator), false);
2818
_iterCurr.
Storage
= StorageDescriptor.None();
2855
_iterCurr.
Storage
= StorageDescriptor.None();
2875
_iterCurr.
Storage
= StorageDescriptor.None();
2897
_iterCurr.
Storage
= StorageDescriptor.None();
2975
_iterCurr.
Storage
= StorageDescriptor.None();
2995
_iterCurr.
Storage
= StorageDescriptor.None();
3031
_iterCurr.
Storage
= StorageDescriptor.None();
3063
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(XPathNavigator), false);
3115
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(XmlQualifiedName), false);
3121
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(string), false);
3127
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(string), false);
3133
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(string), false);
3426
_iterCurr.
Storage
= StorageDescriptor.None();
3428
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(bool), false);
3473
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(string), false);
3550
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(string), false);
3596
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(XPathItem), true);
3734
_iterCurr.
Storage
= StorageDescriptor.Stack(GetItemStorageType(ndInvoke), !ndInvoke.XmlType.IsSingleton);
3770
_iterCurr.
Storage
= StorageDescriptor.None();
3787
_iterCurr.
Storage
= StorageDescriptor.None();
3818
_iterCurr.
Storage
= StorageDescriptor.Stack(GetItemStorageType(typDst), !typDst.IsSingleton);
4003
_iterCurr.
Storage
= _iterNested!.Storage;
4082
_iterCurr.
Storage
= StorageDescriptor.Current(locIter, methCurrent, itemStorageType);
4326
_iterCurr.
Storage
= StorageDescriptor.None();
4341
_iterCurr.
Storage
= StorageDescriptor.None();
4366
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(bool), false);
4387
_iterCurr.
Storage
= StorageDescriptor.None();
4394
_iterCurr.
Storage
= StorageDescriptor.None();
4410
_iterCurr.
Storage
= StorageDescriptor.Stack(typeof(bool), false);
4453
_iterCurr.
Storage
= StorageDescriptor.None();
4715
_iterCurr.
Storage
= StorageDescriptor.None();
4740
_iterCurr.
Storage
= StorageDescriptor.None();
4750
_iterCurr.
Storage
= _iterNested!.Storage;
4778
_iterCurr.
Storage
= _iterNested!.Storage;
4830
_iterCurr.
Storage
= StorageDescriptor.None();
4852
_iterCurr.
Storage
= _iterNested!.Storage;
4897
_iterCurr.
Storage
= _iterCurr.ParentIterator!.Storage;
4916
_iterCurr.
Storage
= StorageDescriptor.Local(locCache, itemStorageType, true);
23 references to Storage
System.Private.Xml (23)
System\Xml\Xsl\IlGen\IteratorDescriptor.cs (1)
363
_storage = iterInfo.
Storage
;
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (22)
76
Debug.Assert(_iterCurr.
Storage
.Location == ItemLocation.None, "Root expression should have been pushed to the writer.");
126
methGlobal = XmlILAnnotation.Write(iter).CachedIteratorDescriptor!.
Storage
.GlobalLocation!;
1077
_helper.CallCacheCount(_iterNested!.
Storage
.ItemStorageType);
1833
_iterCurr.Storage = iterInfo.
Storage
;
1836
if (_iterCurr.
Storage
.Location == ItemLocation.Global)
2286
Debug.Assert(!_iterNested!.
Storage
.IsCached);
2523
Debug.Assert(_iterCurr.
Storage
.IsCached, "DodMerge pattern should only be matched when cached sequences are returned from loop");
3187
Debug.Assert(_iterCurr.
Storage
.ItemStorageType == typeof(XPathItem), "If !IsNode, then storage type should be Item");
3360
_helper.CallCacheCount(_iterNested!.
Storage
.ItemStorageType);
4003
_iterCurr.Storage = _iterNested!.
Storage
;
4694
Debug.Assert(_iterCurr.
Storage
.Location == ItemLocation.None ||
4695
_iterCurr.
Storage
.ItemStorageType == GetItemStorageType(nd) ||
4696
_iterCurr.
Storage
.ItemStorageType == typeof(XPathItem) ||
4698
$"QilNodeType {nd.NodeType} cannot be stored using type {_iterCurr.
Storage
.ItemStorageType}."
4705
if (_iterCurr.
Storage
.Location != ItemLocation.None)
4750
_iterCurr.Storage = _iterNested!.
Storage
;
4778
_iterCurr.Storage = _iterNested!.
Storage
;
4852
_iterCurr.Storage = _iterNested!.
Storage
;
4853
Debug.Assert(_iterCurr.
Storage
.IsCached, "Expression result should be cached. CachesResult() might have a bug in it.");
4856
if (_iterCurr.
Storage
.ItemStorageType == itemStorageType)
4861
if (_iterCurr.
Storage
.ItemStorageType == typeof(XPathNavigator) || itemStorageType == typeof(XPathNavigator))
4897
_iterCurr.Storage = _iterCurr.ParentIterator!.
Storage
;