To Reproduce
Create this code in an assembly targeted by a test assembly that's using Rocks:
[assembly: InternalsVisibleTo("RocksInternals.Tests")]
internal interface IDoStuff
{
void Do(DataStuff dataStuff);
}
If DataStuff is public, this works in the test assembly:
[assembly: Rock(typeof(IDoStuff), BuildType.Create)]
But if DataStuff is internal, the following diagnostics occur:
The type IDoStuff has inaccessible abstract members and cannot be mocked
The type IDoStuff has no members that can be overriden
Also, "overriden" is misspelled, it should be "overridden".
To Reproduce
Create this code in an assembly targeted by a test assembly that's using Rocks:
If
DataStuffispublic, this works in the test assembly:But if
DataStuffisinternal, the following diagnostics occur:Also, "overriden" is misspelled, it should be "overridden".