Click or drag to resize

ReferencedSymbol Class



Represents a single result of the call to the synchronous IFindReferencesService.FindReferences method. Finding the references to a symbol will result in a set of definitions being returned (containing at least the symbol requested) as well as any references to those definitions in the source. Multiple definitions may be found due to how C# and VB allow a symbol to be both a definition and a reference at the same time (for example, a method which implements an interface method).
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.FindSymbolsReferencedSymbol

Namespace:  Microsoft.CodeAnalysis.FindSymbols
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public class ReferencedSymbol

The ReferencedSymbol type exposes the following members.

Properties
  NameDescription
Public propertyDefinition
The symbol definition that these are references to.
Public propertyLocations
The set of reference locations in the solution.
Top
See Also