dotnet / dotnet/csharplang

[Proposal]: Permit methods in enum declarations

Open
#8,989 0 comments 1 reaction 1 assignee Claimed by @jcouv View on GitHub
Proposal champion
Dominant language
C#
Stars
12.7k
Forks
1.1k
Avg merge
11h 1m
Merged PRs (30d)
3

Description

# Permit methods in enum declarations

* Specification: None yet
* Discussion: https://github.com/dotnet/csharplang/discussions/8987

## Summary
[summary]: #summary

As in the title, this allows methods to be defined inside enums.

## Design meetings

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.