2 instantiations of NameDeclarationInfo
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (2)
153result = new NameDeclarationInfo( 421result = new NameDeclarationInfo(
34 references to NameDeclarationInfo
Microsoft.CodeAnalysis.CSharp.Features (34)
Completion\CompletionProviders\DeclarationName\DeclarationNameCompletionProvider.cs (1)
70var nameInfo = await NameDeclarationInfo.GetDeclarationInfoAsync(document, position, cancellationToken).ConfigureAwait(false);
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (21)
44public static async Task<NameDeclarationInfo> GetDeclarationInfoAsync(Document document, int position, CancellationToken cancellationToken) 66private static async Task<NameDeclarationInfo> GetDeclarationInfoWorkerAsync(Document document, int position, CancellationToken cancellationToken) 98CancellationToken cancellationToken, out NameDeclarationInfo result) 112CancellationToken cancellationToken, out NameDeclarationInfo result) 136ITypeInferenceService typeInferenceService, CancellationToken cancellationToken, out NameDeclarationInfo result) 169CancellationToken cancellationToken, out NameDeclarationInfo result) 191CancellationToken cancellationToken, out NameDeclarationInfo result) 205CancellationToken cancellationToken, out NameDeclarationInfo result) 218private static NameDeclarationInfo IsFollowingTypeOrComma<TSyntaxNode>( 267private static NameDeclarationInfo IsLastTokenOfType<TSyntaxNode>( 278private static NameDeclarationInfo IsLastTokenOfType<TSyntaxNode>( 310CancellationToken cancellationToken, out NameDeclarationInfo result) 321CancellationToken cancellationToken, out NameDeclarationInfo result) 332CancellationToken cancellationToken, out NameDeclarationInfo result) 343CancellationToken cancellationToken, out NameDeclarationInfo result) 388CancellationToken cancellationToken, out NameDeclarationInfo result) 401CancellationToken cancellationToken, out NameDeclarationInfo result) 416private static bool IsTypeParameterDeclaration(SyntaxToken token, out NameDeclarationInfo result) 433CancellationToken cancellationToken, out NameDeclarationInfo result) 453CancellationToken cancellationToken, out NameDeclarationInfo result) 468out NameDeclarationInfo result)
Completion\CompletionProviders\DeclarationName\DeclarationNameRecommender.cs (8)
42NameDeclarationInfo nameInfo, 66private ImmutableArray<ImmutableArray<string>> GetBaseNames(SemanticModel semanticModel, NameDeclarationInfo nameInfo) 204NameDeclarationInfo declarationInfo, 229NameDeclarationInfo declarationInfo, 264NameDeclarationInfo.GetGlyph(NameDeclarationInfo.GetSymbolKind(kind), declarationInfo.DeclaredAccessibility))); 281CSharpSyntaxContext context, NameDeclarationInfo declarationInfo, ArrayBuilder<(string, Glyph)> result, CancellationToken cancellationToken) 309result.Add((overloadParameter.Name, NameDeclarationInfo.GetGlyph(SymbolKind.Parameter, declarationInfo.DeclaredAccessibility)));
Completion\CompletionProviders\DeclarationName\IDeclarationNameRecommender.cs (1)
19NameDeclarationInfo nameInfo,
ExternalAccess\Pythia\PythiaDeclarationNameRecommender.cs (3)
30NameDeclarationInfo nameInfo, 41name => (name, NameDeclarationInfo.GetGlyph(NameDeclarationInfo.GetSymbolKind(nameInfo.PossibleSymbolKinds[0]), nameInfo.DeclaredAccessibility)));