7 types derived from XmlDocument
Microsoft.Build (1)
Microsoft.Web.XmlTransform (1)
System.Configuration.ConfigurationManager (2)
System.Data.Common (1)
System.Security.Cryptography.Xml (2)
191 instantiations of XmlDocument
aspire (8)
Aspire.Cli.Tests (3)
ILLink.Tasks (1)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.Build (3)
Microsoft.Build.Framework (1)
Microsoft.Build.Tasks.Core (24)
Microsoft.Build.Utilities.Core (2)
Microsoft.Extensions.Configuration.Xml (1)
Microsoft.Gen.MetadataExtractor (1)
Microsoft.Gen.Metrics (1)
Microsoft.Gen.MetricsReports (1)
Microsoft.Maui.Controls.SourceGen (1)
Microsoft.Maui.Resizetizer (1)
Microsoft.ML.NugetPackageVersionUpdater (1)
Microsoft.NET.Sdk.Publish.Tasks (4)
Microsoft.TestPlatform.CrossPlatEngine (2)
Microsoft.TestPlatform.Extensions.BlameDataCollector (2)
Microsoft.TestPlatform.Utilities (7)
Microsoft.VisualStudio.TestPlatform.Common (5)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
Microsoft.VisualStudio.TestPlatform.ObjectModel (10)
PresentationBuildTasks (3)
PresentationFramework (12)
ReachFramework (2)
System.Configuration.ConfigurationManager (7)
System.Data.Common (15)
System.Private.DataContractSerialization (5)
System.Private.Xml (7)
System.Security.Cryptography.Xml (29)
System.ServiceModel.Federation.Tests (2)
System.ServiceModel.Primitives (11)
System.Speech (2)
System.Windows.Forms (1)
System.Windows.Forms.Analyzers (1)
vstest.console (6)
vstest.console.arm64 (6)
632 references to XmlDocument
aspire (20)
Packaging\NuGetConfigMerger.cs (9)
33public static async Task CreateOrUpdateAsync(DirectoryInfo targetDirectory, PackageChannel channel, Func<FileInfo, XmlDocument?, XmlDocument, CancellationToken, Task<bool>>? confirmationCallback = null, CancellationToken cancellationToken = default)
60private static async Task CreateNewNuGetConfigAsync(DirectoryInfo targetDirectory, PackageChannel channel, Func<FileInfo, XmlDocument?, XmlDocument, CancellationToken, Task<bool>>? confirmationCallback, CancellationToken cancellationToken)
76var proposedDocument = new XmlDocument();
95private static async Task UpdateExistingNuGetConfigAsync(FileInfo nugetConfigFile, PackageChannel channel, Func<FileInfo, XmlDocument?, XmlDocument, CancellationToken, Task<bool>>? confirmationCallback, CancellationToken cancellationToken)
104XmlDocument? originalDocument = null;
127var proposedDocument = new XmlDocument();
Aspire.Cli.Tests (7)
ILLink.Tasks (2)
Microsoft.AspNetCore.DataProtection (3)
Microsoft.Build (22)
Microsoft.Build.Framework (1)
Microsoft.Build.Tasks.Core (54)
BootstrapperUtil\BootstrapperBuilder.cs (6)
39private XmlDocument _document;
539var resourceDoc = new XmlDocument();
797private XmlDocument LoadAndValidateXmlDocument(string filePath, bool validateFilePresent, string schemaPath, string schemaNamespace, XmlValidationResults results)
799XmlDocument xmlDocument = null;
889XmlDocument productDoc = LoadAndValidateXmlDocument(strBaseManifestFilename, false, strBaseManifestSchemaFileName, BOOTSTRAPPER_NAMESPACE, productValidationResults);
942XmlDocument langDoc = LoadAndValidateXmlDocument(strLangManifestFilename, false, strLangManifestSchemaFileName, BOOTSTRAPPER_NAMESPACE, packageValidationResults);
ManifestUtil\mansign2.cs (17)
254internal ManifestSignedXml2(XmlDocument document)
260internal ManifestSignedXml2(XmlDocument document, bool verify)
285public override XmlElement GetIdElement(XmlDocument document, string idValue)
306private XmlDocument _manifestDom = null;
318internal SignedCmiManifest2(XmlDocument manifestDom, bool useSha256)
351XmlDocument licenseDom = null;
400private static void InsertPublisherIdentity(XmlDocument manifestDom, X509Certificate2 signerCert)
446private static void RemoveExistingSignature(XmlDocument manifestDom)
494private static void ReplacePublicKeyToken(XmlDocument manifestDom, AsymmetricAlgorithm snKey, bool useSha256)
554private static byte[] ComputeHashFromManifest(XmlDocument manifestDom, bool useSha256)
559XmlDocument normalizedDom = new XmlDocument();
634private static XmlDocument CreateLicenseDom(CmiManifestSigner2 signer, XmlElement principal, byte[] hash)
636XmlDocument licenseDom = new XmlDocument { XmlResolver = null };
665private static void AuthenticodeSignLicenseDom(XmlDocument licenseDom, CmiManifestSigner2 signer, string timeStampUrl, bool useSha256, bool disallowMansignTimestampFallback)
846private static void TimestampSignedLicenseDom(XmlDocument licenseDom, string timeStampUrl, bool useSha256, bool disallowMansignTimestampFallback)
909private static void StrongNameSignManifestDom(XmlDocument manifestDom, XmlDocument licenseDom, CmiManifestSigner2 signer, bool useSha256)
Microsoft.Build.Utilities.Core (2)
Microsoft.Extensions.Configuration.Xml (5)
Microsoft.Gen.MetadataExtractor (1)
Microsoft.Gen.Metrics (1)
Microsoft.Gen.MetricsReports (1)
Microsoft.Maui.Controls.SourceGen (2)
Microsoft.Maui.Resizetizer (1)
Microsoft.ML.NugetPackageVersionUpdater (1)
Microsoft.NET.Sdk.Publish.Tasks (5)
Microsoft.TestPlatform.CrossPlatEngine (2)
Microsoft.TestPlatform.Extensions.BlameDataCollector (2)
Microsoft.TestPlatform.Utilities (23)
Microsoft.VisualStudio.TestPlatform.Common (18)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
Microsoft.VisualStudio.TestPlatform.ObjectModel (13)
Microsoft.Web.XmlTransform (15)
netstandard (1)
PresentationBuildTasks (10)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (9)
112XmlDocument xmlProjectDoc = null;
241XmlDocument xmlProjectDoc = null;
583private void RemoveEntityByName(XmlDocument xmlProjectDoc, string sItemName, string groupName)
681private void RemoveItemsByName(XmlDocument xmlProjectDoc, string sItemName)
689private void RemovePropertiesByName(XmlDocument xmlProjectDoc, string sPropertyName)
697private void AddNewItems(XmlDocument xmlProjectDoc, string sItemName, ITaskItem[] pItemList)
752private void AddNewProperties(XmlDocument xmlProjectDoc, List<(string PropertyName, string PropertyValue)> properties )
785private static void ReplaceImplicitImports(XmlDocument xmlProjectDoc)
868private static XmlNode CreateImportProjectSdkNode(XmlDocument xmlProjectDoc, string projectAttributeValue, SdkReference sdkReference)
PresentationFramework (46)
ReachFramework (4)
System.Configuration.ConfigurationManager (14)
System.Data.Common (32)
System\Data\xmlsaver.cs (12)
40private XmlDocument? _dc;
545internal void SchemaTree(XmlDocument xd, XmlWriter xmlWriter, DataSet? ds, DataTable? dt, bool writeHierarchy)
943internal XmlElement SchemaTree(XmlDocument xd, DataTable dt)
1016internal XmlElement FillDataSetElement(XmlDocument xd, DataSet? ds, DataTable? dt)
1112XmlDocument doc = new XmlDocument();
1142XmlDocument doc = new XmlDocument();
1154internal XmlElement HandleRelation(DataRelation rel, XmlDocument dc)
1241internal void HandleColumnType(DataColumn col, XmlDocument dc, XmlElement root, XmlElement schema)
1423internal XmlElement HandleColumn(DataColumn col, XmlDocument dc, XmlElement schema, bool fWriteOrdinal)
1600internal XmlElement HandleTable(DataTable table, XmlDocument dc, XmlElement schema)
1727internal XmlElement HandleTable(DataTable table, XmlDocument dc, XmlElement schema, bool genNested)
2264internal XmlDocument _doc;
System.DirectoryServices.Protocols (1)
System.Private.DataContractSerialization (9)
System.Private.Xml (109)
System\Xml\Dom\XmlName.cs (5)
17internal XmlDocument ownerDoc;
20public static XmlName Create(string prefix, string localName, string ns, int hashCode, XmlDocument ownerDoc, XmlName next, IXmlSchemaInfo? schemaInfo)
32internal XmlName(string prefix, string localName, string ns, int hashCode, XmlDocument ownerDoc, XmlName next)
75public XmlDocument OwnerDocument
202internal XmlNameEx(string prefix, string localName, string ns, int hashCode, XmlDocument ownerDoc, XmlName next, IXmlSchemaInfo schemaInfo) : base(prefix, localName, ns, hashCode, ownerDoc, next)
System.Security.Cryptography.Xml (134)
System.ServiceModel.Primitives (13)
System.Speech (4)
System.Windows.Forms (1)
System.Windows.Forms.Analyzers (1)
System.Xml (1)
System.Xml.ReaderWriter (1)
System.Xml.XmlDocument (1)
vstest.console (24)
Processors\EnableBlameArgumentProcessor.cs (5)
207var xmlDocument = new XmlDocument();
310private static void AddCollectDumpNode(Dictionary<string, string>? parameters, XmlDocument xmlDocument, XmlElement outernode)
321private static void AddCollectHangDumpNode(Dictionary<string, string> parameters, XmlDocument xmlDocument, XmlElement outernode)
332private static void AddMonitorPostMortemDebuggerNode(Dictionary<string, string> parameters, XmlDocument xmlDocument, XmlElement outernode)
340private static void AddNode(Dictionary<string, string>? parameters, XmlDocument xmlDocument, XmlElement outernode, string nodeName)
TestPlatformHelpers\TestRequestManager.cs (12)
710var document = new XmlDocument();
938XmlDocument document,
978XmlDocument document)
990XmlDocument document,
1003private bool UpdateDesignMode(XmlDocument document, RunConfiguration runConfiguration)
1016internal /* for testing purposes */ static bool AddOrUpdateBatchSize(XmlDocument document, RunConfiguration runConfiguration, bool isDiscovery)
1067XmlDocument document,
1111XmlDocument document,
1168private static void AddConsoleLogger(XmlDocument document, LoggerRunSettings loggerRunSettings)
1193XmlDocument document,
1228XmlDocument document,
1256internal static bool UpdateCollectCoverageSettings(XmlDocument xmlDocument, RunConfiguration _)
vstest.console.arm64 (24)
src\vstest\src\vstest.console\Processors\EnableBlameArgumentProcessor.cs (5)
207var xmlDocument = new XmlDocument();
310private static void AddCollectDumpNode(Dictionary<string, string>? parameters, XmlDocument xmlDocument, XmlElement outernode)
321private static void AddCollectHangDumpNode(Dictionary<string, string> parameters, XmlDocument xmlDocument, XmlElement outernode)
332private static void AddMonitorPostMortemDebuggerNode(Dictionary<string, string> parameters, XmlDocument xmlDocument, XmlElement outernode)
340private static void AddNode(Dictionary<string, string>? parameters, XmlDocument xmlDocument, XmlElement outernode, string nodeName)
src\vstest\src\vstest.console\TestPlatformHelpers\TestRequestManager.cs (12)
710var document = new XmlDocument();
938XmlDocument document,
978XmlDocument document)
990XmlDocument document,
1003private bool UpdateDesignMode(XmlDocument document, RunConfiguration runConfiguration)
1016internal /* for testing purposes */ static bool AddOrUpdateBatchSize(XmlDocument document, RunConfiguration runConfiguration, bool isDiscovery)
1067XmlDocument document,
1111XmlDocument document,
1168private static void AddConsoleLogger(XmlDocument document, LoggerRunSettings loggerRunSettings)
1193XmlDocument document,
1228XmlDocument document,
1256internal static bool UpdateCollectCoverageSettings(XmlDocument xmlDocument, RunConfiguration _)