1 instantiation of SourceGeneratorExecutionVersionMap
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SourceGeneratorExecutionVersion.cs (1)
57public static readonly SourceGeneratorExecutionVersionMap Empty = new();
23 references to SourceGeneratorExecutionVersionMap
Microsoft.CodeAnalysis.Workspaces (21)
Serialization\SerializationExtensions.cs (1)
31SourceGeneratorExecutionVersionMap => WellKnownSynchronizationKind.SourceGeneratorExecutionVersionMap,
Workspace\Solution\Solution.cs (1)
1634internal Solution UpdateSpecificSourceGeneratorExecutionVersions(SourceGeneratorExecutionVersionMap sourceGeneratorExecutionVersionMap)
Workspace\Solution\SolutionCompilationState.cs (7)
63SourceGeneratorExecutionVersionMap sourceGeneratorExecutionVersionMap, 118SourceGeneratorExecutionVersionMap? sourceGeneratorExecutionVersionMap = null, 317public SourceGeneratorExecutionVersionMap SourceGeneratorExecutionVersionMap { get; } 351var sourceGeneratorExecutionVersionMap = new SourceGeneratorExecutionVersionMap(versionMapBuilder.ToImmutable()); 1406/// Updates entries in our <see cref="SourceGeneratorExecutionVersionMap"/> to the corresponding values in the 1412SourceGeneratorExecutionVersionMap sourceGeneratorExecutionVersions) 1414var versionMapBuilder = SourceGeneratorExecutionVersionMap.Map.ToBuilder();
Workspace\Solution\SolutionCompilationState_Checksum.cs (1)
161public SourceGeneratorExecutionVersionMap GetFilteredSourceGenerationExecutionMap(ProjectCone? projectCone)
Workspace\Solution\SourceGeneratorExecutionVersion.cs (8)
57public static readonly SourceGeneratorExecutionVersionMap Empty = new(); 68public static bool operator ==(SourceGeneratorExecutionVersionMap map1, SourceGeneratorExecutionVersionMap map2) 71public static bool operator !=(SourceGeneratorExecutionVersionMap map1, SourceGeneratorExecutionVersionMap map2) 78=> obj is SourceGeneratorExecutionVersionMap map && this == map; 92public static SourceGeneratorExecutionVersionMap Deserialize(ObjectReader reader) 123builder.AppendLine(nameof(SourceGeneratorExecutionVersionMap));
Workspace\Solution\StateChecksums.cs (1)
137var filteredExecutionMap = compilationState.GetFilteredSourceGenerationExecutionMap(projectCone);
Workspace\Workspace_SourceGeneration.cs (2)
50var updates = GetUpdatedSourceGeneratorVersions(oldSolution, projectIds); 69static SourceGeneratorExecutionVersionMap GetUpdatedSourceGeneratorVersions(
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
SolutionTests\SourceGeneratorExecutionVersionMapTests.cs (2)
57var rehydrated1 = SourceGeneratorExecutionVersionMap.Deserialize(ObjectReader.GetReader(memoryStream1, leaveOpen: true)); 58var rehydrated2 = SourceGeneratorExecutionVersionMap.Deserialize(ObjectReader.GetReader(memoryStream2, leaveOpen: true));