[VB]Referencing a ByRef Extension from a C# Project

  • Thread starter Thread starter Nathan Sokalski
  • Start date Start date
N

Nathan Sokalski

Guest
I have a VB.NET Extension Method (in a VB.NET project) declared as follows:
<Extension()> Public Sub Load(Of T)(ByRef value As T)
I reference this project from a C# project. However, this extension method is not listed. But if I remove the ByRef, it is listed. I realize that it is not always good to mix languages, but I didn't want to convert 100s of classes and work if I could avoid it (and they are both .NET and are in separate projects, so shouldn't it not matter?). Why is the ByRef causing a problem? Thanks.

Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

Continue reading...
 

Similar threads

N
Replies
0
Views
129
Nathan Sokalski
N
N
Replies
0
Views
64
Nathan Sokalski
N
S
Replies
0
Views
55
suysie
S
Back
Top