Click or drag to resize

ReferenceLocation Class

Information about a reference to a symbol.
Inheritance Hierarchy

Namespace:  Microsoft.CodeAnalysis.FindSymbols
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
public sealed class ReferenceLocation : ValueType, 
	IComparable, IEquatable

The ReferenceLocation type exposes the following members.

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.
Public operatorStatic memberEquality
Public operatorStatic memberInequality
See Also