[300] False negative on double interface implementation

R

  1. marks the following code as an error, but it does compile because

IParserAccessor is already implemented by WebControl:

public class TestControl : WebControl, IParserAccessor
{
protected override void AddParsedSubObject(object obj)
{
throw new NotImplementedException("");
}
}

I don't know what the C# specs say about this, I can imagine it is
supposed be marked as an error, but maybe you want to highlight it as a
warning.

Best Regards,

Wiebe Tijsma

1 comment
Comment actions Permalink

Looks like this problem is fixed in the upcoming 302 build

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Wiebe Tijsma" <wiebeREMOVE@CAPITALStijsma.com> wrote in message
news:eja3ve$8jl$1@is.intellij.net...

R

  1. marks the following code as an error, but it does compile because

IParserAccessor is already implemented by WebControl:

>

public class TestControl : WebControl, IParserAccessor
{
protected override void AddParsedSubObject(object obj)
{
throw new NotImplementedException("");
}
}

>

I don't know what the C# specs say about this, I can imagine it is
supposed be marked as an error, but maybe you want to highlight it as a
warning.

>

Best Regards,

>

Wiebe Tijsma



0

Please sign in to leave a comment.