  We consider $d=2$, $\mathcal{N}=(0,2)$ SCFTs that can arise from M5-branes
wrapping four-dimensional, complex, toric manifolds and orbifolds. We use
equivariant localization to compute the off-shell central charge of the dual
supergravity solutions, obtaining a result which can be written as a sum of
gravitational blocks and precisely agrees with a field theory computation using
anomaly polynomials and $c$-extremization.
