39 references to ContainsDiagnostics
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxFactory.cs (1)
2417if (trivia.ContainsDiagnostics && trivia.Kind() == SyntaxKind.MultiLineCommentTrivia)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
BlockCommentEditing\BlockCommentEditingCommandHandler.cs (1)
308if (!trivia.ContainsDiagnostics)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (33)
LexicalAndXml\LexicalTests.cs (33)
175Assert.False(trivia.ContainsDiagnostics); 3853Assert.True(trivia.ContainsDiagnostics); 3881Assert.True(trivia.ContainsDiagnostics); 3960Assert.True(trivia.ContainsDiagnostics); 3973Assert.True(trivia.ContainsDiagnostics); 3997Assert.True(trivia.ContainsDiagnostics); 4018Assert.True(trivia1.ContainsDiagnostics); 4038Assert.True(trivia4.ContainsDiagnostics); 4051Assert.True(trivia1.ContainsDiagnostics); 4066Assert.True(trivia3.ContainsDiagnostics); 4176Assert.True(trivia.ContainsDiagnostics); 4194Assert.True(trivia.ContainsDiagnostics); 4216Assert.True(trivia.ContainsDiagnostics); 4234Assert.True(trivia.ContainsDiagnostics); 4264Assert.True(trivia.ContainsDiagnostics); 4279Assert.True(trivia.ContainsDiagnostics); 4302Assert.True(trivia.ContainsDiagnostics); 4324Assert.True(trivia1.ContainsDiagnostics); 4338Assert.True(trivia4.ContainsDiagnostics); 4353Assert.True(trivia1.ContainsDiagnostics); 4364Assert.True(trivia3.ContainsDiagnostics); 4385Assert.True(trivia.ContainsDiagnostics); 4394Assert.True(trivia.ContainsDiagnostics); 4403Assert.True(trivia.ContainsDiagnostics); 4424Assert.True(trivia.ContainsDiagnostics); 4440Assert.True(trivia.ContainsDiagnostics); 4456Assert.True(trivia.ContainsDiagnostics); 4480Assert.True(trivia.ContainsDiagnostics); 4496Assert.True(trivia.ContainsDiagnostics); 4514Assert.True(trivia.ContainsDiagnostics); 4538Assert.True(trivia.ContainsDiagnostics); 4556Assert.True(trivia.ContainsDiagnostics); 4572Assert.True(trivia.ContainsDiagnostics);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
LineCommit\ContainingStatementInfo.vb (1)
34IsIncomplete = trivia.ContainsDiagnostics
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (3)
Scanner\ScannerTests.vb (3)
836Assert.False(tk.LeadingTrivia(0).ContainsDiagnostics) 838Assert.False(tk.LeadingTrivia(1).ContainsDiagnostics) 840Assert.True(tk.LeadingTrivia(2).ContainsDiagnostics)