Base:
property
MethodKind
Microsoft.CodeAnalysis.VisualBasic.Symbols.MethodSymbol.MethodKind
41 references to MethodKind
Microsoft.CodeAnalysis.VisualBasic (41)
Compilation\DocumentationComments\DocumentationCommentCompiler.Method.vb (3)
92
If method.
MethodKind
= MethodKind.DeclareMethod Then
106
If method.
MethodKind
= MethodKind.UserDefinedOperator OrElse method.
MethodKind
= MethodKind.DeclareMethod Then
Compilation\MethodCompiler.vb (1)
761
sourceMethod.
MethodKind
= MethodKind.Constructor AndAlso
Symbols\Source\CustomEventAccessorSymbol.vb (8)
43
Return Binder.GetAccessorName(_event.MetadataName, Me.
MethodKind
, isWinMd:=False)
56
If Me.
MethodKind
= MethodKind.EventRaise Then
90
_event.GetAccessorImplementations(Me.
MethodKind
),
143
Return Not (Me.
MethodKind
= MethodKind.EventAdd AndAlso _event.IsWindowsRuntimeEvent)
167
If(Me.
MethodKind
= MethodKind.EventRaise,
174
If Me.
MethodKind
= MethodKind.EventRaise Then
214
If Me.
MethodKind
= MethodKind.EventAdd Then
220
Debug.Assert(Me.
MethodKind
= MethodKind.EventRemove)
Symbols\Source\SourceDeclareMethodSymbol.vb (1)
36
Debug.Assert(MyBase.
MethodKind
= MethodKind.DeclareMethod)
Symbols\Source\SourceDelegateMethodSymbol.vb (1)
198
Return Me.
MethodKind
= MethodKind.Constructor
Symbols\Source\SourceEventSymbol.vb (2)
102
Select Case (accessor.
MethodKind
)
125
Throw ExceptionUtilities.UnexpectedValue(accessor.
MethodKind
)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
1757
If method IsNot Nothing AndAlso method.IsPartial AndAlso method.
MethodKind
= MethodKind.Ordinary Then
1807
If candidate IsNot Nothing AndAlso candidate IsNot originalPartialMethod AndAlso candidate.
MethodKind
= MethodKind.Ordinary Then
2464
Return sourceMethodSymbol.
MethodKind
= MethodKind.Ordinary OrElse sourceMethodSymbol.
MethodKind
= MethodKind.DeclareMethod
Symbols\Source\SourceMemberMethodSymbol.vb (1)
107
If
MethodKind
= MethodKind.Ordinary Then
Symbols\Source\SourceMethodSymbol.vb (11)
1274
Debug.Assert(Me.
MethodKind
<> MethodKind.EventAdd,
1499
If Not (Me.
MethodKind
<> MethodKind.Ordinary AndAlso Me.
MethodKind
<> MethodKind.DeclareMethod) AndAlso
1603
If Me.
MethodKind
<> MethodKind.Ordinary AndAlso Me.
MethodKind
<> MethodKind.DeclareMethod Then
1774
Select Case Me.
MethodKind
1867
Debug.Assert(
MethodKind
<> MethodKind.DeclareMethod)
1957
Select Case Me.
MethodKind
2121
MakeOverriddenMembers(New SignatureOnlyMethodSymbol(Me.Name, m_containingType, Me.
MethodKind
,
2242
Select Case
MethodKind
2279
If Me.
MethodKind
= MethodKind.UserDefinedOperator Then
Symbols\Source\SourcePropertyAccessorSymbol.vb (8)
121
Return m_property.GetAccessorOverride(getter:=(
MethodKind
= MethodKind.PropertyGet))
223
Select Case
MethodKind
289
Return If(
MethodKind
= MethodKind.PropertyGet,
334
m_property.GetAccessorImplementations(getter:=(
MethodKind
= MethodKind.PropertyGet)),
349
Return If(Me.
MethodKind
= MethodKind.PropertySet, ImmutableArray(Of CustomModifier).Empty, m_property.TypeCustomModifiers)
363
Debug.Assert(Me.
MethodKind
= MethodKind.PropertySet)
369
Return If(Me.
MethodKind
= MethodKind.PropertyGet, m_property, Nothing)
392
Dim isSetter As Boolean = (method.
MethodKind
= MethodKind.PropertySet)
Symbols\Symbol_Attributes.vb (1)
539
Dim accessorName = TryGetAccessorDisplayName(method.
MethodKind
)