WithReferencedAssembly(ITypeSetVerifier<ICompilation>, string)
Represents a fluent TypeSetVerifier<T> that allows to validate code using a given assembly referenced by the current compilation. This method can only be used in a ProjectFabric.
Declaration
public static ITypeSetVerifier<IAssembly> WithReferencedAssembly(this ITypeSetVerifier<ICompilation> setVerifier, string assemblyName)
Parameters
Type | Name | Description |
---|---|---|
ITypeSetVerifier<ICompilation> | setVerifier | The TypeSetVerifier<T> returned by Verify(IProjectAmender). |
string | assemblyName | The name of the assembly, without version and public key. |
Returns
Type | Description |
---|---|
ITypeSetVerifier<IAssembly> |