Extension methods in referenced assemblies?

后端 未结 1 452
傲寒
傲寒 2021-01-02 06:39

If I try to call my extension method which is defined like this:

Module LinqExtensions
 _
Public Function          


        
相关标签:
1条回答
  • 2021-01-02 07:10

    Your namespace "myapp" cannot directly contain the function "ToTest", there is a Module defined there. Try

    Imports myapp.LinqExtensions
    

    and make sure it is a Public Module

    0 讨论(0)
提交回复
热议问题