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