Analysis: fixes CA1305 and CA2000.