100 references to FindImplementationForInterfaceMember
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbol.vb (1)
530
FindImplementationForInterfaceMember
(DirectCast(interfaceMember, Symbol)),
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (99)
SymbolsTests\DefaultInterfaceImplementationTests.vb (7)
80
Assert.Null(i1M1.ContainingType.
FindImplementationForInterfaceMember
(i1M1))
162
Assert.Null(i2.
FindImplementationForInterfaceMember
(i1M1))
11509
Assert.Same(c1.GetMember(Of EventSymbol)("E1"), c1.
FindImplementationForInterfaceMember
(i1WinRT))
11510
Assert.Same(c2.GetMember(Of EventSymbol)("E2"), c2.
FindImplementationForInterfaceMember
(i1WinRT))
11511
Assert.Null(i2.
FindImplementationForInterfaceMember
(i1WinRT))
11512
Assert.Null(i2.
FindImplementationForInterfaceMember
(i1WinRT.AddMethod))
11513
Assert.Null(i2.
FindImplementationForInterfaceMember
(i1WinRT.RemoveMethod))
SymbolsTests\InterfaceImplementationTests.vb (5)
106
Dim implementingMember = derivedType.
FindImplementationForInterfaceMember
(interfaceMember)
133
Assert.Null(i2.
FindImplementationForInterfaceMember
(i1M))
167
Assert.Null(i2.
FindImplementationForInterfaceMember
(i1M))
193
Assert.Null(i2.
FindImplementationForInterfaceMember
(i1M))
227
Assert.Null(i2.
FindImplementationForInterfaceMember
(i1M))
SymbolsTests\Source\ImplementsTests.vb (45)
1747
Assert.Equal(fooY, barType.
FindImplementationForInterfaceMember
(ifooTypeSayWithInt))
1748
Assert.Equal(fooX, barType.
FindImplementationForInterfaceMember
(ifooTypeSayWithString))
1749
Assert.Equal(fooY, fooType.
FindImplementationForInterfaceMember
(ifooTypeSayWithInt))
1750
Assert.Equal(fooX, fooType.
FindImplementationForInterfaceMember
(ifooTypeSayWithString))
2238
Assert.Equal(fooY, barType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithInt))
2239
Assert.Equal(fooYGetter, barType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithIntGetter))
2240
Assert.Equal(fooX, barType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithString))
2241
Assert.Equal(fooXGetter, barType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithStringGetter))
2242
Assert.Equal(fooY, fooType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithInt))
2243
Assert.Equal(fooYGetter, fooType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithIntGetter))
2244
Assert.Equal(fooX, fooType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithString))
2245
Assert.Equal(fooXGetter, fooType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithStringGetter))
2321
Assert.Equal(fooY, barType.
FindImplementationForInterfaceMember
(ifooTypeSayWithInt))
2322
Assert.Equal(barX, barType.
FindImplementationForInterfaceMember
(ifooTypeSayWithString))
2323
Assert.Equal(fooY, fooType.
FindImplementationForInterfaceMember
(ifooTypeSayWithInt))
2324
Assert.Null(fooType.
FindImplementationForInterfaceMember
(ifooTypeSayWithString))
2325
Assert.Null(fooType.
FindImplementationForInterfaceMember
(ifooTypeSayWithLong))
2326
Assert.Null(barType.
FindImplementationForInterfaceMember
(ifooTypeSayWithLong))
2417
Assert.Equal(fooY, barType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithInt))
2418
Assert.Equal(fooYGetter, barType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithIntGetter))
2419
Assert.Equal(barX, barType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithString))
2420
Assert.Equal(barXGetter, barType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithStringGetter))
2421
Assert.Equal(fooY, fooType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithInt))
2422
Assert.Equal(fooYGetter, fooType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithIntGetter))
2423
Assert.Null(fooType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithString))
2424
Assert.Null(fooType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithStringGetter))
2425
Assert.Null(fooType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithLong))
2426
Assert.Null(fooType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithLongGetter))
2427
Assert.Null(barType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithLong))
2428
Assert.Null(barType.
FindImplementationForInterfaceMember
(ifooTypeStyleWithLongGetter))
2487
Assert.Null(fooType.
FindImplementationForInterfaceMember
(ifooTypeSayWithInt))
2583
Dim implementedMethod = dClass.
FindImplementationForInterfaceMember
(iFooMethod)
3493
Assert.Null(typeA.
FindImplementationForInterfaceMember
(interfaceImplicit))
3494
Assert.Null(typeA.
FindImplementationForInterfaceMember
(interfaceExplicit))
3496
Assert.Equal(typeA, typeB.
FindImplementationForInterfaceMember
(interfaceImplicit).ContainingType)
3497
Assert.Equal(typeA, typeB.
FindImplementationForInterfaceMember
(interfaceExplicit).ContainingType)
3499
Assert.Equal(typeA, typeC.
FindImplementationForInterfaceMember
(interfaceImplicit).ContainingType)
3500
Assert.Equal(typeA, typeC.
FindImplementationForInterfaceMember
(interfaceExplicit).ContainingType)
3502
Assert.Equal(typeA, typeD.
FindImplementationForInterfaceMember
(interfaceImplicit).ContainingType)
3503
Assert.Equal(typeD, typeD.
FindImplementationForInterfaceMember
(interfaceExplicit).ContainingType)
3693
Assert.Null(classType.
FindImplementationForInterfaceMember
(interfaceProperty))
3815
Assert.Equal(baseAdder, derivedType.
FindImplementationForInterfaceMember
(interfaceAdder))
3816
Assert.Equal(baseAdder, baseType.
FindImplementationForInterfaceMember
(interfaceAdder))
3818
Assert.Null(derivedType.
FindImplementationForInterfaceMember
(interfaceEvent))
3819
Assert.Null(baseType.
FindImplementationForInterfaceMember
(interfaceEvent))
SymbolsTests\StaticAbstractMembersInInterfacesTests.vb (42)
128
Assert.Null(i1M1.ContainingType.
FindImplementationForInterfaceMember
(i1M1))
131
Assert.Null(c.
FindImplementationForInterfaceMember
(i1M1))
174
Assert.Null(i1M1.ContainingType.
FindImplementationForInterfaceMember
(i1M1))
177
Assert.Null(c.
FindImplementationForInterfaceMember
(i1M1))
220
Assert.Null(i1M1.ContainingType.
FindImplementationForInterfaceMember
(i1M1))
223
Assert.Null(c.
FindImplementationForInterfaceMember
(i1M1))
894
Assert.Null(i1P1.ContainingType.
FindImplementationForInterfaceMember
(i1P1))
895
Assert.Null(i1P1.ContainingType.
FindImplementationForInterfaceMember
(i1P1.GetMethod))
896
Assert.Null(i1P1.ContainingType.
FindImplementationForInterfaceMember
(i1P1.SetMethod))
899
Assert.Null(c.
FindImplementationForInterfaceMember
(i1P1))
900
Assert.Null(c.
FindImplementationForInterfaceMember
(i1P1.GetMethod))
901
Assert.Null(c.
FindImplementationForInterfaceMember
(i1P1.SetMethod))
943
Assert.Null(i1P1.ContainingType.
FindImplementationForInterfaceMember
(i1P1))
944
Assert.Null(i1P1.ContainingType.
FindImplementationForInterfaceMember
(i1P1.GetMethod))
945
Assert.Null(i1P1.ContainingType.
FindImplementationForInterfaceMember
(i1P1.SetMethod))
948
Assert.Null(c.
FindImplementationForInterfaceMember
(i1P1))
949
Assert.Null(c.
FindImplementationForInterfaceMember
(i1P1.GetMethod))
950
Assert.Null(c.
FindImplementationForInterfaceMember
(i1P1.SetMethod))
992
Assert.Null(i1P1.ContainingType.
FindImplementationForInterfaceMember
(i1P1))
993
Assert.Null(i1P1.ContainingType.
FindImplementationForInterfaceMember
(i1P1.GetMethod))
994
Assert.Null(i1P1.ContainingType.
FindImplementationForInterfaceMember
(i1P1.SetMethod))
997
Assert.Null(c.
FindImplementationForInterfaceMember
(i1P1))
998
Assert.Null(c.
FindImplementationForInterfaceMember
(i1P1.GetMethod))
999
Assert.Null(c.
FindImplementationForInterfaceMember
(i1P1.SetMethod))
1782
Assert.Null(i1E1.ContainingType.
FindImplementationForInterfaceMember
(i1E1))
1783
Assert.Null(i1E1.ContainingType.
FindImplementationForInterfaceMember
(i1E1.AddMethod))
1784
Assert.Null(i1E1.ContainingType.
FindImplementationForInterfaceMember
(i1E1.RemoveMethod))
1787
Assert.Null(c.
FindImplementationForInterfaceMember
(i1E1))
1788
Assert.Null(c.
FindImplementationForInterfaceMember
(i1E1.AddMethod))
1789
Assert.Null(c.
FindImplementationForInterfaceMember
(i1E1.RemoveMethod))
1831
Assert.Null(i1E1.ContainingType.
FindImplementationForInterfaceMember
(i1E1))
1832
Assert.Null(i1E1.ContainingType.
FindImplementationForInterfaceMember
(i1E1.AddMethod))
1833
Assert.Null(i1E1.ContainingType.
FindImplementationForInterfaceMember
(i1E1.RemoveMethod))
1836
Assert.Null(c.
FindImplementationForInterfaceMember
(i1E1))
1837
Assert.Null(c.
FindImplementationForInterfaceMember
(i1E1.AddMethod))
1838
Assert.Null(c.
FindImplementationForInterfaceMember
(i1E1.RemoveMethod))
1880
Assert.Null(i1E1.ContainingType.
FindImplementationForInterfaceMember
(i1E1))
1881
Assert.Null(i1E1.ContainingType.
FindImplementationForInterfaceMember
(i1E1.AddMethod))
1882
Assert.Null(i1E1.ContainingType.
FindImplementationForInterfaceMember
(i1E1.RemoveMethod))
1885
Assert.Null(c.
FindImplementationForInterfaceMember
(i1E1))
1886
Assert.Null(c.
FindImplementationForInterfaceMember
(i1E1.AddMethod))
1887
Assert.Null(c.
FindImplementationForInterfaceMember
(i1E1.RemoveMethod))