Why can’t I call an extension method from a base class of the extended type?
Consider this situation: public class Base { public void BaseMethod() { } } public class Sub : Base { public void SubMethod() { } } public static class Extensions { public static void ExtensionMethod(this Base @base) { } } Here are some interesting assertions about this code: I cannot call the extension method using ExtensionMethod() … Read more