147 references to XmlDocument
ILLink.Tasks (1)
CreateRuntimeRootDescriptorFile.cs (1)
303 XmlDocument doc = new XmlDocument ();
Interop.FunctionalTests (1)
H2SpecCommands.cs (1)
270var xml = new XmlDocument();
Microsoft.AspNetCore.AzureAppServices.SiteExtension.Tests (1)
TransformTest.cs (1)
87var doc = new XmlDocument();
Microsoft.AspNetCore.DataProtection (2)
XmlEncryption\CertificateXmlEncryptor.cs (1)
88var xmlDocument = new XmlDocument();
XmlEncryption\EncryptedXmlDecryptor.cs (1)
68var xmlDocument = new XmlDocument();
Microsoft.Build (4)
Construction\Solution\ProjectInSolution.cs (1)
303var projectDocument = new XmlDocument();
Construction\Solution\SolutionFile.cs (1)
1120var etpProjectDocument = new XmlDocument();
Evaluation\ProjectRootElementCache.cs (1)
208XmlDocument document = new XmlDocument();
SolutionConfiguration.cs (1)
116doc = new XmlDocument();
Microsoft.Build.BuildCheck.UnitTests (1)
EndToEndTests.cs (1)
902var doc = new XmlDocument();
Microsoft.Build.Engine.UnitTests (6)
BackEnd\BatchingEngine_Tests.cs (1)
67XmlAttribute tempXmlAttribute = (new XmlDocument()).CreateAttribute("attrib");
Evaluation\Expander_Tests.cs (5)
1507XmlAttribute xmlattribute = (new XmlDocument()).CreateAttribute("dummy"); 1533XmlAttribute xmlattribute = (new XmlDocument()).CreateAttribute("dummy"); 1555XmlAttribute xmlattribute = (new XmlDocument()).CreateAttribute("dummy"); 1604XmlAttribute xmlattribute = (new XmlDocument()).CreateAttribute("dummy"); 1636XmlAttribute xmlattribute = (new XmlDocument()).CreateAttribute("dummy");
Microsoft.Build.Tasks.Core (24)
AddToWin32Manifest.cs (1)
158XmlDocument document = new XmlDocument();
BootstrapperUtil\BootstrapperBuilder.cs (2)
539var resourceDoc = new XmlDocument(); 590_document = new XmlDocument();
GenerateApplicationManifest.cs (1)
454var document = new XmlDocument();
ManifestUtil\ApplicationManifest.cs (1)
529var document = new XmlDocument();
ManifestUtil\AssemblyIdentity.cs (2)
193var document = new XmlDocument(); 213var document = new XmlDocument();
ManifestUtil\DeployManifest.cs (1)
215var doc = new XmlDocument();
ManifestUtil\Manifest.cs (1)
378var document = new XmlDocument();
ManifestUtil\ManifestReader.cs (1)
61var document = new XmlDocument();
ManifestUtil\mansign2.cs (2)
613XmlDocument normalizedDom = new XmlDocument(); 694XmlDocument licenseDom = new XmlDocument();
ManifestUtil\SecurityUtil.cs (1)
696var doc = new XmlDocument { PreserveWhitespace = true };
ManifestUtil\TrustInfo.cs (6)
180_inputTrustInfoDocument = new XmlDocument(); 454var document = new XmlDocument(); 493_inputTrustInfoDocument = new XmlDocument(); 561var outputDocument = new XmlDocument(); 570var privilegeDocument = new XmlDocument(); 704var document = new XmlDocument();
SolutionConfiguration.cs (1)
116doc = new XmlDocument();
XmlPeek.cs (1)
175var doc = new XmlDocument();
XmlPoke.cs (2)
62XmlDocument xmlDoc = new XmlDocument(); 161var doc = new XmlDocument();
XslTransformation.cs (1)
213XmlDocument doc = new XmlDocument();
Microsoft.Build.Tasks.UnitTests (6)
AddToWin32Manifest_Tests.cs (4)
61XmlDocument expectedDoc = new XmlDocument(); 62XmlDocument actualDoc = new XmlDocument(); 125XmlDocument expectedDoc = new XmlDocument(); 126XmlDocument actualDoc = new XmlDocument();
XmlPoke_Tests.cs (2)
211XmlDocument xmlDocument = new XmlDocument(); 365XmlDocument xmlDocument = new XmlDocument();
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
617XmlDocument xmldoc = new XmlDocument();
Microsoft.Build.Utilities.Core (2)
PlatformManifest.cs (1)
98XmlDocument doc = new XmlDocument();
SDKManifest.cs (1)
317XmlDocument doc = new XmlDocument();
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\CSharpPDBTestBase.cs (1)
48var doc = new XmlDocument() { XmlResolver = null };
Microsoft.DotNet.Open.Api.Tools.Tests (3)
OpenApiAddFileTests.cs (2)
93var projXml = new XmlDocument(); 118var projXml = new XmlDocument();
OpenApiAddProjectTests.cs (1)
75var projXml = new XmlDocument();
Microsoft.DotNet.SignCheckLibrary (1)
Verification\XmlVerifier.cs (1)
40var xmlDoc = new XmlDocument()
Microsoft.Extensions.Configuration.Xml (1)
XmlDocumentDecryptor.cs (1)
71var document = new XmlDocument();
Microsoft.Gen.Metrics (1)
Parser.cs (1)
346var xmlDoc = new XmlDocument();
Microsoft.Gen.MetricsReports (1)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
346var xmlDoc = new XmlDocument();
Microsoft.Maui.Controls.SourceGen (1)
CodeBehindGenerator.cs (1)
133 var xmlDoc = new XmlDocument();
Microsoft.Maui.Resizetizer (1)
TizenResourceXmlGenerator.cs (1)
33 XmlDocument doc = new XmlDocument();
Microsoft.ML.NugetPackageVersionUpdater (1)
Program.cs (1)
59var csprojDoc = new XmlDocument();
Microsoft.Web.Xdt.Extensions.Tests (4)
InsertOrAppendAttributeTests.cs (4)
17var doc = new XmlDocument(); 41var doc = new XmlDocument(); 65var doc = new XmlDocument(); 89var doc = new XmlDocument();
PresentationBuildTasks (3)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (2)
119xmlProjectDoc = new XmlDocument( ); 248xmlProjectDoc = new XmlDocument( );
Microsoft\Build\Tasks\Windows\UpdateManifestForBrowserApplication.cs (1)
88manifestDocument = new XmlDocument();
PresentationFramework (12)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
478XmlDocument xmlDoc = new XmlDocument(); 488XmlDocument xmlDoc = new XmlDocument();
MS\Internal\Globalization\BamlTreeMap.cs (1)
362doc = new XmlDocument();
MS\Internal\Globalization\BamlTreeUpdater.cs (1)
428XmlDocument doc = new XmlDocument();
MS\Internal\IO\Packaging\XamlFilter.cs (1)
785XmlDocument fixedPageTree = new XmlDocument();
System\Windows\Annotations\Annotation.cs (1)
275doc = new XmlDocument();
System\Windows\Annotations\AnnotationHelper.cs (1)
1027XmlDocument doc = new XmlDocument();
System\Windows\Annotations\AnnotationResource.cs (1)
165XmlDocument doc = new XmlDocument();
System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
727_document = new XmlDocument();
System\Windows\Data\XmlDataProvider.cs (2)
472doc = new XmlDocument(); 558XmlDocument doc = new XmlDocument();
System\Windows\Documents\FixedTextBuilder.cs (1)
1384_dumpDoc = new XmlDocument();
ReachFramework (2)
PrintConfig\PrtTicket_Public.cs (2)
40_xmlDoc = new XmlDocument(); 71_xmlDoc = new XmlDocument();
System.Configuration.ConfigurationManager (7)
System\Configuration\DpapiProtectedConfigurationProvider.cs (2)
39XmlDocument xmlDocument = new XmlDocument(); 53XmlDocument xmlDocument = new XmlDocument();
System\Configuration\LocalFileSettingsProvider.cs (2)
438XmlDocument doc = new XmlDocument(); 517document = new XmlDocument();
System\Configuration\ProtectedConfigurationSection.cs (2)
88XmlDocument doc = new XmlDocument(); 106XmlDocument xmlDocument = new XmlDocument { PreserveWhitespace = true };
System\Configuration\SettingValueElement.cs (1)
11private static readonly XmlDocument _document = new XmlDocument();
System.Data.Common (15)
System\Data\DataSet.cs (6)
1589XmlDocument xdoc = new XmlDocument(); 1687XmlDocument xdoc = new XmlDocument(); // we may need this to infer the schema 1858XmlDocument xdoc = new XmlDocument(); // we may need this to infer the schema 2108XmlDocument xdoc = new XmlDocument(); // we may need this to infer the schema 2495XmlDocument xdoc = new XmlDocument(); 2623XmlDocument xdoc = new XmlDocument(); // we may need this to infer the schema
System\Data\DataTable.cs (4)
5776XmlDocument xdoc = new XmlDocument(); // we may need this to infer the schema 6014XmlDocument xdoc = new XmlDocument(); // we may need this to infer the schema 6287XmlDocument xdoc = new XmlDocument(); // we may need this to infer the schema 6346XmlDocument xdoc = new XmlDocument();
System\Data\ProviderBase\SchemaMapping.cs (1)
348System.Xml.XmlDocument document = new System.Xml.XmlDocument();
System\Data\xmlsaver.cs (4)
1112XmlDocument doc = new XmlDocument(); 1142XmlDocument doc = new XmlDocument(); 2279_doc = new XmlDocument(); 2292_doc = new XmlDocument();
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\SchemaExporter.cs (2)
37private XmlDocument XmlDoc => _xmlDoc ??= new XmlDocument(); 663providerXsdType.Annotation = GetSchemaAnnotation(ExportActualType(xmlName, new XmlDocument()));
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
32private XmlDocument Document => _xmlDocument ??= new XmlDocument(); 524XmlDocument xmlDoc = new XmlDocument();
System\Runtime\Serialization\XmlSerializableServices.cs (1)
16XmlDocument doc = new XmlDocument();
System.Private.Xml (5)
System\Xml\Dom\XmlDocument.cs (1)
1152return new XmlDocument();
System\Xml\Schema\Parser.cs (1)
46_dummyDocument = new XmlDocument();
System\Xml\Schema\XmlSchema.cs (1)
419internal XmlDocument Document => _document ??= new XmlDocument();
System\Xml\Serialization\XmlSchemaExporter.cs (1)
1190XmlDocument d = new XmlDocument();
System\Xml\Serialization\XmlSerializationReader.cs (1)
877XmlDocument doc = new XmlDocument();
System.Security.Cryptography.Xml (30)
System\Security\Cryptography\Xml\CanonicalXmlDocument.cs (1)
17public CanonicalXmlDocument(bool defaultNodeSetInclusionState, bool includeComments) : base()
System\Security\Cryptography\Xml\CipherData.cs (1)
72XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\CipherReference.cs (1)
47XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\DataObject.cs (1)
111XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
69XmlDocument xmlDocument = new XmlDocument();
System\Security\Cryptography\Xml\EncryptedData.cs (1)
75XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\EncryptedKey.cs (1)
150XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\EncryptedReference.cs (1)
83XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\EncryptedXml.cs (2)
81public EncryptedXml() : this(new XmlDocument()) { } 831XmlDocument importDocument = new XmlDocument();
System\Security\Cryptography\Xml\EncryptionMethod.cs (1)
61XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\EncryptionProperty.cs (1)
72XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\KeyInfo.cs (1)
36XmlDocument xmlDocument = new XmlDocument();
System\Security\Cryptography\Xml\KeyInfoName.cs (1)
39XmlDocument xmlDocument = new XmlDocument();
System\Security\Cryptography\Xml\KeyInfoNode.cs (1)
40XmlDocument xmlDocument = new XmlDocument();
System\Security\Cryptography\Xml\KeyInfoRetrievalMethod.cs (1)
48XmlDocument xmlDocument = new XmlDocument();
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (1)
216XmlDocument xmlDocument = new XmlDocument();
System\Security\Cryptography\Xml\Reference.cs (1)
162XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\RSAKeyValue.cs (1)
64XmlDocument xmlDocument = new XmlDocument();
System\Security\Cryptography\Xml\Signature.cs (1)
87XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\SignedInfo.cs (1)
159XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\Transform.cs (1)
118XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\TransformChain.cs (1)
84XmlDocument doc = new XmlDocument();
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (2)
124XmlDocument document = new XmlDocument(); 151XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\XmlDsigEnvelopedSignatureTransform.cs (1)
80XmlDocument doc = new XmlDocument();
System\Security\Cryptography\Xml\XmlDsigExcC14NTransform.cs (1)
98XmlDocument document = new XmlDocument();
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (2)
88XmlDocument document = new XmlDocument(); 138_document = new XmlDocument();
System\Security\Cryptography\Xml\XmlLicenseTransform.cs (1)
135_license = new XmlDocument();
System.ServiceModel.Federation.Tests (2)
WSTrustChannelSecurityTokenProviderTest.cs (2)
33var additionalElements= new Collection<XmlElement>() { new XmlDocument().CreateElement(eln1), new XmlDocument().CreateElement(eln2) };
System.Windows.Forms (1)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
49XmlDocument tableLayoutSettingsXml = new();
System.Windows.Forms.Analyzers (1)
System\Windows\Forms\Analyzers\AppManifestAnalyzer.cs (1)
45XmlDocument doc = new();