71 references to AbstractKeyword
Microsoft.CodeAnalysis.CSharp (13)
Parser\LanguageParser.cs (3)
346case SyntaxKind.AbstractKeyword: 1307case SyntaxKind.AbstractKeyword: 2302case SyntaxKind.AbstractKeyword:
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
940AddKeyword(SyntaxKind.AbstractKeyword);
Symbols\Source\ModifierUtils.cs (2)
280return SyntaxFacts.GetText(SyntaxKind.AbstractKeyword); 336case SyntaxKind.AbstractKeyword:
Symbols\Source\SourceEventSymbol.cs (1)
560diagnostics.Add(ErrorCode.ERR_BadMemberFlag, location, SyntaxFacts.GetText(SyntaxKind.AbstractKeyword));
Symbols\Source\SourceMemberContainerSymbol.cs (2)
2799!ContainsModifier(propertyDecl.Modifiers, SyntaxKind.AbstractKeyword) && 2809!ContainsModifier(eventFieldDecl.Modifiers, SyntaxKind.AbstractKeyword) &&
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
862diagnostics.Add(ErrorCode.ERR_BadMemberFlag, location, SyntaxFacts.GetText(SyntaxKind.AbstractKeyword));
Symbols\Source\SourcePropertySymbolBase.cs (1)
1097diagnostics.Add(ErrorCode.ERR_BadMemberFlag, location, SyntaxFacts.GetText(SyntaxKind.AbstractKeyword));
Syntax\SyntaxKindFacts.cs (2)
957return SyntaxKind.AbstractKeyword; 1605case SyntaxKind.AbstractKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
11public static readonly SyntaxToken AbstractKeyword = Token(SyntaxKind.AbstractKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (1)
159SyntaxKind.AbstractKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
88case SyntaxKind.AbstractKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
130SyntaxKind.AbstractKeyword => DeclarationModifiers.Abstract,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\MakeTypeAbstract\CSharpMakeTypeAbstractCodeFixProvider.cs (1)
51!enclosingType.Modifiers.Any(SyntaxKind.AbstractKeyword) && !enclosingType.Modifiers.Any(SyntaxKind.StaticKeyword))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (2)
13SyntaxKind.AbstractKeyword, 29SyntaxKind.AbstractKeyword,
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
CompleteStatement\CompleteStatementCommandHandler.cs (1)
275if (method.Modifiers.Any(SyntaxKind.AbstractKeyword) || method.Modifiers.Any(SyntaxKind.ExternKeyword) ||
Microsoft.CodeAnalysis.CSharp.Features (22)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
554case SyntaxKind.AbstractKeyword:
Completion\CompletionProviders\OverrideCompletionProvider.cs (1)
124case SyntaxKind.AbstractKeyword:
Completion\KeywordRecommenders\AbstractKeywordRecommender.cs (1)
49: base(SyntaxKind.AbstractKeyword)
Completion\KeywordRecommenders\ClassKeywordRecommender.cs (1)
21SyntaxKind.AbstractKeyword,
Completion\KeywordRecommenders\EventKeywordRecommender.cs (1)
26SyntaxKind.AbstractKeyword,
Completion\KeywordRecommenders\ExplicitKeywordRecommender.cs (2)
26SyntaxKind.AbstractKeyword, 52modifiers.Contains(SyntaxKind.AbstractKeyword) &&
Completion\KeywordRecommenders\ImplicitKeywordRecommender.cs (2)
26SyntaxKind.AbstractKeyword, 52modifiers.Contains(SyntaxKind.AbstractKeyword) &&
Completion\KeywordRecommenders\NewKeywordRecommender.cs (2)
19SyntaxKind.AbstractKeyword, 35SyntaxKind.AbstractKeyword,
Completion\KeywordRecommenders\OverrideKeywordRecommender.cs (1)
23SyntaxKind.AbstractKeyword,
Completion\KeywordRecommenders\PrivateKeywordRecommender.cs (1)
48if (modifiers.Contains(SyntaxKind.AbstractKeyword) ||
Completion\KeywordRecommenders\RecordKeywordRecommender.cs (1)
21SyntaxKind.AbstractKeyword,
Completion\KeywordRecommenders\RefKeywordRecommender.cs (1)
27SyntaxKind.AbstractKeyword,
Completion\KeywordRecommenders\StaticKeywordRecommender.cs (1)
42SyntaxKind.AbstractKeyword,
Completion\KeywordRecommenders\UnsafeKeywordRecommender.cs (2)
16SyntaxKind.AbstractKeyword, 29SyntaxKind.AbstractKeyword,
Completion\KeywordRecommenders\VoidKeywordRecommender.cs (1)
26SyntaxKind.AbstractKeyword,
EditAndContinue\SyntaxUtilities.cs (1)
193if (property.Modifiers.Any(SyntaxKind.AbstractKeyword) ||
Snippets\CSharpClassSnippetProvider.cs (1)
32SyntaxKind.AbstractKeyword,
src\Analyzers\CSharp\CodeFixes\MakeTypeAbstract\CSharpMakeTypeAbstractCodeFixProvider.cs (1)
51!enclosingType.Modifiers.Any(SyntaxKind.AbstractKeyword) && !enclosingType.Modifiers.Any(SyntaxKind.StaticKeyword))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (18)
Parsing\DeclarationParsingTests.cs (5)
918Assert.Equal(SyntaxKind.AbstractKeyword, cs.Modifiers[0].Kind()); 4652TestClassPropertyWithModifier(SyntaxKind.AbstractKeyword); 4666TestClassPropertyWithModifier(SyntaxKind.AbstractKeyword); 4847TestClassEventPropertyWithModifier(SyntaxKind.AbstractKeyword); 4859TestClassEventPropertyWithModifier(SyntaxKind.AbstractKeyword);
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (2)
1290N(SyntaxKind.AbstractKeyword); 1351N(SyntaxKind.AbstractKeyword);
Parsing\FileModifierParsingTests.cs (2)
460N(SyntaxKind.AbstractKeyword); 481N(SyntaxKind.AbstractKeyword);
Parsing\RecordParsing.cs (6)
416N(SyntaxKind.AbstractKeyword); 434N(SyntaxKind.AbstractKeyword); 602N(SyntaxKind.AbstractKeyword); 642N(SyntaxKind.AbstractKeyword); 701N(SyntaxKind.AbstractKeyword); 707N(SyntaxKind.AbstractKeyword);
Parsing\ScriptParsingTests.cs (1)
960NewModifier_WithOtherModifier("abstract", SyntaxKind.AbstractKeyword);
Syntax\SyntaxTriviaListTests.cs (2)
21var node1 = SyntaxFactory.Token(SyntaxKind.AbstractKeyword); 37var node1 = SyntaxFactory.Token(SyntaxKind.AbstractKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
826x.Kind() == SyntaxKind.AbstractKeyword
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
11public static readonly SyntaxToken AbstractKeyword = Token(SyntaxKind.AbstractKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (1)
159SyntaxKind.AbstractKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
88case SyntaxKind.AbstractKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
130SyntaxKind.AbstractKeyword => DeclarationModifiers.Abstract,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (2)
13SyntaxKind.AbstractKeyword, 29SyntaxKind.AbstractKeyword,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.cs (1)
731yield return CS.SyntaxFactory.Token(CS.SyntaxKind.AbstractKeyword);
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\ModifierFlagsExtensions.cs (2)
24{ ModifierFlags.Abstract, SyntaxKind.AbstractKeyword }, 61case SyntaxKind.AbstractKeyword: