Skip to content

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    gen-c#Related to the C# code generator

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions