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