This is part of a theme in B major , which modulates to A-sharp major for a little while .
The overall harmonic context is an extended theme in B major , which briefly modulates to A-sharp major .