In the exe have a child and base classes defined as follows. The partial classRootX is defined in multiple files of the exe.
namespace X
{
public partial classRootX
{
}
public class child : classRootX
{
A a = new A(( classRootX ) this );
}
}
In a dll
using X;
namespace Y
{
public class A
{
public A(ClassRootX root)
{
}
}
}
get a compiler error
"Argument 1: cannot convert from 'classRootX [....\file.cs(79)]' to 'classRootX [....\xxx.dll]'
Any suggestions for a fix?