This is related to my other question, but this time very specific. Is it possible, using AOP (PostSharp in particular) to detect if function's return value was used? For example
var x = y.func(); // used
y.func(); // not used
Note that detection should be performed for this particular call, not for the function in general.
I never used AOP/PostSharp so even if I don't find answer in PostSharp's docs I can't be sure it's not there. I do not insist on PostSharp, though; I'm OK to use any library as long as it can do the job.