Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class TestHandler : EventHandler
- {
- int a; // play variable
- struct TestStruc
- {
- void DoSomething(TestHandler h)
- {
- h.a = 1; // allowed
- }
- }
- struct TestStruc2 clearscope
- {
- void DoSomething(TestHandler h)
- {
- h.a = 1; // not allowed
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment