1 write to WasTargetTyped
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
2020this.WasTargetTyped = wasTargetTyped;
13 references to WasTargetTyped
Microsoft.CodeAnalysis.CSharp (13)
Compilation\CSharpSemanticModel.cs (1)
2147else if (boundExpr is BoundConditionalOperator { WasTargetTyped: true } cond)
FlowAnalysis\NullableWalker.cs (3)
4747return node is BoundConditionalOperator { WasTargetTyped: true } or 5947Debug.Assert(node is not BoundConditionalOperator { WasTargetTyped: true }, """ 6000bool wasTargetTyped = node is BoundConditionalOperator { WasTargetTyped: true };
Generated\BoundNodes.xml.Generated.cs (5)
2037if (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)) 11131return node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, naturalTypeOpt, node.WasTargetTyped, type); 12926updatedNode = node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, naturalTypeOpt, node.WasTargetTyped, infoAndType.Type!); 12931updatedNode = node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, naturalTypeOpt, node.WasTargetTyped, node.Type); 15444new 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 (2)
1117return UpdateExpression(conditionBuilder, node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, node.NaturalTypeOpt, node.WasTargetTyped, node.Type)); 1170return conditionBuilder.Update(node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, node.NaturalTypeOpt, node.WasTargetTyped, node.Type));