I need to use some of the Microsoft.SqlServer.Types library internal classes. This is a .NET dll, which is easily disassembled to the language of my choice.
So far I could copy its code to my application, but this probably makes my application legally unsuitable for distribution (I haven't read the MS Sql Server 2008 licensing agreement, but I guess I can't do that).
There is any way to force my application to be Friendly of the dll? As far as I know the InternalsVisibleTo attribute is under strict control of the assembly developer, in this case Microsoft.