21 references to HintKind
Microsoft.CodeAnalysis.CSharp.Features (7)
InlineHints\CSharpInlineParameterNameHintsService.cs (7)
37ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> buffer, 53ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> buffer, 71ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> buffer, 86private static HintKind GetKind(ExpressionSyntax arg) 89LiteralExpressionSyntax or InterpolatedStringExpressionSyntax => HintKind.Literal, 90ObjectCreationExpressionSyntax => HintKind.ObjectCreation, 95_ => HintKind.Other,
Microsoft.CodeAnalysis.Features (9)
InlineHints\AbstractInlineParameterNameHintsService.cs (9)
38ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> buffer, 70using var _2 = ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)>.GetInstance(out var buffer); 121ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> parameterHints) 131ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> parameterHints) 149ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> parameterHints) 207private static bool HintMatches(HintKind kind, bool literalParameters, bool objectCreationParameters, bool otherParameters) 211HintKind.Literal => literalParameters, 212HintKind.ObjectCreation => objectCreationParameters, 213HintKind.Other => otherParameters,
Microsoft.CodeAnalysis.VisualBasic.Features (5)
InlineHints\VisualBasicInlineParameterNameHintsService.vb (5)
28buffer As ArrayBuilder(Of (position As Integer, identifierArgument As String, parameter As IParameterSymbol, kind As HintKind)), 60Private Function GetKind(arg As ExpressionSyntax) As HintKind 63Return HintKind.Literal 67Return HintKind.ObjectCreation 91Return HintKind.Other