CSharp mode is not derived from prog mode