32 instantiations of XComment
CustomEncryptorSample (1)
CustomXmlEncryptor.cs (1)
27new XComment(" This key is not encrypted. "),
Microsoft.AspNetCore.DataProtection (10)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptor.cs (1)
47? (object)new XComment(" AES-GCM includes a 128-bit authentication tag, no extra validation algorithm required. ")
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptor.cs (1)
62new XComment(" Algorithms provided by Windows CNG, using CBC-mode encryption with HMAC validation "),
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptor.cs (1)
54new XComment(" Algorithms provided by Windows CNG, using Galois/Counter Mode encryption and validation "),
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptor.cs (1)
53new XComment(" Algorithms provided by specified SymmetricAlgorithm and KeyedHashAlgorithm "),
AuthenticatedEncryption\ConfigurationModel\SecretExtensions.cs (1)
38new XComment(" Warning: the key below is in an unencrypted form. "),
KeyManagement\XmlKeyManager.cs (1)
390new XComment(" All keys created before the revocation date are revoked. "),
XmlEncryption\DpapiNGXmlEncryptor.cs (2)
86new XComment(" This key is encrypted with Windows DPAPI-NG. "), 87new XComment(" Rule: " + protectionDescriptorRuleString + " "),
XmlEncryption\DpapiXmlEncryptor.cs (1)
83new XComment(" This key is encrypted with Windows DPAPI. "),
XmlEncryption\NullXmlEncryptor.cs (1)
57new XComment(" This key is not encrypted. "),
Microsoft.CodeAnalysis.CSharp (4)
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (4)
247XComment failureComment = new XComment(commentMessage); 289return new XNode[] { new XComment(commentMessage), includeElement.Copy(copyAttributeAnnotations: false) }; 370return new XNode[] { new XComment(commentMessage) }; 412return new XNode[] { new XComment(commentMessage) };
Microsoft.CodeAnalysis.VisualBasic (9)
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (9)
427Return New XNode() {New XComment(commentMessage), container} 454Return New XNode() {New XComment(commentMessage)} 475Return New XNode() {New XComment(commentMessage)} 484Return New XNode() {New XComment(commentMessage)} 490Return New XNode() {New XComment(commentMessage)} 504Return New XNode() {New XComment(commentMessage)} 515Return New XNode() {New XComment(commentMessage)} 535Return New XNode() {New XComment(commentMessage)} 539Return New XNode() {New XComment(commentMessage)}
System.Private.Xml.Linq (8)
System\Xml\Linq\XComment.cs (1)
119return new XComment(this);
System\Xml\Linq\XContainer.cs (4)
935_currentContainer.AddNodeSkipNotify(new XComment(r.Value)); 991_currentContainer.AddNodeSkipNotify(new XComment(await r.GetValueAsync().ConfigureAwait(false))); 1089newNode = new XComment(r.Value); 1205newNode = new XComment(await r.GetValueAsync().ConfigureAwait(false));
System\Xml\Linq\XNode.cs (2)
440return new XComment(reader); 490ret = new XComment(reader.Value);
System\Xml\Linq\XNodeBuilder.cs (1)
81AddNode(new XComment(text!));
27 references to XComment
Microsoft.AspNetCore.DataProtection.Tests (1)
XmlAssert.cs (1)
114if (node is XComment)
Microsoft.CodeAnalysis.CSharp (1)
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (1)
247XComment failureComment = new XComment(commentMessage);
Microsoft.CodeAnalysis.Test.Utilities (1)
TestHelpers.cs (1)
77/// <see cref="System.Xml.Linq.XComment.Value"/> is serialized with "--" replaced by "- -"
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
SymbolsTests\Source\ComClassTests.vb (2)
1395Dim comment = TryCast(d, XComment) 8069Dim comment = TryCast(d, XComment)
Microsoft.DotNet.XliffTasks (2)
Model\XamlRuleDocument.cs (2)
196foreach (XComment comment in element.Nodes().OfType<XComment>())
netstandard (1)
netstandard.cs (1)
2268[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XComment))]
System.Private.Xml.Linq (17)
System\Xml\Linq\XComment.cs (9)
17/// Initializes a new instance of the <see cref="XComment"/> class. 20/// Initializes a new instance of the <see cref="XComment"/> class with the 40public XComment(XComment other) 89/// Write this <see cref="XComment"/> to the passed in <see cref="XmlWriter"/>. 92/// The <see cref="XmlWriter"/> to write this <see cref="XComment"/> to. 102/// Write this <see cref="XComment"/> to the passed in <see cref="XmlWriter"/>. 105/// The <see cref="XmlWriter"/> to write this <see cref="XComment"/> to. 124XComment? other = node as XComment;
System\Xml\Linq\XDocument.cs (1)
23/// <item>Zero or more <see cref="XComment"/> objects.</item>
System\Xml\Linq\XElement.cs (1)
30/// <item><see cref="XComment"/></item>
System\Xml\Linq\XNode.cs (2)
22/// <see cref="XComment"/>, 598/// <see cref="XComment"/> nodes are equal if they contain the same comment text.
System\Xml\Linq\XNodeEqualityComparer.cs (2)
32/// <see cref="XComment"/> nodes are equal if they contain the same comment text. 71/// <see cref="XComment"/> nodes are equal if they contain the same comment text.
System\Xml\Linq\XNodeReader.cs (1)
375return ((XComment)o).Value;
System\Xml\XPath\XNodeNavigator.cs (1)
285return ((XComment)_source).Value;
System.Xml.Linq (1)
System.Xml.Linq.cs (1)
10[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XComment))]
System.Xml.XDocument (1)
artifacts\obj\System.Xml.XDocument\Debug\net10.0\System.Xml.XDocument.Forwards.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XComment))]