mp
2016-12-17 19:57:17 UTC
i don't understand why i'm getting this compiler msg
interface IBuildingComponent
{
...
void WriteToCadDrawing();
void ReadFromCadDrawing();
}
interface ICastStone : IBuildingComponent
{...
new void WriteToCadDrawing();
new void ReadFromCadDrawing();
}
interface ICastStone : IBuildingComponent
{ ...
new void WriteToCadDrawing();
new void ReadFromCadDrawing();
}
class CastStone : ICastStone
{ ...
public virtual void WriteToCadDrawing() { }//no warning
public virtual void ReadFromCadDrawing() { }//method must have a
return type
}
I suspect the compiler is getting confused by my many edits and rewrites
as I continue to develop the overall plan of the program
i have 38 other errors i'm working thru so i assume somewhere in that is
something that is making this appear wrong, but to me they look identical
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
interface IBuildingComponent
{
...
void WriteToCadDrawing();
void ReadFromCadDrawing();
}
interface ICastStone : IBuildingComponent
{...
new void WriteToCadDrawing();
new void ReadFromCadDrawing();
}
interface ICastStone : IBuildingComponent
{ ...
new void WriteToCadDrawing();
new void ReadFromCadDrawing();
}
class CastStone : ICastStone
{ ...
public virtual void WriteToCadDrawing() { }//no warning
public virtual void ReadFromCadDrawing() { }//method must have a
return type
}
I suspect the compiler is getting confused by my many edits and rewrites
as I continue to develop the overall plan of the program
i have 38 other errors i'm working thru so i assume somewhere in that is
something that is making this appear wrong, but to me they look identical
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus