1 write to Format
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7921this.Format = format;
19 references to Format
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_InterpolatedString.cs (11)
306fillin.Format != null) 325BoundStringInsert { Format.ConstantValueOpt: null or { IsBad: true } }); 390if (fillin.Format != null && !fillin.Format.HasErrors) 392Debug.Assert(fillin.Format.ConstantValueOpt is { }); 393stringBuilder.Append(':').Append(fillin.Format.ConstantValueOpt.StringValue); 436=> parts.All(p => p is BoundLiteral or BoundStringInsert { Value.Type.SpecialType: SpecialType.System_String, Alignment: null, Format: null }); 878partsBuilder.Add(insert.Update(newValue, insert.Alignment, insert.Format, isInterpolatedStringHandlerAppendCall: false)); 941if (insert.Format is not null) 944argumentsBuilder.Add(insert.Format); 945parameterNamesAndLocationsBuilder.Add(("format", insert.Format.Syntax.Location));
FlowAnalysis\AbstractFlowPass.cs (2)
1221if (node.Format != null) 1223VisitRvalue(node.Format);
Generated\BoundNodes.xml.Generated.cs (5)
7936if (value != this.Value || alignment != this.Alignment || format != this.Format || isInterpolatedStringHandlerAppendCall != this.IsInterpolatedStringHandlerAppendCall) 10673this.Visit(node.Format); 12042BoundLiteral? format = (BoundLiteral?)this.Visit(node.Format); 14677BoundLiteral? format = (BoundLiteral?)this.Visit(node.Format); 16888new TreeDumperNode("format", null, new TreeDumperNode[] { Visit(node.Format, null) }),
Operations\CSharpOperationFactory.cs (1)
2403IOperation? formatString = Create(boundStringInsert.Format);