46 instantiations of XmlDocument
dotnet-svcutil-lib (46)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (1)
1092return new XmlDocument();
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlImplementation.cs (1)
43return new XmlDocument(this);
FrameworkFork\Microsoft.Xml\Xml\schema\Parser.cs (1)
50_dummyDocument = new XmlDocument();
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (1)
569get { if (_document == null) _document = new XmlDocument(); return _document; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
93if (_document == null) _document = new XmlDocument();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (1)
1233XmlDocument d = new XmlDocument();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (2)
200_d = new XmlDocument(_r.NameTable); 910XmlDocument doc = new XmlDocument();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
543XmlDocument xmlDoc = new XmlDocument();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlSerializableServices.cs (1)
19XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElementPolicy.cs (1)
32s_document = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (1)
202XmlDocument document = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OneWayBindingElement.cs (1)
175XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\PrivacyNoticeBindingElement.cs (1)
87XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElement.cs (1)
347XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (1)
165XmlDocument document = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UseManagedPresentationBindingElement.cs (1)
44XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (1)
130XmlDocument document = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (1)
669XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataReference.cs (1)
23private static XmlDocument s_document = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSection.cs (1)
25private static XmlDocument s_xmlDocument = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SoapHelper.cs (1)
23s_xmlDocument = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
472s_xmlDocument = new XmlDocument(nameTable);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (1)
1366s_xmlDocument = new XmlDocument(nameTable);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
299XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (2)
88XmlDocument doc = new XmlDocument(); 156xmlDoc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\EncryptedKey.cs (1)
231XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
329XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (1)
21public static XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrust.cs (11)
690XmlDocument doc = new XmlDocument(); 739XmlDocument doc = new XmlDocument(); 758XmlDocument doc = new XmlDocument(); 787XmlDocument doc = new XmlDocument(); 804XmlDocument doc = new XmlDocument(); 830XmlDocument doc = new XmlDocument(); 848XmlDocument doc = new XmlDocument(); 861XmlDocument doc = new XmlDocument(); 884XmlDocument doc = new XmlDocument(); 897XmlDocument doc = new XmlDocument(); 938XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrustDec2005.cs (2)
73XmlDocument doc = new XmlDocument(); 164XmlDocument doc = new XmlDocument();
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (1)
717_parent = new XmlDocument();
Metadata\MetadataDocumentLoader.cs (2)
411var doc = new XmlNS.XmlDocument(); 420var doc = new XmlNS.XmlDocument();
156 references to XmlDocument
dotnet-svcutil-lib (156)
CodeDomFixup\CodeDomVisitors\NamespaceFixer.cs (1)
24var msxmlTypes = TypeLoader.LoadTypes(typeof(Microsoft.Xml.XmlDocument).GetTypeInfo().Assembly, Verbosity.Silent);
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (3)
48private XmlDocument _document; 63public DocumentSchemaValidator(XmlDocument ownerDocument, XmlSchemaSet schemas, ValidationEventHandler eventHandler) 286XmlElement docElem = ((XmlDocument)node).DocumentElement;
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXmlWriter.cs (2)
62private XmlDocument _document; // context document 71public DocumentXmlWriter(DocumentXmlWriterType type, XmlNode start, XmlDocument document)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (5)
19private XmlDocument _document; // owner document 24public DocumentXPathNavigator(XmlDocument document, XmlNode node) 1263XmlDocument ownerDocument; 1267ownerDocument = (XmlDocument)_source; 1827private static XmlNamespaceManager GetNamespaceManager(XmlNode node, XmlDocument document)
FrameworkFork\Microsoft.Xml\Xml\Dom\DomNameTable.cs (2)
19private XmlDocument _ownerDocument; 24public DomNameTable(XmlDocument document)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlAttribute.cs (8)
19internal XmlAttribute(XmlName name, XmlDocument doc) : base(doc) 26XmlDocument.CheckName(name.Prefix); 27XmlDocument.CheckName(name.LocalName); 39protected internal XmlAttribute(string prefix, string localName, string namespaceURI, XmlDocument doc) 55XmlDocument doc = OwnerDocument; 99public override XmlDocument OwnerDocument 141XmlDocument ownerDocument = OwnerDocument; 168internal override XmlNode AppendChildForLoad(XmlNode newChild, XmlDocument doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlAttributeCollection.cs (3)
151XmlDocument doc = node.OwnerDocument; 378XmlDocument doc = parent.OwnerDocument; 394XmlDocument doc = parent.OwnerDocument;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlCDATASection.cs (1)
16protected internal XmlCDataSection(string data, XmlDocument doc) : base(data, doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlCharacterData.cs (2)
19protected internal XmlCharacterData(string data, XmlDocument doc) : base(doc) 202Debug.Assert(XmlDocument.IsTextNode(node.NodeType) || (node.ParentNode != null && node.ParentNode.NodeType == XmlNodeType.EntityReference));
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlChildNodes.cs (1)
50return XmlDocument.EmptyEnumerator;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlComment.cs (1)
15protected internal XmlComment(string comment, XmlDocument doc) : base(comment, doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDeclaration.cs (1)
22protected internal XmlDeclaration(string version, string encoding, string standalone, XmlDocument doc) : base(doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (4)
269XmlDocument clone = Implementation.CreateDocument(); 343public override XmlDocument OwnerDocument 1437XmlDocument parentDocument = nodeToValidate.Document; 1721internal override XmlNode AppendChildForLoad(XmlNode newChild, XmlDocument doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocumentFragment.cs (4)
53protected internal XmlDocumentFragment(XmlDocument ownerDocument) : base() 85public override XmlDocument OwnerDocument 89return (XmlDocument)parentNode; 114XmlDocument doc = OwnerDocument;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocumentType.cs (1)
27protected internal XmlDocumentType(string name, string publicId, string systemId, string internalSubset, XmlDocument doc) : base(doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElement.cs (7)
23internal XmlElement(XmlName name, bool empty, XmlDocument doc) : base(doc) 29XmlDocument.CheckName(name.Prefix); 30XmlDocument.CheckName(name.LocalName); 41protected internal XmlElement(string prefix, string localName, string namespaceURI, XmlDocument doc) 56XmlDocument doc = OwnerDocument; 120public override XmlDocument OwnerDocument 134internal override XmlNode AppendChildForLoad(XmlNode newChild, XmlDocument doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElementList.cs (2)
352private XmlDocument _doc; 355internal XmlElementListListener(XmlDocument doc, XmlElementList elemList)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlEntity.cs (1)
23internal XmlEntity(String name, String strdata, string publicId, string systemId, String notationName, XmlDocument doc) : base(doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlEntityReference.cs (1)
39protected internal XmlEntityReference(string name, XmlDocument doc) : base(doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlImplementation.cs (1)
41public virtual XmlDocument CreateDocument()
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLinkedNode.cs (1)
19internal XmlLinkedNode(XmlDocument doc) : base(doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (6)
18private XmlDocument _doc; 27internal void Load(XmlDocument doc, XmlReader reader, bool preserveWhitespace) 59private void LoadDocSequence(XmlDocument parentDoc) 72internal XmlNode ReadCurrentNode(XmlDocument doc, XmlReader reader) 588XmlDocument doc = dtNode.OwnerDocument; 932private XmlReader CreateInnerXmlReader(String xmlFragment, XmlNodeType nt, XmlParserContext context, XmlDocument doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlName.cs (5)
20internal XmlDocument ownerDoc; 23public static XmlName Create(string prefix, string localName, string ns, int hashCode, XmlDocument ownerDoc, XmlName next, IXmlSchemaInfo schemaInfo) 35internal XmlName(string prefix, string localName, string ns, int hashCode, XmlDocument ownerDoc, XmlName next) 78public XmlDocument OwnerDocument 216internal XmlNameEx(string prefix, string localName, string ns, int hashCode, XmlDocument ownerDoc, XmlName next, IXmlSchemaInfo schemaInfo) : base(prefix, localName, ns, hashCode, ownerDoc, next)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNamedNodeMap.cs (1)
163internal virtual XmlNode AddNodeForLoad(XmlNode node, XmlDocument doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (1)
186return XmlDocument.EmptyEnumerator;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNode.cs (22)
27internal XmlNode(XmlDocument doc) 36XmlDocument thisAsDoc = this as XmlDocument; 41XmlDocument doc = OwnerDocument; 168public virtual XmlDocument OwnerDocument 174return (XmlDocument)parentNode; 250XmlDocument childDoc = newChild.OwnerDocument; 251XmlDocument thisDoc = OwnerDocument; 364XmlDocument childDoc = newChild.OwnerDocument; 365XmlDocument thisDoc = OwnerDocument; 568XmlDocument thisDoc = OwnerDocument; 571thisDoc = this as XmlDocument; 582XmlDocument childDoc = newChild.OwnerDocument; 646internal virtual XmlNode AppendChildForLoad(XmlNode newChild, XmlDocument doc) 708internal virtual void CopyChildren(XmlDocument doc, XmlNode container, bool deep) 836XmlDocument doc = OwnerDocument; 996return XmlDocument.NotKnownSchemaInfo; 1043internal XmlDocument Document 1048return (XmlDocument)this; 1064XmlDocument doc = Document; 1151XmlDocument doc = Document; 1294XmlDocument doc = OwnerDocument;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeReader.cs (3)
26private XmlDocument _doc; 91_doc = (XmlDocument)_curNode; 1123public XmlDocument Document
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNotation.cs (1)
17internal XmlNotation(String name, String publicId, String systemId, XmlDocument doc) : base(doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlProcessingInstruction.cs (1)
20protected internal XmlProcessingInstruction(string target, string data, XmlDocument doc) : base(doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlSignificantWhitespace.cs (1)
15protected internal XmlSignificantWhitespace(string strData, XmlDocument doc) : base(strData, doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlText.cs (1)
19protected internal XmlText(string strData, XmlDocument doc) : base(strData, doc)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlUnspecifiedAttribute.cs (2)
14protected internal XmlUnspecifiedAttribute(string prefix, string localName, string namespaceURI, XmlDocument doc) 28XmlDocument doc = OwnerDocument;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlWhitespace.cs (1)
15protected internal XmlWhitespace(string strData, XmlDocument doc) : base(strData, doc)
FrameworkFork\Microsoft.Xml\Xml\schema\Parser.cs (1)
33private XmlDocument _dummyDocument;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (2)
68private XmlDocument _document; 567internal XmlDocument Document
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (2)
22private XmlDocument _document; 89internal XmlDocument Document
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (1)
1233XmlDocument d = new XmlDocument();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (4)
29private XmlDocument _d; 194protected XmlDocument Document 905protected XmlDocument ReadXmlDocument(bool wrapped) 910XmlDocument doc = new XmlDocument();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (2)
780if (node is XmlDocument) 782node = ((XmlDocument)node).DocumentElement;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
543XmlDocument xmlDoc = new XmlDocument();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlSerializableServices.cs (1)
19XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElementPolicy.cs (2)
24private static XmlDocument s_document; 26private static XmlDocument Document
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (1)
202XmlDocument document = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OneWayBindingElement.cs (1)
175XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\PrivacyNoticeBindingElement.cs (1)
87XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElement.cs (2)
336private static XmlElement CreatePolicyElement(PolicyVersion policyVersion, XmlDocument doc) 347XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (1)
165XmlDocument document = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransactionFlowBindingElement.cs (1)
283private XmlElement GetAssertion(XmlDocument doc, TransactionFlowOption option, string prefix, string name, string ns, string policyNs)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UseManagedPresentationBindingElement.cs (1)
44XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (1)
130XmlDocument document = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (1)
669XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataReference.cs (1)
23private static XmlDocument s_document = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSection.cs (1)
25private static XmlDocument s_xmlDocument = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SoapHelper.cs (2)
16private static XmlDocument s_xmlDocument; 18private static XmlDocument Document
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (2)
21private static XmlDocument s_xmlDocument; 455private static XmlDocument XmlDoc
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (2)
1313private static XmlDocument s_xmlDocument; 1354private static XmlDocument XmlDoc
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
299XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (3)
88XmlDocument doc = new XmlDocument(); 152XmlDocument xmlDoc = null; 244private static void AddUnknownHeader(MessageHeaderDescription unknownHeaderDescription, ArrayList unknownHeaders, XmlDocument xmlDoc, XmlDictionaryWriter bufferWriter, MessageHeaderInfo header, XmlDictionaryReader headerReader)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\EncryptedKey.cs (1)
231XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
329XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (1)
21public static XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrust.cs (11)
690XmlDocument doc = new XmlDocument(); 739XmlDocument doc = new XmlDocument(); 758XmlDocument doc = new XmlDocument(); 787XmlDocument doc = new XmlDocument(); 804XmlDocument doc = new XmlDocument(); 830XmlDocument doc = new XmlDocument(); 848XmlDocument doc = new XmlDocument(); 861XmlDocument doc = new XmlDocument(); 884XmlDocument doc = new XmlDocument(); 897XmlDocument doc = new XmlDocument(); 938XmlDocument doc = new XmlDocument();
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrustDec2005.cs (2)
73XmlDocument doc = new XmlDocument(); 164XmlDocument doc = new XmlDocument();
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (3)
550XmlDocument d = documentation.OwnerDocument; 627private XmlDocument _parent; 712internal XmlDocument Parent
Metadata\MetadataDocumentLoader.cs (2)
411var doc = new XmlNS.XmlDocument(); 420var doc = new XmlNS.XmlDocument();