Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1728,8 +1728,7 @@ public override DynamicMetaObject FallbackCreateInstance(DynamicMetaObject targe
Expression.Block(typeof(void), blockExprs),
Expression.Catch(
exception,
Expression.Block(
Compiler.ThrowRuntimeErrorWithInnerException("PropertyAssignmentException", Expression.Property(exception, "Message"), exception, typeof(void))))),
Compiler.ThrowRuntimeErrorWithInnerException("PropertyAssignmentException", Expression.Property(exception, "Message"), exception, typeof(void)))),
// The result of the block is the object constructed, so the tmp must be the last expr in the block.
tmp);
}
Expand Down