Closed zspitz closed 3 years ago
Something like this:
var prm = Parameter(typeof(string)); return Lambda( Equal(prm, prm), prm );
generates:
var $var0 = Parameter( typeof(string) ); Lambda( MakeBinary(ExpressionType.Equal, $var0, $var0, false, typeof(string).GetMethod("op_Equality") ), $var0 )
This is happening because the Equal node specifies a method, and the factory method overload which matches two expressions and a method also takes an additional boolean.
Equal
Not fixing this ATM.
Something like this:
generates: