1 write to Format
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7920
this.
Format
= format;
19 references to Format
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_InterpolatedString.cs (11)
306
fillin.
Format
!= null)
325
BoundStringInsert {
Format
.ConstantValueOpt: null or { IsBad: true } });
390
if (fillin.
Format
!= null && !fillin.
Format
.HasErrors)
392
Debug.Assert(fillin.
Format
.ConstantValueOpt is { });
393
stringBuilder.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 });
878
partsBuilder.Add(insert.Update(newValue, insert.Alignment, insert.
Format
, isInterpolatedStringHandlerAppendCall: false));
941
if (insert.
Format
is not null)
944
argumentsBuilder.Add(insert.
Format
);
945
parameterNamesAndLocationsBuilder.Add(("format", insert.
Format
.Syntax.Location));
FlowAnalysis\AbstractFlowPass.cs (2)
1221
if (node.
Format
!= null)
1223
VisitRvalue(node.
Format
);
Generated\BoundNodes.xml.Generated.cs (5)
7935
if (value != this.Value || alignment != this.Alignment || format != this.
Format
|| isInterpolatedStringHandlerAppendCall != this.IsInterpolatedStringHandlerAppendCall)
10672
this.Visit(node.
Format
);
12041
BoundLiteral? format = (BoundLiteral?)this.Visit(node.
Format
);
14676
BoundLiteral? format = (BoundLiteral?)this.Visit(node.
Format
);
16887
new TreeDumperNode("format", null, new TreeDumperNode[] { Visit(node.
Format
, null) }),
Operations\CSharpOperationFactory.cs (1)
2403
IOperation? formatString = Create(boundStringInsert.
Format
);