PostSharpAPI ReferencePost­Sharp.​ExtensibilityIReflection­Binding­Manager­ServiceResolve­Assembly
Open sandboxFocus

IReflectionBindingManagerService.ResolveAssembly Method

ResolveAssembly(Type)

Returns the reference identity of the assembly declaring a type.

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

A System.Type.

Returns
Type Description
System.String

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