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