21 references to Create
Microsoft.AspNetCore.App.Analyzers (4)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (2)
87return Task.FromResult(CompletionChange.Create( 528CompletionChange.Create(
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (2)
81return Task.FromResult(CompletionChange.Create( 380CompletionChange.Create(
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider.cs (1)
200return CompletionChange.Create(
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Completion\CompletionServiceTests.cs (1)
126return Task.FromResult(CompletionChange.Create(new TextChange(item.Span, nameof(DebugAssertTestCompletionProvider))));
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (2)
8238Dim change = CompletionChange.Create( 8281Return Task.FromResult(CompletionChange.Create(New TextChange(item.Span, commitText)))
Microsoft.CodeAnalysis.Features (11)
Completion\CommonCompletionProvider.cs (1)
114return CompletionChange.Create(change);
Completion\CompletionProvider.cs (1)
79=> Task.FromResult(CompletionChange.Create(new TextChange(item.Span, item.DisplayText)));
Completion\CompletionService.cs (2)
259return CompletionChange.Create(new TextChange(new TextSpan(), "")); 267return CompletionChange.Create(new TextChange(item.Span, item.DisplayText));
Completion\Providers\AbstractDocCommentCompletionProvider.cs (1)
304return CompletionChange.Create(
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (1)
281return CompletionChange.Create(textChange);
Completion\Providers\ImportCompletionProvider\AbstractImportCompletionProvider.cs (1)
135return CompletionChange.Create(new TextChange(completionItem.Span, completionText));
EmbeddedLanguages\DateAndTime\DateAndTimeEmbeddedCompletionProvider.cs (1)
226return Task.FromResult(CompletionChange.Create(
EmbeddedLanguages\DateAndTime\EmbeddedCompletionContext.cs (1)
144CompletionChange.Create(
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedCompletionProvider.cs (2)
287change: CompletionChange.Create( 455return Task.FromResult(CompletionChange.Create(
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Completion\CompletionResultFactory.cs (1)
555return CompletionChange.Create(new TextChange(completionItem.Span, completionItem.DisplayText));
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Completion\CompletionResolveTests.cs (1)
508return Task.FromResult(CompletionChange.Create(textChange, newPosition: 0));