19 references to Comment
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpFileBannerFacts.cs (1)
23? SyntaxFactory.Comment(text)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
49=> SyntaxFactory.Comment("//" + text);
Microsoft.CodeAnalysis.CSharp.Features (7)
CodeFixes\Suppression\CSharpSuppressionCodeFixProvider.cs (1)
65var titleComment = Comment(string.Format(" // {0}", title)).WithAdditionalAnnotations(Formatter.Annotation);
DecompiledSource\CSharpDecompiledSourceService.cs (2)
86SyntaxFactory.Comment("// " + assemblyPath), 88SyntaxFactory.Comment($"// Decompiled with ICSharpCode.Decompiler {decompilerVersion.FileVersion}"),
DocumentationComments\DocCommentConverter.cs (2)
61newLeadingTrivia.Add(SyntaxFactory.Comment("//")); 95yield return SyntaxFactory.Comment("//");
EmbeddedLanguages\EmbeddedLanguageUtilities.cs (1)
15SyntaxFactory.Comment($"/*{commentContents}*/"),
MetadataAsSource\CSharpMetadataAsSourceService.cs (1)
49Comment("// " + assemblyPath),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Syntax\TrackNodeTests.cs (2)
69var newA = currentA.WithLeadingTrivia(SyntaxFactory.Comment("/* ayup */")); 84var newA = currentA.WithLeadingTrivia(SyntaxFactory.Comment("/* ayup */"));
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Rename\CSharpRenameRewriterLanguageService.cs (1)
670var newTrivia = SyntaxFactory.Comment(replacedString);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpFileBannerFacts.cs (1)
23? SyntaxFactory.Comment(text)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
49=> SyntaxFactory.Comment("//" + text);
Microsoft.CodeAnalysis.UnitTests (1)
CommonSyntaxTests.cs (1)
190var trivia = CSharp.SyntaxFactory.Comment("c");
Microsoft.Interop.ComInterfaceGenerator (1)
Marshallers\ManagedHResultExceptionGeneratorResolver.cs (1)
90Comment("// S_OK"))));
Microsoft.Interop.LibraryImportGenerator (1)
LibraryImportGenerator.cs (1)
376dllImport = dllImport.WithLeadingTrivia(Comment("// Local P/Invoke"));
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
270dllImport = dllImport.WithLeadingTrivia(Comment("// Local P/Invoke"));
Microsoft.Interop.SourceGeneration (1)
GeneratedStatements.cs (1)
194return TriviaList(Comment($"// {stage} - {comment}"));