117 references to InternalKeyword
Microsoft.CodeAnalysis.CSharp (16)
Parser\LanguageParser.cs (6)
345
case SyntaxKind.
InternalKeyword
:
1026
case SyntaxKind.
InternalKeyword
:
2003
case SyntaxKind.
InternalKeyword
:
8244
case SyntaxKind.
InternalKeyword
:
9738
case SyntaxKind.
InternalKeyword
:
9755
case SyntaxKind.
InternalKeyword
:
SymbolDisplay\SymbolDisplayVisitor.cs (2)
341
AddKeyword(SyntaxKind.
InternalKeyword
);
354
AddKeyword(SyntaxKind.
InternalKeyword
);
Symbols\Source\ModifierUtils.cs (3)
293
return SyntaxFacts.GetText(SyntaxKind.
InternalKeyword
);
295
return SyntaxFacts.GetText(SyntaxKind.ProtectedKeyword) + " " + SyntaxFacts.GetText(SyntaxKind.
InternalKeyword
);
351
case SyntaxKind.
InternalKeyword
:
Syntax\SyntaxFacts.cs (2)
369
return SyntaxFacts.GetText(
InternalKeyword
);
373
return SyntaxFacts.GetText(ProtectedKeyword) + " " + SyntaxFacts.GetText(
InternalKeyword
);
Syntax\SyntaxKindFacts.cs (3)
60
case SyntaxKind.
InternalKeyword
:
907
return SyntaxKind.
InternalKeyword
;
1547
case SyntaxKind.
InternalKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
ConvertProgramAnalysis_TopLevelStatements.cs (1)
132
if (member.Modifiers.Any(m => m.Kind() is SyntaxKind.PublicKeyword or SyntaxKind.ProtectedKeyword or SyntaxKind.
InternalKeyword
))
CSharpAccessibilityFacts.cs (2)
118
(SyntaxKind.
InternalKeyword
, Accessibility.Protected) => Accessibility.ProtectedOrInternal,
119
(SyntaxKind.
InternalKeyword
, _) => Accessibility.Internal,
CSharpIdeCodeStyleOptions.cs (1)
19
SyntaxKind.PublicKeyword, SyntaxKind.PrivateKeyword, SyntaxKind.ProtectedKeyword, SyntaxKind.
InternalKeyword
,
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
36
case SyntaxKind.
InternalKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (9)
CSharpCodeGenerationHelpers.cs (2)
60
tokens.Add(SyntaxFactory.Token(SyntaxKind.
InternalKeyword
));
64
tokens.Add(SyntaxFactory.Token(SyntaxKind.
InternalKeyword
));
CSharpDeclarationComparer.cs (2)
322
if (ContainsToken(modifiers, SyntaxKind.
InternalKeyword
))
334
else if (ContainsToken(modifiers, SyntaxKind.
InternalKeyword
))
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (1)
566
while (targetToken.Kind() is SyntaxKind.
InternalKeyword
or
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (1)
105
case SyntaxKind.
InternalKeyword
:
SyntaxKindSet.cs (3)
18
SyntaxKind.
InternalKeyword
,
35
SyntaxKind.
InternalKeyword
,
53
SyntaxKind.
InternalKeyword
,
Microsoft.CodeAnalysis.CSharp.Features (49)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
617
case SyntaxKind.
InternalKeyword
:
Completion\CompletionProviders\OverrideCompletionProvider.cs (1)
159
case SyntaxKind.
InternalKeyword
:
Completion\CompletionProviders\PartialMethodCompletionProvider.cs (1)
46
case SyntaxKind.
InternalKeyword
:
Completion\KeywordRecommenders\AbstractKeywordRecommender.cs (3)
17
SyntaxKind.
InternalKeyword
,
28
SyntaxKind.
InternalKeyword
,
39
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\ClassKeywordRecommender.cs (1)
19
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\ConstKeywordRecommender.cs (2)
19
SyntaxKind.
InternalKeyword
,
27
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\DelegateKeywordRecommender.cs (1)
17
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\EnumKeywordRecommender.cs (1)
16
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\EventKeywordRecommender.cs (1)
20
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\ExternKeywordRecommender.cs (2)
17
SyntaxKind.
InternalKeyword
,
31
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\FixedKeywordRecommender.cs (1)
19
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\InterfaceKeywordRecommender.cs (1)
16
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\InternalKeywordRecommender.cs (2)
15
: base(SyntaxKind.
InternalKeyword
)
67
!precedingModifiers.Contains(SyntaxKind.
InternalKeyword
) &&
Completion\KeywordRecommenders\NewKeywordRecommender.cs (2)
22
SyntaxKind.
InternalKeyword
,
37
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\OverrideKeywordRecommender.cs (1)
17
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\PrivateKeywordRecommender.cs (1)
86
!precedingModifiers.Contains(SyntaxKind.
InternalKeyword
) &&
Completion\KeywordRecommenders\PublicKeywordRecommender.cs (1)
57
!precedingModifiers.Contains(SyntaxKind.
InternalKeyword
) &&
Completion\KeywordRecommenders\ReadOnlyKeywordRecommender.cs (1)
19
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\RecordKeywordRecommender.cs (1)
19
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\RefKeywordRecommender.cs (3)
28
SyntaxKind.
InternalKeyword
,
49
SyntaxKind.
InternalKeyword
,
67
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\SealedKeywordRecommender.cs (3)
17
SyntaxKind.
InternalKeyword
,
28
SyntaxKind.
InternalKeyword
,
39
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\StaticKeywordRecommender.cs (4)
16
SyntaxKind.
InternalKeyword
,
29
SyntaxKind.
InternalKeyword
,
44
SyntaxKind.
InternalKeyword
,
59
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\StructKeywordRecommender.cs (1)
16
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\UnsafeKeywordRecommender.cs (3)
17
SyntaxKind.
InternalKeyword
,
31
SyntaxKind.
InternalKeyword
,
47
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\VirtualKeywordRecommender.cs (2)
17
SyntaxKind.
InternalKeyword
,
28
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\VoidKeywordRecommender.cs (1)
20
SyntaxKind.
InternalKeyword
,
Completion\KeywordRecommenders\VolatileKeywordRecommender.cs (1)
20
SyntaxKind.
InternalKeyword
,
ConvertProgramAnalysis_TopLevelStatements.cs (1)
132
if (member.Modifiers.Any(m => m.Kind() is SyntaxKind.PublicKeyword or SyntaxKind.ProtectedKeyword or SyntaxKind.
InternalKeyword
))
EncapsulateField\CSharpEncapsulateFieldService.cs (1)
72
var modifierKinds = new[] { SyntaxKind.PrivateKeyword, SyntaxKind.ProtectedKeyword, SyntaxKind.
InternalKeyword
, SyntaxKind.PublicKeyword };
Organizing\Organizers\MemberDeclarationsOrganizer.Comparer.cs (2)
126
else if (xModifiers.Any(t => t.Kind() == SyntaxKind.ProtectedKeyword) && xModifiers.Any(t => t.Kind() == SyntaxKind.
InternalKeyword
))
130
else if (xModifiers.Any(t => t.Kind() == SyntaxKind.
InternalKeyword
))
Organizing\Organizers\ModifiersOrganizer.Comparer.cs (1)
47
case SyntaxKind.
InternalKeyword
:
Snippets\AbstractCSharpTypeSnippetProvider.cs (1)
31
SyntaxKind.
InternalKeyword
,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (15)
Parsing\DeclarationParsingTests.cs (14)
837
Assert.Equal(SyntaxKind.
InternalKeyword
, cs.Modifiers[0].Kind());
1857
Assert.Equal(SyntaxKind.
InternalKeyword
, cs.Modifiers[1].Kind());
1898
Assert.Equal(SyntaxKind.
InternalKeyword
, cs.Modifiers[0].Kind());
1981
Assert.Equal(SyntaxKind.
InternalKeyword
, cs.Modifiers[0].Kind());
2722
TestClassMethodModifiers(SyntaxKind.
InternalKeyword
);
2731
TestClassMethodModifiers(SyntaxKind.
InternalKeyword
, SyntaxKind.ProtectedKeyword, SyntaxKind.VirtualKeyword);
2732
TestClassMethodModifiers(SyntaxKind.
InternalKeyword
, SyntaxKind.VirtualKeyword, SyntaxKind.ProtectedKeyword);
3555
TestClassConstructorWithModifier(SyntaxKind.
InternalKeyword
);
3744
TestClassFieldModifier(SyntaxKind.
InternalKeyword
);
3799
TestClassEventFieldModifier(SyntaxKind.
InternalKeyword
);
4650
TestClassPropertyWithModifier(SyntaxKind.
InternalKeyword
);
4665
TestClassPropertyWithModifier(SyntaxKind.
InternalKeyword
);
4845
TestClassEventPropertyWithModifier(SyntaxKind.
InternalKeyword
);
4858
TestClassEventPropertyWithModifier(SyntaxKind.
InternalKeyword
);
Parsing\ScriptParsingTests.cs (1)
956
NewModifier_WithOtherModifier("internal", SyntaxKind.
InternalKeyword
);
Microsoft.CodeAnalysis.CSharp.Workspaces (16)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
1667
list.Add(SyntaxFactory.Token(SyntaxKind.
InternalKeyword
));
1680
list.Add(SyntaxFactory.Token(SyntaxKind.
InternalKeyword
));
CSharpAccessibilityFacts.cs (2)
118
(SyntaxKind.
InternalKeyword
, Accessibility.Protected) => Accessibility.ProtectedOrInternal,
119
(SyntaxKind.
InternalKeyword
, _) => Accessibility.Internal,
CSharpCodeGenerationHelpers.cs (2)
60
tokens.Add(SyntaxFactory.Token(SyntaxKind.
InternalKeyword
));
64
tokens.Add(SyntaxFactory.Token(SyntaxKind.
InternalKeyword
));
CSharpDeclarationComparer.cs (2)
322
if (ContainsToken(modifiers, SyntaxKind.
InternalKeyword
))
334
else if (ContainsToken(modifiers, SyntaxKind.
InternalKeyword
))
CSharpIdeCodeStyleOptions.cs (1)
19
SyntaxKind.PublicKeyword, SyntaxKind.PrivateKeyword, SyntaxKind.ProtectedKeyword, SyntaxKind.
InternalKeyword
,
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (1)
608
case SyntaxKind.
InternalKeyword
:
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
36
case SyntaxKind.
InternalKeyword
:
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (1)
566
while (targetToken.Kind() is SyntaxKind.
InternalKeyword
or
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (1)
105
case SyntaxKind.
InternalKeyword
:
SyntaxKindSet.cs (3)
18
SyntaxKind.
InternalKeyword
,
35
SyntaxKind.
InternalKeyword
,
53
SyntaxKind.
InternalKeyword
,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.CSharp.cs (1)
1408
var newModifiers = new[] { SyntaxFactory.Token(SyntaxKind.
InternalKeyword
).WithLeadingTrivia(eol) }.Concat(
Microsoft.VisualStudio.LanguageServices.CSharp (6)
CodeModel\CSharpCodeModelService.cs (2)
1064
else if (modifiers.Any(t => t.Kind() == SyntaxKind.ProtectedKeyword) && modifiers.Any(t => t.Kind() == SyntaxKind.
InternalKeyword
))
1068
else if (modifiers.Any(t => t.Kind() == SyntaxKind.
InternalKeyword
))
CodeModel\ModifierFlagsExtensions.cs (2)
22
{ ModifierFlags.Internal, SyntaxKind.
InternalKeyword
},
53
case SyntaxKind.
InternalKeyword
:
LanguageService\CSharpHelpContextService.cs (2)
417
case SyntaxKind.ProtectedKeyword when ModifiersContains(token, SyntaxKind.
InternalKeyword
):
418
case SyntaxKind.
InternalKeyword
when ModifiersContains(token, SyntaxKind.ProtectedKeyword):