Skip to content

C# Gen variant contains tag method (Build fails because of two members named "Tag") #1641

Open

Description

@FlorianLang06

This wit file contains a variant which has a method called tag. The generated class has also a variable called "Tag" the compiler throws an error because two members have the same name. Because the Tag variable isn't part of the wit file and just a variable from the generator this needs to be fixed.

Expected behavior would be that the generator calls his own variable in ways that it doesn't effect the defined method/variable from the WIT definition.

Image Image

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    gen-c#Related to the C# code generator

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions