2 writes to s_lastCreatedAnalyzerReferenceSet
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\IsolatedAnalyzerReferenceSet.Core.cs (2)
287s_lastCreatedAnalyzerReferenceSet ??= new(assemblyLoaderProvider); 291s_lastCreatedAnalyzerReferenceSet = new(assemblyLoaderProvider);
8 references to s_lastCreatedAnalyzerReferenceSet
Microsoft.CodeAnalysis.Workspaces (8)
Workspace\IsolatedAnalyzerReferenceSet.Core.cs (8)
34/// <see cref="s_lastCreatedAnalyzerReferenceSet"/>) is only updated atomically. And, also, when we're looking at 35/// <see cref="s_lastCreatedAnalyzerReferenceSet"/> to mutate it, that it itself is only mutated atomically. 76/// cref="s_lastCreatedAnalyzerReferenceSet"/>. And we only want to mutate that instance data from one thread at a 85/// cref="s_lastCreatedAnalyzerReferenceSet"/>. And we only want to mutate that instance data from one thread at a 290if (s_lastCreatedAnalyzerReferenceSet.HasConflicts(pathToMvidMap)) 294s_lastCreatedAnalyzerReferenceSet.AddReferences(checksum, analyzerReferences, pathToMvidMap); 295s_checksumToReferenceSet[checksum] = new(s_lastCreatedAnalyzerReferenceSet); 300return s_lastCreatedAnalyzerReferenceSet.GetAnalyzerReferences(checksum);