NHibernate 5.4.2
.NET Framework 4.8
When running a query like this in Visual Basic an error is thrown because NHibernate checks if the given expression is a NewExpression which is the case in c# but not in VB (UnaryExpression).
VB
session.Query(Of Entity).Update(function(x) New With {.Property1 = "value"})
c#
session.Query<Entity>().Update(x => new { Property1 = "value" });