Ralf

Results 74 comments of Ralf

Hi, through the built-in mechanism of Fody it is not possible. Fody runs as an additional build step after compilation so you would need the source code to use it....

[Place where methods to weave are selected](/vescon/MethodBoundaryAspect.Fody/blob/master/src/MethodBoundaryAspect.Fody/ModuleWeaver.cs#L278)

Nice catch ! Could you provide a unittest/repo to avoid future regression bugs?

Does it compile if you provide empty overrides for OnEntry and OnExit methods?

Can you try to return a Task or an int from the GetAsync() method? Maybe there are problems with fire and forget async method weaving

Great. Then this should also be reproducible if the attribute is just decorating the GetAsync() method if it returns void?

So then the bug is handling of void async methods. Wondering why this was not detected earlier. So all in all you have a workaround and we can then create...

Hi @igitur, we would welcome PR if they improve the MBA. The support for async methods where done by @keith-anders and unfortunatly he is not active anymore. So I am...

On which scope did you apply the attribute ? Assembly, class or method? Try to reduce the methods which are weaved by applying the attribute only on class level and...

According to the stack trace in class ["InstructionBlockChainCreator"](https://github.com/vescon/MethodBoundaryAspect.Fody/blob/3608d6b7834411e8ab7a7ca9e6c19f987447d429/src/MethodBoundaryAspect.Fody/InstructionBlockChainCreator.cs#L117) there are on 2 "Single()" calls so it seems that somehow the "OnEntry" method in your aspect has an unexpected signature. Can...