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