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