Skip to content

ShapeOf pattern variable name issue #21

Open

Description

@paul1956

When a local variable name in a pattern matches a global variable a new local variable is created. Which works fine in the case but outside the case the Global variable has not been set. It would be nice if the Global variable worked but there is probably a type issue, but at least there should be a error(warning see below) saying local variable hides... like elsewhere in VB. Because of the huge number warnings currently due to Roslyn Analyzers temporarily an error is preferred.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions