1 implementation of PlaceholderKind
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
10315
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)
6842
if (arguments[i] is { Value: IInterpolatedStringHandlerArgumentPlaceholderOperation {
PlaceholderKind
: InterpolatedStringArgumentPlaceholderKind.TrailingValidityArgument } } arg)
6990
switch (operation.
PlaceholderKind
)
7027
throw ExceptionUtilities.UnexpectedValue(operation.
PlaceholderKind
);
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\OperationTreeVerifier.cs (2)
1935
if (operation.
PlaceholderKind
is InterpolatedStringArgumentPlaceholderKind.CallsiteArgument)
1941
LogString($" ({operation.
PlaceholderKind
})");
Compilation\TestOperationVisitor.cs (2)
1347
if (operation.
PlaceholderKind
is InterpolatedStringArgumentPlaceholderKind.CallsiteReceiver or InterpolatedStringArgumentPlaceholderKind.TrailingValidityArgument)
1353
Assert.Equal(InterpolatedStringArgumentPlaceholderKind.CallsiteArgument, operation.
PlaceholderKind
);