6 writes to AddExtension
System.Windows.Forms (1)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
709AddExtension = true;
System.Windows.Forms.Tests (5)
System\Windows\Forms\FileDialogTests.cs (5)
100AddExtension = value 106dialog.AddExtension = value; 111dialog.AddExtension = !value; 585AddExtension = false, 688AddExtension = 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"/>, 624if (AddExtension && !Path.HasExtension(fileName)) 768lpstrDefExt = AddExtension ? extension : null,
System.Windows.Forms.Tests (6)
System\Windows\Forms\FileDialogTests.cs (6)
15Assert.True(dialog.AddExtension); 53Assert.False(dialog.AddExtension); 102Assert.Equal(value, dialog.AddExtension); 107Assert.Equal(value, dialog.AddExtension); 112Assert.Equal(!value, dialog.AddExtension); 609Assert.True(dialog.AddExtension);