For the most part, this solo uses a combination of arpeggios and the D minor pentatonic scale
,with a tricky but nice chord progression. Especially notice how the diminished 7th and (b9) chords are treated, concluding with the refreshing DMajor7 at the end.