extensions/markdown-language-features/src/languageFeatures/references.ts/MdReferencesProvider/getReferencesToFileInWorkspace
class MdReferencesProvider:	public async getReferencesToFileInWorkspace(resource: vscode.Uri, token: vscode.CancellationToken): Promise<MdReference[]> {
		this.logger.verbose('ReferencesProvider', `getAllReferencesToFileInWorkspace: ${resource}`);

		const allLinksInWorkspace = (await this._linkCache.values()).flat();
		if (token.isCancellationRequested) {
			return [];
		}

		return Array.from(this.findLinksToFile(resource, allLinksInWorkspace, undefined));
	}