86 references to AbstractKeyword
Microsoft.CodeAnalysis.CSharp (13)
Parser\LanguageParser.cs (3)
344case SyntaxKind.AbstractKeyword: 1034case SyntaxKind.AbstractKeyword: 1987case SyntaxKind.AbstractKeyword:
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
950AddKeyword(SyntaxKind.AbstractKeyword);
Symbols\Source\ModifierUtils.cs (2)
281return SyntaxFacts.GetText(SyntaxKind.AbstractKeyword); 337case SyntaxKind.AbstractKeyword:
Symbols\Source\SourceEventSymbol.cs (1)
552diagnostics.Add(ErrorCode.ERR_BadMemberFlag, location, SyntaxFacts.GetText(SyntaxKind.AbstractKeyword));
Symbols\Source\SourceMemberContainerSymbol.cs (2)
2666!ContainsModifier(propertyDecl.Modifiers, SyntaxKind.AbstractKeyword) && 2675!ContainsModifier(eventFieldDecl.Modifiers, SyntaxKind.AbstractKeyword) &&
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
386diagnostics.Add(ErrorCode.ERR_BadMemberFlag, location, SyntaxFacts.GetText(SyntaxKind.AbstractKeyword));
Symbols\Source\SourcePropertySymbolBase.cs (1)
873diagnostics.Add(ErrorCode.ERR_BadMemberFlag, location, SyntaxFacts.GetText(SyntaxKind.AbstractKeyword));
Syntax\SyntaxKindFacts.cs (2)
929return SyntaxKind.AbstractKeyword; 1569case SyntaxKind.AbstractKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
CSharpAccessibilityFacts.cs (1)
130SyntaxKind.AbstractKeyword => DeclarationModifiers.Abstract,
CSharpIdeCodeStyleOptions.cs (1)
24SyntaxKind.VirtualKeyword, SyntaxKind.AbstractKeyword, SyntaxKind.SealedKeyword, SyntaxKind.OverrideKeyword,
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
40case SyntaxKind.AbstractKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (12)
ConversionGenerator.cs (1)
106SyntaxFactory.Token(SyntaxKind.AbstractKeyword));
CSharpMakeTypeAbstractCodeFixProvider.cs (1)
58!enclosingType.Modifiers.Any(SyntaxKind.AbstractKeyword) && !enclosingType.Modifiers.Any(SyntaxKind.StaticKeyword))
EventGenerator.cs (2)
212tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword)); 231tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword));
MethodGenerator.cs (2)
277tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword)); 289tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword));
NamedTypeGenerator.cs (1)
292tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword));
OperatorGenerator.cs (1)
120tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword));
PropertyGenerator.cs (2)
362tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword)); 391tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword));
SyntaxKindSet.cs (2)
16SyntaxKind.AbstractKeyword, 32SyntaxKind.AbstractKeyword,
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
CompleteStatement\CompleteStatementCommandHandler.cs (1)
267if (method.Modifiers.Any(SyntaxKind.AbstractKeyword) || method.Modifiers.Any(SyntaxKind.ExternKeyword) ||
Microsoft.CodeAnalysis.CSharp.Features (23)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
568case SyntaxKind.AbstractKeyword:
Completion\CompletionProviders\OverrideCompletionProvider.cs (1)
124case SyntaxKind.AbstractKeyword:
Completion\CompletionProviders\XmlDocCommentCompletionProvider.cs (1)
321yield return SyntaxFacts.GetText(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)
20SyntaxKind.AbstractKeyword, 36SyntaxKind.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)
25SyntaxKind.AbstractKeyword,
Completion\KeywordRecommenders\StaticKeywordRecommender.cs (1)
41SyntaxKind.AbstractKeyword,
Completion\KeywordRecommenders\UnsafeKeywordRecommender.cs (2)
16SyntaxKind.AbstractKeyword, 29SyntaxKind.AbstractKeyword,
Completion\KeywordRecommenders\VoidKeywordRecommender.cs (1)
26SyntaxKind.AbstractKeyword,
CSharpMakeTypeAbstractCodeFixProvider.cs (1)
58!enclosingType.Modifiers.Any(SyntaxKind.AbstractKeyword) && !enclosingType.Modifiers.Any(SyntaxKind.StaticKeyword))
EditAndContinue\SyntaxUtilities.cs (1)
249if (property.Modifiers.Any(SyntaxKind.AbstractKeyword) ||
Snippets\AbstractCSharpTypeSnippetProvider.cs (1)
33SyntaxKind.AbstractKeyword,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (16)
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\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 (15)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
1694list.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword));
ConversionGenerator.cs (1)
106SyntaxFactory.Token(SyntaxKind.AbstractKeyword));
CSharpAccessibilityFacts.cs (1)
130SyntaxKind.AbstractKeyword => DeclarationModifiers.Abstract,
CSharpIdeCodeStyleOptions.cs (1)
24SyntaxKind.VirtualKeyword, SyntaxKind.AbstractKeyword, SyntaxKind.SealedKeyword, SyntaxKind.OverrideKeyword,
EventGenerator.cs (2)
212tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword)); 231tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword));
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
40case SyntaxKind.AbstractKeyword:
MethodGenerator.cs (2)
277tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword)); 289tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword));
NamedTypeGenerator.cs (1)
292tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword));
OperatorGenerator.cs (1)
120tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword));
PropertyGenerator.cs (2)
362tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword)); 391tokens.Add(SyntaxFactory.Token(SyntaxKind.AbstractKeyword));
SyntaxKindSet.cs (2)
16SyntaxKind.AbstractKeyword, 32SyntaxKind.AbstractKeyword,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.cs (1)
745yield return CS.SyntaxFactory.Token(CS.SyntaxKind.AbstractKeyword);
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\ModifierFlagsExtensions.cs (2)
25{ ModifierFlags.Abstract, SyntaxKind.AbstractKeyword }, 62case SyntaxKind.AbstractKeyword: