7 references to Utilities
Microsoft.CodeAnalysis.Features (7)
Completion\CompletionContext.cs (1)
220
return
Utilities
.CreateSyntaxContextWithExistingSpeculativeModelAsync(document, Position, cancellationToken);
Completion\Providers\AbstractAwaitCompletionProvider.cs (1)
238
return CompletionChange.Create(
Utilities
.Collapse(newText, allChanges), allChanges);
Completion\Providers\AbstractMemberInsertingCompletionProvider.cs (1)
71
var change =
Utilities
.Collapse(newText, changesArray);
Completion\Providers\AbstractRecommendationServiceBasedCompletionProvider.cs (1)
234
var context = await
Utilities
.CreateSyntaxContextWithExistingSpeculativeModelAsync(relatedDocument, position, cancellationToken).ConfigureAwait(false) as TSyntaxContext;
Completion\Providers\ImportCompletionProvider\AbstractImportCompletionProvider.cs (1)
167
var change =
Utilities
.Collapse(newText, changes);
Completion\Providers\Snippets\AbstractSnippetCompletionProvider.cs (1)
46
var change =
Utilities
.Collapse(allChangesText, allTextChanges.AsImmutable());
Completion\SharedSyntaxContextsWithSpeculativeModel.cs (1)
47
=>
Utilities
.CreateSyntaxContextWithExistingSpeculativeModelAsync(arg.d, arg._position, cancellationToken), (d, self._position)));