7 writes to InitialDirectory
System.Windows.Forms.Tests (4)
System\Windows\Forms\FileDialogTests.cs (4)
358InitialDirectory = value 364dialog.InitialDirectory = value; 595InitialDirectory = "InitialDirectory", 697InitialDirectory = "InitialDirectory",
System.Windows.Forms.UI.IntegrationTests (3)
OpenFileDialogTests.cs (3)
21dialog.InitialDirectory = Guid.NewGuid().ToString(); 30dialog.InitialDirectory = Path.GetTempPath(); 42dialog.InitialDirectory = Path.GetDirectoryName(tempFile.Path);
7 references to InitialDirectory
System.Windows.Forms (2)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (2)
62if (!string.IsNullOrEmpty(InitialDirectory)) 64using ComScope<IShellItem> initialDirectory = new(PInvoke.SHCreateShellItem(InitialDirectory));
System.Windows.Forms.Tests (5)
System\Windows\Forms\FileDialogTests.cs (5)
33Assert.Empty(dialog.InitialDirectory); 71Assert.Empty(dialog.InitialDirectory); 360Assert.Equal(value ?? string.Empty, dialog.InitialDirectory); 365Assert.Equal(value ?? string.Empty, dialog.InitialDirectory); 627Assert.Empty(dialog.InitialDirectory);