[Mono-list] SecurityPermissionAttribute

Nick Drochak ndrochak@gol.com
Mon, 7 Jan 2002 00:34:30 +0900


All,

I hacked on SecurityPermissionAttribute and it's parent classes.  There
were pretty easy and are basically done. However when I try to build now
with those files, I get an error that I'm not sure how to fix:

C:\cygwin\home\Nick\mcs\class\corlib\System\Environment.cs(12,1): error
CS0647:
Error emitting 'System.Security.Permissions.SecurityPermissionAttribute'
attribu
te -- 'Security custom attributes cannot be referenced from defining
assembly.'
C:\cygwin\home\Nick\mcs\class\corlib\System.IO\CheckPermission.cs(61,4):
warning
 CS0162: Unreachable code detected
error CS1577: Assembly generation failed -- Security custom attributes
cannot be
 referenced from defining assembly.

Even if I comment out the attribute on line 12 of Environment.cs, I
still get the CS1577 error at the end.  Anyone know what can be done to
fix this problem?

Thanks,
Nick D.