20 references to ExternAliasDirective
Microsoft.CodeAnalysis.CSharp (5)
Compilation\CSharpCompilation.cs (2)
2666ErrorCode code = info.Kind == SyntaxKind.ExternAliasDirective 2680else if (info.Kind == SyntaxKind.ExternAliasDirective)
Parser\LanguageParser.cs (1)
928if (this.IsIncrementalAndFactoryContextMatches && this.CurrentNodeKind == SyntaxKind.ExternAliasDirective)
Syntax\SyntaxNormalizer.cs (2)
429else if (currentToken.Parent.IsKind(SyntaxKind.ExternAliasDirective)) 431return nextToken.Parent.IsKind(SyntaxKind.ExternAliasDirective) ? 1 : 2;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1236=> node?.Kind() is SyntaxKind.UsingDirective or SyntaxKind.ExternAliasDirective;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
456if (token.Parent is (kind: SyntaxKind.ExternAliasDirective or SyntaxKind.UsingDirective))
Microsoft.CodeAnalysis.CSharp.Features (8)
CodeLens\CSharpCodeLensDisplayInfoService.cs (1)
166case SyntaxKind.ExternAliasDirective:
Completion\CompletionProviders\ExternAliasCompletionProvider.cs (1)
64if (targetToken.Parent.IsKind(SyntaxKind.ExternAliasDirective)
Completion\KeywordRecommenders\ExternKeywordRecommender.cs (1)
107token.Parent.IsKind(SyntaxKind.ExternAliasDirective))
Completion\KeywordRecommenders\NamespaceKeywordRecommender.cs (1)
117if (token.Parent is (kind: SyntaxKind.ExternAliasDirective or SyntaxKind.UsingDirective) &&
Completion\KeywordRecommenders\UsingKeywordRecommender.cs (2)
123if (token.Parent is (kind: SyntaxKind.ExternAliasDirective or SyntaxKind.UsingDirective)) 152previousToken.Parent is (kind: SyntaxKind.ExternAliasDirective or SyntaxKind.UsingDirective))
EditAndContinue\SyntaxComparer.cs (2)
576case SyntaxKind.ExternAliasDirective: 1415case SyntaxKind.ExternAliasDirective:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Parsing\ScriptParsingTests.cs (1)
1752N(SyntaxKind.ExternAliasDirective);
Parsing\SingleLineDeclarationParsingTests.cs (2)
627N(SyntaxKind.ExternAliasDirective); 665N(SyntaxKind.ExternAliasDirective);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1236=> node?.Kind() is SyntaxKind.UsingDirective or SyntaxKind.ExternAliasDirective;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
456if (token.Parent is (kind: SyntaxKind.ExternAliasDirective or SyntaxKind.UsingDirective))