Tony Johansson <(E-Mail Removed)> wrote:
> I just want to know when is the custom attibute CodeStatus called ?
What do you mean by "called"? It's a class - classes aren't "called",
methods are called.
> Do you mean that it's called in the background in some way that's way I
> can't use the debugger.
>
> Even if I can't use the debugger the CodeStatus attribute is loaded with
> data from
> CodeStatus("Final", Coder="Bills")]
>
> Does it sound correct what I'm saying.
I suspect it's hidden by the magic of how the CLR
serializes/deserializes attributes. I've never tried putting any non-
trivial code in attribute properties.
The may be more in CLR via C#, which I'm reading at the moment... I'll
let you know if I find anything.
--
Jon Skeet - <(E-Mail Removed)>
Web site:
http://www.pobox.com/~skeet
Blog:
http://www.msmvps.com/jon.skeet
C# in Depth:
http://csharpindepth.com