7 writes to _fileNameFlags
System.Windows.Forms (7)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (5)
393
_fileNameFlags
= _fileNameFlags & ~OFN_READONLY | lpOFN->Flags & OFN_READONLY;
435
_fileNameFlags
= saveOptions;
707
_fileNameFlags
= OFN_HIDEREADONLY | OFN_PATHMUSTEXIST;
795
_fileNameFlags
|= option;
799
_fileNameFlags
&= ~option;
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (2)
167
_fileNameFlags
= saveOptions;
176
_fileNameFlags
&= ~OFN_READONLY;
12 references to _fileNameFlags
System.Windows.Forms (12)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (6)
294
(int)(
_fileNameFlags
& (OFN_READONLY | OFN_HIDEREADONLY | OFN_NOCHANGEDIR | OFN_SHOWHELP | OFN_NOVALIDATE
387
OPEN_FILENAME_FLAGS saveOptions =
_fileNameFlags
;
393
_fileNameFlags =
_fileNameFlags
& ~OFN_READONLY | lpOFN->Flags & OFN_READONLY;
398
_fileNames =
_fileNameFlags
.HasFlag(OFN_ALLOWMULTISELECT)
486
private protected bool GetOption(OPEN_FILENAME_FLAGS option) => (
_fileNameFlags
& option) != 0;
689
if (
_fileNameFlags
.HasFlag(OFN_FILEMUSTEXIST) && !FileExists(fileName))
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (4)
106
System.Diagnostics.Debug.Assert((UnexpectedOptions &
_fileNameFlags
) == 0, "Unexpected FileDialog options");
109
FILEOPENDIALOGOPTIONS result = (FILEOPENDIALOGOPTIONS)
_fileNameFlags
& BlittableOptions;
127
OPEN_FILENAME_FLAGS saveOptions =
_fileNameFlags
;
172
if (
_fileNameFlags
.HasFlag(OFN_HIDEREADONLY))
System\Windows\Forms\Dialogs\CommonDialogs\SaveFileDialog.cs (2)
114
if (
_fileNameFlags
.HasFlag(OFN_OVERWRITEPROMPT)
122
if (
_fileNameFlags
.HasFlag(OFN_CREATEPROMPT) && !FileExists(fileName) && !PromptFileCreate(fileName))