Open sandboxFocus

Method ResolveAssembly

ResolveAssembly(Type)

Returns the reference identity of the assembly declaring a type.

Declaration
string ResolveAssembly(Type type)
Parameters
Type Name Description
Type type

A Type.

Returns
Type Description
string

The identity of the reference assembly defining Type. This assembly is possibly different than the runtime assembly, which is available from the Assembly property of the Type class. This method may return null if type is an internal type of a system assembly.