32 instantiations of XComment
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)}
Microsoft.NET.Sdk.Publish.Tasks (1)
WebConfigTransform.cs (1)
268document?.LastNode?.AddAfterSelf(new XComment(projectGuidValue));
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)
437return new XComment(reader); 487ret = new XComment(reader.Value);
System\Xml\Linq\XNodeBuilder.cs (1)
81AddNode(new XComment(text!));
58 references to XComment
GenerateDocumentationAndConfigFiles (4)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\RulesetToEditorconfigConverter.cs (4)
151foreach (var comment in ruleNode.Nodes().OfType<XComment>()) 159else if (node is XComment xComment) 183void AppendComment(XComment comment)
Microsoft.CodeAnalysis.Analyzers (4)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\RulesetToEditorconfigConverter.cs (4)
151foreach (var comment in ruleNode.Nodes().OfType<XComment>()) 159else if (node is XComment xComment) 183void AppendComment(XComment comment)
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\RulesetToEditorconfigConverter.cs (4)
151foreach (var comment in ruleNode.Nodes().OfType<XComment>()) 159else if (node is XComment xComment) 183void AppendComment(XComment comment)
Microsoft.CodeAnalysis.CSharp (1)
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (1)
247XComment failureComment = new XComment(commentMessage);
Microsoft.CodeAnalysis.ResxSourceGenerator (4)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\RulesetToEditorconfigConverter.cs (4)
151foreach (var comment in ruleNode.Nodes().OfType<XComment>()) 159else if (node is XComment xComment) 183void AppendComment(XComment comment)
Microsoft.DotNet.Build.Tasks.Installers (1)
src\CreateWixBuildWixpack.cs (1)
245.OfType<XComment>()
Microsoft.DotNet.XliffTasks (2)
Model\XamlRuleDocument.cs (2)
196foreach (XComment comment in element.Nodes().OfType<XComment>())
Microsoft.NET.Sdk.Publish.Tasks (3)
WebConfigTransform.cs (3)
252IEnumerable<XComment> comments = document.DescendantNodes().OfType<XComment>(); 255XComment? projectGuidComment = comments.FirstOrDefault(comment => string.Equals(comment.Value, projectGuidValue, StringComparison.OrdinalIgnoreCase));
netstandard (1)
netstandard.cs (1)
2268[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XComment))]
NuGet.PackageManagement (7)
Utility\XElementExtensions.cs (7)
75var sourceChildComment = sourceChildNode as XComment; 130var pendingComments = new Queue<XComment>(); 135var targetChildComment = targetChildNode as XComment; 198private static bool HasComment(XElement element, XComment comment) 201((XComment)node).Value.Equals(comment.Value, StringComparison.Ordinal));
NuGet.Packaging (4)
PackageCreation\Extensions\XElementExtensions.cs (4)
51var sourceChildComment = sourceChildNode as XComment; 120private static bool HasComment(XElement element, XComment comment) 123((XComment)node).Value.Equals(comment.Value, StringComparison.Ordinal));
Roslyn.Diagnostics.Analyzers (4)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\RulesetToEditorconfigConverter.cs (4)
151foreach (var comment in ruleNode.Nodes().OfType<XComment>()) 159else if (node is XComment xComment) 183void AppendComment(XComment comment)
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"/>, 595/// <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)
src\runtime\artifacts\obj\System.Xml.XDocument\Release\net11.0\System.Xml.XDocument.Forwards.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XComment))]