33 references to FixedKeyword
Microsoft.CodeAnalysis.CSharp (19)
_generated\0\Syntax.xml.Main.Generated.cs (3)
4473if (fixedKeyword.Kind() != SyntaxKind.FixedKeyword) throw new ArgumentException(nameof(fixedKeyword)); 4483=> SyntaxFactory.FixedStatement(attributeLists, SyntaxFactory.Token(SyntaxKind.FixedKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), declaration, SyntaxFactory.Token(SyntaxKind.CloseParenToken), statement); 4487=> SyntaxFactory.FixedStatement(default, SyntaxFactory.Token(SyntaxKind.FixedKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), declaration, SyntaxFactory.Token(SyntaxKind.CloseParenToken), statement);
_generated\1\Syntax.xml.Internal.Generated.cs (2)
31433if (fixedKeyword.Kind != SyntaxKind.FixedKeyword) throw new ArgumentException(nameof(fixedKeyword)); 36860if (fixedKeyword.Kind != SyntaxKind.FixedKeyword) throw new ArgumentException(nameof(fixedKeyword));
Parser\LanguageParser.cs (9)
2443case SyntaxKind.FixedKeyword: 2655case SyntaxKind.FixedKeyword: 2741if (this.CurrentToken.Kind == SyntaxKind.FixedKeyword) 3302if (this.CurrentToken.Kind == SyntaxKind.FixedKeyword) 5106Debug.Assert(this.CurrentToken.Kind == SyntaxKind.FixedKeyword); 5488if (mods.Any(SyntaxKind.FixedKeyword)) 8359case SyntaxKind.FixedKeyword: 9250case SyntaxKind.FixedKeyword: 9309var @fixed = this.EatToken(SyntaxKind.FixedKeyword);
Symbols\Source\ModifierUtils.cs (2)
347return SyntaxFacts.GetText(SyntaxKind.FixedKeyword); 407case SyntaxKind.FixedKeyword:
Symbols\Source\SourceMemberFieldSymbol.cs (1)
244if (modifier.IsKind(SyntaxKind.FixedKeyword))
Syntax\SyntaxKindFacts.cs (2)
977return SyntaxKind.FixedKeyword; 1678case SyntaxKind.FixedKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
44public static readonly SyntaxToken FixedKeyword = Token(SyntaxKind.FixedKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
157previousKind == SyntaxKind.FixedKeyword))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
144SyntaxKind.FixedKeyword => Modifiers.Fixed,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1897token.GetPreviousToken(includeSkipped: true).IsKind(SyntaxKind.FixedKeyword))
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\FixedKeywordRecommender.cs (1)
12internal sealed class FixedKeywordRecommender() : AbstractSyntacticSingleKeywordRecommender(SyntaxKind.FixedKeyword)
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
44public static readonly SyntaxToken FixedKeyword = Token(SyntaxKind.FixedKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
157previousKind == SyntaxKind.FixedKeyword))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
144SyntaxKind.FixedKeyword => Modifiers.Fixed,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1897token.GetPreviousToken(includeSkipped: true).IsKind(SyntaxKind.FixedKeyword))
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Legacy\NativeCSharpTokenizer.cs (1)
33CSharpSyntaxKind.FixedKeyword,
Roslyn.Diagnostics.CSharp.Analyzers (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
44public static readonly SyntaxToken FixedKeyword = Token(SyntaxKind.FixedKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
157previousKind == SyntaxKind.FixedKeyword))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
144SyntaxKind.FixedKeyword => Modifiers.Fixed,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1897token.GetPreviousToken(includeSkipped: true).IsKind(SyntaxKind.FixedKeyword))