11 references to ShebangDirectiveTrivia
Microsoft.AspNetCore.App.Analyzers (1)
RouteEmbeddedLanguage\Infrastructure\RouteStringSyntaxDetector.cs (1)
231=> trivia.IsKind(SyntaxKind.ShebangDirectiveTrivia);
Microsoft.CodeAnalysis.CSharp (2)
Syntax\DirectiveTriviaSyntax.cs (1)
57case SyntaxKind.ShebangDirectiveTrivia:
Syntax\SyntaxKindFacts.cs (1)
293case SyntaxKind.ShebangDirectiveTrivia:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTriviaExtensions.cs (1)
43=> trivia.Kind() == SyntaxKind.ShebangDirectiveTrivia;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
41public int? ShebangDirectiveTrivia => (int)SyntaxKind.ShebangDirectiveTrivia;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Parsing\ScriptParsingTests.cs (2)
9652Assert.Equal(SyntaxKind.ShebangDirectiveTrivia, leading[0].Kind()); 9726Assert.Equal(SyntaxKind.ShebangDirectiveTrivia, trivia.Kind());
Syntax\SyntaxNodeTests.cs (1)
387testContainsHelper2(new[] { SyntaxKind.ShebangDirectiveTrivia }, SyntaxFactory.ParseCompilationUnit("#!command", options: TestOptions.Script));
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Classification\Worker.cs (1)
211case SyntaxKind.ShebangDirectiveTrivia:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTriviaExtensions.cs (1)
43=> trivia.Kind() == SyntaxKind.ShebangDirectiveTrivia;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
41public int? ShebangDirectiveTrivia => (int)SyntaxKind.ShebangDirectiveTrivia;