43 references to InKeyword
Microsoft.CodeAnalysis.CSharp (6)
Syntax.xml.Main.Generated.cs (1)
1726=> node.Update(VisitToken(node.FromKeyword), (TypeSyntax?)Visit(node.Type), VisitToken(node.Identifier), VisitToken(node.InKeyword), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"));
Syntax.xml.Syntax.Generated.cs (5)
4460if (fromKeyword != this.FromKeyword || type != this.Type || identifier != this.Identifier || inKeyword != this.InKeyword || expression != this.Expression) 4470public FromClauseSyntax WithFromKeyword(SyntaxToken fromKeyword) => Update(fromKeyword, this.Type, this.Identifier, this.InKeyword, this.Expression); 4471public FromClauseSyntax WithType(TypeSyntax? type) => Update(this.FromKeyword, type, this.Identifier, this.InKeyword, this.Expression); 4472public FromClauseSyntax WithIdentifier(SyntaxToken identifier) => Update(this.FromKeyword, this.Type, identifier, this.InKeyword, this.Expression); 4474public FromClauseSyntax WithExpression(ExpressionSyntax expression) => Update(this.FromKeyword, this.Type, this.Identifier, this.InKeyword, expression);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
70if (fromClause.InKeyword.IsMissing)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (34)
Generated\Syntax.Test.xml.Generated.cs (2)
11975Assert.Equal(SyntaxKind.InKeyword, node.InKeyword.Kind()); 11977var newNode = node.WithFromKeyword(node.FromKeyword).WithType(node.Type).WithIdentifier(node.Identifier).WithInKeyword(node.InKeyword).WithExpression(node.Expression);
Parsing\ExpressionParsingTests.cs (32)
2309Assert.NotEqual(default, fs.InKeyword); 2310Assert.False(fs.InKeyword.IsMissing); 2343Assert.NotEqual(default, fs.InKeyword); 2344Assert.False(fs.InKeyword.IsMissing); 2376Assert.NotEqual(default, fs.InKeyword); 2377Assert.False(fs.InKeyword.IsMissing); 2426Assert.NotEqual(default, fs.InKeyword); 2427Assert.False(fs.InKeyword.IsMissing); 2466Assert.NotEqual(default, fs.InKeyword); 2467Assert.False(fs.InKeyword.IsMissing); 2477Assert.NotEqual(default, fs.InKeyword); 2478Assert.False(fs.InKeyword.IsMissing); 2509Assert.NotEqual(default, fs.InKeyword); 2510Assert.False(fs.InKeyword.IsMissing); 2554Assert.NotEqual(default, fs.InKeyword); 2555Assert.False(fs.InKeyword.IsMissing); 2599Assert.NotEqual(default, fs.InKeyword); 2600Assert.False(fs.InKeyword.IsMissing); 2648Assert.NotEqual(default, fs.InKeyword); 2649Assert.False(fs.InKeyword.IsMissing); 2696Assert.NotEqual(default, fs.InKeyword); 2697Assert.False(fs.InKeyword.IsMissing); 2743Assert.NotEqual(default, fs.InKeyword); 2744Assert.False(fs.InKeyword.IsMissing); 2782Assert.NotEqual(default, fs.InKeyword); 2783Assert.False(fs.InKeyword.IsMissing); 2836Assert.NotEqual(default, fs.InKeyword); 2837Assert.False(fs.InKeyword.IsMissing); 2893Assert.NotEqual(default, fs.InKeyword); 2894Assert.False(fs.InKeyword.IsMissing); 2947Assert.NotEqual(default, fs.InKeyword); 2948Assert.False(fs.InKeyword.IsMissing);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
70if (fromClause.InKeyword.IsMissing)
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
70if (fromClause.InKeyword.IsMissing)