4 references to CodeElementFromPosition
Microsoft.VisualStudio.LanguageServices.Implementation (4)
CodeModel\AbstractCodeModelService.cs (1)
624element = underlyingFileCodeModel.CodeElementFromPosition(chosenLocation!.SourceSpan.Start, GetElementKind(typeSymbol));
CodeModel\Collections\OverloadsCollection.cs (1)
82var element = fileCodeModel.CodeElementFromPosition(location.SourceSpan.Start, EnvDTE.vsCMElement.vsCMElementFunction);
CodeModel\Collections\PartialTypeCollection.cs (1)
65var element = fileCodeModel.CodeElementFromPosition(location.SourceSpan.Start, ParentType.Kind);
CodeModel\FileCodeModel.cs (1)
540var result = CodeElementFromPosition(position, scope);