12 references to ReportDocumentationCommentDiagnostics
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Crefs.cs (2)
1102Debug.Assert(typeArgumentSyntax.ContainsDiagnostics || !typeArgumentSyntax.SyntaxTree.ReportDocumentationCommentDiagnostics() || 1192Debug.Assert(type.TypeKind != TypeKind.Error || typeSyntax.ContainsDiagnostics || !typeSyntax.SyntaxTree.ReportDocumentationCommentDiagnostics(), "Why wasn't there a diagnostic?");
Compiler\DocumentationCommentCompiler.cs (4)
588Debug.Assert(location.SourceTree!.ReportDocumentationCommentDiagnostics()); //Should be the same tree as for the symbol. 609Debug.Assert(location.SourceTree!.ReportDocumentationCommentDiagnostics()); //Should be the same tree as for the symbol. 661bool reportDiagnosticsForCurrentTrivia = trivia.SyntaxTree.ReportDocumentationCommentDiagnostics(); 741if (location.SourceTree.ReportDocumentationCommentDiagnostics())
Compiler\DocumentationCommentCompiler.DocumentationCommentWalker.cs (1)
142bool diagnose = node.SyntaxTree.ReportDocumentationCommentDiagnostics();
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (3)
271bool diagnose = originatingSyntax.SyntaxTree.ReportDocumentationCommentDiagnostics(); 636if (treelessSyntax.ContainsDiagnostics && sourceLocation.SourceTree.ReportDocumentationCommentDiagnostics()) 652if (sourceLocation.SourceTree.ReportDocumentationCommentDiagnostics())
Compiler\UnprocessedDocumentationCommentFinder.cs (1)
31if (tree.ReportDocumentationCommentDiagnostics())
DocumentationComments\SourceDocumentationCommentUtils.cs (1)
77if (tree.ReportDocumentationCommentDiagnostics())