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