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