6 writes to AddExtension
System.Windows.Forms (1)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
709
AddExtension
= true;
System.Windows.Forms.Tests (5)
System\Windows\Forms\FileDialogTests.cs (5)
100
AddExtension
= value
106
dialog.
AddExtension
= value;
111
dialog.
AddExtension
= !value;
585
AddExtension
= false,
688
AddExtension
= result,
9 references to AddExtension
System.Windows.Forms (3)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (3)
610
/// Processes the filenames entered in the dialog according to the settings of the <see cref="
AddExtension
"/>,
624
if (
AddExtension
&& !Path.HasExtension(fileName))
768
lpstrDefExt =
AddExtension
? extension : null,
System.Windows.Forms.Tests (6)
System\Windows\Forms\FileDialogTests.cs (6)
15
Assert.True(dialog.
AddExtension
);
53
Assert.False(dialog.
AddExtension
);
102
Assert.Equal(value, dialog.
AddExtension
);
107
Assert.Equal(value, dialog.
AddExtension
);
112
Assert.Equal(!value, dialog.
AddExtension
);
609
Assert.True(dialog.
AddExtension
);