60 references to Expression
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder_Query.cs (5)
29var boundFromExpression = BindLeftOfPotentialColorColorMemberAccess(fromClause.Expression, diagnostics);
35diagnostics.Add(ErrorCode.ERR_BadDynamicQuery, fromClause.Expression.Location);
36boundFromExpression = BadExpression(fromClause.Expression, boundFromExpression);
594collectionSelectorLambda = MakeQueryUnboundLambda(state.RangeVariableMap(), x1, from.Expression, diagnostics.AccumulatesDependencies);
598collectionSelectorLambda = MakeQueryUnboundLambdaWithCast(state.RangeVariableMap(), x1, from.Expression, from.Type, BindTypeArgument(from.Type, diagnostics), diagnostics.AccumulatesDependencies);
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);
4473public FromClauseSyntax WithInKeyword(SyntaxToken inKeyword) => Update(this.FromKeyword, this.Type, this.Identifier, inKeyword, this.Expression);
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp.Features (9)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (18)
Parsing\ExpressionParsingTests.cs (16)
2311Assert.Equal("A", fs.Expression.ToString());
2345Assert.Equal("A", fs.Expression.ToString());
2378Assert.Equal("A", fs.Expression.ToString());
2428Assert.Equal("A", fs.Expression.ToString());
2468Assert.Equal("A", fs.Expression.ToString());
2479Assert.Equal("B", fs.Expression.ToString());
2511Assert.Equal("A", fs.Expression.ToString());
2556Assert.Equal("A", fs.Expression.ToString());
2601Assert.Equal("A", fs.Expression.ToString());
2650Assert.Equal("A", fs.Expression.ToString());
2698Assert.Equal("A", fs.Expression.ToString());
2745Assert.Equal("A", fs.Expression.ToString());
2784Assert.Equal("A", fs.Expression.ToString());
2838Assert.Equal("A", fs.Expression.ToString());
2895Assert.Equal("A", fs.Expression.ToString());
2949Assert.Equal("A", fs.Expression.ToString());
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Roslyn.Diagnostics.CSharp.Analyzers (3)