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