{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/460","repository_url":"https://api.github.com/repos/dotnet/roslyn-analyzers","labels_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/460/comments","events_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/460/events","html_url":"https://github.com/dotnet/roslyn-analyzers/issues/460","id":118216471,"number":460,"title":"Port FxCop rule CA1802: UseLiteralsWhereAppropriate","user":{"login":"lgolding","id":11762653,"avatar_url":"https://avatars.githubusercontent.com/u/11762653?v=3","gravatar_id":"","url":"https://api.github.com/users/lgolding","html_url":"https://github.com/lgolding","followers_url":"https://api.github.com/users/lgolding/followers","following_url":"https://api.github.com/users/lgolding/following{/other_user}","gists_url":"https://api.github.com/users/lgolding/gists{/gist_id}","starred_url":"https://api.github.com/users/lgolding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgolding/subscriptions","organizations_url":"https://api.github.com/users/lgolding/orgs","repos_url":"https://api.github.com/users/lgolding/repos","events_url":"https://api.github.com/users/lgolding/events{/privacy}","received_events_url":"https://api.github.com/users/lgolding/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/labels/Area-Microsoft.QualityGuidelines.Analyzers","name":"Area-Microsoft.QualityGuidelines.Analyzers","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/labels/FxCop-Port","name":"FxCop-Port","color":"0052cc"},{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/labels/Urgency-Soon","name":"Urgency-Soon","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"basoundr","id":10550513,"avatar_url":"https://avatars.githubusercontent.com/u/10550513?v=3","gravatar_id":"","url":"https://api.github.com/users/basoundr","html_url":"https://github.com/basoundr","followers_url":"https://api.github.com/users/basoundr/followers","following_url":"https://api.github.com/users/basoundr/following{/other_user}","gists_url":"https://api.github.com/users/basoundr/gists{/gist_id}","starred_url":"https://api.github.com/users/basoundr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basoundr/subscriptions","organizations_url":"https://api.github.com/users/basoundr/orgs","repos_url":"https://api.github.com/users/basoundr/repos","events_url":"https://api.github.com/users/basoundr/events{/privacy}","received_events_url":"https://api.github.com/users/basoundr/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-11-21T19:28:31Z","updated_at":"2016-03-31T17:08:58Z","closed_at":null,"body":"**Title:** Use literals where appropriate\n\n**Description:**\n\nA field is declared static and read-only (Shared and ReadOnly in Visual Basic), and is initialized by using a value that is computable at compile time. Because the value that is assigned to the targeted field is computable at compile time, change the declaration to a const (Const in Visual Basic) field so that the value is computed at compile time instead of at run?time.\n\n**Dependency:** None\n\n**Notes:**\n\nDoes it fire on publics? That has versioning implications. Consider only firing on symbols not visible outside assembly."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/comments/204025908","html_url":"https://github.com/dotnet/roslyn-analyzers/issues/460#issuecomment-204025908","issue_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/460","id":204025908,"user":{"login":"basoundr","id":10550513,"avatar_url":"https://avatars.githubusercontent.com/u/10550513?v=3","gravatar_id":"","url":"https://api.github.com/users/basoundr","html_url":"https://github.com/basoundr","followers_url":"https://api.github.com/users/basoundr/followers","following_url":"https://api.github.com/users/basoundr/following{/other_user}","gists_url":"https://api.github.com/users/basoundr/gists{/gist_id}","starred_url":"https://api.github.com/users/basoundr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basoundr/subscriptions","organizations_url":"https://api.github.com/users/basoundr/orgs","repos_url":"https://api.github.com/users/basoundr/repos","events_url":"https://api.github.com/users/basoundr/events{/privacy}","received_events_url":"https://api.github.com/users/basoundr/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T17:08:58Z","updated_at":"2016-03-31T17:08:58Z","body":"#906 implements the analyzers. Adding Needs-Fixer"}}