1 implementation of PlaceholderKind
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
10277
public InterpolatedStringArgumentPlaceholderKind
PlaceholderKind
{ get; }
8 references to PlaceholderKind
Microsoft.CodeAnalysis (4)
Generated\Operations.Generated.cs (1)
3728
/// -1 if <see cref="
PlaceholderKind
" /> is anything other than <see cref="InterpolatedStringArgumentPlaceholderKind.CallsiteArgument" />.
Operations\ControlFlowGraphBuilder.cs (3)
6818
if (arguments[i] is { Value: IInterpolatedStringHandlerArgumentPlaceholderOperation {
PlaceholderKind
: InterpolatedStringArgumentPlaceholderKind.TrailingValidityArgument } } arg)
6966
switch (operation.
PlaceholderKind
)
7000
throw ExceptionUtilities.UnexpectedValue(operation.
PlaceholderKind
);
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\OperationTreeVerifier.cs (2)
1944
if (operation.
PlaceholderKind
is InterpolatedStringArgumentPlaceholderKind.CallsiteArgument)
1950
LogString($" ({operation.
PlaceholderKind
})");
Compilation\TestOperationVisitor.cs (2)
1340
if (operation.
PlaceholderKind
is InterpolatedStringArgumentPlaceholderKind.CallsiteReceiver or InterpolatedStringArgumentPlaceholderKind.TrailingValidityArgument)
1346
Assert.Equal(InterpolatedStringArgumentPlaceholderKind.CallsiteArgument, operation.
PlaceholderKind
);