1 write to NaturalTypeOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
2018
this.
NaturalTypeOpt
= naturalTypeOpt;
10 references to NaturalTypeOpt
Microsoft.CodeAnalysis.CSharp (10)
CodeGen\Optimizer.cs (1)
1470
return node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, node.
NaturalTypeOpt
, node.WasCompilerGenerated, node.Type);
Compilation\CSharpSemanticModel.cs (2)
2152
type = cond.
NaturalTypeOpt
;
2160
type = cond.
NaturalTypeOpt
;
Generated\BoundNodes.xml.Generated.cs (4)
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))
11092
TypeSymbol? naturalTypeOpt = this.VisitType(node.
NaturalTypeOpt
);
12881
TypeSymbol? naturalTypeOpt = GetUpdatedSymbol(node, node.
NaturalTypeOpt
);
15406
new TreeDumperNode("naturalTypeOpt", node.
NaturalTypeOpt
, 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\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));