11 references to NewPosition
Microsoft.AspNetCore.App.Analyzers (4)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (2)
264
if (change.
NewPosition
!= null)
266
properties.Add(NewPositionKey, change.
NewPosition
.Value.ToString(CultureInfo.InvariantCulture));
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (2)
143
if (change.
NewPosition
!= null)
145
properties.Add(NewPositionKey, change.
NewPosition
.Value.ToString(CultureInfo.InvariantCulture));
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Completion\AbstractCompletionProviderTests.cs (1)
666
var caretPosition = commit.
NewPosition
?? textView.Caret.Position.BufferPosition.Position;
Microsoft.CodeAnalysis.Features (4)
Completion\CompletionChange.cs (4)
145
=> new(textChange, TextChanges,
NewPosition
, IncludesCommitCharacter);
151
=> new(TextChange, textChanges,
NewPosition
, IncludesCommitCharacter);
154
/// Creates a copy of this <see cref="CompletionChange"/> with the <see cref="
NewPosition
"/> property changed.
163
=> new(TextChange, TextChanges,
NewPosition
, includesCommitCharacter);
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\Completion\CompletionResultFactory.cs (2)
694
var newPosition = completionChange.
NewPosition
;
707
var caretPosition = completionChange.
NewPosition
;