7 writes to options
System.Windows.Forms (7)
winforms\Managed\System\WinForms\FileDialog.cs (5)
625
options
= options & ~NativeMethods.OFN_READONLY |
670
options
= saveOptions;
963
options
= NativeMethods.OFN_HIDEREADONLY | NativeMethods.OFN_PATHMUSTEXIST |
1054
options
|= option;
1057
options
&= ~option;
winforms\Managed\System\WinForms\FileDialog_Vista.cs (2)
201
options
= saveOptions;
212
options
&= ~ NativeMethods.OFN_READONLY;
15 references to options
System.Windows.Forms (15)
winforms\Managed\System\WinForms\FileDialog.cs (9)
466
return
options
& (NativeMethods.OFN_READONLY | NativeMethods.OFN_HIDEREADONLY |
619
int saveOptions =
options
;
625
options =
options
& ~NativeMethods.OFN_READONLY |
638
if ((
options
& NativeMethods.OFN_ALLOWMULTISELECT) == 0) {
736
return(
options
& option) != 0;
869
if ((
options
& NativeMethods.OFN_NOVALIDATE) == 0) {
873
if ((
options
& OPTION_ADDEXTENSION) != 0 && !Path.HasExtension(fileName)) {
874
bool fileMustExist = (
options
& NativeMethods.OFN_FILEMUSTEXIST) != 0;
947
if ((
options
& NativeMethods.OFN_FILEMUSTEXIST) != 0) {
winforms\Managed\System\WinForms\FileDialog_Vista.cs (4)
132
System.Diagnostics.Debug.Assert(0==(UnexpectedOptions &
options
), "Unexpected FileDialog options");
134
FileDialogNative.FOS ret = (FileDialogNative.FOS)
options
& BlittableOptions;
156
int saveOptions =
options
;
206
if (0 != (
options
& NativeMethods.OFN_HIDEREADONLY))
winforms\Managed\System\WinForms\SaveFileDialog.cs (2)
161
if ((
options
& NativeMethods.OFN_OVERWRITEPROMPT) != 0 && FileExists(fileName) && !this.UseVistaDialogInternal) {
167
if ((
options
& NativeMethods.OFN_CREATEPROMPT) != 0 && !FileExists(fileName)) {