Ambiguous member ControlPoints

Jul 11, 2013 at 11:58 AM

I was trying to develop a new Shape inheriting from IsoscelesTriangle.
Since I wanted to add more control points, I tried to implement the CalcControlPoints method.
Using VB.NET I got an error because the member ControlPoints is ambiguous and cannot be used.

The reason for this is that in C# you are case-sensitive, while in VB you are not.
It seems that in the parent classes of IsoscelesTriangle (like PathBasedPlanarShape) both ControlPoints and controlPoints exist, which makes it impossible to use them in VB.NET.

As a fix I recompiled the source code myself, renaming controlPoints to _controlPoints, so now I am happily deriving my new Shape.

Maybe you can consider fixing this in future releases to be more CLS compliant for developers that use your code from VB.NET applications.
Jul 15, 2013 at 3:26 PM
Hello Aguarino,

thanks for your feedback. We will consider this issue a future release.