{"action":"created","issue":{"url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/issues/83","repository_url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop","labels_url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/issues/83/comments","events_url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/issues/83/events","html_url":"https://github.com/Visual-Stylecop/Visual-StyleCop/issues/83","id":177210545,"number":83,"title":"CoreParser : An exception occurred while parsing the file: System.FormatException, Index (zero based) must be greater than or equal to zero and less than the size of the argument list.","user":{"login":"kd7uiy","id":5951269,"avatar_url":"https://avatars.githubusercontent.com/u/5951269?v=3","gravatar_id":"","url":"https://api.github.com/users/kd7uiy","html_url":"https://github.com/kd7uiy","followers_url":"https://api.github.com/users/kd7uiy/followers","following_url":"https://api.github.com/users/kd7uiy/following{/other_user}","gists_url":"https://api.github.com/users/kd7uiy/gists{/gist_id}","starred_url":"https://api.github.com/users/kd7uiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kd7uiy/subscriptions","organizations_url":"https://api.github.com/users/kd7uiy/orgs","repos_url":"https://api.github.com/users/kd7uiy/repos","events_url":"https://api.github.com/users/kd7uiy/events{/privacy}","received_events_url":"https://api.github.com/users/kd7uiy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-15T15:34:34Z","updated_at":"2016-09-15T15:45:46Z","closed_at":null,"body":"Received the following error. The file it is trying to parse is https://github.com/TeamPorcupine/ProjectPorcupine/blob/master/Assets/Scripts/Models/Prototypes/PrototypeMap.cs eab9987, submitted around September 11\r\n\r\n```\r\nWarning\t\tSA0001 : CoreParser : An exception occurred while parsing the file: System.FormatException, Index (zero based) must be greater than or equal to zero and less than the size of the argument list.\r\n   at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)\r\n   at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)\r\n   at System.String.Format(IFormatProvider provider, String format, Object[] args)\r\n   at StyleCop.StyleCopThread.RunAnalyzers(CodeDocument document, SourceParser parser, IEnumerable`1 analyzers)\r\n   at StyleCop.StyleCopThread.TestAndRunAnalyzers(CodeDocument document, SourceParser parser, IEnumerable`1 analyzers, Int32 passNumber)\r\n   at StyleCop.StyleCopThread.ParseAndAnalyzeDocument(SourceCode sourceCode, DocumentAnalysisStatus documentStatus)\r\n   at StyleCop.StyleCopThread.DoWork(Object sender).\tProjectPorcupine.CSharp\tC:\\Users\\Ben Pearson\\Documents\\Unity\\ProjectPorcupine\\Assets\\Scripts\\Models\\Prototypes\\PrototypeMap.cs\t1\t\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/issues/comments/247366739","html_url":"https://github.com/Visual-Stylecop/Visual-StyleCop/issues/83#issuecomment-247366739","issue_url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/issues/83","id":247366739,"user":{"login":"kd7uiy","id":5951269,"avatar_url":"https://avatars.githubusercontent.com/u/5951269?v=3","gravatar_id":"","url":"https://api.github.com/users/kd7uiy","html_url":"https://github.com/kd7uiy","followers_url":"https://api.github.com/users/kd7uiy/followers","following_url":"https://api.github.com/users/kd7uiy/following{/other_user}","gists_url":"https://api.github.com/users/kd7uiy/gists{/gist_id}","starred_url":"https://api.github.com/users/kd7uiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kd7uiy/subscriptions","organizations_url":"https://api.github.com/users/kd7uiy/orgs","repos_url":"https://api.github.com/users/kd7uiy/repos","events_url":"https://api.github.com/users/kd7uiy/events{/privacy}","received_events_url":"https://api.github.com/users/kd7uiy/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T15:45:46Z","updated_at":"2016-09-15T15:45:46Z","body":"Note that the warning went away with https://github.com/TeamPorcupine/ProjectPorcupine/pull/1336, which simply removed a space after `this` in this function:\r\n\r\n```\r\n    public T this [int index]\r\n    {\r\n        get\r\n        {\r\n            return prototypes.ElementAt(index).Value;\r\n        }\r\n    }\r\n```"}}
{"actor":{"display_login":"kd7uiy"}}