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)
44Return Binder.GetAccessorName(_event.MetadataName, Me.MethodKind, isWinMd:=False) 57If Me.MethodKind = MethodKind.EventRaise Then 91_event.GetAccessorImplementations(Me.MethodKind), 144Return Not (Me.MethodKind = MethodKind.EventAdd AndAlso _event.IsWindowsRuntimeEvent) 168If(Me.MethodKind = MethodKind.EventRaise, 175If Me.MethodKind = MethodKind.EventRaise Then 215If Me.MethodKind = MethodKind.EventAdd Then 221Debug.Assert(Me.MethodKind = MethodKind.EventRemove)
Symbols\Source\SourceDeclareMethodSymbol.vb (1)
36Debug.Assert(MyBase.MethodKind = MethodKind.DeclareMethod)
Symbols\Source\SourceDelegateMethodSymbol.vb (1)
199Return Me.MethodKind = MethodKind.Constructor
Symbols\Source\SourceEventSymbol.vb (2)
104Select Case (accessor.MethodKind) 127Throw ExceptionUtilities.UnexpectedValue(accessor.MethodKind)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
1749If method IsNot Nothing AndAlso method.IsPartial AndAlso method.MethodKind = MethodKind.Ordinary Then 1799If candidate IsNot Nothing AndAlso candidate IsNot originalPartialMethod AndAlso candidate.MethodKind = MethodKind.Ordinary Then 2475Return sourceMethodSymbol.MethodKind = MethodKind.Ordinary OrElse sourceMethodSymbol.MethodKind = MethodKind.DeclareMethod
Symbols\Source\SourceMemberMethodSymbol.vb (1)
108If MethodKind = MethodKind.Ordinary Then
Symbols\Source\SourceMethodSymbol.vb (11)
1275Debug.Assert(Me.MethodKind <> MethodKind.EventAdd, 1500If Not (Me.MethodKind <> MethodKind.Ordinary AndAlso Me.MethodKind <> MethodKind.DeclareMethod) AndAlso 1624If Me.MethodKind <> MethodKind.Ordinary AndAlso Me.MethodKind <> MethodKind.DeclareMethod Then 1808Select Case Me.MethodKind 1901Debug.Assert(MethodKind <> MethodKind.DeclareMethod) 1991Select Case Me.MethodKind 2161MakeOverriddenMembers(New SignatureOnlyMethodSymbol(Me.Name, m_containingType, Me.MethodKind, 2286Select Case MethodKind 2323If Me.MethodKind = MethodKind.UserDefinedOperator Then
Symbols\Source\SourcePropertyAccessorSymbol.vb (8)
122Return m_property.GetAccessorOverride(getter:=(MethodKind = MethodKind.PropertyGet)) 226Select Case MethodKind 294Return If(MethodKind = MethodKind.PropertyGet, 339m_property.GetAccessorImplementations(getter:=(MethodKind = MethodKind.PropertyGet)), 354Return If(Me.MethodKind = MethodKind.PropertySet, ImmutableArray(Of CustomModifier).Empty, m_property.TypeCustomModifiers) 368Debug.Assert(Me.MethodKind = MethodKind.PropertySet) 374Return If(Me.MethodKind = MethodKind.PropertyGet, m_property, Nothing) 397Dim isSetter As Boolean = (method.MethodKind = MethodKind.PropertySet)