1 instantiation of SolutionId
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionId.cs (1)
53return new SolutionId(id, debugName);
53 references to SolutionId
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.EditorFeatures (1)
Interactive\InteractiveWorkspace.cs (1)
68var emptySolution = CreateSolution(SolutionId.CreateNewId("InteractiveSolution"));
Microsoft.CodeAnalysis.Features (2)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (2)
514private readonly SolutionId? _solutionId; 517public UnitTestingReanalyzeScope(SolutionId solutionId)
Microsoft.CodeAnalysis.Workspaces (27)
Workspace\Host\PersistentStorage\SolutionKey.cs (1)
18[property: DataMember(Order = 0)] SolutionId Id,
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (2)
151SolutionId.CreateNewId(SolutionPath), 462SolutionId.CreateNewId(),
Workspace\Solution\Solution.cs (1)
105public SolutionId Id => this.SolutionState.Id;
Workspace\Solution\SolutionId.cs (11)
20public sealed class SolutionId : IEquatable<SolutionId> 41public static SolutionId CreateNewId(string debugName = null) 44public static SolutionId CreateFromSerialized(Guid id, string debugName = null) 62=> this.Equals(obj as SolutionId); 64public bool Equals(SolutionId other) 71public static bool operator ==(SolutionId left, SolutionId right) 72=> EqualityComparer<SolutionId>.Default.Equals(left, right); 74public static bool operator !=(SolutionId left, SolutionId right) 86internal static SolutionId ReadFrom(ObjectReader reader)
Workspace\Solution\SolutionInfo.cs (8)
24public SolutionId Id => Attributes.Id; 70SolutionId id, 82SolutionId id, 93SolutionId id, 118internal sealed class SolutionAttributes(SolutionId id, VersionStamp version, string? filePath, Guid telemetryId) 125public SolutionId Id { get; } = id; 175var solutionId = SolutionId.ReadFrom(reader);
Workspace\Solution\SolutionState.cs (1)
134public SolutionId Id => SolutionAttributes.Id;
Workspace\Workspace.cs (3)
82var info = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create()); 133protected internal Solution CreateSolution(SolutionId id) 764_ => this.CreateSolution(SolutionId.CreateNewId()),
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.cs (1)
238SolutionId.CreateNewId(debugName: absoluteSolutionPath),
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
Workspaces\TestHostSolution`1.cs (2)
14public readonly SolutionId Id; 21this.Id = SolutionId.CreateNewId();
Workspaces\TestWorkspace`1.cs (1)
84SetCurrentSolutionEx(CreateSolution(SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create()).WithTelemetryId(solutionTelemetryId)));
Microsoft.CodeAnalysis.Workspaces.UnitTests (6)
SolutionTests\SolutionInfoTests.cs (5)
19var solutionId = SolutionId.CreateNewId(); 30var solutionId = SolutionId.CreateNewId(); 53var info = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Default, filePath: path);
WorkspaceTests\AdhocWorkspaceTests.cs (1)
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 (4)
PersistentStorage\AbstractPersistentStorageTests.cs (4)
841workspace.AddSolution(SolutionInfo.Create(SolutionId.CreateNewId(), new VersionStamp(), @"D:\git\PCLCrypto\PCLCrypto.sln")); 980var info = SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Create(), solutionFile.Path); 1046private readonly SolutionId _solutionId; 1049public MockPersistentStorageConfiguration(SolutionId solutionId, string storageLocation, bool throwOnFailure)
Roslyn.VisualStudio.Next.UnitTests (2)
Remote\RemoteHostClientServiceFactoryTests.cs (1)
46workspace.AddSolution(SolutionInfo.Create(SolutionId.CreateNewId(), VersionStamp.Default));
Services\ServiceHubServicesTests.cs (1)
354SolutionId.CreateNewId(), VersionStamp.Create(), "",