{"action":"created","issue":{"url":"https://api.github.com/repos/NickStrupat/NameOf/issues/1","labels_url":"https://api.github.com/repos/NickStrupat/NameOf/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/NickStrupat/NameOf/issues/1/comments","events_url":"https://api.github.com/repos/NickStrupat/NameOf/issues/1/events","html_url":"https://github.com/NickStrupat/NameOf/issues/1","id":66139283,"number":1,"title":"Exception during weaving","user":{"login":"MovGP0","id":83339,"avatar_url":"https://avatars.githubusercontent.com/u/83339?v=3","gravatar_id":"","url":"https://api.github.com/users/MovGP0","html_url":"https://github.com/MovGP0","followers_url":"https://api.github.com/users/MovGP0/followers","following_url":"https://api.github.com/users/MovGP0/following{/other_user}","gists_url":"https://api.github.com/users/MovGP0/gists{/gist_id}","starred_url":"https://api.github.com/users/MovGP0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MovGP0/subscriptions","organizations_url":"https://api.github.com/users/MovGP0/orgs","repos_url":"https://api.github.com/users/MovGP0/repos","events_url":"https://api.github.com/users/MovGP0/events{/privacy}","received_events_url":"https://api.github.com/users/MovGP0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-03T12:38:29Z","updated_at":"2015-04-09T19:54:35Z","closed_at":"2015-04-06T21:23:30Z","body":"I get the following exception during a build in NameOf.Fody version 0.7.0: \r\n\r\n```\r\nError\t20\tFody: An unhandled exception occurred:\r\nException:\r\nObject reference not set to an instance of an object.\r\nStackTrace:\r\n   at NameOf.Fody.ModuleWeaver.<IsUsed>b__9(MethodDefinition x) in c:\\Users\\Nick\\Documents\\Visual Studio 2013\\Projects\\NameOf\\NameOf.Fody\\ModuleWeaver.cs:line 46\r\n   at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()\r\n   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)\r\n   at NameOf.Fody.ModuleWeaver.IsUsed(MethodDefinition methodDefinition) in c:\\Users\\Nick\\Documents\\Visual Studio 2013\\Projects\\NameOf\\NameOf.Fody\\ModuleWeaver.cs:line 46\r\n   at NameOf.Fody.ModuleWeaver.<Execute>b__3(MethodDefinition x) in c:\\Users\\Nick\\Documents\\Visual Studio 2013\\Projects\\NameOf\\NameOf.Fody\\ModuleWeaver.cs:line 40\r\n   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()\r\n   at NameOf.Fody.ModuleWeaver.Execute() in c:\\Users\\Nick\\Documents\\Visual Studio 2013\\Projects\\NameOf\\NameOf.Fody\\ModuleWeaver.cs:line 40\r\n   at lambda_method(Closure , Object )\r\n   at InnerWeaver.ExecuteWeavers() in c:\\ConsoleBuildAgent\\work\\ed448661dbb30d2e\\FodyIsolated\\InnerWeaver.cs:line 135\r\n   at InnerWeaver.Execute() in c:\\ConsoleBuildAgent\\work\\ed448661dbb30d2e\\FodyIsolated\\InnerWeaver.cs:line 53\r\nSource:\r\nNameOf.Fody\r\nTargetSite:\r\nSystem.Collections.Generic.IEnumerable`1[Mono.Cecil.Cil.Instruction] <IsUsed>b__9(Mono.Cecil.MethodDefinition)\r\n\tCN\r\n```\r\n\r\ncurrently, I am only using the `Name.Of<InstanceClass>(x => x.Field);` syntax"},"comment":{"url":"https://api.github.com/repos/NickStrupat/NameOf/issues/comments/91340795","html_url":"https://github.com/NickStrupat/NameOf/issues/1#issuecomment-91340795","issue_url":"https://api.github.com/repos/NickStrupat/NameOf/issues/1","id":91340795,"user":{"login":"MovGP0","id":83339,"avatar_url":"https://avatars.githubusercontent.com/u/83339?v=3","gravatar_id":"","url":"https://api.github.com/users/MovGP0","html_url":"https://github.com/MovGP0","followers_url":"https://api.github.com/users/MovGP0/followers","following_url":"https://api.github.com/users/MovGP0/following{/other_user}","gists_url":"https://api.github.com/users/MovGP0/gists{/gist_id}","starred_url":"https://api.github.com/users/MovGP0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MovGP0/subscriptions","organizations_url":"https://api.github.com/users/MovGP0/orgs","repos_url":"https://api.github.com/users/MovGP0/repos","events_url":"https://api.github.com/users/MovGP0/events{/privacy}","received_events_url":"https://api.github.com/users/MovGP0/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T19:54:35Z","updated_at":"2015-04-09T19:54:35Z","body":"Np. Thank you! "}}