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