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