[Mono-list] Declarative security issues
A Rafael D Teixeira
rafaelteixeirabr@hotmail.com
Sun, 28 Jul 2002 18:42:16 -0300
>I've 'discovered' that mcs seems to compile the declarative security
>options into custom attributes.
>I'm wondering if this is intended behaviour or a bug?
It IS the intended behaviour..
What you've called "Declarative Security Options" ARE a bunch of specific
attributes, from the System.Security.Permissions namespace.
From VS.NET help:
"Declarative security syntax uses attributes to place security information
into the metadata of your code."
That is what the runtime will inspect to perform security checks.
Please, check the C# syntax for attributes and that namespace's tree of help
topics, in the WEB, before continuing with your exploration in this subject.
Happy Hackings,
Rafael Teixeira
Brazilian Polymath
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com