10 writes to _currentContainer
System.Private.Xml.Linq (10)
System\Xml\Linq\XContainer.cs (10)
891
_currentContainer
= rootContainer;
896
_currentContainer
= rootContainer;
918
_currentContainer
= e;
924
_currentContainer
= _currentContainer.parent!;
974
_currentContainer
= e;
980
_currentContainer
= _currentContainer.parent!;
1045
_currentContainer
= e;
1069
_currentContainer
= _currentContainer.parent!;
1161
_currentContainer
= e;
1185
_currentContainer
= _currentContainer.parent!;
36 references to _currentContainer
System.Private.Xml.Linq (36)
System\Xml\Linq\XContainer.cs (36)
915
_currentContainer
.AddNodeSkipNotify(e);
922
_currentContainer
.content ??= string.Empty;
923
if (
_currentContainer
== rootContainer) return false;
924
_currentContainer =
_currentContainer
.parent!;
929
_currentContainer
.AddStringSkipNotify(r.Value);
932
_currentContainer
.AddNodeSkipNotify(new XCData(r.Value));
935
_currentContainer
.AddNodeSkipNotify(new XComment(r.Value));
938
_currentContainer
.AddNodeSkipNotify(new XProcessingInstruction(r.Name, r.Value));
941
_currentContainer
.AddNodeSkipNotify(new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), r.Value));
971
_currentContainer
.AddNodeSkipNotify(e);
978
_currentContainer
.content ??= string.Empty;
979
if (
_currentContainer
== rootContainer) return false;
980
_currentContainer =
_currentContainer
.parent!;
985
_currentContainer
.AddStringSkipNotify(await r.GetValueAsync().ConfigureAwait(false));
988
_currentContainer
.AddNodeSkipNotify(new XCData(await r.GetValueAsync().ConfigureAwait(false)));
991
_currentContainer
.AddNodeSkipNotify(new XComment(await r.GetValueAsync().ConfigureAwait(false)));
994
_currentContainer
.AddNodeSkipNotify(new XProcessingInstruction(r.Name, await r.GetValueAsync().ConfigureAwait(false)));
997
_currentContainer
.AddNodeSkipNotify(new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), await r.GetValueAsync().ConfigureAwait(false)));
1042
_currentContainer
.AddNodeSkipNotify(e);
1055
_currentContainer
.content ??= string.Empty;
1058
XElement? e =
_currentContainer
as XElement;
1064
if (
_currentContainer
== rootContainer) return false;
1065
if (_baseUri != null &&
_currentContainer
.HasBaseUri)
1067
_baseUri =
_currentContainer
.parent!.BaseUri;
1069
_currentContainer =
_currentContainer
.parent!;
1082
_currentContainer
.AddStringSkipNotify(r.Value);
1119
_currentContainer
.AddNodeSkipNotify(newNode);
1158
_currentContainer
.AddNodeSkipNotify(e);
1171
_currentContainer
.content ??= string.Empty;
1174
XElement? e =
_currentContainer
as XElement;
1180
if (
_currentContainer
== rootContainer) return false;
1181
if (_baseUri != null &&
_currentContainer
.HasBaseUri)
1183
_baseUri =
_currentContainer
.parent!.BaseUri;
1185
_currentContainer =
_currentContainer
.parent!;
1198
_currentContainer
.AddStringSkipNotify(await r.GetValueAsync().ConfigureAwait(false));
1235
_currentContainer
.AddNodeSkipNotify(newNode);