13 references to Expression
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Expressions.cs (2)
5370ExpressionElementSyntax { Expression: CollectionExpressionSyntax nestedCollectionExpression } => @this.BindCollectionExpression(nestedCollectionExpression, diagnostics, nestingLevel + 1), 5371ExpressionElementSyntax expressionElementSyntax => @this.BindValue(expressionElementSyntax.Expression, diagnostics, BindValueKind.RValue),
Syntax.xml.Main.Generated.cs (1)
1720=> node.Update((ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"));
Syntax.xml.Syntax.Generated.cs (1)
4221if (expression != this.Expression)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (1)
525yield return CreateCollectionElement(useSpread: false, expressionElement.Expression);
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
127result.Add(new(expressionElement.Expression, UseSpread: false, UseKeyValue: false));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1259var types = GetTypes(siblingElement.Expression, objectAsDefault: false);
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (1)
525yield return CreateCollectionElement(useSpread: false, expressionElement.Expression);
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
127result.Add(new(expressionElement.Expression, UseSpread: false, UseKeyValue: false));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
11971Assert.NotNull(node.Expression); 11972var newNode = node.WithExpression(node.Expression);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1259var types = GetTypes(siblingElement.Expression, objectAsDefault: false);
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1259var types = GetTypes(siblingElement.Expression, objectAsDefault: false);