2 instantiations of IsolatedAnalyzerReferenceSet
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\IsolatedAnalyzerReferenceSet.Core.cs (2)
287s_lastCreatedAnalyzerReferenceSet ??= new(assemblyLoaderProvider); 291s_lastCreatedAnalyzerReferenceSet = new(assemblyLoaderProvider);
14 references to IsolatedAnalyzerReferenceSet
Microsoft.CodeAnalysis.Workspaces (14)
Serialization\SerializerService_Reference.cs (1)
73writer.WriteGuid(IsolatedAnalyzerReferenceSet.TryGetFileReferenceMvid(fileReference.FullPath));
Workspace\IsolatedAnalyzerFileReference.cs (7)
29/// it passes out is alive), that the <see cref="IsolatedAnalyzerReferenceSet"/> (and its corresponding <see 33IsolatedAnalyzerReferenceSet isolatedAnalyzerReferenceSet, 39/// cref="ISourceGenerator"/> is alive, that the corresponding <see cref="IsolatedAnalyzerReferenceSet"/> (and its 42private static readonly ConditionalWeakTable<DiagnosticAnalyzer, IsolatedAnalyzerReferenceSet> s_analyzerToPinnedReferenceSet = []; 45private static readonly ConditionalWeakTable<ISourceGenerator, IsolatedAnalyzerReferenceSet> s_generatorToPinnedReferenceSet = []; 51private readonly IsolatedAnalyzerReferenceSet _isolatedAnalyzerReferenceSet = isolatedAnalyzerReferenceSet; 85ConditionalWeakTable<TItem, IsolatedAnalyzerReferenceSet> table,
Workspace\IsolatedAnalyzerReferenceSet.Core.cs (5)
45private static readonly Dictionary<Checksum, WeakReference<IsolatedAnalyzerReferenceSet>> s_checksumToReferenceSet = []; 60private static IsolatedAnalyzerReferenceSet? s_lastCreatedAnalyzerReferenceSet; 128if (!weakReference.TryGetTarget(out var referenceSet) || 250weakIsolatedReferenceSet.TryGetTarget(out var isolatedAssemblyReferenceSet)) 266weakIsolatedReferenceSet.TryGetTarget(out var isolatedAssemblyReferenceSet))
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
814var isolatedReferences = IsolatedAnalyzerReferenceSet.CreateIsolatedAnalyzerReferencesAsync(