You can’t call the extension method as a normal extension method. The instance method overrides the extension method with the same signature
EDIT:
You can call it as a static method
ExtensionTest.MethodA(a);
More Related Contents:
- Why is there no ForEach extension method on IEnumerable?
- Mocking Extension Methods with Moq
- Convert string[] to int[] in one line of code using LINQ
- Reflection to Identify Extension Methods
- Does C# have extension properties?
- Extension methods must be defined in a non-generic static class
- Operator Overloading with C# Extension Methods
- Timeout Pattern – How bad is Thread.Abort really?
- In C#, what happens when you call an extension method on a null object?
- What Advantages of Extension Methods have you found? [closed]
- Convert string to nullable type (int, double, etc…)
- Is there any way in C# to override a class method with an extension method?
- Anonymous Types – Are there any distingushing characteristics?
- Extension methods syntax vs query syntax
- Interesting “params of ref” feature, any workarounds?
- How to extend C# built-in types, like String?
- The operation cannot be completed because the DbContext has been disposed error
- Is it possible to implement mixins in C#?
- FindAll vs Where extension-method
- What is the performance of the Last() extension method for List?
- Ambiguous call between two C# extension generic methods one where T:class and other where T:struct
- Can I use extension methods and LINQ in .NET 2.0 or 3.0?
- Why doesn’t VS 2008 display extension methods in Intellisense for String class
- Code equivalent to the ‘let’ keyword in chained LINQ extension method calls
- How do I extend a class with c# extension methods? [duplicate]
- How to implement left join in JOIN Extension method
- Can’t await async extension method
- F# extension methods in C#
- Is it possible to extend arrays in C#?
- Why can’t I call an extension method as a static method when using static import?