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

Compile problem with enums in class #609

Closed
MateuszKlatecki opened this issue May 18, 2020 · 0 comments · Fixed by nanoframework/metadata-processor#102
Closed

Compile problem with enums in class #609

MateuszKlatecki opened this issue May 18, 2020 · 0 comments · Fixed by nanoframework/metadata-processor#102

Comments

@MateuszKlatecki
Copy link
Member

Details about Problem

nanoFramework area: Visual Studio extension

VS version: 2017

VS extension version: 2017.2.0.6

Target:

Firmware image version:

Device capabilities output:

Description

With version 2017.2.0.6 its problem with enums

Detailed repro steps so we can see the same problem

Cannot compile this code:

    public class LinkHelper
    {
        public class LinkModel
        {
            public enum LinkEvent { Created, Removed }
            public readonly LinkEvent eventType;
        }
    }

image

...

Other suggested things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants