-
是否考虑加一个模式,返回的Methodbase是带$Rougamo_的原始方法,而不是IL之后的呢
-
实在不好意思,无意间又发现一个问题。
以下代码也会报错,这是什么问题呢?
``` c#
[Log]
public void TestThrow()
{
try
{
throw new Exception("test");
}
catch (Exception)
{
thr…
-
这个配置现在是有的吗?
默认使用3.0版本的代理调用织入方式,可通过配置修改织入方式
(配置的方式为修改`FodyWeavers.xml`文件中的配置)
_Originally posted by @inversionhourglass in https://github.com/inversionhourglass/Rougamo/iss…
-
![image](https://github.com/user-attachments/assets/169da680-2542-4f45-b63c-df9cf32eecbc)
这里调试时会有乱跳的情况,Sub方法加上DebuggerStepThrough后就直接不进方法体了
![image](https://github.com/user-attachments/assets/95b6…
-
blazor webassembly和auto模式中的客户端部分,使用的是WebAssemblyHost,它不是反省主机,
肉夹馍4.0.1目前测试没法在blazor webassembly中使用,这个可以加上吗
另外blazor的依赖注入跟asp.net core的依赖注入有差别,并且分server、webassembly和auto模式,参考:
https://learn.micros…
-
```
[Log]
private void LoadData()
{
string[,] values = new string[1, 1];
}
```
-
```csharp
public class TestAttribute : MoAttribute
{
public override void OnEntry(MethodContext context)
{
// OnEntry对应方法执行前
}
public override void OnException(MethodC…
-
-
1>MSBUILD : error : Fody: An unhandled exception occurred:
1>MSBUILD : error : Exception:
1>MSBUILD : error : Failed to execute weaver F:\.nuget\packages\rougamo.fody\3.0.1\build\..\weaver\Rougamo.F…
-
目前解决方案里面有好几个库项目,每个库都得安装`Rougamo.Fody`库才能调用到对应的AOP方法,这样每个库都会有一个`FodyWeavers.xml`文件,强迫症看着有点不爽,这个有办法能去掉或者只留一个吗?(google搜了一下貌似没有解决方案...)