1 write to WasTargetTyped
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
2007this.WasTargetTyped = wasTargetTyped;
11 references to WasTargetTyped
Microsoft.CodeAnalysis.CSharp (11)
Compilation\CSharpSemanticModel.cs (1)
2168else if (boundExpr is BoundConditionalOperator { WasTargetTyped: true } cond)
FlowAnalysis\NullableWalker.cs (2)
4283return node is BoundConditionalOperator { WasTargetTyped: true } or 5465bool wasTargetTyped = node is BoundConditionalOperator { WasTargetTyped: true };
Generated\BoundNodes.xml.Generated.cs (5)
2024if (isRef != this.IsRef || condition != this.Condition || consequence != this.Consequence || alternative != this.Alternative || constantValueOpt != this.ConstantValueOpt || !TypeSymbol.Equals(naturalTypeOpt, this.NaturalTypeOpt, TypeCompareKind.ConsiderEverything) || wasTargetTyped != this.WasTargetTyped || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10715return node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, naturalTypeOpt, node.WasTargetTyped, type); 12455updatedNode = node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, naturalTypeOpt, node.WasTargetTyped, infoAndType.Type!); 12460updatedNode = node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, naturalTypeOpt, node.WasTargetTyped, node.Type); 14870new TreeDumperNode("wasTargetTyped", node.WasTargetTyped, null),
Lowering\LocalRewriter\LocalRewriter_ConditionalOperator.cs (1)
29return node.Update(node.IsRef, rewrittenCondition, rewrittenConsequence, rewrittenAlternative, node.ConstantValueOpt, node.NaturalTypeOpt, node.WasTargetTyped, node.Type);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
43Debug.Assert(node.Operand is BoundConditionalOperator { WasTargetTyped: true });
Lowering\SpillSequenceSpiller.cs (1)
1046return UpdateExpression(conditionBuilder, node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, node.NaturalTypeOpt, node.WasTargetTyped, node.Type));