34 references to IsGlobalMemberDeclarationContext
Microsoft.CodeAnalysis.CSharp.Features (33)
Completion\CompletionProviders\SpeculativeTCompletionProvider.cs (1)
106syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\AsyncKeywordRecommender.cs (1)
37|| context.SyntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken)
Completion\KeywordRecommenders\BoolKeywordRecommender.cs (1)
40syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\ByteKeywordRecommender.cs (1)
41syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\CharKeywordRecommender.cs (1)
40syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\ConstKeywordRecommender.cs (1)
41context.SyntaxTree.IsGlobalMemberDeclarationContext(context.Position, s_validGlobalModifiers, cancellationToken) ||
Completion\KeywordRecommenders\DecimalKeywordRecommender.cs (1)
40syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\DoubleKeywordRecommender.cs (1)
40syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\DynamicKeywordRecommender.cs (1)
63syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\EventKeywordRecommender.cs (1)
41syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\ExternKeywordRecommender.cs (1)
51syntaxTree.IsGlobalMemberDeclarationContext(position, s_validGlobalModifiers, cancellationToken) ||
Completion\KeywordRecommenders\FixedKeywordRecommender.cs (1)
31(context.SyntaxTree.IsGlobalMemberDeclarationContext(context.Position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\FloatKeywordRecommender.cs (1)
40syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\InternalKeywordRecommender.cs (1)
36if (context.SyntaxTree.IsGlobalMemberDeclarationContext(context.Position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\IntKeywordRecommender.cs (1)
41syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\LongKeywordRecommender.cs (1)
41syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\NewKeywordRecommender.cs (1)
73context.SyntaxTree.IsGlobalMemberDeclarationContext(context.Position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\ObjectKeywordRecommender.cs (1)
39syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\PrivateKeywordRecommender.cs (1)
37if (context.SyntaxTree.IsGlobalMemberDeclarationContext(context.Position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\PublicKeywordRecommender.cs (1)
23if (context.SyntaxTree.IsGlobalMemberDeclarationContext(context.Position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\ReadOnlyKeywordRecommender.cs (1)
32context.SyntaxTree.IsGlobalMemberDeclarationContext(context.Position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\RefKeywordRecommender.cs (1)
142syntaxTree.IsGlobalMemberDeclarationContext(position, syntaxTree.IsScript() ? RefGlobalMemberScriptModifiers : RefGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\SByteKeywordRecommender.cs (1)
41syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\ShortKeywordRecommender.cs (1)
41syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\StaticKeywordRecommender.cs (1)
91context.SyntaxTree.IsGlobalMemberDeclarationContext(context.Position, s_validGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\StringKeywordRecommender.cs (1)
41syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\UIntKeywordRecommender.cs (1)
41syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\ULongKeywordRecommender.cs (1)
41syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\UnsafeKeywordRecommender.cs (1)
70syntaxTree.IsGlobalMemberDeclarationContext(position, s_validGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\UShortKeywordRecommender.cs (1)
48syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\VoidKeywordRecommender.cs (2)
53context.SyntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) || 112=> context.SyntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Completion\KeywordRecommenders\VolatileKeywordRecommender.cs (1)
29context.SyntaxTree.IsGlobalMemberDeclarationContext(context.Position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
757syntaxTree.IsGlobalMemberDeclarationContext(position, SyntaxKindSet.AllGlobalMemberModifiers, cancellationToken) ||