{"action":"created","comment":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/comments/39084013","id":39084013,"diff_hunk":"@@ -143,6 +144,28 @@ public class TestClass { }\n             };\n \n             await this.VerifyCSharpDiagnosticAsync(testCode, expected, CancellationToken.None).ConfigureAwait(false);\n+\n+            string fixedCode = @\"public class OuterType\n+{\n+    public string TestField;\n+    public OuterType() { }\n+    ~OuterType() { }\n+    public delegate void TestDelegate();\n+    public event TestDelegate TestEvent { add { } remove { } }\n+    public enum TestEnum { }\n+    public interface ITest { }\n+    public string TestProperty { get; set; }\n+    public string this[string arg] { get { return \"\"foo\"\"; } set { } }\n+    public static explicit operator bool(OuterType t1) { return t1.TestField != null; }\n+    public static OuterType operator +(OuterType t1, OuterType t2) { return t1; }\n+    public void TestMethod () { }\n+    public struct TestStruct { }\n+    public class TestClass { }\n+}","path":"StyleCop.Analyzers/StyleCop.Analyzers.Test/OrderingRules/SA1201UnitTests.cs","position":36,"original_position":36,"commit_id":"fdb736bb2568e3bdacc86db662898645fde484f0","original_commit_id":"fdb736bb2568e3bdacc86db662898645fde484f0","user":{"login":"vweijsters","id":10659991,"avatar_url":"https://avatars.githubusercontent.com/u/10659991?v=3","gravatar_id":"","url":"https://api.github.com/users/vweijsters","html_url":"https://github.com/vweijsters","followers_url":"https://api.github.com/users/vweijsters/followers","following_url":"https://api.github.com/users/vweijsters/following{/other_user}","gists_url":"https://api.github.com/users/vweijsters/gists{/gist_id}","starred_url":"https://api.github.com/users/vweijsters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vweijsters/subscriptions","organizations_url":"https://api.github.com/users/vweijsters/orgs","repos_url":"https://api.github.com/users/vweijsters/repos","events_url":"https://api.github.com/users/vweijsters/events{/privacy}","received_events_url":"https://api.github.com/users/vweijsters/received_events","type":"User","site_admin":false},"body":"This test case could be improved by not having TestClass at the correct location in the testCode.","created_at":"2015-09-09T19:14:34Z","updated_at":"2015-09-09T19:14:34Z","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1326#discussion_r39084013","pull_request_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1326","_links":{"self":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/comments/39084013"},"html":{"href":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1326#discussion_r39084013"},"pull_request":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1326"}}},"pull_request":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1326","id":43704544,"html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1326","diff_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1326.diff","patch_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1326.patch","issue_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1326","number":1326,"state":"open","locked":false,"title":"Update SA1203SA1214SA1215CodeFixProvider to ElementOrderCodeFixProvider","user":{"login":"Noryoko","id":11742459,"avatar_url":"https://avatars.githubusercontent.com/u/11742459?v=3","gravatar_id":"","url":"https://api.github.com/users/Noryoko","html_url":"https://github.com/Noryoko","followers_url":"https://api.github.com/users/Noryoko/followers","following_url":"https://api.github.com/users/Noryoko/following{/other_user}","gists_url":"https://api.github.com/users/Noryoko/gists{/gist_id}","starred_url":"https://api.github.com/users/Noryoko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Noryoko/subscriptions","organizations_url":"https://api.github.com/users/Noryoko/orgs","repos_url":"https://api.github.com/users/Noryoko/repos","events_url":"https://api.github.com/users/Noryoko/events{/privacy}","received_events_url":"https://api.github.com/users/Noryoko/received_events","type":"User","site_admin":false},"body":"Initial implementation. The results of the SA1203 tests altered slightly when access level checking was enabled.\r\n\r\nFixes #573\r\nFixes #1103\r\nCode fix for SA1204","created_at":"2015-08-29T23:57:54Z","updated_at":"2015-09-09T19:14:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3ec90ab80306e6da68cfc81f418cb99d18caf69","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1326/commits","review_comments_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1326/comments","review_comment_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1326/comments","statuses_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/statuses/fdb736bb2568e3bdacc86db662898645fde484f0","head":{"label":"Noryoko:ElementOrderCodeFix","ref":"ElementOrderCodeFix","sha":"fdb736bb2568e3bdacc86db662898645fde484f0","user":{"login":"Noryoko","id":11742459,"avatar_url":"https://avatars.githubusercontent.com/u/11742459?v=3","gravatar_id":"","url":"https://api.github.com/users/Noryoko","html_url":"https://github.com/Noryoko","followers_url":"https://api.github.com/users/Noryoko/followers","following_url":"https://api.github.com/users/Noryoko/following{/other_user}","gists_url":"https://api.github.com/users/Noryoko/gists{/gist_id}","starred_url":"https://api.github.com/users/Noryoko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Noryoko/subscriptions","organizations_url":"https://api.github.com/users/Noryoko/orgs","repos_url":"https://api.github.com/users/Noryoko/repos","events_url":"https://api.github.com/users/Noryoko/events{/privacy}","received_events_url":"https://api.github.com/users/Noryoko/received_events","type":"User","site_admin":false},"repo":{"id":39219877,"name":"StyleCopAnalyzers","full_name":"Noryoko/StyleCopAnalyzers","owner":{"login":"Noryoko","id":11742459,"avatar_url":"https://avatars.githubusercontent.com/u/11742459?v=3","gravatar_id":"","url":"https://api.github.com/users/Noryoko","html_url":"https://github.com/Noryoko","followers_url":"https://api.github.com/users/Noryoko/followers","following_url":"https://api.github.com/users/Noryoko/following{/other_user}","gists_url":"https://api.github.com/users/Noryoko/gists{/gist_id}","starred_url":"https://api.github.com/users/Noryoko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Noryoko/subscriptions","organizations_url":"https://api.github.com/users/Noryoko/orgs","repos_url":"https://api.github.com/users/Noryoko/repos","events_url":"https://api.github.com/users/Noryoko/events{/privacy}","received_events_url":"https://api.github.com/users/Noryoko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Noryoko/StyleCopAnalyzers","description":"An implementation of StyleCop rules using the .NET Compiler Platform","fork":true,"url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers","forks_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/forks","keys_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/teams","hooks_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/hooks","issue_events_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/issues/events{/number}","events_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/events","assignees_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/assignees{/user}","branches_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/branches{/branch}","tags_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/tags","blobs_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/git/refs{/sha}","trees_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/statuses/{sha}","languages_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/languages","stargazers_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/stargazers","contributors_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/contributors","subscribers_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/subscribers","subscription_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/subscription","commits_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/commits{/sha}","git_commits_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/git/commits{/sha}","comments_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/comments{/number}","issue_comment_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/issues/comments{/number}","contents_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/contents/{+path}","compare_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/merges","archive_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/downloads","issues_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/issues{/number}","pulls_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/pulls{/number}","milestones_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/milestones{/number}","notifications_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/labels{/name}","releases_url":"https://api.github.com/repos/Noryoko/StyleCopAnalyzers/releases{/id}","created_at":"2015-07-16T20:51:05Z","updated_at":"2015-07-16T20:51:06Z","pushed_at":"2015-09-08T23:37:25Z","git_url":"git://github.com/Noryoko/StyleCopAnalyzers.git","ssh_url":"git@github.com:Noryoko/StyleCopAnalyzers.git","clone_url":"https://github.com/Noryoko/StyleCopAnalyzers.git","svn_url":"https://github.com/Noryoko/StyleCopAnalyzers","homepage":null,"size":6012,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DotNetAnalyzers:master","ref":"master","sha":"3e5bd023f6f920ff14be2fa53b0aee7fb3a40bba","user":{"login":"DotNetAnalyzers","id":9735576,"avatar_url":"https://avatars.githubusercontent.com/u/9735576?v=3","gravatar_id":"","url":"https://api.github.com/users/DotNetAnalyzers","html_url":"https://github.com/DotNetAnalyzers","followers_url":"https://api.github.com/users/DotNetAnalyzers/followers","following_url":"https://api.github.com/users/DotNetAnalyzers/following{/other_user}","gists_url":"https://api.github.com/users/DotNetAnalyzers/gists{/gist_id}","starred_url":"https://api.github.com/users/DotNetAnalyzers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DotNetAnalyzers/subscriptions","organizations_url":"https://api.github.com/users/DotNetAnalyzers/orgs","repos_url":"https://api.github.com/users/DotNetAnalyzers/repos","events_url":"https://api.github.com/users/DotNetAnalyzers/events{/privacy}","received_events_url":"https://api.github.com/users/DotNetAnalyzers/received_events","type":"Organization","site_admin":false},"repo":{"id":26768275,"name":"StyleCopAnalyzers","full_name":"DotNetAnalyzers/StyleCopAnalyzers","owner":{"login":"DotNetAnalyzers","id":9735576,"avatar_url":"https://avatars.githubusercontent.com/u/9735576?v=3","gravatar_id":"","url":"https://api.github.com/users/DotNetAnalyzers","html_url":"https://github.com/DotNetAnalyzers","followers_url":"https://api.github.com/users/DotNetAnalyzers/followers","following_url":"https://api.github.com/users/DotNetAnalyzers/following{/other_user}","gists_url":"https://api.github.com/users/DotNetAnalyzers/gists{/gist_id}","starred_url":"https://api.github.com/users/DotNetAnalyzers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DotNetAnalyzers/subscriptions","organizations_url":"https://api.github.com/users/DotNetAnalyzers/orgs","repos_url":"https://api.github.com/users/DotNetAnalyzers/repos","events_url":"https://api.github.com/users/DotNetAnalyzers/events{/privacy}","received_events_url":"https://api.github.com/users/DotNetAnalyzers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers","description":"An implementation of StyleCop rules using the .NET Compiler Platform","fork":false,"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers","forks_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/forks","keys_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/teams","hooks_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/hooks","issue_events_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/events{/number}","events_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/events","assignees_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/assignees{/user}","branches_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/branches{/branch}","tags_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/tags","blobs_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/git/refs{/sha}","trees_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/statuses/{sha}","languages_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/languages","stargazers_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/stargazers","contributors_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/contributors","subscribers_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/subscribers","subscription_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/subscription","commits_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/commits{/sha}","git_commits_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/git/commits{/sha}","comments_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/comments{/number}","issue_comment_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/comments{/number}","contents_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/contents/{+path}","compare_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/merges","archive_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/downloads","issues_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues{/number}","pulls_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls{/number}","milestones_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/milestones{/number}","notifications_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/labels{/name}","releases_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/releases{/id}","created_at":"2014-11-17T17:29:54Z","updated_at":"2015-09-09T14:17:43Z","pushed_at":"2015-09-09T18:34:30Z","git_url":"git://github.com/DotNetAnalyzers/StyleCopAnalyzers.git","ssh_url":"git@github.com:DotNetAnalyzers/StyleCopAnalyzers.git","clone_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers.git","svn_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers","homepage":null,"size":12687,"stargazers_count":192,"watchers_count":192,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":143,"forks":50,"open_issues":143,"watchers":192,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1326"},"html":{"href":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1326"},"issue":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1326"},"comments":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1326/comments"},"review_comments":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1326/comments"},"review_comment":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1326/commits"},"statuses":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/statuses/fdb736bb2568e3bdacc86db662898645fde484f0"}}}}