Skip to content

.NET generation needs to use full type names for reused names cross-construct. #802

Closed

Description

@costleya

Names can be re-used across packages. Full type names need to be used to protect against naming conflicts.

See #786

Activity

  1. added
    bug
    language/dotnet
    on Sep 28, 2018
  2. RomainMuller commented on Sep 28, 2018

    @RomainMuller
    Contributor

    The generated Java code uses fully qualified names for everything... Should the C# generator do the same?

  3. mpiroc commented on Sep 28, 2018

    @mpiroc
    Contributor

    The C# Generator attempts to detect whether a fully qualified name is necessary. See SymbolMap. I would start there when searching for the root cause.

    Also, should this be moved to the jsii repo?

  4. RomainMuller commented on Oct 2, 2018

    @RomainMuller
    Contributor

    @mpiroc you're absolutely right - I've created aws/jsii#252 to track this. Resolving here.

  5. added a commit that references this issue on Nov 27, 2025
    c914ce3
  6. added a commit that references this issue on Nov 28, 2025
    d284733
  7. added a commit that references this issue on Nov 28, 2025
    d9fec5c
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

    buglanguage/dotnet

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions