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