8 references to SyntaxFacts
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\FileBannerFacts\AbstractFileBannerFacts.cs (8)
34
Matcher.Single<SyntaxTrivia>(this.
SyntaxFacts
.IsWhitespaceTrivia, "\\b"));
35
var endOfLine = Matcher.Single<SyntaxTrivia>(this.
SyntaxFacts
.IsEndOfLineTrivia, "\\n");
38
var shebangComment = Matcher.Single<SyntaxTrivia>(this.
SyntaxFacts
.IsShebangDirectiveTrivia, "#!");
39
var singleLineComment = Matcher.Single<SyntaxTrivia>(this.
SyntaxFacts
.IsSingleLineCommentTrivia, "//");
40
var multiLineComment = Matcher.Single<SyntaxTrivia>(this.
SyntaxFacts
.IsMultiLineCommentTrivia, "/**/");
41
var singleLineDocumentationComment = Matcher.Single<SyntaxTrivia>(this.
SyntaxFacts
.IsSingleLineDocCommentTrivia, "///");
42
var multiLineDocumentationComment = Matcher.Single<SyntaxTrivia>(this.
SyntaxFacts
.IsMultiLineDocCommentTrivia, "/** */");
130
if (this.
SyntaxFacts
.IsPreprocessorDirective(leadingTrivia[i]))