{"action":"created","issue":{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/139","labels_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/139/comments","events_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/139/events","html_url":"https://github.com/michaeledgar/protobuf-net/issues/139","id":58233565,"number":139,"title":"Protection level should be parameterized","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-19T16:42:53Z","updated_at":"2015-02-19T16:42:53Z","closed_at":null,"body":"```\nWhat steps will reproduce the problem?\n1. Generate a .proto file;\n2. All types and methods are always public (or protected).\n\nWhat is the expected output? What do you see instead?\nIt should be possible to change the protection level through an option or \nparameter.\n\nWhat version of the product are you using? On what operating system?\n1.0.0.280\n\nPlease provide any additional information below.\nI have already found the option to copy the XSLT files and change the code \ngeneration there. This really helps a lot. It would still be very nice though \nto be able to use the installed XSLT files and provide the protection level \nthrough a parameter.\n```\n\n-----\nOriginal issue reported on code.google.com by `pvginkel` on 5 Nov 2010 at 8:44"},"comment":{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/comments/75086860","html_url":"https://github.com/michaeledgar/protobuf-net/issues/139#issuecomment-75086860","issue_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/139","id":75086860,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T16:42:53Z","updated_at":"2015-02-19T16:42:53Z","body":"```\nMaking the *types* internal would be an option (via a switch), but this would \nadversely affect some of the frameworks where reflection is more restricted. \nMember-level would require more work, as this would presumably require .proto \nextension, which is a bit... problematic.\n```\n\n-----\nOriginal comment by `marc.gravell` on 7 Nov 2010 at 9:41"}}