1 implementation of PlaceholderKind
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
10277public 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)
6818if (arguments[i] is { Value: IInterpolatedStringHandlerArgumentPlaceholderOperation { PlaceholderKind: InterpolatedStringArgumentPlaceholderKind.TrailingValidityArgument } } arg) 6966switch (operation.PlaceholderKind) 7000throw ExceptionUtilities.UnexpectedValue(operation.PlaceholderKind);
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\OperationTreeVerifier.cs (2)
1944if (operation.PlaceholderKind is InterpolatedStringArgumentPlaceholderKind.CallsiteArgument) 1950LogString($" ({operation.PlaceholderKind})");
Compilation\TestOperationVisitor.cs (2)
1340if (operation.PlaceholderKind is InterpolatedStringArgumentPlaceholderKind.CallsiteReceiver or InterpolatedStringArgumentPlaceholderKind.TrailingValidityArgument) 1346Assert.Equal(InterpolatedStringArgumentPlaceholderKind.CallsiteArgument, operation.PlaceholderKind);