1 write to WasTargetTyped
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
2019
this.
WasTargetTyped
= wasTargetTyped;
13 references to WasTargetTyped
Microsoft.CodeAnalysis.CSharp (13)
Compilation\CSharpSemanticModel.cs (1)
2147
else if (boundExpr is BoundConditionalOperator {
WasTargetTyped
: true } cond)
FlowAnalysis\NullableWalker.cs (3)
4686
return node is BoundConditionalOperator {
WasTargetTyped
: true } or
5886
Debug.Assert(node is not BoundConditionalOperator {
WasTargetTyped
: true }, """
5939
bool wasTargetTyped = node is BoundConditionalOperator {
WasTargetTyped
: true };
Generated\BoundNodes.xml.Generated.cs (5)
2036
if (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))
11094
return node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, naturalTypeOpt, node.
WasTargetTyped
, type);
12889
updatedNode = node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, naturalTypeOpt, node.
WasTargetTyped
, infoAndType.Type!);
12894
updatedNode = node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, naturalTypeOpt, node.
WasTargetTyped
, node.Type);
15407
new TreeDumperNode("wasTargetTyped", node.
WasTargetTyped
, null),
Lowering\LocalRewriter\LocalRewriter_ConditionalOperator.cs (1)
29
return node.Update(node.IsRef, rewrittenCondition, rewrittenConsequence, rewrittenAlternative, node.ConstantValueOpt, node.NaturalTypeOpt, node.
WasTargetTyped
, node.Type);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
43
Debug.Assert(node.Operand is BoundConditionalOperator {
WasTargetTyped
: true });
Lowering\SpillSequenceSpiller.cs (2)
1117
return UpdateExpression(conditionBuilder, node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, node.NaturalTypeOpt, node.
WasTargetTyped
, node.Type));
1170
return conditionBuilder.Update(node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, node.NaturalTypeOpt, node.
WasTargetTyped
, node.Type));