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)
190Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
357Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\ReducedExtensionMethodSymbol.vb (1)
353Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
438Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\SignatureOnlyMethodSymbol.vb (1)
124Public Overrides ReadOnly Property MethodKind() As MethodKind
Symbols\Source\LambdaSymbol.vb (1)
276Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Source\SourceMethodSymbol.vb (1)
629Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
1233Public 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)
283Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\SynthesizedSymbols\SynthesizedConstructorBase.vb (1)
190Public NotOverridable Overrides ReadOnly Property MethodKind As MethodKind
Symbols\SynthesizedSymbols\SynthesizedDelegateMethodSymbol.vb (1)
315Public Overrides ReadOnly Property MethodKind As MethodKind
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (1)
159Public 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
68 references to MethodKind
Microsoft.CodeAnalysis.VisualBasic (68)
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 (7)
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 456Select Case MethodKind 496Return Me.MethodKind = MethodKind.Constructor AndAlso Me.ContainingType.IsScriptClass 955Return Me.MethodKind
Symbols\MethodSymbolExtensions.vb (1)
85Select Case method.MethodKind
Symbols\ObsoleteAttributeHelpers.vb (1)
163Dim 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)
440Return _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)
961Select Case method.MethodKind 975If syntax Is Nothing AndAlso method.MethodKind = MethodKind.DelegateInvoke Then 2778(DirectCast(sym, MethodSymbol).MethodKind = MethodKind.Constructor OrElse 2779DirectCast(sym, MethodSymbol).MethodKind = MethodKind.SharedConstructor) 2783If method.MethodKind = MethodKind.Constructor AndAlso method.ParameterCount = 0 Then 3453method.MethodKind <> MethodKind.Ordinary AndAlso 3454method.MethodKind <> MethodKind.UserDefinedOperator AndAlso 3455method.MethodKind <> MethodKind.Conversion Then 3617Dim methodMethodKind As MethodKind = method.MethodKind 3745If nextMethod.MethodKind <> method.MethodKind Then
Symbols\Source\SourceNamedTypeSymbol.vb (2)
2721If method.MethodKind = MethodKind.Constructor AndAlso method.ParameterCount = 0 Then 2730If 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) 1235Select 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)
285Return OriginalDefinition.MethodKind
Symbols\SubstitutedNamedType.vb (2)
462Select Case memberMethod.MethodKind 466Return 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