Exemplo n.º 1
0
 protected override Task <SyntaxContext> CreateContextAsync(
     Document document,
     int position,
     bool usePartialSemantic,
     CancellationToken cancellationToken
     ) =>
 ImportCompletionProviderHelper.CreateContextAsync(
     document,
     position,
     usePartialSemantic,
     cancellationToken
     );
 protected override ImmutableArray <string> GetImportedNamespaces(
     SyntaxNode location,
     SemanticModel semanticModel,
     CancellationToken cancellationToken)
 => ImportCompletionProviderHelper.GetImportedNamespaces(location, semanticModel);
Exemplo n.º 3
0
 protected override Task <ImmutableArray <string> > GetImportedNamespacesAsync(
     SyntaxContext syntaxContext,
     CancellationToken cancellationToken)
 => ImportCompletionProviderHelper.GetImportedNamespacesAsync(syntaxContext, cancellationToken);