Base:
property
MethodKind
Microsoft.CodeAnalysis.VisualBasic.Symbols.MethodSymbol.MethodKind
89 references to MethodKind
Microsoft.CodeAnalysis.VisualBasic (89)
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)
771
sourceMethod.
MethodKind
= MethodKind.Constructor AndAlso
Symbols\Source\CustomEventAccessorSymbol.vb (14)
44
Return Binder.GetAccessorName(_event.MetadataName, Me.
MethodKind
, isWinMd:=False)
57
If Me.
MethodKind
=
MethodKind
.EventRaise Then
91
_event.GetAccessorImplementations(Me.
MethodKind
),
144
Return Not (Me.
MethodKind
=
MethodKind
.EventAdd AndAlso _event.IsWindowsRuntimeEvent)
168
If(Me.
MethodKind
=
MethodKind
.EventRaise,
175
If Me.
MethodKind
=
MethodKind
.EventRaise Then
215
If Me.
MethodKind
=
MethodKind
.EventAdd Then
221
Debug.Assert(Me.
MethodKind
=
MethodKind
.EventRemove)
Symbols\Source\SourceDeclareMethodSymbol.vb (2)
36
Debug.Assert(MyBase.
MethodKind
=
MethodKind
.DeclareMethod)
Symbols\Source\SourceDelegateMethodSymbol.vb (2)
199
Return Me.
MethodKind
=
MethodKind
.Constructor
Symbols\Source\SourceEventSymbol.vb (2)
104
Select Case (accessor.
MethodKind
)
127
Throw ExceptionUtilities.UnexpectedValue(accessor.
MethodKind
)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
1750
If method IsNot Nothing AndAlso method.IsPartial AndAlso method.
MethodKind
= MethodKind.Ordinary Then
1800
If candidate IsNot Nothing AndAlso candidate IsNot originalPartialMethod AndAlso candidate.
MethodKind
= MethodKind.Ordinary Then
2476
Return sourceMethodSymbol.
MethodKind
= MethodKind.Ordinary OrElse sourceMethodSymbol.
MethodKind
= MethodKind.DeclareMethod
Symbols\Source\SourceMemberMethodSymbol.vb (2)
108
If
MethodKind
=
MethodKind
.Ordinary Then
Symbols\Source\SourceMethodSymbol.vb (40)
1275
Debug.Assert(Me.
MethodKind
<>
MethodKind
.EventAdd,
1500
If Not (Me.
MethodKind
<>
MethodKind
.Ordinary AndAlso Me.
MethodKind
<>
MethodKind
.DeclareMethod) AndAlso
1624
If Me.
MethodKind
<>
MethodKind
.Ordinary AndAlso Me.
MethodKind
<>
MethodKind
.DeclareMethod Then
1808
Select Case Me.
MethodKind
1809
Case
MethodKind
.DeclareMethod
1813
Case
MethodKind
.PropertyGet,
MethodKind
.PropertySet
1817
Case
MethodKind
.EventAdd,
MethodKind
.EventRaise,
MethodKind
.EventRemove
1901
Debug.Assert(
MethodKind
<>
MethodKind
.DeclareMethod)
1991
Select Case Me.
MethodKind
1992
Case
MethodKind
.Constructor,
1993
MethodKind
.SharedConstructor,
1994
MethodKind
.PropertyGet,
1995
MethodKind
.PropertySet,
1996
MethodKind
.EventAdd,
1997
MethodKind
.EventRemove,
1998
MethodKind
.EventRaise,
1999
MethodKind
.Conversion,
2000
MethodKind
.UserDefinedOperator
2161
MakeOverriddenMembers(New SignatureOnlyMethodSymbol(Me.Name, m_containingType, Me.
MethodKind
,
2286
Select Case
MethodKind
2287
Case
MethodKind
.Constructor,
2288
MethodKind
.SharedConstructor,
2289
MethodKind
.EventRemove,
2290
MethodKind
.EventRaise
2295
Case
MethodKind
.EventAdd
2301
Case
MethodKind
.PropertyGet,
MethodKind
.PropertySet
2323
If Me.
MethodKind
=
MethodKind
.UserDefinedOperator Then
Symbols\Source\SourcePropertyAccessorSymbol.vb (18)
37
If(flags.ToMethodKind() =
MethodKind
.PropertyGet, flags, flags And Not SourceMemberFlags.Iterator),
122
Return m_property.GetAccessorOverride(getter:=(
MethodKind
=
MethodKind
.PropertyGet))
226
Select Case
MethodKind
227
Case
MethodKind
.PropertyGet
240
Case
MethodKind
.PropertySet
294
Return If(
MethodKind
=
MethodKind
.PropertyGet,
339
m_property.GetAccessorImplementations(getter:=(
MethodKind
=
MethodKind
.PropertyGet)),
354
Return If(Me.
MethodKind
=
MethodKind
.PropertySet, ImmutableArray(Of CustomModifier).Empty, m_property.TypeCustomModifiers)
368
Debug.Assert(Me.
MethodKind
=
MethodKind
.PropertySet)
374
Return If(Me.
MethodKind
=
MethodKind
.PropertyGet, m_property, Nothing)
397
Dim isSetter As Boolean = (method.
MethodKind
=
MethodKind
.PropertySet)
Symbols\Symbol_Attributes.vb (1)
551
Dim accessorName = TryGetAccessorDisplayName(method.
MethodKind
)