41 references to FixedKeyword
Microsoft.CodeAnalysis.CSharp (14)
Parser\LanguageParser.cs (9)
2333case SyntaxKind.FixedKeyword: 2530case SyntaxKind.FixedKeyword: 2620if (this.CurrentToken.Kind == SyntaxKind.FixedKeyword) 3093if (this.CurrentToken.Kind == SyntaxKind.FixedKeyword) 4786Debug.Assert(this.CurrentToken.Kind == SyntaxKind.FixedKeyword); 5166if (mods.Any(SyntaxKind.FixedKeyword)) 7982case SyntaxKind.FixedKeyword: 8812case SyntaxKind.FixedKeyword: 8854var @fixed = this.EatToken(SyntaxKind.FixedKeyword);
Symbols\Source\ModifierUtils.cs (2)
312return SyntaxFacts.GetText(SyntaxKind.FixedKeyword); 368case SyntaxKind.FixedKeyword:
Symbols\Source\SourceMemberFieldSymbol.cs (1)
198if (modifier.IsKind(SyntaxKind.FixedKeyword))
Syntax\SyntaxKindFacts.cs (2)
947return SyntaxKind.FixedKeyword; 1595case SyntaxKind.FixedKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
157previousKind == SyntaxKind.FixedKeyword))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1889token.GetPreviousToken(includeSkipped: true).IsKind(SyntaxKind.FixedKeyword))
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\FixedKeywordRecommender.cs (1)
25: base(SyntaxKind.FixedKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (22)
Generated\Syntax.Test.xml.Generated.cs (4)
410=> InternalSyntaxFactory.FixedStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), InternalSyntaxFactory.Token(SyntaxKind.FixedKeyword), InternalSyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateVariableDeclaration(), InternalSyntaxFactory.Token(SyntaxKind.CloseParenToken), GenerateBlock()); 2357Assert.Equal(SyntaxKind.FixedKeyword, node.FixedKeyword.Kind); 10626=> SyntaxFactory.FixedStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.FixedKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateVariableDeclaration(), SyntaxFactory.Token(SyntaxKind.CloseParenToken), GenerateBlock()); 12573Assert.Equal(SyntaxKind.FixedKeyword, node.FixedKeyword.Kind());
Parsing\DeclarationParsingTests.cs (1)
4087Assert.Equal(SyntaxKind.FixedKeyword, fs.Modifiers[0].Kind());
Parsing\DeclarationScopeParsingTests.cs (7)
13769N(SyntaxKind.FixedKeyword); 13882N(SyntaxKind.FixedKeyword); 14108N(SyntaxKind.FixedKeyword); 14181N(SyntaxKind.FixedKeyword); 14567N(SyntaxKind.FixedKeyword); 14614N(SyntaxKind.FixedKeyword); 14661N(SyntaxKind.FixedKeyword);
Parsing\FunctionPointerTests.cs (1)
2894N(SyntaxKind.FixedKeyword);
Parsing\RecordParsing.cs (1)
4012N(SyntaxKind.FixedKeyword);
Parsing\RefFieldParsingTests.cs (4)
476N(SyntaxKind.FixedKeyword); 508N(SyntaxKind.FixedKeyword); 576N(SyntaxKind.FixedKeyword); 616N(SyntaxKind.FixedKeyword);
Parsing\ScriptParsingTests.cs (3)
1341N(SyntaxKind.FixedKeyword); 1376N(SyntaxKind.FixedKeyword); 2551N(SyntaxKind.FixedKeyword);
Parsing\StatementAttributeParsingTests.cs (1)
1640N(SyntaxKind.FixedKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
157previousKind == SyntaxKind.FixedKeyword))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1889token.GetPreviousToken(includeSkipped: true).IsKind(SyntaxKind.FixedKeyword))