32 references to FileDialogPermissionAccess
mscorlib (27)
system\security\permissions\filedialogpermission.cs (20)
40
FileDialogPermissionAccess
access;
55
public FileDialogPermission(
FileDialogPermissionAccess
access) {
60
public
FileDialogPermissionAccess
Access {
83
access =
FileDialogPermissionAccess
.None;
87
access = (
FileDialogPermissionAccess
)Enum.Parse(typeof(
FileDialogPermissionAccess
), accessXml);
110
FileDialogPermissionAccess
intersectAccess = access & operand.Access;
112
if (intersectAccess ==
FileDialogPermissionAccess
.None)
121
return access ==
FileDialogPermissionAccess
.None;
133
int open = (int)(access &
FileDialogPermissionAccess
.Open);
134
int save = (int)(access &
FileDialogPermissionAccess
.Save);
135
int openTarget = (int)(operand.Access &
FileDialogPermissionAccess
.Open);
136
int saveTarget = (int)(operand.Access &
FileDialogPermissionAccess
.Save);
148
return access ==
FileDialogPermissionAccess
.OpenSave;
152
access =
FileDialogPermissionAccess
.None;
157
access =
FileDialogPermissionAccess
.OpenSave;
165
if (access !=
FileDialogPermissionAccess
.None) {
166
esd.AddAttribute("Access", Enum.GetName(typeof(
FileDialogPermissionAccess
), access));
188
static void VerifyAccess(
FileDialogPermissionAccess
access) {
189
if ((access & ~
FileDialogPermissionAccess
.OpenSave) != 0 ) {
system\security\permissions\permissionattributes.cs (7)
195
private
FileDialogPermissionAccess
m_access;
206
get { return (m_access &
FileDialogPermissionAccess
.Open) != 0; }
207
set { m_access = value ? m_access |
FileDialogPermissionAccess
.Open : m_access & ~
FileDialogPermissionAccess
.Open; }
212
get { return (m_access &
FileDialogPermissionAccess
.Save) != 0; }
213
set { m_access = value ? m_access |
FileDialogPermissionAccess
.Save : m_access & ~
FileDialogPermissionAccess
.Save; }
PresentationFramework (3)
src\Framework\System\Windows\Interop\DocobjHost.cs (2)
951
permissionSet.AddPermission(new FileDialogPermission(
FileDialogPermissionAccess
.Open));
985
permissionSet.AddPermission(new FileDialogPermission(
FileDialogPermissionAccess
.Open));
src\Shared\MS\Internal\SecurityHelper.cs (1)
1155
_fileDialogOpenPermission = new FileDialogPermission(
FileDialogPermissionAccess
.Open);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\WinFormsSecurity.cs (2)
228
fileDialogOpenFile = new FileDialogPermission(
FileDialogPermissionAccess
.Open);
237
fileDialogSaveFile = new FileDialogPermission(
FileDialogPermissionAccess
.Save);