-
-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
class MyClass
{
public string MyProperty {get; set;}
}
Func<MyClass, string> func = v => v.MyProperty = "I wish to assign this value";
LambdaExpression decompiled = DecompileExtensions.Decompile(func);
Expected body:
Binary expression (node type Assign) with Left = {v.MyProperty}, Right = Constant("I wish to assign this value")
Actual body:
Block expression containing two expressions:
- Binary expression (node type Assign) with Left = {v.MyProperty}, Right = Constant("I wish to assign this value")
- constant("I wish to assign this value")
Copilot
Metadata
Metadata
Assignees
Labels
No labels