1 write to Expression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3782this.Expression = expression;
20 references to Expression
Microsoft.CodeAnalysis.CSharp (20)
Binder\RefSafetyAnalysis.cs (2)
393this.Visit(node.Expression); 395using var _2 = new PatternInput(this, GetValEscape(node.Expression, _localScopeDepth));
BoundTree\BoundNode_Source.cs (1)
282appendSource(switchStatement.Expression);
BoundTree\BoundSwitchStatement.cs (1)
20this.Expression,
FlowAnalysis\AbstractFlowPass_Switch.cs (4)
42VisitRvalue(node.Expression); 52label == node.DefaultLabel && node.Expression.ConstantValueOpt == null && IsTraditionalSwitch(node)) 75(node.DefaultLabel == null && node.Expression.ConstantValueOpt == null && IsTraditionalSwitch(node))) 101if (!node.Expression.Type.IsValidV6SwitchGoverningType())
FlowAnalysis\NullableWalker_Patterns.cs (4)
276int slot = GetSlotForSwitchInputValue(node.Expression); 279var originalInputType = node.Expression.Type; 297Visit(node.Expression); 300var labelStateMap = LearnFromDecisionDag(node.Syntax, node.ReachabilityDecisionDag, node.Expression, expressionState, stateWhenNotNullOpt: null);
Generated\BoundNodes.xml.Generated.cs (5)
3804if (expression != this.Expression || innerLocals != this.InnerLocals || innerLocalFunctions != this.InnerLocalFunctions || switchSections != this.SwitchSections || reachabilityDecisionDag != this.ReachabilityDecisionDag || defaultLabel != this.DefaultLabel || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel)) 10140this.Visit(node.Expression); 11350BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 13396BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 15811new TreeDumperNode("expression", null, new TreeDumperNode[] { Visit(node.Expression, null) }),
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
554syntaxForSpan = ((BoundSwitchStatement)statement).Expression.Syntax;
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (1)
76var loweredSwitchGoverningExpression = _localRewriter.VisitExpression(node.Expression);
Operations\CSharpOperationFactory.cs (1)
2686IOperation value = Create(boundSwitchStatement.Expression);