1 implementation of PlaceholderKind
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
9904
public InterpolatedStringArgumentPlaceholderKind
PlaceholderKind
{ get; }
8 references to PlaceholderKind
Microsoft.CodeAnalysis (4)
Generated\Operations.Generated.cs (1)
3460
/// -1 if <see cref="
PlaceholderKind
" /> is anything other than <see cref="InterpolatedStringArgumentPlaceholderKind.CallsiteArgument" />.
Operations\ControlFlowGraphBuilder.cs (3)
6580
if (arguments[i] is { Value: IInterpolatedStringHandlerArgumentPlaceholderOperation {
PlaceholderKind
: InterpolatedStringArgumentPlaceholderKind.TrailingValidityArgument } } arg)
6728
switch (operation.
PlaceholderKind
)
6762
throw ExceptionUtilities.UnexpectedValue(operation.
PlaceholderKind
);
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\OperationTreeVerifier.cs (2)
1906
if (operation.
PlaceholderKind
is InterpolatedStringArgumentPlaceholderKind.CallsiteArgument)
1912
LogString($" ({operation.
PlaceholderKind
})");
Compilation\TestOperationVisitor.cs (2)
1322
if (operation.
PlaceholderKind
is InterpolatedStringArgumentPlaceholderKind.CallsiteReceiver or InterpolatedStringArgumentPlaceholderKind.TrailingValidityArgument)
1328
Assert.Equal(InterpolatedStringArgumentPlaceholderKind.CallsiteArgument, operation.
PlaceholderKind
);