17 references to Comment
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpFileBannerFacts.cs (1)
23
? SyntaxFactory.
Comment
(text)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
50
=> SyntaxFactory.
Comment
("//" + text);
Microsoft.CodeAnalysis.CSharp.Features (10)
CodeFixes\Suppression\CSharpSuppressionCodeFixProvider.cs (2)
65
var titleComment =
Comment
(string.Format(" // {0}", title)).WithAdditionalAnnotations(Formatter.Annotation);
124
compilationRoot = compilationRoot.WithLeadingTrivia(
Comment
(GlobalSuppressionsFileHeaderComment));
Copilot\CSharpImplementNotImplementedExceptionFixProvider.cs (1)
142
SyntaxFactory.
Comment
($"/* {errorMessage} */"),
DecompiledSource\CSharpDecompiledSourceService.cs (2)
86
SyntaxFactory.
Comment
("// " + assemblyPath),
88
SyntaxFactory.
Comment
($"// Decompiled with ICSharpCode.Decompiler {decompilerVersion.FileVersion}"),
DocumentationComments\DocCommentConverter.cs (3)
61
newLeadingTrivia.Add(SyntaxFactory.
Comment
("//"));
91
yield return SyntaxFactory.
Comment
("// " + line);
95
yield return SyntaxFactory.
Comment
("//");
EmbeddedLanguages\EmbeddedLanguageUtilities.cs (1)
15
SyntaxFactory.
Comment
($"/*{commentContents}*/"),
MetadataAsSource\CSharpMetadataAsSourceService.cs (1)
49
Comment
("// " + assemblyPath),
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Rename\CSharpRenameRewriterLanguageService.cs (1)
669
var newTrivia = SyntaxFactory.
Comment
(replacedString);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpFileBannerFacts.cs (1)
23
? SyntaxFactory.
Comment
(text)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
50
=> SyntaxFactory.
Comment
("//" + text);
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpFileBannerFacts.cs (1)
23
? SyntaxFactory.
Comment
(text)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
50
=> SyntaxFactory.
Comment
("//" + text);