1 write to SolutionExplorer
Microsoft.VisualStudio.IntegrationTest.Utilities (1)
VisualStudioInstance.cs (1)
137SolutionExplorer = new SolutionExplorer_OutOfProc(this);
157 references to SolutionExplorer
Microsoft.VisualStudio.IntegrationTest.Utilities (2)
OutOfProcess\ErrorList_OutOfProc.Verifier.cs (1)
24_instance.SolutionExplorer.BuildSolution();
VisualStudioInstance.cs (1)
206SolutionExplorer.CleanUpOpenSolution();
Microsoft.VisualStudio.LanguageServices.IntegrationTests (155)
AbstractEditorTest.cs (3)
48VisualStudio.SolutionExplorer.CreateSolution(_solutionName); 49VisualStudio.SolutionExplorer.AddProject(new ProjectUtils.Project(ProjectName), _projectTemplate, LanguageName); 50VisualStudio.SolutionExplorer.RestoreNuGetPackages(new ProjectUtils.Project(ProjectName));
CSharp\CSharpChangeSignatureDialog.cs (11)
153VisualStudio.SolutionExplorer.AddProject(vbProject, WellKnownProjectTemplates.ClassLibrary, LanguageNames.VisualBasic); 160VisualStudio.SolutionExplorer.SaveAll(); 161VisualStudio.SolutionExplorer.AddProjectReference(fromProjectName: project, toProjectName: vbProjectReference); 162VisualStudio.SolutionExplorer.OpenFile(project, "Class1.cs"); 173VisualStudio.SolutionExplorer.OpenFile(vbProject, "Class1.vb"); 181VisualStudio.SolutionExplorer.OpenFile(project, "Class1.cs"); 305VisualStudio.SolutionExplorer.AddProject(vbProject, WellKnownProjectTemplates.ClassLibrary, LanguageNames.VisualBasic); 313VisualStudio.SolutionExplorer.SaveAll(); 316VisualStudio.SolutionExplorer.AddProjectReference(project, vbProjectReference); 317VisualStudio.SolutionExplorer.OpenFile(project, "Class1.cs"); 336VisualStudio.SolutionExplorer.OpenFile(vbProject, "Class1.vb");
CSharp\CSharpExtractInterfaceDialog.cs (2)
137VisualStudio.SolutionExplorer.OpenFile(project, "Class1.cs"); 145VisualStudio.SolutionExplorer.OpenFile(project, "IC.cs");
CSharp\CSharpGenerateTypeDialog.cs (4)
56VisualStudio.SolutionExplorer.AddProject(vbProj, WellKnownProjectTemplates.ClassLibrary, LanguageNames.VisualBasic); 59VisualStudio.SolutionExplorer.OpenFile(project, "Class1.cs"); 82VisualStudio.SolutionExplorer.OpenFile(vbProj, "GenerateTypeTest.vb"); 88VisualStudio.SolutionExplorer.OpenFile(project, "Class1.cs");
CSharp\CSharpImmediate.cs (2)
32VisualStudio.SolutionExplorer.CreateSolution(nameof(CSharpInteractive)); 34VisualStudio.SolutionExplorer.AddProject(testProj, WellKnownProjectTemplates.ConsoleApplication, LanguageNames.CSharp);
CSharp\CSharpProjectExistsUIContext.cs (3)
30VisualStudio.SolutionExplorer.CreateSolution(nameof(CSharpProjectExistsUIContext)); 38VisualStudio.SolutionExplorer.AddProject(new ProjectUtils.Project("TestCSharpProject"), WellKnownProjectTemplates.ConsoleApplication, LanguageNames.CSharp); 42VisualStudio.SolutionExplorer.CloseSolution();
CSharp\CSharpRenameFileToMatchTypeRefactoring.cs (6)
40AssertEx.EqualOrDiff(@"class MismatchedClassName { }", VisualStudio.SolutionExplorer.GetFileContents(project, "MismatchedClassName.cs")); 48VisualStudio.SolutionExplorer.AddFile(project, @"folder1\folder2\test.cs", open: true); 57AssertEx.EqualOrDiff(@"class MismatchedClassName { }", VisualStudio.SolutionExplorer.GetFileContents(project, @"folder1\folder2\MismatchedClassName.cs")); 73AssertEx.EqualOrDiff(@"public class MismatchedClassName { }", VisualStudio.SolutionExplorer.GetFileContents(project, "MismatchedClassName.cs")); 78AssertEx.EqualOrDiff(@"public class MismatchedClassName { }", VisualStudio.SolutionExplorer.GetFileContents(project, "Class1.cs")); 90AssertEx.EqualOrDiff(@"public class MismatchedClassName { }", VisualStudio.SolutionExplorer.GetFileContents(project, "MismatchedClassName.cs"));
CSharp\CSharpSendToInteractive.cs (12)
32VisualStudio.SolutionExplorer.CreateSolution(SolutionName); 34VisualStudio.SolutionExplorer.AddProject(project, WellKnownProjectTemplates.ConsoleApplication, Microsoft.CodeAnalysis.LanguageNames.CSharp); 75VisualStudio.SolutionExplorer.OpenFile(project, FileName); 91VisualStudio.SolutionExplorer.OpenFile(project, FileName); 110VisualStudio.SolutionExplorer.OpenFile(project, FileName); 130VisualStudio.SolutionExplorer.OpenFile(project, FileName); 146VisualStudio.SolutionExplorer.OpenFile(project, FileName); 162VisualStudio.SolutionExplorer.OpenFile(project, FileName); 181VisualStudio.SolutionExplorer.OpenFile(project, FileName); 203VisualStudio.SolutionExplorer.OpenFile(project, FileName); 233VisualStudio.SolutionExplorer.AddMetadataReference(assembly, project); 235VisualStudio.SolutionExplorer.SelectItem(ProjectName);
CSharp\CSharpWinForms.cs (37)
34VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.cs"); 36VisualStudio.SolutionExplorer.SaveFile(project, "Form1.cs"); 37VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 38VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.cs"); 48VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.cs"); 50VisualStudio.SolutionExplorer.SaveFile(project, "Form1.cs"); 51VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 53VisualStudio.SolutionExplorer.CloseDesignerFile(project, "Form1.cs", saveFile: true); 54VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.cs"); 63VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.cs"); 65VisualStudio.SolutionExplorer.SaveFile(project, "Form1.cs"); 66VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 71VisualStudio.SolutionExplorer.CloseDesignerFile(project, "Form1.cs", saveFile: true); 73VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.cs"); 80VisualStudio.SolutionExplorer.CloseCodeFile(project, "Form1.Designer.cs", saveFile: true); 82VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.cs"); 92VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.cs"); 94VisualStudio.SolutionExplorer.SaveFile(project, "Form1.cs"); 95VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 97VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.cs"); 100VisualStudio.SolutionExplorer.OpenFile(project, "Form1.cs"); 120VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.cs"); 122VisualStudio.SolutionExplorer.SaveFile(project, "Form1.cs"); 123VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 131VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.cs"); 145VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.cs"); 147VisualStudio.SolutionExplorer.SaveFile(project, "Form1.cs"); 148VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 154VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.cs"); 163VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.cs"); 165VisualStudio.SolutionExplorer.SaveFile(project, "Form1.cs"); 166VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 171VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.cs"); 180VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.cs"); 182VisualStudio.SolutionExplorer.SaveFile(project, "Form1.cs"); 183VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 186VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.cs");
VisualBasic\BasicChangeSignatureDialog.cs (10)
102VisualStudio.SolutionExplorer.AddProject(csharpProject, WellKnownProjectTemplates.ClassLibrary, LanguageNames.CSharp); 118VisualStudio.SolutionExplorer.SaveAll(); 121VisualStudio.SolutionExplorer.AddProjectReference(project, csharpProjectReference); 122VisualStudio.SolutionExplorer.OpenFile(project, "Class1.vb"); 141VisualStudio.SolutionExplorer.OpenFile(csharpProject, "Class1.cs"); 270VisualStudio.SolutionExplorer.AddProject(csharpProject, WellKnownProjectTemplates.ClassLibrary, LanguageNames.CSharp); 279VisualStudio.SolutionExplorer.SaveAll(); 282VisualStudio.SolutionExplorer.AddProjectReference(project, csharpProjectReference); 283VisualStudio.SolutionExplorer.OpenFile(project, "Class1.vb"); 302VisualStudio.SolutionExplorer.OpenFile(csharpProject, "Class1.cs");
VisualBasic\BasicCodeActions.cs (2)
30VisualStudio.SolutionExplorer.AddFile(project, "Goo.vb", @" 56VisualStudio.SolutionExplorer.GetFileContents(project, "Goo.vb"));
VisualBasic\BasicEditAndContinue.cs (8)
37VisualStudio.SolutionExplorer.CreateSolution(nameof(BasicEditAndContinue)); 39VisualStudio.SolutionExplorer.AddProject(testProj, WellKnownProjectTemplates.ConsoleApplication, LanguageNames.VisualBasic); 166VisualStudio.SolutionExplorer.AddProject(basicLibrary, WellKnownProjectTemplates.ClassLibrary, LanguageNames.VisualBasic); 169VisualStudio.SolutionExplorer.AddProject(cSharpLibrary, WellKnownProjectTemplates.ClassLibrary, LanguageNames.CSharp); 170VisualStudio.SolutionExplorer.AddFile(cSharpLibrary, "File1.cs"); 172VisualStudio.SolutionExplorer.OpenFile(basicLibrary, "Class1.vb"); 186VisualStudio.SolutionExplorer.AddProjectReference(project, new ProjectUtils.ProjectReference("BasicLibrary1")); 187VisualStudio.SolutionExplorer.OpenFile(project, module1FileName);
VisualBasic\BasicExpressionEvaluator.cs (2)
31VisualStudio.SolutionExplorer.CreateSolution(nameof(BasicExpressionEvaluator)); 33VisualStudio.SolutionExplorer.AddProject(testProj, WellKnownProjectTemplates.ConsoleApplication, LanguageNames.VisualBasic);
VisualBasic\BasicExtractInterfaceDialog.cs (2)
47VisualStudio.SolutionExplorer.OpenFile(project, "Class1.vb"); 56VisualStudio.SolutionExplorer.OpenFile(project, "IC.vb");
VisualBasic\BasicGenerateTypeDialog.cs (6)
33VisualStudio.SolutionExplorer.AddProject(csProj, WellKnownProjectTemplates.ClassLibrary, LanguageNames.CSharp); 36VisualStudio.SolutionExplorer.OpenFile(project, "Class1.vb"); 66VisualStudio.SolutionExplorer.OpenFile(csProj, "GenerateTypeTest.cs"); 99VisualStudio.SolutionExplorer.OpenFile(project, "GenerateTypeTest.vb"); 105VisualStudio.SolutionExplorer.OpenFile(project, "Class1.vb"); 119VisualStudio.SolutionExplorer.AddFile(project, @"folder1\folder2\GenerateTypeTests.vb", open: true);
VisualBasic\BasicImmediate.cs (2)
31VisualStudio.SolutionExplorer.CreateSolution(nameof(BasicImmediate)); 33VisualStudio.SolutionExplorer.AddProject(testProj, WellKnownProjectTemplates.ConsoleApplication, LanguageNames.VisualBasic);
VisualBasic\BasicProjectExistsUIContext.cs (3)
28VisualStudio.SolutionExplorer.CreateSolution(nameof(BasicProjectExistsUIContext)); 36VisualStudio.SolutionExplorer.AddProject(new ProjectUtils.Project("TestVisualBasicProject"), WellKnownProjectTemplates.ConsoleApplication, LanguageNames.VisualBasic); 40VisualStudio.SolutionExplorer.CloseSolution();
VisualBasic\BasicWinForms.cs (40)
31VisualStudio.SolutionExplorer.OpenFile(project, "Form1.vb"); 60VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.vb"); 62VisualStudio.SolutionExplorer.SaveFile(project, "Form1.vb"); 63VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 64VisualStudio.SolutionExplorer.CloseDesignerFile(project, "Form1.vb", saveFile: true); 65VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.vb"); 75VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.vb"); 77VisualStudio.SolutionExplorer.SaveFile(project, "Form1.vb"); 78VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 80VisualStudio.SolutionExplorer.CloseDesignerFile(project, "Form1.vb", saveFile: true); 81VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.vb"); 90VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.vb"); 92VisualStudio.SolutionExplorer.SaveFile(project, "Form1.vb"); 93VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 98VisualStudio.SolutionExplorer.CloseDesignerFile(project, "Form1.vb", saveFile: true); 100VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.vb"); 107VisualStudio.SolutionExplorer.CloseCodeFile(project, "Form1.Designer.vb", saveFile: true); 109VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.vb"); 119VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.vb"); 121VisualStudio.SolutionExplorer.SaveFile(project, "Form1.vb"); 122VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 124VisualStudio.SolutionExplorer.OpenFile(project, "Form1.vb"); 127VisualStudio.SolutionExplorer.SaveFile(project, "Form1.vb"); 134VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.vb"); 136VisualStudio.SolutionExplorer.SaveFile(project, "Form1.vb"); 137VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 145VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.vb"); 153VisualStudio.SolutionExplorer.OpenFile(project, "Form1.vb"); 168VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.vb"); 170VisualStudio.SolutionExplorer.SaveFile(project, "Form1.vb"); 171VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 177VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.vb"); 186VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.vb"); 188VisualStudio.SolutionExplorer.SaveFile(project, "Form1.vb"); 189VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 196VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.vb"); 205VisualStudio.SolutionExplorer.OpenFileWithDesigner(project, "Form1.vb"); 207VisualStudio.SolutionExplorer.SaveFile(project, "Form1.vb"); 208VisualStudio.SolutionExplorer.SaveFile(project, "Form1.resx"); 211VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.vb");