Open sandboxFocus

Method GetOutboundReferences

GetOutboundReferences(IDeclaration, CancellationToken)

Gets inbound declaration references, i.e. the list of declarations that use the given declaration, in the projects loaded in the current Workspace.

Declaration
public static IEnumerable<IIntrospectionReference> GetOutboundReferences(this IDeclaration declaration, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IDeclaration declaration
CancellationToken cancellationToken
Returns
Type Description
IEnumerable<IIntrospectionReference>