Click or drag to resize

ReferenceLocation Class



Information about a reference to a symbol.
Inheritance Hierarchy
SystemValueType
  Microsoft.CodeAnalysis.FindSymbolsReferenceLocation

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 sealed class ReferenceLocation : ValueType, 
	IComparable, IEquatable

The ReferenceLocation type exposes the following members.

Properties
  NameDescription
Public propertyAlias
If the symbol was bound through an alias, then this is the alias that was used.
Public propertyCandidateReason
Public propertyDocument
The document that the reference was found in.
Public propertyIsCandidateLocation
Indicates if this was not an exact reference to a location, but was instead a possible location that was found through error tolerance. For example, a call to a method like "Foo()" could show up as an error tolerance location to a method "Foo(int i)" if no actual "Foo()" method existed.
Public propertyIsImplicit
Indicates if this is an implicit reference to the definition. i.e. the definition wasn't explicitly stated in the source code at this position, but it was still referenced. For example, this can happen with special methods like GetEnumerator that are used implicitly by a 'for each' statement.
Public propertyLocation
The actual source location for a given symbol.
Top
Methods
Operators
  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
See Also