1 write to Position
Microsoft.CodeAnalysis.Features (1)
Completion\CompletionContext.cs (1)
150
Position
= position;
53 references to Position
Microsoft.AspNetCore.App.Analyzers (6)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (2)
94
var position = context.
Position
;
500
Position = _context.
Position
;
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (4)
101
var stringToken = root.FindToken(context.
Position
);
102
if (context.
Position
<= stringToken.SpanStart ||
103
context.
Position
>= stringToken.Span.End)
351
Position = _context.
Position
;
Microsoft.CodeAnalysis.CSharp.Features (21)
Completion\CompletionProviders\AttributeNamedParameterCompletionProvider.cs (5)
56
var position = context.
Position
;
157
var attributeNamedParameters = GetAttributeNamedParameters(semanticModel, context.
Position
, attributeSyntax, context.CancellationToken);
160
var rightToken = semanticModel.SyntaxTree.FindTokenOnRightOfPosition(context.
Position
, context.CancellationToken);
179
var parameterLists = GetParameterLists(semanticModel, context.
Position
, attributeSyntax, context.CancellationToken);
182
var rightToken = semanticModel.SyntaxTree.FindTokenOnRightOfPosition(context.
Position
, context.CancellationToken);
Completion\CompletionProviders\CrefCompletionProvider.cs (1)
63
var position = context.
Position
;
Completion\CompletionProviders\DeclarationName\DeclarationNameCompletionProvider.cs (1)
44
var position = completionContext.
Position
;
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProvider.cs (2)
66
var position = context.
Position
;
127
var position = context.
Position
;
Completion\CompletionProviders\ExplicitInterfaceMemberCompletionProvider.cs (1)
44
var position = context.
Position
;
Completion\CompletionProviders\ExternAliasCompletionProvider.cs (1)
44
var position = context.
Position
;
Completion\CompletionProviders\FunctionPointerUnmanagedCallingConventionCompletionProvider.cs (1)
48
var position = context.
Position
;
Completion\CompletionProviders\NamedParameterCompletionProvider.cs (1)
58
var position = context.
Position
;
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider.cs (1)
101
var position = context.
Position
;
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Indexers.cs (1)
33
contextPosition: context.
Position
,
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Operators.cs (1)
115
contextPosition: context.
Position
,
Completion\CompletionProviders\PropertySubPatternCompletionProvider.cs (2)
45
var position = context.
Position
;
90
contextPosition: context.
Position
,
Completion\CompletionProviders\SnippetCompletionProvider.cs (2)
77
var position = context.
Position
;
104
var position = completionContext.
Position
;
Completion\CompletionProviders\SpeculativeTCompletionProvider.cs (1)
66
var position = completionContext.
Position
;
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Interactive\AbstractInteractiveWindowCommandCompletionProvider.cs (1)
24
var position = context.
Position
;
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
IntelliSense\MockCompletionProvider.vb (1)
32
Dim items = _getItems(context.Document, context.
Position
, context.CancellationToken)
Microsoft.CodeAnalysis.Features (21)
Completion\CompletionContext.cs (1)
220
return Utilities.CreateSyntaxContextWithExistingSpeculativeModelAsync(document,
Position
, cancellationToken);
Completion\Providers\AbstractAwaitCompletionProvider.cs (1)
85
var position = context.
Position
;
Completion\Providers\AbstractDocCommentCompletionProvider.cs (1)
83
context.Document, context.
Position
, context.Trigger, context.CancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (2)
62
if (syntaxFactsService.IsEntirelyWithinStringOrCharOrNumericLiteral(syntaxTree, context.
Position
, cancellationToken))
64
var token = syntaxTree.FindTokenOnLeftOfPosition(context.
Position
, cancellationToken);
Completion\Providers\AbstractKeywordCompletionProvider.cs (1)
45
var position = context.
Position
;
Completion\Providers\AbstractObjectInitializerCompletionProvider.cs (1)
27
var position = context.
Position
;
Completion\Providers\AbstractOverrideCompletionProvider.cs (1)
24
var state = await ItemGetter.CreateAsync(this, context.Document, context.
Position
, context.CancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractPartialMethodCompletionProvider.cs (1)
43
var position = context.
Position
;
Completion\Providers\AbstractPartialTypeCompletionProvider.cs (1)
32
var position = completionContext.
Position
;
Completion\Providers\AbstractPreprocessorCompletionProvider.cs (1)
21
var position = context.
Position
;
Completion\Providers\AbstractSuggestionModeCompletionProvider.cs (1)
19
context.Document, context.
Position
, context.CompletionListSpan, context.Trigger, context.CancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
261
var position = completionContext.
Position
;
Completion\Providers\Scripting\AbstractDirectivePathCompletionProvider.cs (1)
36
var position = context.
Position
;
Completion\Providers\Snippets\AbstractSnippetCompletionProvider.cs (1)
75
var position = context.
Position
;
EmbeddedLanguages\DateAndTime\DateAndTimeEmbeddedCompletionProvider.cs (1)
73
var position = context.
Position
;
EmbeddedLanguages\DateAndTime\EmbeddedCompletionContext.cs (3)
44
var startPosition = context.
Position
;
50
_replacementSpan = TextSpan.FromBounds(startPosition, context.
Position
);
52
(_userFormatPrefix, _userFormatSuffix) = GetUserFormatParts(virtualChars, startPosition, context.
Position
);
EmbeddedLanguages\RegularExpressions\LanguageServices\EmbeddedCompletionContext.cs (1)
38
Position = _context.
Position
;
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedCompletionProvider.cs (1)
73
var position = context.
Position
;
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Completion\CompletionProviders\CrefCompletionProvider.vb (1)
59
Dim position = context.
Position
Completion\CompletionProviders\NamedParameterCompletionProvider.vb (1)
47
Dim position = context.
Position
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
Snippets\SnippetCompletionProvider.vb (1)
48
Dim position = context.
Position