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