Metalama (preview)API documentationAspect APIMetalama.​Framework.​AspectsAspect­Receiver­ExtensionsSelect­Referenced­Assembly
Open sandboxFocus

AspectReceiverExtensions.SelectReferencedAssembly Method

SelectReferencedAssembly(IAspectReceiver<ICompilation>, string)

Selects a reference assembly in the current compilation given its assembly name.

Declaration
public static IAspectReceiver<IAssembly> SelectReferencedAssembly(this IAspectReceiver<ICompilation> receiver, string assemblyName)
Parameters
Type Name Description
IAspectReceiver<ICompilation> receiver
string assemblyName
Returns
Type Description
IAspectReceiver<IAssembly>