15 references to Comment
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
DecompiledSource\CSharpDecompiledSourceService.cs (2)
137
SyntaxFactory.
Comment
("// " + assemblyPath),
139
SyntaxFactory.
Comment
($"// Decompiled with ICSharpCode.Decompiler {s_decompilerVersion.FileVersion}"),
Microsoft.CodeAnalysis.CSharp.Features (8)
AddFileBanner\CSharpAddFileBannerCodeRefactoringProvider.cs (1)
33
return SyntaxFactory.
Comment
(text);
CodeFixes\Suppression\CSharpSuppressionCodeFixProvider.cs (2)
63
var titleComment = SyntaxFactory.
Comment
(string.Format(" // {0}", title)).WithAdditionalAnnotations(Formatter.Annotation);
122
compilationRoot = compilationRoot.WithLeadingTrivia(SyntaxFactory.
Comment
(GlobalSuppressionsFileHeaderComment));
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
SyntaxFactory.
Comment
("// " + assemblyPath),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Syntax\TrackNodeTests.cs (2)
69
var newA = currentA.WithLeadingTrivia(SyntaxFactory.
Comment
("/* ayup */"));
84
var newA = currentA.WithLeadingTrivia(SyntaxFactory.
Comment
("/* ayup */"));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
53
=> SyntaxFactory.
Comment
("//" + text);
Rename\CSharpRenameRewriterLanguageService.cs (1)
678
var newTrivia = SyntaxFactory.
Comment
(replacedString);
Microsoft.CodeAnalysis.UnitTests (1)
CommonSyntaxTests.cs (1)
190
var trivia = CSharp.SyntaxFactory.
Comment
("c");