-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can i use in assembly level? #83
Comments
Hi, |
Ok, i found a problem. This is regression issue with abstract and external methods which was already fixed before. I'll fix it soon |
fixed in 2.0.3 |
I've just updated. but i think there is a problem with static Main function public object HandleMethod( instance is null and i handle instance this time application exit immediately |
This is by design. You have to check if instance is null and the process it correctly. Btw you can use [Argument(Source.Type)] this is always not-null |
thanks but this is a new errors 6> AspectInjector: Started forxxx.dll |
Do you use unsafe code? |
yes unsafe code available |
Can I have any sample on there you pass pointers into method as a parameters? |
actually this is a very very large library. i prepare lightweight sample soon as possible. |
I've recompiled this line from source code: AspectInjector.Core>Fluent>PointCut.cs private Instruction PickStoreInstruction(TypeReference parameterType)
here is the missing type: -> String 5> All packages listed in packages.config are already installed. |
and it think add this line should be fix: case MetadataType.String: return CreateInstruction(OpCodes.Ldind_Ref); |
for my project: MetadataType.ValueType missing in pointcut.cs in 2 locations |
have a try 2.0.5 |
thanks it works |
when i tried i got this error
aspect file
in assembly
[assembly: LoggingAspect()]
The text was updated successfully, but these errors were encountered: