I would add a namespace to the import, so you do not need to enter it every time:
Imports System.Runtime.CompilerServices <Extension()> _ Public Sub Test(ByVal Value As String) End Sub
After you import it, you can simply add the extension to the top of each method, and not just everything.
As Shakhkalpesh said, your extension method is incomplete, you will need to add the type that you want to expand (see the first code pair). I just had a game, and I found that if you do not specify a type that will expand as a parameter, the compiler will throw an error.
Nathan w
source share