1 write to Expression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4888this.Expression = expression;
21 references to Expression
Microsoft.CodeAnalysis.CSharp (21)
Binder\RefSafetyAnalysis.cs (2)
403this.Visit(node.Expression); 404using var _ = new PatternInput(this, GetValEscape(node.Expression, _localScopeDepth));
BoundTree\BoundSwitchExpression.cs (1)
22this.Expression,
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
157VisitRvalue(node.Expression);
FlowAnalysis\NullableWalker_Patterns.cs (5)
880int slot = GetSlotForSwitchInputValue(node.Expression); 883var originalInputType = node.Expression.Type; 890Visit(node.Expression); 892var labelStateMap = LearnFromDecisionDag(node.Syntax, node.ReachabilityDecisionDag, node.Expression, expressionState, stateWhenNotNullOpt: null); 903BoundDagTemp.ForOriginalInput(node.Expression), nodes, leaf, nullPaths: true, out bool requiresFalseWhenClause, out _);
Generated\BoundNodes.xml.Generated.cs (10)
4959if (expression != this.Expression || switchArms != this.SwitchArms || reachabilityDecisionDag != this.ReachabilityDecisionDag || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(defaultLabel, this.DefaultLabel) || reportedNotExhaustive != this.ReportedNotExhaustive || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 4993if (!TypeSymbol.Equals(naturalTypeOpt, this.NaturalTypeOpt, TypeCompareKind.ConsiderEverything) || wasTargetTyped != this.WasTargetTyped || expression != this.Expression || switchArms != this.SwitchArms || reachabilityDecisionDag != this.ReachabilityDecisionDag || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(defaultLabel, this.DefaultLabel) || reportedNotExhaustive != this.ReportedNotExhaustive || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10310this.Visit(node.Expression); 10316this.Visit(node.Expression); 11565BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 11573BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 13673BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 13693BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 16115new TreeDumperNode("expression", null, new TreeDumperNode[] { Visit(node.Expression, null) }), 16129new TreeDumperNode("expression", null, new TreeDumperNode[] { Visit(node.Expression, null) }),
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (1)
51var loweredSwitchGoverningExpression = _localRewriter.VisitExpression(node.Expression);
Operations\CSharpOperationFactory.cs (1)
2706IOperation value = Create(boundSwitchExpression.Expression);