1 write to Parts
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7783this.Parts = parts;
35 references to Parts
Microsoft.CodeAnalysis.CSharp (35)
Binder\Binder.ValueChecks.cs (1)
5645foreach (var part in interpolatedString.Parts)
Binder\Binder_InterpolatedString.cs (13)
245Debug.Assert(unconvertedInterpolatedString.Parts.All(static part => part.Type is null or { SpecialType: SpecialType.System_String })); 249if ((unconvertedInterpolatedString.Parts.Length > 4 || !AllInterpolatedStringPartsAreStrings(unconvertedInterpolatedString.Parts)) && 432=> !unconvertedInterpolatedString.Parts.ContainsAwaitExpression() 433&& unconvertedInterpolatedString.Parts.All(p => p is not BoundStringInsert { Value.Type.TypeKind: TypeKind.Dynamic }); 476partsArrayBuilder.Add(unconvertedInterpolatedString.Parts); 584ImmutableArray.Create(unconvertedInterpolatedString.Parts), 615partsArrayBuilder.Add(unconvertedInterpolatedString.Parts); 854for (int i = 0; i < unconvertedInterpolatedString.Parts.Length; i++) 856var part = unconvertedInterpolatedString.Parts[i]; 874partsBuilder = ArrayBuilder<BoundExpression>.GetInstance(unconvertedInterpolatedString.Parts.Length); 875partsBuilder.AddRange(unconvertedInterpolatedString.Parts, i); 892return partsBuilder?.ToImmutableAndFree() ?? unconvertedInterpolatedString.Parts;
FlowAnalysis\AbstractFlowPass.cs (4)
2726if (node.Parts.IsEmpty) 2735parts = node.Parts.AsSpan(); 2739VisitRvalue(node.Parts[0]); 2741parts = node.Parts.AsSpan()[1..];
Generated\BoundNodes.xml.Generated.cs (10)
7807if (parts != this.Parts || constantValueOpt != this.ConstantValueOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 7835if (!interpolationData.Equals(this.InterpolationData) || parts != this.Parts || constantValueOpt != this.ConstantValueOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10695this.VisitList(node.Parts); 10700this.VisitList(node.Parts); 12054ImmutableArray<BoundExpression> parts = this.VisitList(node.Parts); 12060ImmutableArray<BoundExpression> parts = this.VisitList(node.Parts); 14653ImmutableArray<BoundExpression> parts = this.VisitList(node.Parts); 14670ImmutableArray<BoundExpression> parts = this.VisitList(node.Parts); 16888new TreeDumperNode("parts", null, from x in node.Parts select Visit(x, null)), 16898new TreeDumperNode("parts", null, from x in node.Parts select Visit(x, null)),
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
168partsBuilder.AddRange(interpolatedString.Parts);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
29BoundInterpolatedString { InterpolationData: { BuilderType: not null } d, Parts: { } p } => (d, p),
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (3)
149return LowerPartsToString(data, node.Parts, node.Syntax, node.Type); 158int length = node.Parts.Length; 168var part = node.Parts[i];
Operations\CSharpOperationFactory.cs (2)
2263ImmutableArray<IInterpolatedStringContentOperation> parts = CreateBoundInterpolatedStringContentOperation(boundInterpolatedString.Parts, positionInfo); 2445var parts = interpolatedString.Parts.SelectAsArray(