Skip to content

enums in inner classes are not generated #8

@FilippoPolo

Description

@FilippoPolo

If I put this through SharpKit:

public static class Test
{
    internal enum TestEnum
    {
        C = 0, D = 1
    }
    private class TestInner
    {
        internal enum TestInnerEnum
        {
            A = 0, B = 1
        }
    }

    public static void RunTest()
    {
        Console.Write(TestInner.TestInnerEnum.A);
    }
}

TestInnerEnum is not defined anywhere (but TestEnum is).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions