Hi
(Second CAS question)
At the assembly level I have:
[assembly: PermissionSet(S ecurityAction.R equestOptional)]
at the method level I have
[ReflectionPermi ssion(SecurityA ction.Demand,
Flags=Reflectio nPermissionFlag .RestrictedMemb erAccess,
RestrictedMembe rAccess=true)]
my method is empty.
However this gives me this message:
Request for the permission of type "..ReflectionPe rmission..." failed
Can you mix and match these permissions? I thought the method level
permission was an explicit Demand for the security so would be ok?
thanks
(Second CAS question)
At the assembly level I have:
[assembly: PermissionSet(S ecurityAction.R equestOptional)]
at the method level I have
[ReflectionPermi ssion(SecurityA ction.Demand,
Flags=Reflectio nPermissionFlag .RestrictedMemb erAccess,
RestrictedMembe rAccess=true)]
my method is empty.
However this gives me this message:
Request for the permission of type "..ReflectionPe rmission..." failed
Can you mix and match these permissions? I thought the method level
permission was an explicit Demand for the security so would be ok?
thanks
Comment