{"issue":{"state":"open","created_at":"2011-11-22T08:25:41Z","updated_at":"2011-11-22T08:25:41Z","comments":0,"user":{"gravatar_id":"0b74e341eb30f0b4abda4312e980c362","id":1212357,"url":"https://api.github.com/users/justinalucard","avatar_url":"https://secure.gravatar.com/avatar/0b74e341eb30f0b4abda4312e980c362?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"justinalucard"},"body":"I tried to use the Equals method like this.\r\n```c#\r\nCollection.AsQueryable<Account>.FirstOrDefault(x => x.Username.Equals(\"justin\", StringComparison.OrdinalIgnoreCase));\r\n```\r\nThrow an exception:\r\nSystem.NotSupportedException : The string method Equals is not supported.\r\n\r\nOk.I change little above.\r\n```c#\r\nFunc<Account, bool> func = x => x.Username.Equals(\"justin\", StringComparison.OrdinalIgnoreCase);\r\nCollection.AsQueryable<Account>.FirstOrDefault(func);\r\n```\r\nIt works fine.\r\nWould someone can tell me why?","assignee":null,"id":2315527,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":38,"labels":[],"title":"String equals method works, but strange","html_url":"https://github.com/craiggwilson/fluent-mongo/issues/38","closed_at":null,"url":"https://api.github.com/repos/craiggwilson/fluent-mongo/issues/38","milestone":null},"action":"opened"}