Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update static-abstracts-in-interfaces.md to Fix Reference to Incorrect Type #7824

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zacharylayne
Copy link

In Static abstract members in interfaces - Motivation, the line beginning with static Int32 I.operator + won't work: I is not the correct type. It should be IAddable<Int32>.

…t Type

In [Static abstract members in interfaces - Motivation](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-11.0/static-abstracts-in-interfaces#motivation), the line beginning with `static Int32 I.operator +` won't work: `I` is not the correct type. `I` should be `IAddable<Int32>` instead.
@zacharylayne zacharylayne requested a review from a team as a code owner January 6, 2024 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants