20 references to FieldKeyword
Microsoft.CodeAnalysis.CSharp (11)
_generated\0\Syntax.xml.Main.Generated.cs (2)
3002if (token.Kind() != SyntaxKind.FieldKeyword) throw new ArgumentException(nameof(token)); 3008=> SyntaxFactory.FieldExpression(SyntaxFactory.Token(SyntaxKind.FieldKeyword));
_generated\1\Syntax.xml.Internal.Generated.cs (2)
29516if (token.Kind != SyntaxKind.FieldKeyword) throw new ArgumentException(nameof(token)); 34943if (token.Kind != SyntaxKind.FieldKeyword) throw new ArgumentException(nameof(token));
Parser\LanguageParser.cs (2)
6153return CurrentToken.ContextualKind == SyntaxKind.FieldKeyword && 12048return _syntaxFactory.FieldExpression(this.EatContextualToken(SyntaxKind.FieldKeyword));
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
68AddKeyword(SyntaxKind.FieldKeyword);
Syntax\SyntaxKindFacts.cs (4)
52case SyntaxKind.FieldKeyword: 1279case SyntaxKind.FieldKeyword: 1386return SyntaxKind.FieldKeyword; 1834case SyntaxKind.FieldKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
212case SyntaxKind.FieldKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseAutoProperty\CSharpUseAutoPropertyCodeFixProvider.cs (1)
185=> attributeList.WithTarget(AttributeTargetSpecifier(Identifier(SyntaxFacts.GetText(SyntaxKind.FieldKeyword)), ColonToken.WithTrailingTrivia(Space)));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
537SyntaxKind.FieldKeyword => AttributeTargets.Field,
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\FieldKeywordRecommender.cs (1)
13: AbstractSyntacticSingleKeywordRecommender(SyntaxKind.FieldKeyword)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseAutoProperty\CSharpUseAutoPropertyCodeFixProvider.cs (1)
185=> attributeList.WithTarget(AttributeTargetSpecifier(Identifier(SyntaxFacts.GetText(SyntaxKind.FieldKeyword)), ColonToken.WithTrailingTrivia(Space)));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
212case SyntaxKind.FieldKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
537SyntaxKind.FieldKeyword => AttributeTargets.Field,
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
212case SyntaxKind.FieldKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
537SyntaxKind.FieldKeyword => AttributeTargets.Field,