1 write to Parts
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7782this.Parts = parts;
35 references to Parts
Microsoft.CodeAnalysis.CSharp (35)
Binder\Binder.ValueChecks.cs (1)
5663foreach (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)
2722if (node.Parts.IsEmpty) 2731parts = node.Parts.AsSpan(); 2735VisitRvalue(node.Parts[0]); 2737parts = node.Parts.AsSpan()[1..];
Generated\BoundNodes.xml.Generated.cs (10)
7806if (parts != this.Parts || constantValueOpt != this.ConstantValueOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 7834if (!interpolationData.Equals(this.InterpolationData) || parts != this.Parts || constantValueOpt != this.ConstantValueOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10658this.VisitList(node.Parts); 10663this.VisitList(node.Parts); 12017ImmutableArray<BoundExpression> parts = this.VisitList(node.Parts); 12023ImmutableArray<BoundExpression> parts = this.VisitList(node.Parts); 14616ImmutableArray<BoundExpression> parts = this.VisitList(node.Parts); 14633ImmutableArray<BoundExpression> parts = this.VisitList(node.Parts); 16851new TreeDumperNode("parts", null, from x in node.Parts select Visit(x, null)), 16861new 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(