I received this error from the C# compiler in VS2008. Googling it has turned up nothing useful. I've never seen this error before. Can anyone shed some light on it?
The line of code in question is the instantiation of a class I define:
Frame frame = new Frame( // various arguments...
Yes, the constructor exists. If it didn't, it would be an entirely different error. There are no other compilation errors. This is the only point in the project where this class is instantiated. I'm more curious than anything at this point.
(edit) By request, the class constructor definitions:
This is the one I'm calling:
public Frame(int startTime, int length, byte commandId)
The other one takes an object as a parameter. That object contains the data provided by the other constructor:
public Frame(Command command)
The referenced Command
class is defined in a separate assembly that is referenced and does compile without error.