12 references to ReportDocumentationCommentDiagnostics
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Crefs.cs (2)
904Debug.Assert(typeArgumentSyntax.ContainsDiagnostics || !typeArgumentSyntax.SyntaxTree.ReportDocumentationCommentDiagnostics() || 989Debug.Assert(type.TypeKind != TypeKind.Error || typeSyntax.ContainsDiagnostics || !typeSyntax.SyntaxTree.ReportDocumentationCommentDiagnostics(), "Why wasn't there a diagnostic?");
Compiler\DocumentationCommentCompiler.cs (4)
379Debug.Assert(location.SourceTree!.ReportDocumentationCommentDiagnostics()); //Should be the same tree as for the symbol. 394Debug.Assert(location.SourceTree!.ReportDocumentationCommentDiagnostics()); //Should be the same tree as for the symbol. 518bool reportDiagnosticsForCurrentTrivia = trivia.SyntaxTree.ReportDocumentationCommentDiagnostics(); 596if (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 && ((SyntaxTree)sourceLocation.SourceTree).ReportDocumentationCommentDiagnostics()) 652if (((SyntaxTree)sourceLocation.SourceTree).ReportDocumentationCommentDiagnostics())
Compiler\UnprocessedDocumentationCommentFinder.cs (1)
31if (tree.ReportDocumentationCommentDiagnostics())
DocumentationComments\SourceDocumentationCommentUtils.cs (1)
77if (tree.ReportDocumentationCommentDiagnostics())