15 references to InterpolatedStringArgumentPlaceholderKind
Microsoft.CodeAnalysis (8)
Generated\Operations.Generated.cs (4)
3728/// -1 if <see cref="PlaceholderKind" /> is anything other than <see cref="InterpolatedStringArgumentPlaceholderKind.CallsiteArgument" />. 3734InterpolatedStringArgumentPlaceholderKind PlaceholderKind { get; } 10270internal InterpolatedStringHandlerArgumentPlaceholderOperation(int argumentIndex, InterpolatedStringArgumentPlaceholderKind placeholderKind, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit) 10277public InterpolatedStringArgumentPlaceholderKind PlaceholderKind { get; }
Operations\ControlFlowGraphBuilder.cs (4)
6818if (arguments[i] is { Value: IInterpolatedStringHandlerArgumentPlaceholderOperation { PlaceholderKind: InterpolatedStringArgumentPlaceholderKind.TrailingValidityArgument } } arg) 6968case InterpolatedStringArgumentPlaceholderKind.TrailingValidityArgument: 6973case InterpolatedStringArgumentPlaceholderKind.CallsiteReceiver: 6986case InterpolatedStringArgumentPlaceholderKind.CallsiteArgument:
Microsoft.CodeAnalysis.CSharp (3)
Operations\CSharpOperationFactory.cs (3)
2496>= 0 and var index => (InterpolatedStringArgumentPlaceholderKind.CallsiteArgument, index), 2497BoundInterpolatedStringArgumentPlaceholder.InstanceParameter => (InterpolatedStringArgumentPlaceholderKind.CallsiteReceiver, NonArgumentIndex), 2498BoundInterpolatedStringArgumentPlaceholder.TrailingConstructorValidityParameter => (InterpolatedStringArgumentPlaceholderKind.TrailingValidityArgument, NonArgumentIndex),
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\OperationTreeVerifier.cs (1)
1944if (operation.PlaceholderKind is InterpolatedStringArgumentPlaceholderKind.CallsiteArgument)
Compilation\TestOperationVisitor.cs (3)
1340if (operation.PlaceholderKind is InterpolatedStringArgumentPlaceholderKind.CallsiteReceiver or InterpolatedStringArgumentPlaceholderKind.TrailingValidityArgument) 1346Assert.Equal(InterpolatedStringArgumentPlaceholderKind.CallsiteArgument, operation.PlaceholderKind);