1 write to NewPosition
Microsoft.CodeAnalysis.Features (1)
Completion\CompletionChange.cs (1)
55NewPosition = newPosition;
13 references to NewPosition
Microsoft.AspNetCore.App.Analyzers (4)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (2)
264if (change.NewPosition != null) 266properties.Add(NewPositionKey, change.NewPosition.Value.ToString(CultureInfo.InvariantCulture));
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (2)
143if (change.NewPosition != null) 145properties.Add(NewPositionKey, change.NewPosition.Value.ToString(CultureInfo.InvariantCulture));
Microsoft.CodeAnalysis.EditorFeatures (2)
IntelliSense\AsyncCompletion\CommitManager.cs (2)
281if (change.NewPosition.HasValue) 285view.TryMoveCaretToAndEnsureVisible(new SnapshotPoint(updatedCurrentSnapshot, change.NewPosition.Value));
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Completion\AbstractCompletionProviderTests.cs (1)
519var caretPosition = commit.NewPosition ?? textView.Caret.Position.BufferPosition.Position;
Microsoft.CodeAnalysis.Features (4)
Completion\CompletionChange.cs (4)
123=> new(textChange, TextChanges, NewPosition, IncludesCommitCharacter); 129=> new(TextChange, textChanges, NewPosition, IncludesCommitCharacter); 132/// Creates a copy of this <see cref="CompletionChange"/> with the <see cref="NewPosition"/> property changed. 141=> new(TextChange, TextChanges, NewPosition, includesCommitCharacter);
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\Completion\CompletionResultFactory.cs (2)
688var newPosition = completionChange.NewPosition; 701var caretPosition = completionChange.NewPosition;