4 overrides of CreateComment
Microsoft.Build (1)
ElementLocation\XmlDocumentWithLocation.cs (1)
279public override XmlComment CreateComment(string data)
System.Configuration.ConfigurationManager (2)
System\Configuration\ConfigXmlDocument.cs (1)
113public override XmlComment CreateComment(string data)
System\Configuration\ErrorInfoXmlDocument.cs (1)
106public override XmlComment CreateComment(string data)
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\CanonicalXmlDocument.cs (1)
99public override XmlComment CreateComment(string? data)
18 references to CreateComment
Microsoft.Build (8)
ElementLocation\XmlDocumentWithLocation.cs (1)
287return base.CreateComment(interned);
Evaluation\Preprocessor.cs (7)
105destinationDocument.AppendChild(destinationDocument.CreateComment($"\r\n{Equals140}\r\n{_project.FullPath.Replace("--", "__")}\r\n{Equals140}\r\n")); 296destination.AppendChild(destinationDocument.CreateComment(closedImportTag)); 315destination.AppendChild(destinationDocument.CreateComment( 324destination.AppendChild(destinationDocument.CreateComment($"\r\n{Equals140}\r\n </Import>\r\n{Equals140}\r\n")); 328destination.AppendChild(destinationDocument.CreateComment($"\r\n{Equals140}\r\n </Import>\r\n\r\n{_filePaths.Peek()?.Replace("--", "__")}\r\n{Equals140}\r\n")); 341destination.AppendChild(destinationDocument.CreateComment(importGroupTag)); 345destination.AppendChild(destinationDocument.CreateComment($"</{XMakeElements.importGroup}>"));
Microsoft.Build.Tasks.Core (2)
ManifestUtil\TrustInfo.cs (1)
290XmlComment requestedPrivilegeComment = document.CreateComment(commentString);
ManifestUtil\XmlUtil.cs (1)
55XmlComment childComment = document.CreateComment(((XmlComment)node).Data);
Microsoft.Web.XmlTransform (1)
XmlTransforms.cs (1)
197XmlComment comment = document.CreateComment(outerXml);
System.Data.Common (1)
System\Xml\XmlDataDocument.cs (1)
1067XmlNodeType.Comment => CreateComment(dp.Value),
System.Private.Xml (6)
System\Xml\Dom\DocumentXmlWriter.cs (1)
292XmlNode node = _document.CreateComment(text);
System\Xml\Dom\XmlComment.cs (1)
38return OwnerDocument.CreateComment(Data);
System\Xml\Dom\XmlDocument.cs (2)
982newNode = CreateComment(node.Value); 1139return CreateComment(string.Empty);
System\Xml\Dom\XmlLoader.cs (1)
212node = _doc!.CreateComment(r.Value);
System\Xml\Schema\Parser.cs (1)
305currentNode = _dummyDocument.CreateComment(_reader.Value);