This documentation is archived and is not being maintained.

What's New in the Visual Basic Compiler

Visual Studio 2008

Updated: July 2008

This topic describes the new compiler options and other compiler changes included in Visual Basic 2008.

You can now make members marked as Friend available to other assemblies by identifying the other assemblies as Friend assemblies. You use the InternalsVisibleToAttribute attribute to identify one or more Friend assemblies for your assembly. This applies to both signed and unsigned assemblies. For more information, see Friend Assemblies (Visual Basic).

Visual Basic 2008 includes two new compiler options:

Relaxed delegate conversion enables you to assign subs and functions to delegates or handlers even when the signatures are not identical. This change makes binding to delegates consistent with the binding allowed in method invocations. For more information, see Relaxed Delegate Conversion.




July 2008

Added section about relaxed delegate conversion.

Information enhancement.