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