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