5 references to Update
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_InterpolatedString.cs (1)
955
argumentsBuilder.Add(boundLiteral.
Update
(ConstantValue.Create(literalText), boundLiteral.Type));
Generated\BoundNodes.xml.Generated.cs (2)
11547
return node.
Update
(node.ConstantValueOpt, type);
13631
BoundLiteral updatedNode = node.
Update
(node.ConstantValueOpt, infoAndType.Type);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
554
return Constant(literal.
Update
(literal.ConstantValueOpt, promotedType));
Lowering\LocalRewriter\LocalRewriter_Literal.cs (1)
43
return oldNodeOpt.
Update
(constantValue, type);