Base:
property
GetMethod
Microsoft.CodeAnalysis.VisualBasic.Symbols.PropertySymbol.GetMethod
16 references to GetMethod
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (4)
Emit\NoPiaEmbedTypes.vb (4)
1404Assert.Same(p1.GetMethod, get_P1) 1413Assert.Same(p2.GetMethod, get_P2) 1421Assert.Same(p3.GetMethod, get_P3) 1434Assert.Null(p4.GetMethod)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (12)
SymbolsTests\Source\ComClassTests.vb (2)
194If p.GetMethod IsNot Nothing Then 195result.Add(<Get><%= p.GetMethod.ToTestDisplayString() %></Get>)
SymbolsTests\Source\PropertyTests.vb (10)
5600VerifyAccessor(goodStatic.GetMethod, goodStatic, MethodKind.PropertyGet) 5602VerifyAccessor(badStatic.GetMethod, goodStatic, MethodKind.PropertyGet) 5604VerifyAccessor(mismatchedStatic.GetMethod, goodStatic, MethodKind.PropertyGet) 5617VerifyAccessor(goodInstance.GetMethod, goodInstance, MethodKind.PropertyGet) 5619VerifyAccessor(badInstance.GetMethod, goodInstance, MethodKind.PropertyGet) 5621VerifyAccessor(mismatchedInstance.GetMethod, goodInstance, MethodKind.PropertyGet) 5626VerifyAccessor(staticAndInstance.GetMethod, goodStatic, MethodKind.PropertyGet) 5632VerifyAccessor(getUsedAsSet.GetMethod, goodInstance, MethodKind.PropertyGet) 8170Dim method = If((methodKind = MethodKind.PropertyGet), associatedProperty.GetMethod, associatedProperty.SetMethod) 8222VerifyAccessorAccessibility([property].GetMethod, getAccessibility)