Gets the types defined in specified assembly without raising a ReflectionTypeLoadException if a class could not be loaded.

Namespace: FirstFloor.SilverlightSpy.Interop
Assembly: FirstFloor.SilverlightSpy.Interop (in FirstFloor.SilverlightSpy.Interop.dll) Version: (


public static IEnumerable<Type> GetTypesSafe(
	this Assembly assembly
Visual Basic
<ExtensionAttribute> _
Public Shared Function GetTypesSafe ( _
	assembly As Assembly _
) As IEnumerable(Of Type)
Visual C++
static IEnumerable<Type^>^ GetTypesSafe(
	Assembly^ assembly


Type: System.Reflection..::..Assembly
The assembly.

Return Value

The types of specified assembly.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Assembly. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also