1 write to CompilationAssemblies
Microsoft.CodeAnalysis.Features (1)
UnusedReferences\ReferenceInfo.cs (1)
52
CompilationAssemblies
= compilationAssemblies;
8 references to CompilationAssemblies
Microsoft.CodeAnalysis.Features (8)
UnusedReferences\ReferenceInfo.cs (2)
57
=> new(ReferenceType, itemSpecification, TreatAsUsed,
CompilationAssemblies
, Dependencies);
60
=> new(ReferenceType, ItemSpecification, TreatAsUsed,
CompilationAssemblies
, dependencies.AsImmutableOrEmpty());
UnusedReferences\UnusedReferencesRemover.cs (6)
150
var projectAssemblyFileNames = reference.
CompilationAssemblies
170
if (!reference.
CompilationAssemblies
.Any(static (name, usedAssemblyFilePaths) => usedAssemblyFilePaths.Contains(name), usedAssemblyFilePaths))
230
if (reference.
CompilationAssemblies
.Length > 0)
240
if (reference.
CompilationAssemblies
.Any(static (name, usedAssemblyFilePaths) => usedAssemblyFilePaths.Contains(name), usedAssemblyFilePaths))
250
usedAssemblyFilePaths.ExceptWith(reference.
CompilationAssemblies
);
262
return reference.
CompilationAssemblies