68 references to Kind
Microsoft.CodeAnalysis.VisualBasic (68)
Binding\Binder_Expressions.vb (13)
3089Dim resultKind As LookupResultKind = lookupResult.Kind 3101(lookupResult.Kind = LookupResultKind.WrongArity OrElse lookupResult.Kind = LookupResultKind.WrongArityAndStopLookup) Then 3125Debug.Assert(lookupResult.Kind = LookupResultKind.Ambiguous) 3132lookupResult.Kind, 3155Debug.Assert(lookupResult.Kind = LookupResultKind.Good OrElse lookupResult.Kind = LookupResultKind.Inaccessible) 3159lookupResult.Kind, 3386Debug.Assert(lookupResult.Kind = LookupResultKind.Ambiguous) 4740If lookupResult.Kind = LookupResultKind.Good AndAlso lookupResult.Symbols(0).Kind = SymbolKind.Method Then 4792If lookupResult.Kind = LookupResultKind.Good AndAlso lookupResult.Symbols(0).Kind = SymbolKind.Property Then 4795lookupResult.Kind, 4838If lookupResult.Kind = LookupResultKind.Good AndAlso lookupResult.Symbols(0).Kind = SymbolKind.Method Then
Binding\Binder_InterpolatedString.vb (2)
159If lookup.Kind = LookupResultKind.Inaccessible Then 166Dim methodGroup = New BoundMethodGroup(node.Syntax, Nothing, lookup.Symbols.ToDowncastedImmutable(Of MethodSymbol), lookup.Kind, Nothing, QualificationKind.QualifiedViaTypeName).MakeCompilerGenerated()
Binding\Binder_Invocation.vb (3)
30Debug.Assert(lookupResult.Kind = LookupResultKind.Good OrElse lookupResult.Kind = LookupResultKind.Inaccessible) 45lookupResult.Kind,
Binding\Binder_Lambda.vb (1)
1127If lookupResult.Kind = LookupResultKind.Empty Then
Binding\Binder_Lookup.vb (2)
1734Debug.Assert(knownResult.Kind = newResult.Kind)
Binding\Binder_Query.vb (2)
4570If Not lookupResult.IsClear AndAlso (lookupResult.Kind = LookupResultKind.Good OrElse lookupResult.Kind = LookupResultKind.Inaccessible) Then
Binding\Binder_Statements.vb (1)
4190lookupResult.Kind,
Binding\Binder_Symbols.vb (5)
741If result.Kind = LookupResultKind.Ambiguous AndAlso result.HasSingleSymbol AndAlso TypeOf result.Diagnostic Is AmbiguousSymbolDiagnostic Then 743Return Binder.GetErrorSymbol(name, result.Diagnostic, DirectCast(result.Diagnostic, AmbiguousSymbolDiagnostic).AmbiguousSymbols, result.Kind) 745Return Binder.GetErrorSymbol(name, result.Diagnostic, result.Symbols.ToImmutable(), result.Kind) 893If lookupResult.Kind = LookupResultKind.Empty Then 1077If lookupResult.Kind = LookupResultKind.Empty Then
Binding\Binder_XmlLiterals.vb (2)
989result.Kind, 995result.Kind,
Binding\DocumentationCommentCrefBinder.vb (1)
873Debug.Assert(lookupResult.Kind = LookupResultKind.Ambiguous)
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
427Debug.Assert(lookupResult.Kind = LookupResultKind.Ambiguous)
Binding\LookupResult.vb (24)
437If other.Kind > Me.Kind AndAlso Me.Kind < LookupResultKind.Ambiguous Then 445If other.Kind > Me.Kind AndAlso Me.Kind < LookupResultKind.Ambiguous Then 471ElseIf other.Kind > Me.Kind Then 499ElseIf other.Kind > Me.Kind Then 541ElseIf other.Kind > Me.Kind Then 543ElseIf Me.Kind <> LookupResultKind.Inaccessible OrElse Me.Kind > other.Kind Then 572ElseIf other.Kind > Me.Kind Then 574ElseIf Me.Kind <> LookupResultKind.Inaccessible OrElse Me.Kind > other.Kind OrElse 612ElseIf other.Kind > Me.Kind Then 614ElseIf Me.Kind <> LookupResultKind.Inaccessible OrElse Me.Kind > other.Kind OrElse 633ElseIf other.Kind > Me.Kind Then 635ElseIf Me.Kind <> LookupResultKind.Inaccessible OrElse Me.Kind > other.Kind Then 638Debug.Assert(Me.Kind = LookupResultKind.Inaccessible) 639Debug.Assert(Me.Kind = other.Kind)
Lowering\AsyncRewriter\AsyncRewriter.vb (2)
558result.Kind, 616result.Kind,
Symbols\Source\ImplementsHelper.vb (5)
216resultKind = LookupResult.WorseResultKind(lookup.Kind, LookupResultKind.Ambiguous) 298resultKind = LookupResult.WorseResultKind(lookup.Kind, LookupResultKind.OverloadResolutionFailure) 309resultKind = LookupResult.WorseResultKind(lookup.Kind, LookupResultKind.Ambiguous) 335resultKind = LookupResult.WorseResultKind(lookup.Kind, LookupResultKind.OverloadResolutionFailure) 361resultKind = LookupResult.WorseResultKind(resultKind, lookup.Kind)
Symbols\Source\OverloadingHelper.vb (1)
163If result.Kind = LookupResultKind.Ambiguous AndAlso result.HasDiagnostic AndAlso TypeOf result.Diagnostic Is AmbiguousSymbolDiagnostic Then
Symbols\Source\SourceMemberMethodSymbol.vb (3)
868resultKind = witheventsLookup.Kind 909resultKind = eventLookup.Kind 950resultKind = propertyLookup.Kind