1 implementation of IInterpolatedStringOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
6204internal sealed partial class InterpolatedStringOperation : Operation, IInterpolatedStringOperation
27 references to IInterpolatedStringOperation
Microsoft.CodeAnalysis (14)
Generated\OperationKind.Generated.cs (1)
118/// <summary>Indicates an <see cref="IInterpolatedStringOperation"/>.</summary>
Generated\Operations.Generated.cs (8)
3383/// True if the AppendLiteral or AppendFormatted calls in nested <see cref="IInterpolatedStringOperation.Parts" /> return <see langword="bool" />. When that is true, each part 3387/// when this is true and <see cref="HandlerCreationHasSuccessParameter" /> is true, then the first part in nested <see cref="IInterpolatedStringOperation.Parts" /> is conditionally 3395/// The interpolated string expression or addition operation that makes up the content of this string. This is either an <see cref="IInterpolatedStringOperation" /> 3414/// The interpolated string expression or addition operation on the left side of the operator. This is either an <see cref="IInterpolatedStringOperation" /> 3419/// The interpolated string expression or addition operation on the right side of the operator. This is either an <see cref="IInterpolatedStringOperation" /> 10476public override IOperation VisitInterpolatedString(IInterpolatedStringOperation operation, object? argument) 10897public virtual void VisitInterpolatedString(IInterpolatedStringOperation operation) => DefaultVisit(operation); 11033public virtual TResult? VisitInterpolatedString(IInterpolatedStringOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (5)
6656if (creation.Content is IInterpolatedStringOperation interpolatedString) 6670case IInterpolatedStringOperation interpolatedString1: 6681case IInterpolatedStringOperation interpolatedString1: 6695static void appendStringCalls(IInterpolatedStringOperation interpolatedString, ArrayBuilder<IInterpolatedStringAppendOperation> appendCalls) 6787public override IOperation VisitInterpolatedString(IInterpolatedStringOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.CodeStyle (2)
AbstractSimplifyInterpolationHelpers.cs (2)
160var interpolatedStringOperation = AncestorsAndSelf(operation).OfType<IInterpolatedStringOperation>().FirstOrDefault();
Microsoft.CodeAnalysis.CSharp (2)
Operations\CSharpOperationFactory.cs (2)
1480static IInterpolatedStringOperation createInterpolatedStringOperand( 2143private IInterpolatedStringOperation CreateBoundInterpolatedStringExpressionOperation(BoundInterpolatedString boundInterpolatedString, ImmutableArray<(bool IsLiteral, bool HasAlignment, bool HasFormat)>? positionInfo = null)
Microsoft.CodeAnalysis.Features (2)
AbstractSimplifyInterpolationHelpers.cs (2)
160var interpolatedStringOperation = AncestorsAndSelf(operation).OfType<IInterpolatedStringOperation>().FirstOrDefault();
Microsoft.CodeAnalysis.Test.Utilities (6)
Compilation\OperationTreeVerifier.cs (2)
1842public override void VisitInterpolatedString(IInterpolatedStringOperation operation) 1844LogString(nameof(IInterpolatedStringOperation));
Compilation\TestOperationVisitor.cs (4)
1263public override void VisitInterpolatedString(IInterpolatedStringOperation operation) 1306Assert.True(operation.Content is IInterpolatedStringAdditionOperation or IInterpolatedStringOperation); 1315Assert.True(operation.Left is IInterpolatedStringAdditionOperation or IInterpolatedStringOperation); 1316Assert.True(operation.Right is IInterpolatedStringAdditionOperation or IInterpolatedStringOperation);
Microsoft.CodeAnalysis.VisualBasic (1)
Operations\VisualBasicOperationFactory.vb (1)
1558Private Function CreateBoundInterpolatedStringExpressionOperation(boundInterpolatedString As BoundInterpolatedStringExpression) As IInterpolatedStringOperation