22 references to Create
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\TestWorkspace.cs (1)
85SetCurrentSolutionEx(CreateSolution(SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create()).WithTelemetryId(solutionTelemetryId)));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
SolutionCrawler\WorkCoordinatorTests.cs (4)
95var solutionInfo = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create(), 1435var solution = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create(), 1621var solution = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create(), 1647return SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create(),
Microsoft.CodeAnalysis.Remote.Workspaces (1)
AbstractAssetProvider.cs (1)
44return SolutionInfo.Create(solutionAttributes.Id, solutionAttributes.Version, solutionAttributes.FilePath, projects, analyzerReferences).WithTelemetryId(solutionAttributes.TelemetryId);
Microsoft.CodeAnalysis.Workspaces (5)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (2)
120SolutionInfo.Create( 314SolutionInfo.Create(
Workspace\Solution\SolutionInfo.cs (1)
67return Create(id, version, filePath, projects, analyzerReferences: null);
Workspace\Workspace.cs (2)
85var info = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create()); 129=> CreateSolution(SolutionInfo.Create(id, VersionStamp.Create()));
Microsoft.CodeAnalysis.Workspaces.UnitTests (8)
SolutionTests\SolutionInfoTests.cs (7)
23Assert.Throws<ArgumentNullException>(() => SolutionInfo.Create(null, version)); 24Assert.Throws<ArgumentNullException>(() => SolutionInfo.Create(solutionId, version, projects: new[] { projectInfo, null })); 34var info1 = SolutionInfo.Create(solutionId, version, projects: new[] { projectInfo }); 37var info2 = SolutionInfo.Create(solutionId, version); 40var info3 = SolutionInfo.Create(solutionId, version, projects: new ProjectInfo[0]); 43var info4 = SolutionInfo.Create(solutionId, version, projects: ImmutableArray<ProjectInfo>.Empty); 53var info = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Default, filePath: path);
WorkspaceTests\AdhocWorkspaceTests.cs (1)
93var sinfo = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Default, projects: new ProjectInfo[] { pinfo });
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
PersistentStorage\AbstractPersistentStorageTests.cs (2)
848workspace.AddSolution(SolutionInfo.Create(SolutionId.CreateNewId(), new VersionStamp(), @"D:\git\PCLCrypto\PCLCrypto.sln")); 985var info = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create(), solutionFile.Path);
Roslyn.VisualStudio.Next.UnitTests (1)
Remote\RemoteHostClientServiceFactoryTests.cs (1)
51workspace.AddSolution(SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Default));