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