20 references to HasDiagnostic
Microsoft.CodeAnalysis.VisualBasic (20)
Binding\Binder_Attributes.vb (1)
545If result.HasDiagnostic Then
Binding\Binder_Expressions.vb (3)
3091If lookupResult.HasDiagnostic AndAlso 3382If lookupResult.HasDiagnostic Then 3585If result.HasDiagnostic Then
Binding\Binder_Invocation.vb (1)
528Debug.Assert(result.HasSymbol OrElse Not result.HasDiagnostic)
Binding\Binder_Lookup.vb (4)
1000If result.HasDiagnostic Then 1029If result.HasDiagnostic Then 1049Debug.Assert(Not result.HasDiagnostic) 1059If tmpResult.HasDiagnostic OrElse Not result.HasSymbol Then
Binding\Binder_Statements.vb (1)
4316Debug.Assert(result.HasDiagnostic)
Binding\Binder_Symbols.vb (5)
263If lookupResult.HasDiagnostic Then 523If lookupResult.HasDiagnostic Then 956ElseIf lookupResult.HasDiagnostic AndAlso Not reportedAnError Then 1002Debug.Assert(lookupResult.HasDiagnostic) 1047ElseIf lookupResult.HasDiagnostic AndAlso Not reportedAnError Then
Binding\Binder_XmlLiterals.vb (1)
1004If(result.HasDiagnostic,
Compilation\SemanticModel.vb (1)
1975If result.HasDiagnostic Then
Lowering\AsyncRewriter\AsyncRewriter.vb (2)
565Me.Diagnostics.Add(If(result.HasDiagnostic, 623Me.Diagnostics.Add(If(result.HasDiagnostic,
Symbols\Source\OverloadingHelper.vb (1)
163If result.Kind = LookupResultKind.Ambiguous AndAlso result.HasDiagnostic AndAlso TypeOf result.Diagnostic Is AmbiguousSymbolDiagnostic Then