9 references to RemoveAllReferences
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
1278return (CSharpCompilation)base.RemoveAllReferences();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (1)
1479driver = driver.RunGenerators(compilation.RemoveAllReferences());
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (1)
1060driver = driver.RunGenerators(compilation.RemoveAllReferences());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\UsedAssembliesTests.cs (2)
107var comp2 = comp.RemoveAllReferences().AddReferences(used.Concat(comp.References.Where(r => r.Properties.Kind == MetadataImageKind.Module))); 344var comp2 = comp.RemoveAllReferences().AddReferences(used.Concat(comp.References.Where(r => r.Properties.Kind == MetadataImageKind.Module)));
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\VisualBasicCompilation.vb (1)
1383Return DirectCast(MyBase.RemoveAllReferences(), VisualBasicCompilation)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Compilation\CompilationAPITests.vb (1)
586c2 = c2.RemoveAllReferences
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
UsedAssembliesTests.vb (2)
95Dim comp2 = comp.RemoveAllReferences().AddReferences(used.Concat(comp.References.Where(Function(r) r.Properties.Kind = MetadataImageKind.Module))) 166Dim comp2 = comp.RemoveAllReferences().AddReferences(used.Concat(comp.References.Where(Function(r) r.Properties.Kind = MetadataImageKind.Module)))