-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Description
In recent weeks, I've been going over this proposal in order to write a formal spec for the C# Standard. At times, it has been heavy going!
The main obstacle was the (misleading) occurrence of the modifier override in numerous examples and narrative. As best as I can tell, this modifier is not actually permitted on any interface member. Instead, overriding is achieved via explicit implementation.
The remaining question has to do with the near-final topic "Base Interface Invocations," for which the decision "Decided on base(N.I1<T>).M(s)" was made. However, as far as I can tell, support for this was not added to the V8 compiler. Can someone please confirm (or refute) that.
BTW, I think the proposal is misnamed: it really applies to all interface function members (properties, indexers, and events as well), not just methods.
[Enter feedback here]
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 17012c83-0313-919b-eb8b-04fae8f4df4a
- Version Independent ID: 05252e5a-e53c-5ce5-84b3-671faad0549c
- Content: Default interface methods - C# 8.0 draft specifications
- Content Source: proposals/csharp-8.0/default-interface-methods.md
- Product: dotnet-csharp
- Technology: csharp-spec
- GitHub Login: @dotnet-bot
- Microsoft Alias: wiwagn