public bool TestMscorlibSecurityAttributes() { StringILDasmPaper stringPaper = new StringILDasmPaper(2); ILDasmPrettyPrinter prettyPrinter = new ILDasmPrettyPrinter(stringPaper, this.ModuleReaderTest.MscorlibAssembly); prettyPrinter.SecurityAttributes(this.ModuleReaderTest.MscorlibAssembly.SecurityAttributes); string result = @".permissionset reqmin { .custom instance void System.Security.Permissions.SecurityPermissionAttribute::.ctor(System.Security.Permissions.SecurityAction) { .argument .property SkipVerification : bool()=const(True,bool) } } "; return result.Equals(stringPaper.Content); }