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
46 references to OuterXml
CSharpSyntaxGenerator (1)
SourceWriter.cs (1)
1887
string[] lines = element.
OuterXml
.Split(new string[] { "\r", "\n", "\r\n" }, StringSplitOptions.RemoveEmptyEntries);
Microsoft.Build (3)
Construction\ProjectElement.cs (1)
183
public string OuterElement => Link != null ? Link.OuterElement : XmlElement.
OuterXml
;
Evaluation\ProjectRootElementCache.cs (2)
214
string diskContent = document.
OuterXml
;
215
string cacheContent = projectRootElement.XmlDocument.
OuterXml
;
Microsoft.Build.Tasks.Core (5)
ManifestUtil\mansign2.cs (3)
563
using (TextReader stringReader = new StringReader(manifestDom.
OuterXml
))
739
licenseDom.
OuterXml
+ "</msrel:RelData>";
870
byte[] licenseXml = Encoding.UTF8.GetBytes(licenseDom.
OuterXml
);
ManifestUtil\TrustInfo.cs (1)
465
ReadTrustInfo(trustInfoElement.
OuterXml
);
ManifestUtil\Util.cs (1)
567
WriteLogFile(filename, element.
OuterXml
);
Microsoft.Build.Tasks.UnitTests (20)
AddToWin32Manifest_Tests.cs (4)
66
expectedDoc.
OuterXml
.ShouldBe(actualDoc.
OuterXml
);
133
NormalizeLineEndings(expectedDoc.
OuterXml
).ShouldBe(NormalizeLineEndings(actualDoc.
OuterXml
));
XmlPoke_Tests.cs (16)
60
nodes.ShouldNotBeNull($"There should be <variable /> elements with a Name attribute {Environment.NewLine}{xmlDocument.
OuterXml
}");
62
nodes.Count.ShouldBe(3, $"There should be 3 <variable /> elements with a Name attribute {Environment.NewLine}{xmlDocument.
OuterXml
}");
64
nodes.ShouldAllBe(i => i.Value.Equals("Mert"), $"All <variable /> elements should have Name=\"Mert\" {Environment.NewLine}{xmlDocument.
OuterXml
}");
77
nodes.ShouldNotBeNull($"There should be <variable /> elements with a Name attribute {Environment.NewLine}{xmlDocument.
OuterXml
}");
79
nodes.Count.ShouldBe(3, $"There should be 3 <variable /> elements with a Name attribute {Environment.NewLine}{xmlDocument.
OuterXml
}");
81
nodes.ShouldAllBe(i => i.Value.Equals(value), $"All <variable /> elements should have Name=\"{value}\" {Environment.NewLine}{xmlDocument.
OuterXml
}");
94
nodes.ShouldNotBeNull($"There should be <class /> elements with an AccessModifier attribute {Environment.NewLine}{xmlDocument.
OuterXml
}");
96
nodes.Count.ShouldBe(1, $"There should be 1 <class /> element with an AccessModifier attribute {Environment.NewLine}{xmlDocument.
OuterXml
}");
111
nodes.ShouldNotBeNull($"There should be <class /> elements {Environment.NewLine}{xmlDocument.
OuterXml
}");
113
nodes.Count.ShouldBe(1, $"There should be 1 <class /> element {Environment.NewLine}{xmlDocument.
OuterXml
}");
117
testNodes.ShouldNotBeNull($"There should be <class /> elements with one child Test element {Environment.NewLine}{xmlDocument.
OuterXml
}");
119
testNodes.Count.ShouldBe(1, $"There should be 1 <class /> element with one child Test element {Environment.NewLine}{xmlDocument.
OuterXml
}");
135
nodes.ShouldNotBeNull($"There should be <class /> element with an AccessModifier attribute {Environment.NewLine}{xmlDocument.
OuterXml
}");
137
nodes.Count.ShouldBe(1, $"There should be 1 <class /> element with an AccessModifier attribute {Environment.NewLine}{xmlDocument.
OuterXml
}");
306
nodes.ShouldNotBeNull($"There should be <variable/> elements {Environment.NewLine}{xmlDocument.
OuterXml
}");
308
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)
218
if (idElem == null || idElem.
OuterXml
== null)
222
inputStream = new MemoryStream(_encoding.GetBytes(idElem.
OuterXml
));
714
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)
199
using (TextReader stringReader = new StringReader(document.
OuterXml
))
219
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
)