29 overrides of MethodKind
Microsoft.CodeAnalysis.VisualBasic (29)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicAccessors.vb (2)
57Public Overrides ReadOnly Property MethodKind As MethodKind 89Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertyAccessors.vb (2)
76Public Overrides ReadOnly Property MethodKind As MethodKind 108Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\ErrorMethodSymbol.vb (1)
186Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
344Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\ReducedExtensionMethodSymbol.vb (1)
353Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
434Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\SignatureOnlyMethodSymbol.vb (1)
124Public Overrides ReadOnly Property MethodKind() As MethodKind
Symbols\Source\LambdaSymbol.vb (1)
272Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Source\SourceMethodSymbol.vb (1)
629Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
1223Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
163Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Source\SynthesizedEventAccessorSymbol.vb (2)
541Public Overrides ReadOnly Property MethodKind As MethodKind 556Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Source\SynthesizedInteractiveInitializerMethod.vb (1)
105Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (2)
158Public Overrides ReadOnly Property MethodKind As MethodKind 203Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Source\SynthesizedWithEventsAccessorSymbol.vb (2)
130Public Overrides ReadOnly Property MethodKind As MethodKind 178Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\SubstitutedMethodSymbol.vb (1)
279Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\SynthesizedSymbols\SynthesizedConstructorBase.vb (1)
190Public NotOverridable Overrides ReadOnly Property MethodKind As MethodKind
Symbols\SynthesizedSymbols\SynthesizedDelegateMethodSymbol.vb (1)
311Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (1)
155Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\SynthesizedSymbols\SynthesizedInterfaceImplementationStubSymbol.vb (1)
172Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\SynthesizedSymbols\SynthesizedIntrinsicOperatorSymbol.vb (1)
158Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\SynthesizedSymbols\SynthesizedMethod.vb (1)
197Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\SynthesizedSymbols\SynthesizedRegularMethodBase.vb (1)
140Public NotOverridable Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Wrapped\WrappedMethodSymbol.vb (1)
168Public Overrides ReadOnly Property MethodKind As MethodKind
67 references to MethodKind
Microsoft.CodeAnalysis.VisualBasic (67)
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (2)
72If accessor.MethodKind = MethodKind.PropertyGet Then 88Debug.Assert(accessor.MethodKind = MethodKind.PropertySet)
Emit\MethodSymbolAdapter.vb (3)
307Return AdaptedMethodSymbol.MethodKind = MethodKind.Constructor 547Dim result = Me.MethodKind = MethodKind.Constructor OrElse 548Me.MethodKind = MethodKind.SharedConstructor
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertyAccessors.vb (1)
32Return Binder.GetAccessorName(m_propertyOrEvent.MetadataName, Me.MethodKind, Me.IsCompilationOutputWinMdObj())
Symbols\EmbeddedSymbols\EmbeddedSymbolManager.SymbolsCollection.vb (3)
232Dim methKind As MethodKind = DirectCast(symbol, MethodSymbol).MethodKind 287Select Case DirectCast(member, MethodSymbol).MethodKind 371Dim kind = method.MethodKind
Symbols\MethodSymbol.vb (6)
32Return Me.ParameterCount = 0 AndAlso Me.MethodKind = MethodKind.Constructor 230Me.MethodKind <> MethodKind.PropertySet AndAlso 323Return DirectCast(Me.AssociatedSymbol, PropertySymbol).GetAccessorOverride(getter:=(MethodKind = MethodKind.PropertyGet)) 426Return IsExtensionMethod AndAlso MethodKind <> MethodKind.ReducedExtension 466Return Me.MethodKind = MethodKind.Constructor AndAlso Me.ContainingType.IsScriptClass 925Return Me.MethodKind
Symbols\MethodSymbolExtensions.vb (1)
85Select Case method.MethodKind
Symbols\ObsoleteAttributeHelpers.vb (1)
160Dim accessorString = If(accessorSymbol.MethodKind = MethodKind.PropertyGet, "Get", "Set")
Symbols\PropertySymbol.vb (1)
172If If(TryCast(containingMember, MethodSymbol)?.MethodKind <> MethodKind.Constructor, True) Then
Symbols\ReducedExtensionMethodSymbol.vb (2)
49possiblyExtensionMethod.MethodKind <> MethodKind.ReducedExtension) Then 185If Not possiblyExtensionMethod.IsExtensionMethod OrElse possiblyExtensionMethod.MethodKind = MethodKind.ReducedExtension Then
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
436Return _underlyingMethod.MethodKind
Symbols\Retargeting\RetargetingSymbolTranslator.vb (1)
976Dim targetMethod = New SignatureOnlyMethodSymbol(method.Name, retargetedType, method.MethodKind,
Symbols\Source\LocalSymbol.vb (1)
155Debug.Assert((Me.IsFunctionValue AndAlso _container.Kind = SymbolKind.Method AndAlso DirectCast(_container, MethodSymbol).MethodKind = MethodKind.LambdaMethod) OrElse type.Equals(ComputeType()))
Symbols\Source\OverrideHidingHelper.vb (6)
496Select Case DirectCast(sym, MethodSymbol).MethodKind 504Debug.Assert(False, String.Format("Unexpected method kind '{0}'", DirectCast(sym, MethodSymbol).MethodKind)) 626(DirectCast(DirectCast(overridingSym, Symbol), MethodSymbol).MethodKind = MethodKind.PropertyGet OrElse 627DirectCast(DirectCast(overridingSym, Symbol), MethodSymbol).MethodKind = MethodKind.PropertySet))) 688(DirectCast(DirectCast(overridingSym, Symbol), MethodSymbol).MethodKind = MethodKind.PropertyGet OrElse 689DirectCast(DirectCast(overridingSym, Symbol), MethodSymbol).MethodKind = MethodKind.PropertySet)))
Symbols\Source\SourceMemberContainerTypeSymbol.vb (11)
960Select Case method.MethodKind 974If syntax Is Nothing AndAlso method.MethodKind = MethodKind.DelegateInvoke Then 2777(DirectCast(sym, MethodSymbol).MethodKind = MethodKind.Constructor OrElse 2778DirectCast(sym, MethodSymbol).MethodKind = MethodKind.SharedConstructor) 2782If method.MethodKind = MethodKind.Constructor AndAlso method.ParameterCount = 0 Then 3452method.MethodKind <> MethodKind.Ordinary AndAlso 3453method.MethodKind <> MethodKind.UserDefinedOperator AndAlso 3454method.MethodKind <> MethodKind.Conversion Then 3616Dim methodMethodKind As MethodKind = method.MethodKind 3744If nextMethod.MethodKind <> method.MethodKind Then
Symbols\Source\SourceNamedTypeSymbol.vb (2)
2650If method.MethodKind = MethodKind.Constructor AndAlso method.ParameterCount = 0 Then 2659If method.MethodKind = MethodKind.Constructor AndAlso method.CanBeCalledWithNoParameters() Then
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (3)
381If DirectCast(member, MethodSymbol).MethodKind <> MethodKind.Ordinary Then 547Debug.Assert(method.MethodKind = MethodKind.Ordinary) 1225Select Case ClonedFrom.MethodKind
Symbols\Source\SourceParameterSymbol.vb (5)
103If If(TryCast(Me.ContainingSymbol, MethodSymbol)?.MethodKind = MethodKind.DelegateInvoke, False) AndAlso 186If containingSymbol.Kind = SymbolKind.Method AndAlso DirectCast(containingSymbol, MethodSymbol).MethodKind = MethodKind.DeclareMethod Then 207Select Case DirectCast(containingSymbol, MethodSymbol).MethodKind 452If methodSymbol.MethodKind = MethodKind.DeclareMethod Then 496DirectCast(ContainingSymbol, MethodSymbol).MethodKind = MethodKind.DeclareMethod Then
Symbols\Source\SynthesizedEventAccessorSymbol.vb (5)
41SourceEvent.GetAccessorImplementations(Me.MethodKind)) 54If Me.MethodKind = MethodKind.EventRemove AndAlso m_propertyOrEvent.IsWindowsRuntimeEvent Then 84useSiteInfo = If(Me.MethodKind = MethodKind.EventRemove, Binder.GetUseSiteInfoForSpecialType(type), Nothing) 104Return Not (Me.MethodKind = MethodKind.EventAdd AndAlso m_propertyOrEvent.IsWindowsRuntimeEvent) 110Return ConstructFieldLikeEventAccessorBody(Me.m_propertyOrEvent, Me.MethodKind = MethodKind.EventAdd, compilation, diagnostics)
Symbols\Source\SynthesizedWithEventsAccessorSymbol.vb (2)
45Return sourceProperty.GetAccessorImplementations(getter:=(MethodKind = MethodKind.PropertyGet)) 53Return ContainingProperty.GetAccessorOverride(getter:=(MethodKind = MethodKind.PropertyGet))
Symbols\SubstitutedMethodSymbol.vb (1)
281Return OriginalDefinition.MethodKind
Symbols\SubstitutedNamedType.vb (2)
456Select Case memberMethod.MethodKind 460Return If(memberMethod.MethodKind = MethodKind.PropertyGet, propertySymbol.GetMethod, propertySymbol.SetMethod)
Symbols\SymbolExtensions.vb (3)
58Select Case methodSymbol.MethodKind 262Dim kind = method.MethodKind 456While If(member?.Kind = SymbolKind.Method, False) AndAlso DirectCast(member, MethodSymbol).MethodKind = MethodKind.AnonymousFunction
Symbols\SynthesizedSymbols\SynthesizedAccessor.vb (1)
27Return Binder.GetAccessorName(m_propertyOrEvent.Name, Me.MethodKind, Me.IsCompilationOutputWinMdObj())
Symbols\SynthesizedSymbols\SynthesizedParameterSymbol.vb (2)
106Debug.Assert(propertySetter.MethodKind = MethodKind.PropertySet) 116If method.MethodKind = MethodKind.PropertySet AndAlso
Symbols\Wrapped\WrappedMethodSymbol.vb (1)
170Return Me.UnderlyingMethod.MethodKind