Open sandboxFocus

Method GetOutboundReferences

GetOutboundReferences(IDeclaration, CancellationToken)

Gets all outbound references from a specified declaration, i.e., all declarations that the origin references.

Declaration
IEnumerable<IIntrospectionReference> GetOutboundReferences(IDeclaration origin, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IDeclaration origin

The declaration to find references from.

CancellationToken cancellationToken

A token to cancel the operation.

Returns
Type Description
IEnumerable<IIntrospectionReference>

An enumerable of all references from the origin declaration to other declarations.