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
45 references to OuterXml
CSharpSyntaxGenerator (1)
SourceWriter.cs (1)
1814
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)
216
string diskContent = document.
OuterXml
;
217
string cacheContent = projectRootElement.XmlDocument.
OuterXml
;
Microsoft.Build.Tasks.Core (6)
ManifestUtil\mansign2.cs (3)
617
using (TextReader stringReader = new StringReader(manifestDom.
OuterXml
))
797
licenseDom.
OuterXml
+ "</msrel:RelData>";
923
byte[] licenseXml = Encoding.UTF8.GetBytes(licenseDom.
OuterXml
);
ManifestUtil\SecurityUtil.cs (1)
489
Debug.Fail(String.Format(CultureInfo.CurrentCulture, "PermissionSet.FromXml failed: {0}\r\n\r\n{1}", ex.Message, element.
OuterXml
));
ManifestUtil\TrustInfo.cs (1)
466
ReadTrustInfo(trustInfoElement.
OuterXml
);
ManifestUtil\Util.cs (1)
584
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
;