Skip to content

Conversation

@nivalxer
Copy link
Contributor

@nivalxer nivalxer commented Mar 10, 2021

1.修复当方法中包含out decimal时,加上拦截器,在.net5.0下会报内存错误,在.netcoreapp3.1下会out参数未正确返回(即返回值未赋值)的问题。(ProxyGeneratorUtils.cs中修复)
2.调试过程中更新了部分ILGeneratorExtensions.cs中实现。参考的官方dotnet/runtime库中System.Linq.Expressions/src/System/Linq/Expressions/Compiler/ILGen.cs

PS.appveyor编译不通过的问题在另外一个PR修复了。#256

else ilGenerator.Emit(OpCodes.Ldarg, index);
break;
}
ilGenerator.Emit(OpCodes.Ldarg, index);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

还是要做必要的check

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

恩,我看上游没有check,所以我就改了。已还原。

@nivalxer nivalxer requested a review from liuhaoyang June 12, 2021 10:53
@liuhaoyang liuhaoyang merged commit f0ad4ce into dotnetcore:master Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants