5 writes to _doc
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (5)
29
_doc
= doc;
74
_doc
= doc;
598
_doc
= dtNode.OwnerDocument;
757
_doc
= parentNode.OwnerDocument;
881
_doc
= eref.OwnerDocument;
98 references to _doc
dotnet-svcutil-lib (98)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (98)
113
element =
_doc
.CreateElement(r.Prefix, r.LocalName, r.NamespaceURI);
133
parent.AppendChildForLoad(element,
_doc
);
143
element.XmlName =
_doc
.AddXmlName(element.Prefix, element.LocalName, element.NamespaceURI, schemaInfo);
161
element.XmlName =
_doc
.AddXmlName(element.Prefix, element.LocalName, element.NamespaceURI, schemaInfo);
184
node =
_doc
.CreateTextNode(r.Value);
188
node =
_doc
.CreateSignificantWhitespace(r.Value);
194
node =
_doc
.CreateWhitespace(r.Value);
207
node =
_doc
.CreateCDataSection(r.Value);
216
node =
_doc
.CreateProcessingInstruction(r.Name, r.Value);
220
node =
_doc
.CreateComment(r.Value);
234
parent.AppendChildForLoad(node,
_doc
);
264
XmlAttribute attr =
_doc
.CreateAttribute(r.Prefix, r.LocalName, r.NamespaceURI);
268
attr.XmlName =
_doc
.AddAttrXmlName(attr.Prefix, attr.LocalName, attr.NamespaceURI, schemaInfo);
276
node =
_doc
.CreateTextNode(r.Value);
279
node =
_doc
.CreateEntityReference(r.LocalName);
288
node.AppendChildForLoad(
_doc
.CreateTextNode(string.Empty),
_doc
);
296
attr.AppendChildForLoad(node,
_doc
);
307
XmlAttribute attr =
_doc
.CreateDefaultAttribute(r.Prefix, r.LocalName, r.NamespaceURI);
311
attr.XmlName =
_doc
.AddAttrXmlName(attr.Prefix, attr.LocalName, attr.NamespaceURI, schemaInfo);
333
node = direct ? new XmlText(r.Value,
_doc
) :
_doc
.CreateTextNode(r.Value);
338
node = direct ? new XmlEntityReference(_reader.LocalName,
_doc
) :
_doc
.CreateEntityReference(_reader.LocalName);
347
node.AppendChildForLoad(direct ? new XmlText(string.Empty) :
_doc
.CreateTextNode(string.Empty),
_doc
);
355
parent.AppendChildForLoad(node,
_doc
);
363
XmlEntityReference eref = direct ? new XmlEntityReference(_reader.Name,
_doc
) :
_doc
.CreateEntityReference(_reader.Name);
372
eref.AppendChildForLoad(node,
_doc
);
378
eref.AppendChildForLoad(
_doc
.CreateTextNode(string.Empty),
_doc
);
418
return
_doc
.CreateXmlDeclaration(version, encoding, standalone);
442
XmlDocumentType dtNode =
_doc
.CreateDocumentType(localName, publicId, systemId, internalSubset);
471
XmlElement element = new XmlElement(_reader.Prefix, _reader.LocalName, _reader.NamespaceURI,
_doc
);
487
parent.AppendChildForLoad(element,
_doc
);
518
node = new XmlSignificantWhitespace(_reader.Value,
_doc
);
524
node = new XmlWhitespace(_reader.Value,
_doc
);
533
node = new XmlText(_reader.Value,
_doc
);
537
node = new XmlCDataSection(_reader.Value,
_doc
);
541
node = new XmlProcessingInstruction(_reader.Name, _reader.Value,
_doc
);
545
node = new XmlComment(_reader.Value,
_doc
);
555
parent.AppendChildForLoad(node,
_doc
);
573
XmlUnspecifiedAttribute defattr = new XmlUnspecifiedAttribute(r.Prefix, r.LocalName, r.NamespaceURI,
_doc
);
580
attr = new XmlAttribute(r.Prefix, r.LocalName, r.NamespaceURI,
_doc
);
599
XmlParserContext pc = new XmlParserContext(null, new XmlNamespaceManager(
_doc
.NameTable), null, null, null, null,
_doc
.BaseURI, string.Empty, XmlSpace.None);
610
IDtdInfo dtdInfo = dtdParser.ParseFreeFloatingDtd(
_doc
.BaseURI, dtNode.Name, dtNode.PublicId, dtNode.SystemId, dtNode.InternalSubset, proxy);
626
_doc
.DtdSchemaInfo = schInfo;
633
dtNode.Notations.SetNamedItem(new XmlNotation(scNot.Name.Name, scNot.Pubid, scNot.SystemLiteral,
_doc
));
642
XmlEntity ent = new XmlEntity(scEnt.Name.Name, scEnt.Text, scEnt.Pubid, scEnt.Url, scEnt.NData.IsEmpty ? null : scEnt.NData.Name,
_doc
);
652
XmlEntity ent = new XmlEntity(scEnt.Name.Name, scEnt.Text, scEnt.Pubid, scEnt.Url, scEnt.NData.IsEmpty ? null : scEnt.NData.Name,
_doc
);
657
_doc
.Entities = dtNode.Entities;
676
_doc
.AddIdInfo(
677
_doc
.AddXmlName(elementDecl.Prefix, elementDecl.Name.Name, string.Empty, null),
678
_doc
.AddAttrXmlName(attdef.Prefix, attdef.Name.Name, string.Empty, null));
693
XmlDocumentType docType =
_doc
.DocumentType;
694
String baseURI =
_doc
.BaseURI;
697
XmlNameTable nt =
_doc
.NameTable;
702
while (node != null && node !=
_doc
)
709
if (attr.Prefix ==
_doc
.strXmlns && prefixes.Contains(attr.LocalName) == false)
715
else if (!bHasDefXmlnsAttr && attr.Prefix.Length == 0 && attr.LocalName ==
_doc
.strXmlns)
721
else if (spaceMode == XmlSpace.None && attr.Prefix ==
_doc
.strXml && attr.LocalName ==
_doc
.strSpace)
729
else if (lang == null && attr.Prefix ==
_doc
.strXml && attr.LocalName ==
_doc
.strLang)
758
Debug.Assert(
_doc
!= null);
760
_reader = CreateInnerXmlReader(innerxmltext, nt, pc,
_doc
);
764
bool bOrigLoading =
_doc
.IsLoading;
765
_doc
.IsLoading = true;
772
parentNode.AppendChildForLoad(node,
_doc
);
780
parentNode.AppendChildForLoad(node,
_doc
);
783
_doc
.IsLoading = bOrigLoading;
818
if (attr.Prefix ==
_doc
.strXmlns)
835
else if (attr.Prefix.Length == 0 && attr.LocalName ==
_doc
.strXmlns)
882
bool bOrigLoadingState =
_doc
.IsLoading;
883
_doc
.IsLoading = true;
887
eref.AppendChildForLoad(
_doc
.CreateTextNode("<"),
_doc
);
888
_doc
.IsLoading = bOrigLoadingState;
891
eref.AppendChildForLoad(
_doc
.CreateTextNode(">"),
_doc
);
892
_doc
.IsLoading = bOrigLoadingState;
895
eref.AppendChildForLoad(
_doc
.CreateTextNode("&"),
_doc
);
896
_doc
.IsLoading = bOrigLoadingState;
899
eref.AppendChildForLoad(
_doc
.CreateTextNode("'"),
_doc
);
900
_doc
.IsLoading = bOrigLoadingState;
903
eref.AppendChildForLoad(
_doc
.CreateTextNode("\""),
_doc
);
904
_doc
.IsLoading = bOrigLoadingState;
908
XmlNamedNodeMap entities =
_doc
.Entities;
918
if (!(
_doc
.ActualLoadingStatus))
920
eref.AppendChildForLoad(
_doc
.CreateTextNode(""),
_doc
);
921
_doc
.IsLoading = bOrigLoadingState;
925
_doc
.IsLoading = bOrigLoadingState;