J
Julie
What would you expect from the following:
enum Type { a, b, c };
public __gc class MClass
{
public:
MClass(Type t);
__property void set_Type(Type t);
// etc.
};
When compiling, I get very strange errors (in this case, for the constructor)
where the Type type is compiled as the managed Type property. It is an easy
fix, although the compiler diagnostic is far from intuitive.
Comments?
enum Type { a, b, c };
public __gc class MClass
{
public:
MClass(Type t);
__property void set_Type(Type t);
// etc.
};
When compiling, I get very strange errors (in this case, for the constructor)
where the Type type is compiled as the managed Type property. It is an easy
fix, although the compiler diagnostic is far from intuitive.
Comments?