G
Gazarsgo
Came across this today using .NET Framework 1.1 Version 1.1.4322:
VB.Net code:
Public Interface IFace1
Property Foo
End Interface
Public Interface IFace2
Inherits IFace1
Property Bar Implements IFace1.AnyTextHere
End Interface
---end---
This compiles fine!
My best guess is that the behavior seen is that since the
implementation of an interface member is deferred to classes that
implement the interface, the only compiler-time resolution done is to
verify that IFace1 exists.
I had no luck searching on this topic; is it a known bug or fixed in
2.0?
--gazarsgo
VB.Net code:
Public Interface IFace1
Property Foo
End Interface
Public Interface IFace2
Inherits IFace1
Property Bar Implements IFace1.AnyTextHere
End Interface
---end---
This compiles fine!
My best guess is that the behavior seen is that since the
implementation of an interface member is deferred to classes that
implement the interface, the only compiler-time resolution done is to
verify that IFace1 exists.
I had no luck searching on this topic; is it a known bug or fixed in
2.0?
--gazarsgo