Addressed code-analysis error (CA1822).