When these methods are inconclusive or if cholangiocarcinoma is suspected, ERCP is necessary. ERCP not only detects the tumor but also, with brushings, can provide a tissue diagnosis, sometimes making ultrasonography - or CT-guided needle biopsy unnecessary.