15 instantiations of BadSymbolDiagnostic
Microsoft.CodeAnalysis.VisualBasic (14)
Binding\Binder_Attributes.vb (2)
222
diagInfo = New
BadSymbolDiagnostic
(symbol, errorId)
839
Dim diagInfo = New
BadSymbolDiagnostic
(getTypeArgument, ERRID.ERR_OpenTypeDisallowed)
Binding\Binder_Expressions.vb (1)
3518
New
BadSymbolDiagnostic
(member,
Binding\Binder_Lookup.vb (2)
253
diagInfo = New
BadSymbolDiagnostic
(sym,
259
diagInfo = New
BadSymbolDiagnostic
(sym,
Binding\Binder_Symbols.vb (4)
65
Dim diagInfo = New
BadSymbolDiagnostic
(type, ERRID.ERR_BadUseOfVoid)
68
Dim diagInfo = New
BadSymbolDiagnostic
(type, ERRID.ERR_ModuleAsType1)
285
diagInfo = New
BadSymbolDiagnostic
(lookupResult.SingleSymbol, ERRID.ERR_UnrecognizedType)
907
New
BadSymbolDiagnostic
(lookupResult.SingleSymbol, ERRID.ERR_TypeOrMemberNotGeneric1, lookupResult.SingleSymbol)))
Binding\LookupResult.vb (3)
128
Return New SingleLookupResult(LookupResultKind.WrongArityAndStopLookup, sym, New
BadSymbolDiagnostic
(sym, err))
144
Return New SingleLookupResult(LookupResultKind.WrongArity, sym, New
BadSymbolDiagnostic
(sym, err))
149
Return New SingleLookupResult(LookupResultKind.MustNotBeInstance, sym, New
BadSymbolDiagnostic
(sym, err, Array.Empty(Of Object)))
Compilation\ClsComplianceChecker.vb (1)
839
Dim info = New
BadSymbolDiagnostic
(symbol, code, args)
Errors\CustomDiagnostics.vb (1)
32
Me.
New
(badSymbol, errid, badSymbol)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Binding\LookupTests.vb (1)
70
r4.SetFrom(SingleLookupResult.Inaccessible(sym2, New
BadSymbolDiagnostic
(sym2, ERRID.ERR_InaccessibleSymbol2, sym2)))
3 references to BadSymbolDiagnostic
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Binding\LookupTests.vb (3)
76
Dim diag4 = DirectCast(r4.Diagnostic,
BadSymbolDiagnostic
)
161
Dim diag13 = DirectCast(r13.Diagnostic,
BadSymbolDiagnostic
)
173
Dim diag14 = DirectCast(r14.Diagnostic,
BadSymbolDiagnostic
)