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

如果是空枚举类,调用Enum.GetValues(typeof(TestEnum))会抛异常 #319

Closed
mydodolookdo opened this issue Mar 29, 2020 · 0 comments

Comments

@mydodolookdo
Copy link

public enum TestEnum
{
}
Enum.GetValues(typeof(TestEnum))
更新的到最新版本,最后一句会抛异常,2018年的版本不会抛异常

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

No branches or pull requests

1 participant