8 Replies
what does the error say?
CS8072 - An expression tree lambda may not contain a null propagating operator.
well that's why
it's not just a lambda, it's an expression and those don't support a number of things
Some C# expressions are prohibited in expression trees. Learn which...
These compiler errors and warnings indicate that an expression would include an expression that isn't allowed in an expression tree. You need to refactor your code to remove the prohibited expression.
How else can I fix it then?
by refactoring the code so the prohibited expressions aren't in the expression
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View