{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/CodeContracts/issues/336","labels_url":"https://api.github.com/repos/Microsoft/CodeContracts/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/CodeContracts/issues/336/comments","events_url":"https://api.github.com/repos/Microsoft/CodeContracts/issues/336/events","html_url":"https://github.com/Microsoft/CodeContracts/issues/336","id":126822709,"number":336,"title":"Duplicated contracts when ccrewrite is run with out-of-band contract assembly.","user":{"login":"hubuk","id":11485931,"avatar_url":"https://avatars.githubusercontent.com/u/11485931?v=3","gravatar_id":"","url":"https://api.github.com/users/hubuk","html_url":"https://github.com/hubuk","followers_url":"https://api.github.com/users/hubuk/followers","following_url":"https://api.github.com/users/hubuk/following{/other_user}","gists_url":"https://api.github.com/users/hubuk/gists{/gist_id}","starred_url":"https://api.github.com/users/hubuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hubuk/subscriptions","organizations_url":"https://api.github.com/users/hubuk/orgs","repos_url":"https://api.github.com/users/hubuk/repos","events_url":"https://api.github.com/users/hubuk/events{/privacy}","received_events_url":"https://api.github.com/users/hubuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-15T07:36:10Z","updated_at":"2016-01-15T07:36:10Z","closed_at":null,"body":"Example of this behavior can be observed in TestResults\\Out\\Deploy\\OutOfBand.dll assembly created when running tests from UnitTests project. The rewrite is taking place in Foxtrot\\Tests\\UnitTests\\RewrittenContractTest.cs on line ```x = RunProcess(deploymentDir, foxtrotPath, \"/rewrite /assemblyMode=standard /rw:RewriterMethods.dll,TestRewriterMethods /nobox /throwonfailure /contracts:OutOfBand.Contracts.dll /autoRef:- OutOfBand.dll\");```\r\nOOB contracts (/contracts: parameter for ccrewrite.exe) seem not to be used in final product during build."}}