{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/autorest/issues/825","repository_url":"https://api.github.com/repos/Azure/autorest","labels_url":"https://api.github.com/repos/Azure/autorest/issues/825/labels{/name}","comments_url":"https://api.github.com/repos/Azure/autorest/issues/825/comments","events_url":"https://api.github.com/repos/Azure/autorest/issues/825/events","html_url":"https://github.com/Azure/autorest/issues/825","id":139673191,"number":825,"title":"useDateTimeOffset only works with regular CSharp Generation, not AzureCSharp Generation","user":{"login":"begoldsm","id":8781927,"avatar_url":"https://avatars.githubusercontent.com/u/8781927?v=3","gravatar_id":"","url":"https://api.github.com/users/begoldsm","html_url":"https://github.com/begoldsm","followers_url":"https://api.github.com/users/begoldsm/followers","following_url":"https://api.github.com/users/begoldsm/following{/other_user}","gists_url":"https://api.github.com/users/begoldsm/gists{/gist_id}","starred_url":"https://api.github.com/users/begoldsm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/begoldsm/subscriptions","organizations_url":"https://api.github.com/users/begoldsm/orgs","repos_url":"https://api.github.com/users/begoldsm/repos","events_url":"https://api.github.com/users/begoldsm/events{/privacy}","received_events_url":"https://api.github.com/users/begoldsm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/autorest/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"sphibbs","id":14059531,"avatar_url":"https://avatars.githubusercontent.com/u/14059531?v=3","gravatar_id":"","url":"https://api.github.com/users/sphibbs","html_url":"https://github.com/sphibbs","followers_url":"https://api.github.com/users/sphibbs/followers","following_url":"https://api.github.com/users/sphibbs/following{/other_user}","gists_url":"https://api.github.com/users/sphibbs/gists{/gist_id}","starred_url":"https://api.github.com/users/sphibbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphibbs/subscriptions","organizations_url":"https://api.github.com/users/sphibbs/orgs","repos_url":"https://api.github.com/users/sphibbs/repos","events_url":"https://api.github.com/users/sphibbs/events{/privacy}","received_events_url":"https://api.github.com/users/sphibbs/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-03-09T19:15:11Z","updated_at":"2016-03-15T18:28:59Z","closed_at":"2016-03-15T18:28:59Z","body":"After resolution of issue: https://github.com/Azure/autorest/issues/500 we can properly generate clients in C# to use DateTimeOffset, however the same is not true for AzureCSharperGenerator. Based on my  investigation the problem is that the property is set properly only for regular CSharpCodeGenerator, not the AzureCSharpCodeGenerator. It looks like the reason for this is that the CSharp settings are not also being propagated to the AzureCSharp settings, so the _namer in AzureCSharp will always have the value set to false.\r\n\r\nI am not sure how to resolve this issue @stankovski can you take a look?\n<!---@tfsbridge:{\"tfsId\":5919767}-->"},"comment":{"url":"https://api.github.com/repos/Azure/autorest/issues/comments/196962646","html_url":"https://github.com/Azure/autorest/issues/825#issuecomment-196962646","issue_url":"https://api.github.com/repos/Azure/autorest/issues/825","id":196962646,"user":{"login":"begoldsm","id":8781927,"avatar_url":"https://avatars.githubusercontent.com/u/8781927?v=3","gravatar_id":"","url":"https://api.github.com/users/begoldsm","html_url":"https://github.com/begoldsm","followers_url":"https://api.github.com/users/begoldsm/followers","following_url":"https://api.github.com/users/begoldsm/following{/other_user}","gists_url":"https://api.github.com/users/begoldsm/gists{/gist_id}","starred_url":"https://api.github.com/users/begoldsm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/begoldsm/subscriptions","organizations_url":"https://api.github.com/users/begoldsm/orgs","repos_url":"https://api.github.com/users/begoldsm/repos","events_url":"https://api.github.com/users/begoldsm/events{/privacy}","received_events_url":"https://api.github.com/users/begoldsm/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T18:28:59Z","updated_at":"2016-03-15T18:28:59Z","body":"This issue is now resolved by the merged change above. I am closing this out now as all new builds of AutoRest nightly will have this change."}}