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