This project is read-only.

Accessibility modifiers on static members

Topics: General, Language Specification
Jan 29, 2013 at 4:48 PM

Is there a reason accessibility modifiers on static members are explicitly not allowed? The two concepts are completely orthogonal, it makes no sense that something should have to be public by virtue of it being static.

Obviously, this would likely be a compile-time only feature, as private is currently.

Jan 29, 2013 at 6:09 PM

Interesting - I'm not sure exactly why the spec disallows this.  I'll copy it over to a feature request.

Jan 29, 2013 at 6:09 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.