Skip to content

Allow (some) method names that happen to be keywords #2217

@vors

Description

@vors

This should work:

class MyClass {     
    [object] Filter() {
        return $null
    }
}

Copied from TFS task 1358992

Reminder to close this Connect bug if this work gets done: https://connect.microsoft.com/PowerShell/Feedback/Details/1709557

Metadata

Metadata

Assignees

No one assigned

    Labels

    HacktoberfestPotential candidate to participate in HacktoberfestIssue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Languageparser, language semantics

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions