23 references to GetAssemblyOrModuleSymbol
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\VisualBasicCompilation.vb (1)
2781Return Me.GetAssemblyOrModuleSymbol(reference)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (7)
Compilation\ReferenceManagerTests.vb (7)
1691Assert.Equal("B", DirectCast(c.GetAssemblyOrModuleSymbol(bRef), AssemblySymbol).Name) 1850Assert.Equal("B", (DirectCast(c.GetAssemblyOrModuleSymbol(bRef), AssemblySymbol)).Name) 1851Assert.Equal("D", (DirectCast(c.GetAssemblyOrModuleSymbol(dRef), AssemblySymbol)).Name) 1883DirectCast(c.GetAssemblyOrModuleSymbol(b3Ref), AssemblySymbol).Identity.GetDisplayName()) 1885Assert.Null(DirectCast(c.GetAssemblyOrModuleSymbol(b2Ref), AssemblySymbol)) 2005DirectCast(c.GetAssemblyOrModuleSymbol(b1Ref), AssemblySymbol).Identity.GetDisplayName()) 2009DirectCast(c.GetAssemblyOrModuleSymbol(b2Ref), AssemblySymbol).Identity.GetDisplayName())
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (15)
CompilationAPITests.vb (8)
88Dim referenceAssembly = comp.GetAssemblyOrModuleSymbol(reference) 110Dim referenceAssembly = comp.GetAssemblyOrModuleSymbol(reference) 139Dim referenceAssembly1 = comp.GetAssemblyOrModuleSymbol(reference1) 142Dim referenceAssembly2 = comp.GetAssemblyOrModuleSymbol(reference2) 175Dim referenceAssembly1 = comp.GetAssemblyOrModuleSymbol(reference1) 178Dim referenceAssembly2 = comp.GetAssemblyOrModuleSymbol(reference2) 219Dim corlibAssembly = current.GetAssemblyOrModuleSymbol(corlibReference) 222Dim otherAssembly = current.GetAssemblyOrModuleSymbol(otherReference)
UsedAssembliesTests.vb (7)
72Assert.IsType(Of TAssemblySymbol)(DirectCast(comp2, VisualBasicCompilation).GetAssemblyOrModuleSymbol(reference)) 77Assert.IsType(Of TAssemblySymbol)(DirectCast(comp2, VisualBasicCompilation).GetAssemblyOrModuleSymbol(reference1)) 224Assert.IsType(Of TAssemblySymbol)(DirectCast(comp2, VisualBasicCompilation).GetAssemblyOrModuleSymbol(reference)) 258Assert.IsType(Of TAssemblySymbol)(DirectCast(comp2, VisualBasicCompilation).GetAssemblyOrModuleSymbol(reference)) 380Assert.IsType(Of TAssemblySymbol)(DirectCast(comp2, VisualBasicCompilation).GetAssemblyOrModuleSymbol(reference1)) 481Assert.IsType(Of TAssemblySymbol)(DirectCast(comp2, VisualBasicCompilation).GetAssemblyOrModuleSymbol(reference0)) 487Assert.IsType(Of TAssemblySymbol)(DirectCast(comp3, VisualBasicCompilation).GetAssemblyOrModuleSymbol(references.Last()))