wliao008 / buffalo

an aspect oriented programming framework using mono cecil for the .NET platform
1 stars 0 forks source link

Function annotated with Around unable to call into the aspect's private function #4

Closed wliao008 closed 11 years ago

wliao008 commented 11 years ago

Which make sense given that the function is private and it's being accessed from another class. For now the work around is to have public function in the around aspect. But a more sensible solution is probably to import all the relevant types into the targeted type where the annotated function reside. But that would involve deep copying all the types, variables, etc in the aspect.