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