Analysis\FlowAnalysis\AbstractFlowPass.vb (8)
110Debug.Assert(_info.Symbol.Kind = SymbolKind.Field OrElse
111_info.Symbol.Kind = SymbolKind.Property OrElse
112_info.Symbol.Kind = SymbolKind.Method OrElse
113_info.Symbol.Kind = SymbolKind.Parameter)
239Return If(Me.symbol.Kind = SymbolKind.Method, DirectCast(Me.symbol, MethodSymbol).Parameters, ImmutableArray(Of ParameterSymbol).Empty)
253Return Me.symbol.Kind = SymbolKind.Method AndAlso DirectCast(Me.symbol, MethodSymbol).Locations.Length = 1
263Return If(Me.symbol.Kind = SymbolKind.Method, DirectCast(Me.symbol, MethodSymbol), Nothing)
273Return If(Me.symbol.Kind = SymbolKind.Method, DirectCast(Me.symbol, MethodSymbol).ReturnType, Nothing)
Symbols\SymbolExtensions.vb (21)
28Select Case target.Kind
80Throw ExceptionUtilities.UnexpectedValue(target.Kind)
100If target.Kind = SymbolKind.Namespace Then
137Dim kind = symbol.Kind
164Select Case sym.Kind
195Select Case sym.Kind
208Select Case sym.Kind
243Return symbol.Kind = SymbolKind.Method AndAlso IsAccessor(DirectCast(symbol, MethodSymbol))
248Return symbol.Kind = SymbolKind.Property AndAlso DirectCast(symbol, PropertySymbol).IsWithEvents
257Return symbol.Kind = SymbolKind.Property AndAlso Not DirectCast(symbol, PropertySymbol).IsWithEvents
280Return this.Kind = SymbolKind.Method AndAlso DirectCast(this, MethodSymbol).IsReducedExtensionMethod
288Select Case sym.Kind
305Select Case symbol.Kind
321Select Case sym.Kind
331Throw ExceptionUtilities.UnexpectedValue(sym.Kind)
340Select Case sym.Kind
376Return symbol.Kind = SymbolKind.Method AndAlso DirectCast(symbol, MethodSymbol).IsUserDefinedOperator()
404Dim upperLevelType = If(symbol.Kind = SymbolKind.NamedType, DirectCast(symbol, NamedTypeSymbol), symbol.ContainingType)
456While If(member?.Kind = SymbolKind.Method, False) AndAlso DirectCast(member, MethodSymbol).MethodKind = MethodKind.AnonymousFunction
465Select Case member.Kind
477Throw ExceptionUtilities.UnexpectedValue(member.Kind)