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