NSubstitute icon indicating copy to clipboard operation
NSubstitute copied to clipboard

Docs: InternalsVisibleTo attribute docs incorrect

Open dtchepak opened this issue 5 years ago • 0 comments

As per this SO comment, the How NSub Works docs are incorrect.

Use [assembly: InternalsVisibleTo(InternalsVisible.ToDynamicProxyGenAssembly2)] in the test assembly so that the internal member can be overridden.

should be:

Use [assembly: InternalsVisibleTo(InternalsVisible.ToDynamicProxyGenAssembly2)] in the assembly under test so that the internal member can be overridden.

dtchepak avatar Oct 11 '20 06:10 dtchepak