No; an extension method never takes priority over an instance method with a suitable signature, and never participates in polymorphism (GetHashCode
is a virtual
method).
More Related Contents:
- Distinct() with lambda?
- Mocking Extension Methods with Moq
- Overriding vs method hiding [duplicate]
- Convert string[] to int[] in one line of code using LINQ
- Reflection to Identify Extension Methods
- Detect target framework version at compile time
- Extension methods must be defined in a non-generic static class
- Operator Overloading with C# Extension Methods
- Why doesn’t Include have any effect?
- In C#, what happens when you call an extension method on a null object?
- Convert string to nullable type (int, double, etc…)
- Why can’t I access C# protected members except like this?
- How to receive Plug & Play device notifications without a windows form
- Interesting “params of ref” feature, any workarounds?
- How to extend C# built-in types, like String?
- Extension method on enumeration, not instance of enumeration
- The operation cannot be completed because the DbContext has been disposed error
- AddRange to a Collection
- FindAll vs Where extension-method
- Why does C#/CLR not support method override co/contra-variance?
- Is it appropriate to extend Control to provide consistently safe Invoke/BeginInvoke functionality?
- Possible pitfalls of using this (extension method based) shorthand
- How can I get an extension method to change the original object?
- Using extension methods in .NET 2.0?
- Warm-up when calling methods in C#
- Code equivalent to the ‘let’ keyword in chained LINQ extension method calls
- How do I extend a class with c# extension methods? [duplicate]
- Can’t await async extension method
- Doesn’t C# Extension Methods allow passing parameters by reference?
- Why are “static” and “this” needed for extension methods, and how is their memory allocated?