4 overrides of CreateComment
Microsoft.Build (1)
ElementLocation\XmlDocumentWithLocation.cs (1)
277
public override XmlComment
CreateComment
(string data)
System.Configuration.ConfigurationManager (2)
System\Configuration\ConfigXmlDocument.cs (1)
113
public override XmlComment
CreateComment
(string data)
System\Configuration\ErrorInfoXmlDocument.cs (1)
106
public override XmlComment
CreateComment
(string data)
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\CanonicalXmlDocument.cs (1)
99
public override XmlComment
CreateComment
(string? data)
17 references to CreateComment
Microsoft.Build (8)
ElementLocation\XmlDocumentWithLocation.cs (1)
285
return base.
CreateComment
(interned);
Evaluation\Preprocessor.cs (7)
102
destinationDocument.AppendChild(destinationDocument.
CreateComment
("\r\n" + new String('=', 140) + "\r\n" + _project.FullPath.Replace("--", "__") + "\r\n" + new String('=', 140) + "\r\n"));
293
destination.AppendChild(destinationDocument.
CreateComment
(closedImportTag));
312
destination.AppendChild(destinationDocument.
CreateComment
(
321
destination.AppendChild(destinationDocument.
CreateComment
("\r\n" + new String('=', 140) + "\r\n </Import>\r\n" + new String('=', 140) + "\r\n"));
325
destination.AppendChild(destinationDocument.
CreateComment
("\r\n" + new String('=', 140) + "\r\n </Import>\r\n\r\n" + _filePaths.Peek()?.Replace("--", "__") + "\r\n" + new String('=', 140) + "\r\n"));
338
destination.AppendChild(destinationDocument.
CreateComment
(importGroupTag));
342
destination.AppendChild(destinationDocument.
CreateComment
("</" + XMakeElements.importGroup + ">"));
Microsoft.Build.Tasks.Core (2)
ManifestUtil\TrustInfo.cs (1)
291
XmlComment requestedPrivilegeComment = document.
CreateComment
(commentString);
ManifestUtil\XmlUtil.cs (1)
56
XmlComment childComment = document.
CreateComment
(((XmlComment)node).Data);
System.Data.Common (1)
System\Xml\XmlDataDocument.cs (1)
1067
XmlNodeType.Comment =>
CreateComment
(dp.Value),
System.Private.Xml (6)
System\Xml\Dom\DocumentXmlWriter.cs (1)
292
XmlNode node = _document.
CreateComment
(text);
System\Xml\Dom\XmlComment.cs (1)
38
return OwnerDocument.
CreateComment
(Data);
System\Xml\Dom\XmlDocument.cs (2)
986
newNode =
CreateComment
(node.Value);
1143
return
CreateComment
(string.Empty);
System\Xml\Dom\XmlLoader.cs (1)
214
node = _doc!.
CreateComment
(r.Value);
System\Xml\Schema\Parser.cs (1)
305
currentNode = _dummyDocument.
CreateComment
(_reader.Value);