You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InvalidOperationException: Sequence contains no matching element exception is thrown when I create another inheritable class from OnMethodBoundaryAspect:
public abstract class MethodBoundaryAspect : OnMethodBoundaryAspect
{
// some stuff
}
public class Log: MethodBoundaryAspect
{
// some other stuff
}
Yes, it can be done by mimicing that approach, but not importing the reference, in chain creator but using an already provided api is much cleaner, I suppose..
I'll be opening a PR for this, if that's ok.
The text was updated successfully, but these errors were encountered:
InvalidOperationException: Sequence contains no matching element
exception is thrown when I create another inheritable class fromOnMethodBoundaryAspect
:Offending lines:
MethodBoundaryAspect.Fody/src/MethodBoundaryAspect.Fody/InstructionBlockChainCreator.cs
Lines 116 to 117 in 1c94bab
That approach forces the inheritance to have only single descendent. But through out the source that is solved with
MethodBoundaryAspect.Fody/src/MethodBoundaryAspect.Fody/ReferenceFinder.cs
Lines 22 to 34 in 1c94bab
Yes, it can be done by mimicing that approach, but not importing the reference, in chain creator but using an already provided api is much cleaner, I suppose..
I'll be opening a PR for this, if that's ok.
The text was updated successfully, but these errors were encountered: