1 write to Expression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4887this.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)
4958if (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)) 4992if (!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)) 10273this.Visit(node.Expression); 10279this.Visit(node.Expression); 11528BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 11536BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 13636BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 13656BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 16078new TreeDumperNode("expression", null, new TreeDumperNode[] { Visit(node.Expression, null) }), 16092new 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);