71 references to Good
Microsoft.CodeAnalysis.VisualBasic (71)
Binding\Binder_Attributes.vb (3)
241
Dim resultKind = LookupResultKind.
Good
286
Dim constructorsGroup = New BoundMethodGroup(node.Name, Nothing, accessibleConstructors, LookupResultKind.
Good
, Nothing, QualificationKind.QualifiedViaTypeName)
372
Return New BoundAttribute(node, methodSym, boundArguments, defaultArguments, boundNamedArguments, resultKind, type, hasErrors:=resultKind <> LookupResultKind.
Good
)
Binding\Binder_Conversions.vb (1)
1460
LookupResultKind.
Good
,
Binding\Binder_Delegates.vb (4)
582
Debug.Assert(addressOfExpression.MethodGroup.ResultKind = LookupResultKind.
Good
)
691
If addressOfExpression.MethodGroup.ResultKind = LookupResultKind.
Good
Then
712
Debug.Assert(addressOfExpression.MethodGroup.ResultKind = LookupResultKind.
Good
)
1108
LookupResultKind.
Good
,
Binding\Binder_Expressions.vb (8)
737
ElseIf group.ResultKind = LookupResultKind.
Good
AndAlso group.TypeArgumentsOpt IsNot Nothing Then
1464
Debug.Assert(address.MethodGroup.ResultKind = LookupResultKind.
Good
)
2850
Return New BoundMethodGroup(node, Nothing, accessibleConstructors, LookupResultKind.
Good
, left,
3094
Debug.Assert(resultKind <> LookupResultKind.
Good
)
3155
Debug.Assert(lookupResult.Kind = LookupResultKind.
Good
OrElse lookupResult.Kind = LookupResultKind.Inaccessible)
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
4838
If lookupResult.Kind = LookupResultKind.
Good
AndAlso lookupResult.Symbols(0).Kind = SymbolKind.Method Then
Binding\Binder_Invocation.vb (7)
30
Debug.Assert(lookupResult.Kind = LookupResultKind.
Good
OrElse lookupResult.Kind = LookupResultKind.Inaccessible)
308
LookupResultKind.
Good
,
740
Debug.Assert(group.ResultKind = LookupResultKind.
Good
OrElse group.ResultKind = LookupResultKind.Inaccessible)
840
Debug.Assert(group.ResultKind = LookupResultKind.
Good
)
854
If group.ResultKind = LookupResultKind.
Good
Then
1403
Debug.Assert(lookupResult = LookupResultKind.
Good
)
2006
Debug.Assert(lookupResult = LookupResultKind.
Good
)
Binding\Binder_Lookup.vb (1)
815
New SingleLookupResult(LookupResultKind.
Good
, sym, Nothing),
Binding\Binder_ObjectInitializer.vb (5)
130
ImmutableArray.Create(constructorSymbol), LookupResultKind.
Good
, Nothing,
204
Dim resultKind As LookupResultKind = LookupResultKind.
Good
363
Dim groupResultKind As LookupResultKind = LookupResultKind.
Good
394
Debug.Assert(constructorsGroup.ResultKind = LookupResultKind.
Good
OrElse constructorsGroup.ResultKind = LookupResultKind.Inaccessible)
484
If resultKind <> LookupResultKind.
Good
Then
Binding\Binder_Operators.vb (5)
606
LookupResultKind.
Good
, Nothing,
617
result = ReportOverloadResolutionFailureAndProduceBoundNode(node, LookupResultKind.
Good
,
755
LookupResultKind.
Good
, Nothing,
1257
LookupResultKind.
Good
, Nothing,
1268
result = ReportOverloadResolutionFailureAndProduceBoundNode(node, LookupResultKind.
Good
,
Binding\Binder_Query.vb (4)
1958
Debug.Assert(methodGroup Is Nothing OrElse methodGroup.ResultKind = LookupResultKind.
Good
OrElse methodGroup.ResultKind = LookupResultKind.Inaccessible)
2036
Debug.Assert(methodGroup Is Nothing OrElse methodGroup.ResultKind = LookupResultKind.
Good
OrElse methodGroup.ResultKind = LookupResultKind.Inaccessible)
4570
If Not lookupResult.IsClear AndAlso (lookupResult.Kind = LookupResultKind.
Good
OrElse lookupResult.Kind = LookupResultKind.Inaccessible) Then
4637
(methodGroup.ResultKind = LookupResultKind.
Good
OrElse methodGroup.ResultKind = LookupResultKind.Inaccessible)))
Binding\Binder_Statements.vb (4)
2590
LookupResultKind.
Good
,
3904
LookupResultKind.
Good
,
3927
LookupResultKind.
Good
,
3960
LookupResultKind.
Good
,
Binding\LookupResult.vb (7)
116
Return New SingleLookupResult(LookupResultKind.
Good
, sym, Nothing)
176
Return Kind = LookupResultKind.
Good
OrElse Kind = LookupResultKind.Ambiguous
182
Return Kind = LookupResultKind.
Good
268
Return _kind = LookupResultKind.
Good
274
Return _kind = LookupResultKind.
Good
OrElse _kind = LookupResultKind.Ambiguous
1044
Return If(resultKind2 = LookupResultKind.
Good
, LookupResultKind.Empty, resultKind2)
1048
Return If(resultKind1 = LookupResultKind.
Good
, LookupResultKind.Empty, resultKind1)
BoundTree\BoundExpression.vb (1)
34
Return LookupResultKind.
Good
Compilation\MethodCompiler.vb (1)
2105
resultKind:=LookupResultKind.
Good
,
Compilation\SemanticModel.vb (7)
1022
resultKind = LookupResultKind.
Good
' assume good unless we find out otherwise.
1074
Debug.Assert(resultKind <> LookupResultKind.
Good
)
1226
resultKind = LookupResultKind.
Good
1445
Debug.Assert(resultKind <> LookupResultKind.
Good
OrElse TypeSymbol.Equals(namedTypeSymbol, boundAttribute.Type, TypeCompareKind.ConsiderEverything))
1492
Debug.Assert(resultKind <> LookupResultKind.
Good
)
1541
resultKind = LookupResultKind.
Good
2827
If(resultKind = LookupResultKind.
Good
, CandidateReason.None, resultKind.ToCandidateReason()))
Compilation\SpeculativeSyntaxTreeSemanticModel.vb (1)
95
Return SymbolInfoFactory.Create(ImmutableArray.Create(Of ISymbol)(aliasSymbol), If(aliasSymbol IsNot Nothing, LookupResultKind.
Good
, LookupResultKind.Empty))
Compilation\SymbolInfo.vb (1)
18
Dim reason = If(resultKind = LookupResultKind.
Good
, CandidateReason.None, resultKind.ToCandidateReason())
Compilation\SyntaxTreeSemanticModel.vb (3)
504
Return SymbolInfoFactory.Create(symbols, If(symbols.Length = 1, LookupResultKind.
Good
, LookupResultKind.Ambiguous))
704
Dim resultKind As LookupResultKind = LookupResultKind.
Good
760
Dim resultKind As LookupResultKind = LookupResultKind.
Good
Semantics\Operators.vb (1)
3247
Dim methodGroup = New BoundMethodGroup(argument1.Syntax, Nothing, ImmutableArray(Of MethodSymbol).Empty, LookupResultKind.
Good
, Nothing, QualificationKind.Unqualified)
Semantics\OverloadResolution.vb (3)
930
Debug.Assert(methodGroup.ResultKind = LookupResultKind.
Good
OrElse methodGroup.ResultKind = LookupResultKind.Inaccessible)
1014
If methodGroup.ResultKind = LookupResultKind.
Good
Then
1087
Debug.Assert(propertyGroup.ResultKind = LookupResultKind.
Good
OrElse propertyGroup.ResultKind = LookupResultKind.Inaccessible)
Symbols\ErrorTypeSymbol.vb (1)
384
Debug.Assert(ResultKind <> LookupResultKind.
Good
, "Shouldn't have good result kind on error symbol")
Symbols\Source\ImplementsHelper.vb (1)
173
resultKind = LookupResultKind.
Good
Symbols\Source\SourceMemberMethodSymbol.vb (1)
815
LookupResultKind.
Good
,
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (1)
75
New BoundMethodGroup(syntaxNode, Nothing, ImmutableArray.Create(runMethod), LookupResultKind.
Good
, Nothing, QualificationKind.QualifiedViaTypeName),