Base:
property
MethodKind
Microsoft.CodeAnalysis.VisualBasic.Microsoft.CodeAnalysis.VisualBasic.Symbols.MethodSymbol.MethodKind
36 references to MethodKind
Microsoft.CodeAnalysis.VisualBasic (36)
Symbols\Source\CustomEventAccessorSymbol.vb (8)
43Return Binder.GetAccessorName(_event.MetadataName, Me.MethodKind, isWinMd:=False) 56If Me.MethodKind = MethodKind.EventRaise Then 90_event.GetAccessorImplementations(Me.MethodKind), 143Return Not (Me.MethodKind = MethodKind.EventAdd AndAlso _event.IsWindowsRuntimeEvent) 167If(Me.MethodKind = MethodKind.EventRaise, 174If Me.MethodKind = MethodKind.EventRaise Then 214If Me.MethodKind = MethodKind.EventAdd Then 220Debug.Assert(Me.MethodKind = MethodKind.EventRemove)
Symbols\Source\SourceDeclareMethodSymbol.vb (1)
36Debug.Assert(MyBase.MethodKind = MethodKind.DeclareMethod)
Symbols\Source\SourceDelegateMethodSymbol.vb (1)
198Return Me.MethodKind = MethodKind.Constructor
Symbols\Source\SourceEventSymbol.vb (2)
103Select Case (accessor.MethodKind) 126Throw ExceptionUtilities.UnexpectedValue(accessor.MethodKind)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
1748If method IsNot Nothing AndAlso method.IsPartial AndAlso method.MethodKind = MethodKind.Ordinary Then 1798If candidate IsNot Nothing AndAlso candidate IsNot originalPartialMethod AndAlso candidate.MethodKind = MethodKind.Ordinary Then 2474Return sourceMethodSymbol.MethodKind = MethodKind.Ordinary OrElse sourceMethodSymbol.MethodKind = MethodKind.DeclareMethod
Symbols\Source\SourceMemberMethodSymbol.vb (1)
107If MethodKind = MethodKind.Ordinary Then
Symbols\Source\SourceMethodSymbol.vb (11)
1274Debug.Assert(Me.MethodKind <> MethodKind.EventAdd, 1499If Not (Me.MethodKind <> MethodKind.Ordinary AndAlso Me.MethodKind <> MethodKind.DeclareMethod) AndAlso 1623If Me.MethodKind <> MethodKind.Ordinary AndAlso Me.MethodKind <> MethodKind.DeclareMethod Then 1807Select Case Me.MethodKind 1900Debug.Assert(MethodKind <> MethodKind.DeclareMethod) 1990Select Case Me.MethodKind 2160MakeOverriddenMembers(New SignatureOnlyMethodSymbol(Me.Name, m_containingType, Me.MethodKind, 2285Select Case MethodKind 2322If Me.MethodKind = MethodKind.UserDefinedOperator Then
Symbols\Source\SourcePropertyAccessorSymbol.vb (8)
121Return m_property.GetAccessorOverride(getter:=(MethodKind = MethodKind.PropertyGet)) 225Select Case MethodKind 293Return If(MethodKind = MethodKind.PropertyGet, 338m_property.GetAccessorImplementations(getter:=(MethodKind = MethodKind.PropertyGet)), 353Return If(Me.MethodKind = MethodKind.PropertySet, ImmutableArray(Of CustomModifier).Empty, m_property.TypeCustomModifiers) 367Debug.Assert(Me.MethodKind = MethodKind.PropertySet) 373Return If(Me.MethodKind = MethodKind.PropertyGet, m_property, Nothing) 396Dim isSetter As Boolean = (method.MethodKind = MethodKind.PropertySet)