mongodb/mongo-csharp-driver — pull request #179 by lshako (2014-03-21 11:36:49+00:00)
Title: CSHARP-926 LINQ queries with properties of type byte enum

if (unaryExpression.Type == Enum.GetUnderlyingType(enumType)) is false in case of byte, short etc, because you convert these type to int