Attached files

file filename
EX-99.1 - EXHIBIT 99.1 - Oaktree Specialty Lending Corpocsl-ex991_seniorloanfundj.htm
EX-32.2 - EXHIBIT 32.2 - Oaktree Specialty Lending Corpocsl-ex322_2019093010xka.htm
EX-32.1 - EXHIBIT 32.1 - Oaktree Specialty Lending Corpocsl-ex321_2019093010xka.htm
EX-31.2 - EXHIBIT 31.2 - Oaktree Specialty Lending Corpocsl-ex312_2019093010xka.htm
EX-31.1 - EXHIBIT 31.1 - Oaktree Specialty Lending Corpocsl-ex311_2019093010xka.htm
EX-23.2 - EXHIBIT 23.2 - Oaktree Specialty Lending Corpocsl-ex232_2019093010xka.htm
10-K/A - 10-K/A - Oaktree Specialty Lending Corpocsl-093019x10xka.htm

Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

We consent to the use of our reports dated November 19, 2019 included in the Annual Report on Form 10-K of Oaktree Specialty Lending Corporation for the year ended September 30, 2019, with respect to the consolidated financial statements of Oaktree Specialty Lending Corporation and the effectiveness of internal control over financial reporting of Oaktree Specialty Lending Corporation, incorporated by reference in this Form 10-K/A.

/s/ Ernst & Young LLP

Los Angeles, California
December 18, 2019