1 write to WasTargetTyped
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4981
this.
WasTargetTyped
= wasTargetTyped;
9 references to WasTargetTyped
Microsoft.CodeAnalysis.CSharp (9)
Compilation\CSharpSemanticModel.cs (1)
2129
else if (boundExpr is BoundConvertedSwitchExpression {
WasTargetTyped
: true } convertedSwitch)
FlowAnalysis\NullableWalker.cs (1)
4687
BoundConvertedSwitchExpression {
WasTargetTyped
: true } or
FlowAnalysis\NullableWalker_Patterns.cs (1)
865
bool inferType = !node.
WasTargetTyped
;
Generated\BoundNodes.xml.Generated.cs (5)
4993
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))
11542
return node.Update(naturalTypeOpt, node.
WasTargetTyped
, expression, switchArms, reachabilityDecisionDag, node.DefaultLabel, node.ReportedNotExhaustive, type);
13664
updatedNode = node.Update(naturalTypeOpt, node.
WasTargetTyped
, expression, switchArms, reachabilityDecisionDag, node.DefaultLabel, node.ReportedNotExhaustive, infoAndType.Type!);
13669
updatedNode = node.Update(naturalTypeOpt, node.
WasTargetTyped
, expression, switchArms, reachabilityDecisionDag, node.DefaultLabel, node.ReportedNotExhaustive, node.Type);
16092
new TreeDumperNode("wasTargetTyped", node.
WasTargetTyped
, null),
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
39
Debug.Assert(node.Operand is BoundConvertedSwitchExpression {
WasTargetTyped
: true });