Base:
property
SetMethod
Microsoft.CodeAnalysis.VisualBasic.Symbols.PropertySymbol.SetMethod
16 references to SetMethod
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (4)
Emit\NoPiaEmbedTypes.vb (4)
1405
Assert.Same(p1.
SetMethod
, set_P1)
1414
Assert.Same(p2.
SetMethod
, set_P2)
1422
Assert.Null(p3.
SetMethod
)
1435
Assert.Same(p4.
SetMethod
, set_P4)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (12)
SymbolsTests\Source\ComClassTests.vb (2)
198
If p.
SetMethod
IsNot Nothing Then
199
result.Add(<Set><%= p.
SetMethod
.ToTestDisplayString() %></Set>)
SymbolsTests\Source\PropertyTests.vb (10)
5601
VerifyAccessor(goodStatic.
SetMethod
, goodStatic, MethodKind.PropertySet)
5603
VerifyAccessor(badStatic.
SetMethod
, goodStatic, MethodKind.PropertySet)
5605
VerifyAccessor(mismatchedStatic.
SetMethod
, mismatchedStatic, MethodKind.PropertySet)
5618
VerifyAccessor(goodInstance.
SetMethod
, goodInstance, MethodKind.PropertySet)
5620
VerifyAccessor(badInstance.
SetMethod
, goodInstance, MethodKind.PropertySet)
5622
VerifyAccessor(mismatchedInstance.
SetMethod
, mismatchedInstance, MethodKind.PropertySet)
5627
VerifyAccessor(staticAndInstance.
SetMethod
, goodInstance, MethodKind.PropertySet)
5633
VerifyAccessor(getUsedAsSet.
SetMethod
, goodInstance, MethodKind.PropertyGet)
8170
Dim method = If((methodKind = MethodKind.PropertyGet), associatedProperty.GetMethod, associatedProperty.
SetMethod
)
8223
VerifyAccessorAccessibility([property].
SetMethod
, setAccessibility)