public HqlGenerator() { this.SupportedMethods = new[] { ReflectionHelper.GetMethodDefinition(() => ObjectExtensions.CastAs<Object>(null)) }; }