2 overrides of OuterXml
System.Private.Xml (2)
System\Xml\Dom\XmlEntity.cs (1)
128public override string OuterXml
System\Xml\Dom\XmlNotation.cs (1)
74public override string OuterXml
49 references to OuterXml
Microsoft.Build (3)
Construction\ProjectElement.cs (1)
183public string OuterElement => Link != null ? Link.OuterElement : XmlElement.OuterXml;
Evaluation\ProjectRootElementCache.cs (2)
216string diskContent = document.OuterXml; 217string cacheContent = projectRootElement.XmlDocument.OuterXml;
Microsoft.Build.Conversion.Core (1)
ProjectFileConverter.cs (1)
3946visualStudioProjectExtensions += userPropertiesElement.OuterXml;
Microsoft.Build.Engine.UnitTests (3)
Evaluation\ProjectStringCache_Tests.cs (3)
117string outerXml1 = document1.OuterXml; 118string outerXml2 = document2.OuterXml; 149Assert.NotEqual(outerXml1, document2.OuterXml);
Microsoft.Build.Tasks.Core (5)
ManifestUtil\mansign2.cs (3)
616using (TextReader stringReader = new StringReader(manifestDom.OuterXml)) 795licenseDom.OuterXml + "</msrel:RelData>"; 921byte[] licenseXml = Encoding.UTF8.GetBytes(licenseDom.OuterXml);
ManifestUtil\TrustInfo.cs (1)
466ReadTrustInfo(trustInfoElement.OuterXml);
ManifestUtil\Util.cs (1)
583WriteLogFile(filename, element.OuterXml);
Microsoft.Build.Tasks.UnitTests (20)
AddToWin32Manifest_Tests.cs (4)
67expectedDoc.OuterXml.ShouldBe(actualDoc.OuterXml); 134NormalizeLineEndings(expectedDoc.OuterXml).ShouldBe(NormalizeLineEndings(actualDoc.OuterXml));
XmlPoke_Tests.cs (16)
59nodes.ShouldNotBeNull($"There should be <variable /> elements with a Name attribute {Environment.NewLine}{xmlDocument.OuterXml}"); 61nodes.Count.ShouldBe(3, $"There should be 3 <variable /> elements with a Name attribute {Environment.NewLine}{xmlDocument.OuterXml}"); 63nodes.ShouldAllBe(i => i.Value.Equals("Mert"), $"All <variable /> elements should have Name=\"Mert\" {Environment.NewLine}{xmlDocument.OuterXml}"); 76nodes.ShouldNotBeNull($"There should be <variable /> elements with a Name attribute {Environment.NewLine}{xmlDocument.OuterXml}"); 78nodes.Count.ShouldBe(3, $"There should be 3 <variable /> elements with a Name attribute {Environment.NewLine}{xmlDocument.OuterXml}"); 80nodes.ShouldAllBe(i => i.Value.Equals(value), $"All <variable /> elements should have Name=\"{value}\" {Environment.NewLine}{xmlDocument.OuterXml}"); 93nodes.ShouldNotBeNull($"There should be <class /> elements with an AccessModifier attribute {Environment.NewLine}{xmlDocument.OuterXml}"); 95nodes.Count.ShouldBe(1, $"There should be 1 <class /> element with an AccessModifier attribute {Environment.NewLine}{xmlDocument.OuterXml}"); 110nodes.ShouldNotBeNull($"There should be <class /> elements {Environment.NewLine}{xmlDocument.OuterXml}"); 112nodes.Count.ShouldBe(1, $"There should be 1 <class /> element {Environment.NewLine}{xmlDocument.OuterXml}"); 116testNodes.ShouldNotBeNull($"There should be <class /> elements with one child Test element {Environment.NewLine}{xmlDocument.OuterXml}"); 118testNodes.Count.ShouldBe(1, $"There should be 1 <class /> element with one child Test element {Environment.NewLine}{xmlDocument.OuterXml}"); 134nodes.ShouldNotBeNull($"There should be <class /> element with an AccessModifier attribute {Environment.NewLine}{xmlDocument.OuterXml}"); 136nodes.Count.ShouldBe(1, $"There should be 1 <class /> element with an AccessModifier attribute {Environment.NewLine}{xmlDocument.OuterXml}"); 304nodes.ShouldNotBeNull($"There should be <variable/> elements {Environment.NewLine}{xmlDocument.OuterXml}"); 306nodes.Count.ShouldBe(3, $"There should be 3 <variable/> elements {Environment.NewLine}{xmlDocument.OuterXml}");
System.Configuration.ConfigurationManager (3)
System\Configuration\DpapiProtectedConfigurationProvider.cs (1)
47string text = node.OuterXml;
System\Configuration\ProtectedConfigurationSection.cs (2)
91return resultNode.OuterXml; 109return encNode.OuterXml;
System.Private.Xml (2)
System\Xml\Serialization\SchemaObjectWriter.cs (2)
530WriteAttribute("xml", "", ai.OuterXml); 549WriteAttribute("xml", "", ai.OuterXml);
System.Security.Cryptography.Xml (10)
System\Security\Cryptography\Xml\EncryptedXml.cs (3)
222if (idElem == null || idElem.OuterXml == null) 226inputStream = new MemoryStream(_encoding.GetBytes(idElem.OuterXml)); 757byte[] plainText = (content ? _encoding.GetBytes(inputElement.InnerXml) : _encoding.GetBytes(inputElement.OuterXml));
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (2)
372context != null ? context.OuterXml : NullString); 402context != null ? context.OuterXml : NullString);
System\Security\Cryptography\Xml\Utils.cs (2)
208using (TextReader stringReader = new StringReader(document.OuterXml)) 231using (TextReader stringReader = new StringReader(elem.OuterXml))
System\Security\Cryptography\Xml\XmlDsigBase64Transform.cs (1)
98sb.Append(result.OuterXml);
System\Security\Cryptography\Xml\XmlDsigXsltTransform.cs (1)
74_xslFragment = firstDataElement.OuterXml.Trim(null);
System\Security\Cryptography\Xml\XmlLicenseTransform.cs (1)
182_license.InnerXml = currentLicenseContext.OuterXml;
System.ServiceModel.Primitives (2)
System\IdentityModel\Tokens\GenericXmlSecurityKeyIdentifierClause.cs (2)
43if (originalNode.OuterXml == newNode.OuterXml)