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