'member1' : cannot override inherited nonfunction 'member2'
A class declaration attempted to override a nonmethod in a base class. Overrides must match the member type. If a method with the same name as a method in a base class is desired, use new (and not override) on the method declaration in the base class.
The following sample generates CS0505:
namespace x { public class clx { public int i; int z() { return 0; } } public class cly : clx { public override int i() // CS0505, clx::i is a variable { return 0; } public static void Main() { } } }