In C#, is it possible to restrict who can call a method at compile time?
I\'ve looked into directives, but that didn\'t work since I can\'t assign values to symbols.
Draft:
Sorry this is a bit fuzzy, because it was more than a year ago when I used these techniques. I hope the main idea is clear.