Closed
Description
var guid = Guid.NewGuid();
var lambda = Expression.Lambda(Expression.Constant(guid));
lambda.ToReadableString().Dump();
I get smth like () => e157dc9e-2e1d-4cfa-8d96-543f84c21fc5
. Perhaps most efficient would be to leverage dotnet/roslyn#24621. But new Guid(string)
is certainly more readable :)