163 references to ForKeyword
Microsoft.AspNetCore.Razor.Language.UnitTests (1)
Microsoft.CodeAnalysis.CSharp (10)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Features (4)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (139)
Generated\Syntax.Test.xml.Generated.cs (4)
401=> InternalSyntaxFactory.ForStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), InternalSyntaxFactory.Token(SyntaxKind.ForKeyword), InternalSyntaxFactory.Token(SyntaxKind.OpenParenToken), null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.ExpressionSyntax>(), InternalSyntaxFactory.Token(SyntaxKind.SemicolonToken), null, InternalSyntaxFactory.Token(SyntaxKind.SemicolonToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.ExpressionSyntax>(), InternalSyntaxFactory.Token(SyntaxKind.CloseParenToken), GenerateBlock());
2306Assert.Equal(SyntaxKind.ForKeyword, node.ForKeyword.Kind);
10791=> SyntaxFactory.ForStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.ForKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), default(VariableDeclarationSyntax), new SeparatedSyntaxList<ExpressionSyntax>(), SyntaxFactory.Token(SyntaxKind.SemicolonToken), default(ExpressionSyntax), SyntaxFactory.Token(SyntaxKind.SemicolonToken), new SeparatedSyntaxList<ExpressionSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken), GenerateBlock());
12696Assert.Equal(SyntaxKind.ForKeyword, node.ForKeyword.Kind());
Parsing\StatementParsingTests.cs (11)
1528Assert.Equal(SyntaxKind.ForKeyword, fs.ForKeyword.Kind());
1554Assert.Equal(SyntaxKind.ForKeyword, fs.ForKeyword.Kind());
1591Assert.Equal(SyntaxKind.ForKeyword, fs.ForKeyword.Kind());
1630Assert.Equal(SyntaxKind.ForKeyword, fs.ForKeyword.Kind());
1670N(SyntaxKind.ForKeyword);
1739Assert.Equal(SyntaxKind.ForKeyword, fs.ForKeyword.Kind());
1768Assert.Equal(SyntaxKind.ForKeyword, fs.ForKeyword.Kind());
1798Assert.Equal(SyntaxKind.ForKeyword, fs.ForKeyword.Kind());
1828Assert.Equal(SyntaxKind.ForKeyword, fs.ForKeyword.Kind());
1858Assert.Equal(SyntaxKind.ForKeyword, fs.ForKeyword.Kind());
1889Assert.Equal(SyntaxKind.ForKeyword, fs.ForKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.Razor.Compiler (2)
Roslyn.Diagnostics.CSharp.Analyzers (2)