[Mono-bugs] [Bug 480536] New: Missing flag when setting security level attributes
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Feb 27 13:33:04 EST 2009
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: jbevain at novell.com
ReportedBy: msafar at novell.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list