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