1 instantiation of SolutionInfo
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionInfo.cs (1)
100return new SolutionInfo(
64 references to SolutionInfo
Microsoft.Analyzers.Extra.Tests (1)
Resources\RoslynTestUtils.cs (1)
56.AddSolution(SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create()))
Microsoft.Analyzers.Local.Tests (1)
Resources\RoslynTestUtils.cs (1)
56.AddSolution(SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create()))
Microsoft.CodeAnalysis.Remote.ServiceHub (5)
Host\AssetProvider.cs (1)
105tasks.Add(this.GetAssetAsync<SolutionInfo.SolutionAttributes>(
Host\RemoteWorkspace.cs (3)
227var newSolutionInfo = await assetProvider.GetAssetAsync<SolutionInfo.SolutionAttributes>( 272private Solution CreateSolutionFromInfo(SolutionInfo solutionInfo) 331public Solution CreateSolutionFromInfo(SolutionInfo solutionInfo)
Host\RemoteWorkspace.SolutionCreator.cs (1)
56var newSolutionInfo = await _assetProvider.GetAssetAsync<SolutionInfo.SolutionAttributes>(
Microsoft.CodeAnalysis.Remote.Workspaces (3)
AbstractAssetProvider.cs (3)
30public async Task<SolutionInfo> CreateSolutionInfoAsync( 38var solutionAttributes = await GetAssetAsync<SolutionInfo.SolutionAttributes>(AssetPathKind.SolutionAttributes, solutionChecksums.Attributes, cancellationToken).ConfigureAwait(false); 65return SolutionInfo.Create(
Microsoft.CodeAnalysis.Workspaces (21)
Serialization\SerializationExtensions.cs (1)
21SolutionInfo.SolutionAttributes => WellKnownSynchronizationKind.SolutionAttributes,
Workspace\AdhocWorkspace.cs (1)
46public Solution AddSolution(SolutionInfo solutionInfo)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (3)
150var solutionInfo = SolutionInfo.Create( 461SolutionInfo.Create(
Workspace\Solution\Solution.cs (1)
60SolutionInfo.SolutionAttributes solutionAttributes,
Workspace\Solution\SolutionInfo.cs (4)
69public static SolutionInfo Create( 81public static SolutionInfo Create( 92internal static SolutionInfo Create( 111internal SolutionInfo WithTelemetryId(Guid telemetryId)
Workspace\Solution\SolutionState.cs (4)
67SolutionInfo.SolutionAttributes solutionAttributes, 105SolutionInfo.SolutionAttributes solutionAttributes, 127public SolutionInfo.SolutionAttributes SolutionAttributes { get; } 167SolutionInfo.SolutionAttributes? solutionAttributes = null,
Workspace\Workspace.cs (7)
82var info = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create()); 118protected internal Solution CreateSolution(SolutionInfo solutionInfo) 127private Solution CreateSolution(SolutionInfo solutionInfo, SolutionOptionSet options, IReadOnlyList<AnalyzerReference> analyzerReferences, ImmutableDictionary<string, StructuredAnalyzerConfigOptions> fallbackAnalyzerOptions) 134=> CreateSolution(SolutionInfo.Create(id, VersionStamp.Create())); 723protected internal void OnSolutionAdded(SolutionInfo solutionInfo) 741protected internal void OnSolutionReloaded(SolutionInfo reloadedSolutionInfo)
Microsoft.CodeAnalysis.Workspaces.MSBuild (4)
MSBuild\MSBuildProjectLoader.cs (3)
149/// Loads the <see cref="SolutionInfo"/> for the specified solution file, including all projects referenced by the solution file and 157public async Task<SolutionInfo> LoadSolutionInfoAsync( 237return SolutionInfo.Create(
MSBuild\MSBuildWorkspace.cs (1)
204var solutionInfo = await _loader.LoadSolutionInfoAsync(solutionFilePath, progress, msbuildLogger, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
VisualStudioMSBuildWorkspaceTests.cs (1)
100var solutionInfo = await msbuildProjectLoader.LoadSolutionInfoAsync(solutionFilePath);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Workspaces\TestWorkspace`1.cs (2)
84SetCurrentSolutionEx(CreateSolution(SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create()).WithTelemetryId(solutionTelemetryId))); 249=> this.OnSolutionAdded(SolutionInfo.Create(solution.Id, solution.Version, solution.FilePath, projects: solution.Projects.Select(p => p.ToProjectInfo())));
Microsoft.CodeAnalysis.Workspaces.UnitTests (14)
SolutionTests\SolutionInfoTests.cs (12)
23Assert.Throws<ArgumentNullException>(() => SolutionInfo.Create(null, version)); 24Assert.Throws<ArgumentNullException>(() => SolutionInfo.Create(solutionId, version, projects: [projectInfo, null])); 34var info1 = SolutionInfo.Create(solutionId, version, projects: [projectInfo]); 37var info2 = SolutionInfo.Create(solutionId, version); 40var info3 = SolutionInfo.Create(solutionId, version, projects: []); 43var info4 = SolutionInfo.Create(solutionId, version, projects: []); 53var info = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Default, filePath: path);
WorkspaceTests\AdhocWorkspaceTests.cs (2)
90var sinfo = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Default, projects: [pinfo]);
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
79.AddSolution(SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create()))
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
79.AddSolution(SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create()))
Microsoft.Gen.Logging.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
79.AddSolution(SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create()))
Microsoft.Gen.Metrics.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
79.AddSolution(SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create()))
Microsoft.Gen.MetricsReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
79.AddSolution(SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create()))
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (3)
PersistentStorage\AbstractPersistentStorageTests.cs (3)
841workspace.AddSolution(SolutionInfo.Create(SolutionId.CreateNewId(), new VersionStamp(), @"D:\git\PCLCrypto\PCLCrypto.sln")); 980var info = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create(), solutionFile.Path);
Roslyn.VisualStudio.Next.UnitTests (4)
Remote\RemoteHostClientServiceFactoryTests.cs (1)
46workspace.AddSolution(SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Default));
Remote\SerializationValidator.cs (1)
125await VerifyAssetSerializationAsync<SolutionInfo.SolutionAttributes>(
Services\ServiceHubServicesTests.cs (2)
353var solutionInfo = SolutionInfo.Create(