Charles wrote:
Agreed. I thought these CLR team videos would have invoked more conversation.
C
It's the redesigned site, I tell ya! You have seemingly discombobulated everybody...
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Charles wrote:
Agreed. I thought these CLR team videos would have invoked more conversation.
C
Littleguru: No, that's not what I was suggesting, although with the minimal amount of explanation I did in the video, I can see how one would get that impression. ![]()
The primary problem is that there's no way to call this from a base class. If it weren't explicitly implemented, you could easily just do:
base.Dispose();
But because explicit implementations are emitted as private by the C# compiler (which the team firmly believes is the correct design), this isn't possible. You can't even do it in IL. One could imagine new C# syntax that made this possible:
((IDisposable)base).Dispose();
But this would only be possible with either
a) Explicitly implemented methods being emitted as family; or,
b) A "basecall" IL instruction.
We're going to look at these in future releases, but we dropped the idea for Whidbey.