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