Fixed compiler warning CS1911