https://bugzilla.novell.com/show_bug.cgi?id=480536


           Summary: Missing flag when setting security level attributes
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Cecil
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


When setting security attribute 'm_resolved' flag has to be set manually
otherwise no data get generated.

For code like this

foreach (var de in declarative_security) {
   var decl = new SecurityDeclaration (de.Key) { PermissionSet = de.Value };
   Builder.SecurityDeclarations.Add (decl);
} 

I had to modify SecurityDeclaration

        public PermissionSet PermissionSet {
            get { return m_permSet; }
            set { m_permSet = value; m_resolved = true; }    <-- here
        }

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to