1 write to Format
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7602this.Format = format;
18 references to Format
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_InterpolatedString.cs (5)
298=> parts.All(p => p is BoundLiteral or BoundStringInsert { Value.Type.SpecialType: SpecialType.System_String, Alignment: null, Format: null }); 710partsBuilder.Add(insert.Update(newValue, insert.Alignment, insert.Format, isInterpolatedStringHandlerAppendCall: false)); 773if (insert.Format is not null) 776argumentsBuilder.Add(insert.Format); 777parameterNamesAndLocationsBuilder.Add(("format", insert.Format.Syntax.Location));
FlowAnalysis\AbstractFlowPass.cs (2)
1165if (node.Format != null) 1167VisitRvalue(node.Format);
Generated\BoundNodes.xml.Generated.cs (5)
7617if (value != this.Value || alignment != this.Alignment || format != this.Format || isInterpolatedStringHandlerAppendCall != this.IsInterpolatedStringHandlerAppendCall) 10293this.Visit(node.Format); 11607BoundLiteral? format = (BoundLiteral?)this.Visit(node.Format); 14139BoundLiteral? format = (BoundLiteral?)this.Visit(node.Format); 16267new TreeDumperNode("format", null, new TreeDumperNode[] { Visit(node.Format, null) }),
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (5)
198fillin.Format != null) 228if (fillin.Format != null && !fillin.Format.HasErrors) 230Debug.Assert(fillin.Format.ConstantValueOpt is { }); 231stringBuilder.Append(':').Append(fillin.Format.ConstantValueOpt.StringValue);
Operations\CSharpOperationFactory.cs (1)
2286IOperation? formatString = Create(boundStringInsert.Format);