1 write to Expression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4925
this.
Expression
= expression;
22 references to Expression
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_Conversions.cs (1)
2514
source.Syntax, source.Type, targetTyped, source.
Expression
, newSwitchArms, source.ReachabilityDecisionDag,
Binder\RefSafetyAnalysis.cs (2)
465
this.Visit(node.
Expression
);
466
using var _ = new PatternInput(this, GetValEscape(node.
Expression
));
BoundTree\BoundSwitchExpression.cs (1)
22
this.
Expression
,
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
157
VisitRvalue(node.
Expression
);
FlowAnalysis\NullableWalker_Patterns.cs (5)
1069
int slot = GetSlotForSwitchInputValue(node.
Expression
);
1072
var originalInputType = node.
Expression
.Type;
1079
Visit(node.
Expression
);
1082
var labelStateMap = LearnFromDecisionDag(node.Syntax, node.ReachabilityDecisionDag, node.
Expression
, expressionState, stateWhenNotNullOpt: null, reachabilityInfo: reachabilityInfo);
1095
_binder, BoundDagTemp.ForOriginalInput(node.
Expression
), nodes, leaf, nullPaths: true, reachabilityInfo, out bool requiresFalseWhenClause, out _);
Generated\BoundNodes.xml.Generated.cs (10)
4998
if (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))
5032
if (!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))
10550
this.Visit(node.
Expression
);
10556
this.Visit(node.
Expression
);
11930
BoundExpression expression = (BoundExpression)this.Visit(node.
Expression
);
11939
BoundExpression expression = (BoundExpression)this.Visit(node.
Expression
);
14129
BoundExpression expression = (BoundExpression)this.Visit(node.
Expression
);
14149
BoundExpression expression = (BoundExpression)this.Visit(node.
Expression
);
16604
new TreeDumperNode("expression", null, new TreeDumperNode[] { Visit(node.
Expression
, null) }),
16618
new TreeDumperNode("expression", null, new TreeDumperNode[] { Visit(node.
Expression
, null) }),
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (1)
51
var loweredSwitchGoverningExpression = _localRewriter.VisitExpression(node.
Expression
);
Operations\CSharpOperationFactory.cs (1)
2772
IOperation value = Create(boundSwitchExpression.
Expression
);