There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Make PythonHiddenAttribute public
I'm writing a C# application that can be extended via IronPython scripts. These scripts can access a library of .NET classes I wrote in C#.
Those classes have some public methods and properties that I would like to hide from the IronPython scripts, so that a script can't call them. Looking at the IronPython source code, I noticed the PythonHidden attribute in IronPython.Runtime that seems to do just that. However, that attribute is internal, so there is no way for me to use it in my own classes.
Is there a reason for PythonHiddenAttribute being internal? Can it be made public? Or is there another way to hide members from IronPython that I just missed?