You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow (some) method names that happen to be keywords #2217
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
I wouldn't think PowerShell needs a special character. I think PowerShell's general concept of context serves better. Pretty much all the useful keywords have no other use in class { }. Only hidden and static would truly be reserved. Even base only has a very specific context it can be used in.
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
Activity
rkeithhill commentedon Sep 9, 2016
C# has that handy
@classway to use a keyword as an identifier. I wonder if there is any punctuation left that PowerShell could use for this?msftrncs commentedon Mar 10, 2019
I wouldn't think PowerShell needs a special character. I think PowerShell's general concept of context serves better. Pretty much all the useful keywords have no other use in
class { }. Onlyhiddenandstaticwould truly be reserved. Evenbaseonly has a very specific context it can be used in.